/* ══════════════════════════════════════════════════════════════════════════
   plateau.page.css — LE PLATEAU DE L'INCARNATION (2026-10-26)
   Mobile d'abord. Or = structures sacrées, violet = dimensions, turquoise =
   ce qui est actif (convergences, sélection). Animations coupées par
   prefers-reduced-motion OU le bouton « Animations réduites » (html.pl-reduced).
   ══════════════════════════════════════════════════════════════════════════ */
:root {
  --pl-night: #05060F;
  --pl-indigo: #0B1030;
  --pl-indigo-2: #141a46;
  --pl-violet: #7B4FD6;
  --pl-gold: #E8C36A;
  --pl-gold-dim: #8f7438;
  --pl-teal: #3FE0D0;
  --pl-ivory: #F3EEE4;
  --pl-mist: #b9bcd8;
  --pl-dim: #8287ad;
  --pl-line: rgba(232, 195, 106, .22);
  /* §62 : les replis « A » (Noto Serif ajustée, présente sur Android) évitent le saut de largeur au chargement des polices */
  --pl-display: 'Cinzel', 'Cinzel Fallback', 'Cinzel Fallback A', Georgia, serif;
  --pl-body: 'Crimson Text', 'Crimson Fallback', 'Crimson Fallback A', Georgia, serif;
  --pl-ease: cubic-bezier(.22, .8, .24, 1);
}
* { box-sizing: border-box; }
html, body.pl { background: var(--pl-night); color: var(--pl-mist); }
body.pl {
  margin: 0; min-height: 100vh; overflow-x: hidden;
  font-family: var(--pl-body); font-size: 17px; line-height: 1.5;
  padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));   /* barre de navigation commune */
}
.pl-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pl-skip { position: absolute; left: 12px; top: -60px; z-index: 60; background: var(--pl-gold); color: #1a1405; padding: 8px 14px; border-radius: 6px; font-weight: 600; text-decoration: none; }
.pl-skip:focus { top: 12px; }
:where(.pl a, .pl button, .pl input, .pl-sec, .pl-core):focus-visible { outline: 2px solid var(--pl-teal); outline-offset: 3px; }

/* Ciel : dégradés fixes + poussière d'étoiles très discrète */
.pl-sky {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 600px at 50% 18%, rgba(123, 79, 214, .20), transparent 65%),
    radial-gradient(700px 500px at 85% 90%, rgba(63, 224, 208, .06), transparent 60%),
    radial-gradient(1200px 800px at 10% 100%, #0b1030 0%, transparent 70%),
    var(--pl-night);
}
.pl-sky::after {
  content: ""; position: absolute; inset: 0; opacity: .55;
  background-image:
    radial-gradient(1px 1px at 12% 22%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 78% 12%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 35% 68%, #fff 50%, transparent 51%), radial-gradient(1.4px 1.4px at 88% 54%, var(--pl-gold) 50%, transparent 51%),
    radial-gradient(1px 1px at 58% 38%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 22% 86%, #fff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 64% 82%, var(--pl-teal) 50%, transparent 51%), radial-gradient(1px 1px at 5% 50%, #fff 50%, transparent 51%);
  animation: pl-twinkle 9s ease-in-out infinite alternate;
}

/* ── Barre de statut du voyageur ──────────────────────────────────────── */
.pl-status {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: calc(8px + env(safe-area-inset-top, 0px)) 16px 8px;
  background: linear-gradient(180deg, rgba(5, 6, 15, .94), rgba(5, 6, 15, .78));
  border-bottom: 1px solid var(--pl-line);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.pl-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--pl-ivory); text-decoration: none; font-family: var(--pl-display); letter-spacing: .18em; font-size: 13px; }
.pl-brand span { display: none; }
.pl-res { display: flex; gap: 6px; flex: 1 1 auto; min-width: 0; overflow: hidden; }
.pl-chip {
  display: inline-grid; grid-auto-flow: column; align-items: baseline; gap: 6px;
  padding: 5px 10px; border-radius: 999px; border: 1px solid var(--pl-line); background: rgba(11, 16, 48, .6);
  color: var(--pl-ivory); text-decoration: none; white-space: nowrap; font-size: 15px;
}
.pl-chip small { font-family: var(--pl-display); font-size: 9.5px; letter-spacing: .14em; color: var(--pl-dim); }
.pl-chip b { font-weight: 600; font-variant-numeric: tabular-nums; }
.pl-chip--sd b { color: var(--pl-gold); }
.pl-chip.is-new { border-color: rgba(63, 224, 208, .6); }
.pl-chip.is-new b { color: var(--pl-teal); }
.pl-chip--lvl { position: relative; padding-bottom: 8px; }
.pl-bar { position: absolute; left: 10px; right: 10px; bottom: 3px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.pl-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--pl-violet), var(--pl-gold)); }
.pl-chip--sec { display: none; }
.pl-res-more { font: inherit; font-size: 13px; color: var(--pl-mist); background: none; border: 1px solid var(--pl-line); border-radius: 999px; padding: 4px 10px; cursor: pointer; }
.pl-status.is-open .pl-res { flex-wrap: wrap; overflow: visible; }
.pl-status.is-open .pl-chip--sec { display: inline-grid; }
.pl-me { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--pl-ivory); text-decoration: none; font-size: 15px; padding: 4px 12px; border: 1px solid var(--pl-gold-dim); border-radius: 999px; }
.pl-me.is-user { padding: 3px 4px; border: 0; }
.pl-av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-family: var(--pl-display); color: #1a1405; background: radial-gradient(circle at 35% 30%, #fbe7b0, var(--pl-gold) 55%, #8f6c2a); box-shadow: 0 0 0 2px var(--pl-night), 0 0 0 3px var(--pl-gold-dim); }
.pl-me-name { display: none; }

/* ── En-tête et outils ─────────────────────────────────────────────────── */
.pl-main { max-width: 1240px; margin: 0 auto; padding: 18px 16px 0; display: grid; gap: 14px; }
.pl-head { text-align: center; }
.pl-eyebrow, .pl-p-eyebrow, .pl-p-k, .pl-rc-k { font-family: var(--pl-display); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--pl-gold); margin: 0; }
.pl-title { font-family: var(--pl-display); font-weight: 400; color: var(--pl-ivory); font-size: clamp(24px, 6vw, 38px); letter-spacing: .1em; margin: 4px 0 2px; text-wrap: balance; }
.pl-sub { margin: 0; color: var(--pl-dim); font-size: 15px; }
.pl-tools { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; }
.pl-search { flex: 1 1 260px; max-width: 420px; }
.pl-search input {
  width: 100%; font: inherit; font-size: 16px; color: var(--pl-ivory); background: rgba(11, 16, 48, .7);
  border: 1px solid var(--pl-line); border-radius: 999px; padding: 9px 16px;
}
.pl-search input::placeholder { color: var(--pl-dim); }
.pl-modes { display: inline-flex; border: 1px solid var(--pl-line); border-radius: 999px; padding: 3px; background: rgba(11, 16, 48, .6); }
.pl-mode, .pl-motion { font: inherit; font-size: 14px; color: var(--pl-mist); background: none; border: 0; border-radius: 999px; padding: 6px 14px; cursor: pointer; min-height: 36px; }
.pl-mode[aria-pressed="true"] { background: linear-gradient(180deg, #f1d488, var(--pl-gold)); color: #1a1405; }
.pl-motion { border: 1px solid var(--pl-line); }
.pl-motion[aria-pressed="true"] { border-color: var(--pl-teal); color: var(--pl-teal); }

.pl-recents { display: grid; gap: 6px; justify-items: center; }
.pl-rc-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: center; }
.pl-rc { font: inherit; font-size: 14px; color: var(--pl-ivory); background: rgba(11, 16, 48, .6); border: 1px solid var(--pl-line); border-radius: 999px; padding: 5px 12px; display: inline-flex; gap: 6px; align-items: center; cursor: pointer; min-height: 34px; }
@media (hover: hover) { .pl-rc:hover { border-color: var(--pl-gold); } }
.pl-rc span { color: var(--pl-gold); }

/* ── Scène : astrolabe + panneau ───────────────────────────────────────── */
.pl-stage { display: grid; gap: 16px; align-items: start; }
.pl-board-box { position: relative; min-width: 0; }
/* §62 : l'astrolabe est une pile de <svg> de même viewBox ; c'est le conteneur qui porte la taille */
.pl-astro { position: relative; width: 100%; max-width: 680px; margin: 0 auto; }
#pl-board { position: relative; display: block; width: 100%; height: auto; overflow: visible; touch-action: manipulation; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
.pl-ly { position: absolute; inset: 0; pointer-events: none; }
.pl-ly > svg { display: block; width: 100%; height: 100%; overflow: visible; }
/* §62 : familles de scintillement (relayer → twk) : l'élément ne s'anime plus, son calque bat pour lui.
   L'opacité de repos du calque reprend celle de l'élément (affichage figé des animations réduites). */
.pl-ly.pl-ly--twk > svg * { animation: none !important; opacity: 1; }
.pl-ly--stars { opacity: .5; animation: pl-twinkle 5s ease-in-out infinite alternate; }
.pl-ly--core-dots { opacity: .35; animation: pl-core-twk 4s ease-in-out infinite; }
.pl-ly--spark { opacity: 0; animation: pl-core-spk 5.4s ease-in-out infinite; }
.pl-ly--motes { opacity: 0; animation: pl-mote-ly 4.2s ease-in-out infinite; }
@keyframes pl-mote-ly { 0%, 100% { opacity: 0; transform: translateY(0); } 50% { opacity: .9; transform: translateY(-1.5px); } }
.pl-hint { text-align: center; color: var(--pl-dim); font-size: 14px; margin: 4px 0 0; }

.pl-star { fill: var(--pl-ivory); opacity: .5; animation: pl-twinkle 5s ease-in-out infinite alternate; }
.pl-ly--outer { animation: pl-spin 240s linear infinite; }
.pl-ring { fill: none; stroke: var(--pl-gold-dim); stroke-width: 1; }
.pl-ring--faint { opacity: .45; }
.pl-ring--inner { stroke-dasharray: 2 5; opacity: .6; }
.pl-tick { stroke: var(--pl-gold-dim); stroke-width: .6; opacity: .7; }
.pl-tick.is-month { stroke: var(--pl-gold); stroke-width: 1.4; opacity: 1; }
.pl-roman { font-family: var(--pl-display); font-size: 10px; fill: var(--pl-gold-dim); text-anchor: middle; dominant-baseline: middle; letter-spacing: .08em; }
.pl-index { fill: url(#plGold); filter: drop-shadow(0 0 4px rgba(232, 195, 106, .6)); }
.pl-beam { stroke: var(--pl-teal); stroke-width: 2; stroke-linecap: round; opacity: 0; stroke-dasharray: 80; stroke-dashoffset: 80; }
.pl-beam.is-on { opacity: .9; animation: pl-beam .55s var(--pl-ease) forwards; filter: drop-shadow(0 0 5px rgba(63, 224, 208, .8)); }

.pl-wheel { transform-box: view-box; transform-origin: 320px 320px; transition: transform .7s var(--pl-ease); }
.pl-ly--chords { transition: transform .7s var(--pl-ease); }
.pl-lab { transform-box: fill-box; transform-origin: center; transition: transform .7s var(--pl-ease); }
.pl-sec { cursor: pointer; outline: none; }
.pl-sec-bg { fill: rgba(11, 16, 48, .82); stroke: var(--pl-line); stroke-width: 1; transition: fill .3s, opacity .3s, stroke .3s; }
.pl-sec-rim { fill: rgba(123, 79, 214, .35); transition: fill .3s; }
.pl-sec:focus-visible .pl-sec-bg { fill: var(--pl-indigo-2); stroke: var(--pl-gold-dim); }
@media (hover: hover) { .pl-sec:hover .pl-sec-bg { fill: var(--pl-indigo-2); stroke: var(--pl-gold-dim); } }
.pl-sec:focus-visible .pl-sec-bg { stroke: var(--pl-teal); stroke-width: 2; }
.pl-glyph { font-size: 22px; fill: var(--pl-gold); text-anchor: middle; dominant-baseline: middle; transition: fill .3s; }
.pl-name { font-family: var(--pl-display); font-size: 11px; letter-spacing: .08em; fill: var(--pl-ivory); text-anchor: middle; dominant-baseline: middle; }
.pl-num { font-family: var(--pl-display); font-size: 9px; letter-spacing: .1em; fill: var(--pl-dim); text-anchor: middle; dominant-baseline: middle; }
.pl-sec.is-gated .pl-glyph { fill: var(--pl-dim); }
.pl-sec.is-gated .pl-sec-rim { fill: rgba(130, 135, 173, .25); }
.pl-node { fill: var(--pl-gold-dim); transition: fill .3s, r .3s; }
.pl-node.is-lit { fill: var(--pl-teal); }
.pl-node.is-sel { fill: var(--pl-ivory); r: 4.6; }
.pl-chord { fill: none; stroke: var(--pl-teal); stroke-width: 1.1; opacity: .55; stroke-dasharray: 3 4; animation: pl-flow 3s linear infinite; }

/* Sélection : la dimension s'illumine, ses voisines s'atténuent */
#pl-board.has-sel .pl-sec:not(.is-sel) .pl-sec-bg { opacity: .55; }
#pl-board.has-sel .pl-sec:not(.is-sel) .pl-lab { opacity: .6; }
.pl-sec.is-sel .pl-sec-bg { fill: #1d1650; stroke: var(--pl-gold); stroke-width: 1.6; }
.pl-sec.is-sel .pl-sec-rim { fill: var(--pl-gold); }
.pl-sec.is-sel .pl-glyph { fill: var(--pl-ivory); filter: drop-shadow(0 0 6px rgba(232, 195, 106, .8)); }
.pl-sec.is-out { opacity: .22; }
.pl-lab { transition: transform .7s var(--pl-ease), opacity .3s; }

/* SYNAXIS : le cœur respire */
/* §62 : deux respirations superposées, l'une s'efface au profit de l'autre (changer la durée en cours faisait sauter le halo) */
.pl-ly--halo { animation: pl-breathe 6s ease-in-out infinite; }
.pl-ly--halo2 { animation: pl-breathe 3.4s ease-in-out infinite; }
.pl-ly--halo .pl-halo, .pl-ly--halo2 .pl-halo { transition: opacity 1.2s ease; }
.pl-ly--halo2 .pl-halo, .pl-astro.has-conv .pl-ly--halo .pl-halo { opacity: 0; }
.pl-astro.has-conv .pl-ly--halo2 .pl-halo { opacity: 1; }
.pl-core { cursor: pointer; outline: none; }
.pl-core-disc { stroke: var(--pl-gold); stroke-width: 1.4; }
.pl-core-ring { fill: none; stroke: var(--pl-gold-dim); stroke-width: .8; stroke-dasharray: 1 4; }
.pl-core-star { fill: url(#plGold); }
.pl-core-t1 { font-family: var(--pl-display); font-size: 21px; letter-spacing: .2em; fill: var(--pl-ivory); text-anchor: middle; }
.pl-core-t2 { font-family: var(--pl-body); font-size: 12px; fill: var(--pl-mist); text-anchor: middle; }
#pl-board.sel-core .pl-core-disc { stroke: var(--pl-teal); stroke-width: 2.2; }
@media (hover: hover) { .pl-core:hover .pl-core-disc { stroke: var(--pl-teal); stroke-width: 2.2; } }
.pl-core:focus-visible .pl-core-disc { stroke: var(--pl-teal); stroke-width: 3; }

/* ── Panneau ───────────────────────────────────────────────────────────── */
.pl-panel {
  position: relative; min-width: 0; outline: none;
  background: linear-gradient(180deg, rgba(20, 26, 70, .92), rgba(11, 16, 48, .92));
  border: 1px solid var(--pl-gold-dim); border-radius: 14px; padding: 20px 18px 18px;
  display: grid; gap: 12px; box-shadow: 0 20px 60px rgba(0, 0, 0, .45), inset 0 0 40px rgba(123, 79, 214, .12);
  animation: pl-rise .35s var(--pl-ease);
}
.pl-panel::before { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(232, 195, 106, .14); border-radius: 10px; pointer-events: none; }
.pl-p-head { display: flex; gap: 14px; align-items: center; }
.pl-p-glyph { flex: none; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-size: 26px; color: var(--pl-gold); border: 1px solid var(--pl-gold-dim); background: radial-gradient(circle, rgba(123, 79, 214, .35), transparent 70%); }
.pl-p-title { font-family: var(--pl-display); font-weight: 400; color: var(--pl-ivory); font-size: clamp(21px, 4.6vw, 27px); letter-spacing: .06em; line-height: 1.15; margin: 0; text-wrap: balance; }
.pl-p-role { margin: 2px 0 0; color: var(--pl-mist); }
.pl-p-points { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.pl-p-points li { display: grid; grid-template-columns: 16px 1fr; gap: 8px; }
.pl-p-points li::before { content: "✦"; color: var(--pl-gold-dim); font-size: 11px; line-height: 2; }
.pl-p-live, .pl-p-quests { border-left: 2px solid var(--pl-teal); padding: 4px 0 4px 12px; display: grid; gap: 2px; }
.pl-p-live p, .pl-p-quests p { margin: 0; color: var(--pl-ivory); }
.pl-p-k { color: var(--pl-teal); margin-bottom: 2px; }
.pl-p-quests p { display: flex; justify-content: space-between; gap: 10px; }
.pl-p-quests b { color: var(--pl-gold); font-weight: 600; white-space: nowrap; }
.pl-p-conv b { color: var(--pl-teal); font-weight: 600; }
.pl-p-access { display: flex; flex-wrap: wrap; gap: 6px; }
.pl-tag { font-family: var(--pl-display); font-size: 10.5px; letter-spacing: .1em; padding: 4px 9px; border-radius: 4px; border: 1px solid var(--pl-line); }
.pl-tag.free { border-color: rgba(63, 224, 208, .45); color: var(--pl-teal); }
.pl-tag.paid { border-color: var(--pl-gold-dim); color: var(--pl-gold); }
.pl-tag.lock { border-color: rgba(130, 135, 173, .5); color: var(--pl-mist); }
.pl-p-ctas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.pl-cta, .pl-ghost { font: inherit; font-size: 16px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 9px 18px; border-radius: 8px; }
.pl-cta { color: #1a1405; font-weight: 600; background: linear-gradient(180deg, #f6dc98, var(--pl-gold) 55%, #c79c45); border: 0; box-shadow: 0 0 0 1px rgba(255, 255, 255, .15) inset, 0 6px 22px rgba(232, 195, 106, .25); }
@media (hover: hover) { .pl-cta:hover { filter: brightness(1.06); } }
.pl-ghost { color: var(--pl-ivory); background: transparent; border: 1px solid var(--pl-line); }
@media (hover: hover) { .pl-ghost:hover { border-color: var(--pl-gold); } }
.pl-ghost[aria-pressed="true"] { color: var(--pl-gold); border-color: var(--pl-gold-dim); }
.pl-p-sealed { margin: 0; color: var(--pl-dim); font-style: italic; width: 100%; }

/* ── Mode Rapide : grille ──────────────────────────────────────────────── */
.pl-quick { display: none; }
.pl-h2 { font-family: var(--pl-display); font-weight: 400; color: var(--pl-ivory); font-size: 15px; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 10px; text-align: center; }
.pl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 10px; }
.pl-gc {
  font: inherit; text-align: left; cursor: pointer; text-decoration: none; color: var(--pl-mist);
  display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 14px;
  background: linear-gradient(180deg, rgba(20, 26, 70, .8), rgba(11, 16, 48, .8)); border: 1px solid var(--pl-line); border-radius: 12px;
  transition: border-color .2s, transform .2s;
}
.pl-gc.is-sel { border-color: var(--pl-gold); }
@media (hover: hover) { .pl-gc:hover { border-color: var(--pl-gold); } }
.pl-gc:active { transform: scale(.98); }
.pl-gc-glyph { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; color: var(--pl-gold); border: 1px solid var(--pl-gold-dim); }
.pl-gc-txt { display: grid; min-width: 0; }
.pl-gc-txt b { font-family: var(--pl-display); font-weight: 400; color: var(--pl-ivory); letter-spacing: .1em; font-size: 15px; }
.pl-gc-txt b i { color: var(--pl-gold); font-style: normal; }
.pl-gc-txt span { font-size: 14.5px; color: var(--pl-dim); overflow-wrap: anywhere; }
.pl-gc.is-sealed { opacity: .55; cursor: default; }
.pl-gc em { margin-left: auto; font-size: 12px; color: var(--pl-dim); }
.pl-empty { text-align: center; color: var(--pl-dim); }
body.pl--rapide .pl-quick { display: block; }
body.pl--rapide .pl-stage, body.pl--rapide .pl-hint { display: none; }

/* ── Portail d'entrée (court, jamais bloquant) ─────────────────────────── */
.pl-portal { position: fixed; inset: 0; z-index: 80; pointer-events: none; display: grid; place-items: center; }
.pl-portal span { width: 40px; height: 40px; border-radius: 50%; opacity: 0; background: radial-gradient(circle, var(--pl-ivory) 0%, var(--pl-gold) 18%, var(--pl-violet) 45%, var(--pl-night) 72%); }
.pl-portal.is-open { pointer-events: auto; }
.pl-portal.is-open span { animation: pl-portal .38s cubic-bezier(.6, 0, .4, 1) forwards; }

/* ── Téléphone : étiquettes trop petites → glyphe seul, nom dans le panneau ── */
@media (max-width: 559px) {
  .pl-name, .pl-num, .pl-roman { display: none; }
  .pl-glyph { font-size: 30px; }
  .pl-lab .pl-glyph { transform: translateY(14px); }
  .pl-sec.is-sel .pl-name { display: block; font-size: 15px; }
  .pl-sec.is-sel .pl-glyph { transform: none; }
  .pl-core-t2 { font-size: 15px; }
  .pl-core-t1 { font-size: 24px; }
}
@media (min-width: 560px) {
  .pl-brand span { display: inline; }
  .pl-me-name { display: inline; }
  .pl-chip--sec { display: inline-grid; }
  .pl-res-more { display: none; }
}
@media (min-width: 980px) {
  .pl-stage { grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); }
  .pl-panel { position: sticky; top: 84px; }
  .pl-name { font-size: 11.5px; }
}

/* ══ LE DÉ DE LA DESTINÉE ═════════════════════════════════════════════════ */
.pl-dice-btn {
  position: relative; max-width: 100%;
  margin: 14px auto 0; display: inline-flex; align-items: center; gap: 16px; cursor: pointer; text-align: left;
  font: inherit; color: var(--pl-ivory); padding: 10px 22px 10px 14px; min-height: 78px; border-radius: 999px;
  background:
    radial-gradient(120% 140% at 12% 50%, rgba(123, 79, 214, .45), transparent 60%),
    linear-gradient(180deg, rgba(36, 28, 90, .96), rgba(10, 12, 40, .96));
  border: 1px solid var(--pl-gold-dim);
  box-shadow: 0 0 0 1px rgba(232, 195, 106, .14) inset, 0 0 28px rgba(123, 79, 214, .35), 0 12px 40px rgba(5, 6, 15, .6);
  transition: transform .25s var(--pl-ease), border-color .25s, box-shadow .25s;
}
@media (hover: hover) { .pl-dice-btn:hover { border-color: var(--pl-gold); transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(232, 195, 106, .3) inset, 0 0 40px rgba(232, 195, 106, .28), 0 12px 40px rgba(5, 6, 15, .6); } }
.pl-dice-btn:active { transform: scale(.97); }
.pl-dice-txt { display: grid; min-width: 0; }
.pl-dice-txt b {
  font-family: var(--pl-display); font-weight: 400; letter-spacing: .08em; font-size: 17px; line-height: 1.25;
  background: linear-gradient(90deg, var(--pl-gold), #fff4d2 50%, var(--pl-gold)); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: pl-gild 6s linear infinite;
}
.pl-dice-txt small { color: var(--pl-mist); font-size: 14px; font-style: italic; }
@keyframes pl-gild { to { background-position: -200% 0; } }

/* le dé : cube astral en 3D, deux orbites et un halo */
.pl-die { position: relative; flex: none; width: 58px; height: 58px; display: grid; place-items: center; perspective: 260px; }
.pl-die-halo {
  position: absolute; inset: -6px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 195, 106, .38), rgba(123, 79, 214, .22) 45%, transparent 70%);
  animation: pl-breathe 4s ease-in-out infinite;
}
.pl-die-orbit {
  position: absolute; inset: -2px; border-radius: 50%; border: 1px solid rgba(232, 195, 106, .45);
  border-top-color: transparent; border-bottom-color: rgba(63, 224, 208, .55);
  transform: rotateX(68deg); animation: pl-orbit 9s linear infinite;
}
.pl-die-orbit.pl-o2 { inset: 4px; border-color: rgba(123, 79, 214, .6); border-left-color: transparent; transform: rotateY(68deg); animation-duration: 13s; animation-direction: reverse; }
.pl-die-orbit::after { content: ''; position: absolute; top: 50%; left: -3px; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: var(--pl-gold); box-shadow: 0 0 8px var(--pl-gold); }
.pl-die-orbit.pl-o2::after { background: var(--pl-teal); box-shadow: 0 0 8px var(--pl-teal); }
@keyframes pl-orbit { to { rotate: 360deg; } }
.pl-die-tilt { transform-style: preserve-3d; transform: rotateX(-20deg) rotateY(-26deg); animation: pl-hover 5s ease-in-out infinite; }
@keyframes pl-hover { 0%, 100% { translate: 0 1px; } 50% { translate: 0 -2px; } }
.pl-die-cube {
  --s: 30px; position: relative; display: block; width: var(--s); height: var(--s); transform-style: preserve-3d;
  transition: transform 1.45s cubic-bezier(.16, .84, .3, 1);
}
.pl-die-cube b {
  position: absolute; inset: 0; display: grid; place-items: center; border-radius: 6px;
  font-family: 'Segoe UI Symbol', 'Noto Sans Symbols', var(--pl-display); font-weight: 400; font-size: 17px; line-height: 1;
  color: var(--pl-gold); text-shadow: 0 0 6px rgba(232, 195, 106, .8);
  background: radial-gradient(circle at 30% 25%, #2c2470, #120f3c 60%, #07081c);
  border: 1px solid rgba(232, 195, 106, .7); box-shadow: inset 0 0 8px rgba(123, 79, 214, .7);
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.pl-die-cube .pl-f1 { transform: translateZ(15px); }
.pl-die-cube .pl-f2 { transform: rotateY(180deg) translateZ(15px); }
.pl-die-cube .pl-f3 { transform: rotateY(90deg) translateZ(15px); }
.pl-die-cube .pl-f4 { transform: rotateY(-90deg) translateZ(15px); }
.pl-die-cube .pl-f5 { transform: rotateX(90deg) translateZ(15px); }
.pl-die-cube .pl-f6 { transform: rotateX(-90deg) translateZ(15px); }
/* le roulement : les orbites s'emballent, le halo s'embrase */
.pl-die.is-rolling .pl-die-orbit { animation-duration: .9s; }
.pl-die.is-rolling .pl-die-orbit.pl-o2 { animation-duration: .7s; }
.pl-die.is-rolling .pl-die-halo { animation: pl-flare 1.45s ease-out; }
.pl-die.is-rolling .pl-die-tilt { animation: pl-leap 1.45s cubic-bezier(.3, .7, .3, 1); }
.pl-die.is-landed .pl-die-cube b { animation: pl-glow 1.2s ease-out; }
@keyframes pl-flare { 0% { transform: scale(1); opacity: .7; } 35% { transform: scale(1.7); opacity: 1; } 100% { transform: scale(1); opacity: .7; } }
@keyframes pl-leap { 0% { translate: 0 0; } 30% { translate: 0 -9px; } 60% { translate: 0 2px; } 80% { translate: 0 -2px; } 100% { translate: 0 0; } }
@keyframes pl-glow { 0% { box-shadow: inset 0 0 8px rgba(123, 79, 214, .7), 0 0 22px rgba(232, 195, 106, .9); } 100% { box-shadow: inset 0 0 8px rgba(123, 79, 214, .7); } }
/* poussière d'étoiles */
.pl-die-dust { position: absolute; inset: 50%; pointer-events: none; }
.pl-die-dust i {
  position: absolute; left: -2px; top: -2px; width: 4px; height: 4px; border-radius: 50%;
  background: var(--pl-gold); box-shadow: 0 0 6px var(--pl-gold); opacity: 0;
  animation: pl-dust 1.3s ease-out forwards;
}
.pl-die-dust i.pl-t { background: var(--pl-teal); box-shadow: 0 0 6px var(--pl-teal); width: 3px; height: 3px; }
@keyframes pl-dust { 0% { opacity: 0; transform: translate(0, 0) scale(.4); } 20% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(1); } }
@media (max-width: 420px) {
  .pl-dice-btn { gap: 12px; padding: 8px 16px 8px 10px; }
  .pl-dice-txt b { font-size: 15.5px; letter-spacing: .05em; }
  .pl-dice-txt small { font-size: 13px; }
}
.pl-sec.is-dice .pl-sec-bg { stroke: var(--pl-teal); stroke-width: 1.8; }
.pl-sec.is-dice .pl-sec-rim { fill: var(--pl-teal); }
#pl-board.has-sel .pl-sec.is-dice:not(.is-sel) .pl-sec-bg, #pl-board.has-sel .pl-sec.is-dice:not(.is-sel) .pl-lab { opacity: 1; }
.pl-dice-list { display: grid; gap: 8px; }
.pl-dice-pick {
  font: inherit; cursor: pointer; text-align: left; color: var(--pl-mist); width: 100%;
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; min-height: 64px; border-radius: 12px;
  background: rgba(5, 6, 15, .45); border: 1px solid rgba(63, 224, 208, .35); transition: border-color .2s, background .2s;
  animation: pl-rise .4s var(--pl-ease) both;
}
.pl-dice-pick:nth-child(2) { animation-delay: .08s; } .pl-dice-pick:nth-child(3) { animation-delay: .16s; }
@media (hover: hover) { .pl-dice-pick:hover { border-color: var(--pl-teal); background: rgba(63, 224, 208, .08); } }
.pl-dice-pick small { font-family: var(--pl-display); font-size: 10.5px; letter-spacing: .16em; color: var(--pl-teal); }
.pl-dice-pick b { font-weight: 600; color: var(--pl-ivory); }
.pl-dice-pick > i { margin-left: auto; font-style: normal; color: var(--pl-gold); }

/* ══ LE PORTAIL : les modules s'ouvrent dans SYNAXIS ═════════════════════════ */
html.pl-pop-on, html.pl-pop-on body { overflow: hidden; }
.pl-pop {
  position: fixed; inset: 0; z-index: 9500; display: flex; flex-direction: column;   /* au-dessus de l'invitation d'installation (.ps-inv, 9400) */
  background: var(--pl-night);
  animation: pl-pop-in .32s var(--pl-ease);
}
.pl-pop[hidden] { display: none; }
.pl-pop-bar {
  display: flex; align-items: center; gap: 8px; padding: calc(6px + env(safe-area-inset-top, 0px)) 10px 6px;
  background: linear-gradient(180deg, #0f1440, #0B1030); border-bottom: 1px solid var(--pl-gold-dim);
}
.pl-pop-btn {
  flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  font: inherit; font-size: 19px; color: var(--pl-ivory); text-decoration: none; background: rgba(5, 6, 15, .5); border: 1px solid var(--pl-line);
}
@media (hover: hover) { .pl-pop-btn:hover { border-color: var(--pl-gold); } }
.pl-pop-btn:disabled { opacity: .3; cursor: default; }
.pl-pop-close { color: #1a1405; background: linear-gradient(180deg, #f6dc98, var(--pl-gold)); border: 0; }
.pl-pop-glyph { flex: none; font-size: 22px; color: var(--pl-gold); width: 30px; text-align: center; }
.pl-pop-title { flex: 1 1 auto; min-width: 0; margin: 0; font-family: var(--pl-display); font-weight: 400; font-size: 15px; letter-spacing: .1em; color: var(--pl-ivory); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-pop-strip {
  display: flex; gap: 4px; overflow-x: auto; padding: 6px 8px; scrollbar-width: none;
  background: #080b22; border-bottom: 1px solid var(--pl-line); -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
}
.pl-pop-strip::-webkit-scrollbar { display: none; }
.pl-pop-strip button {
  flex: none; display: grid; justify-items: center; gap: 1px; min-width: 64px; min-height: 48px; padding: 4px 6px; cursor: pointer;
  font: inherit; color: var(--pl-mist); background: none; border: 1px solid transparent; border-radius: 10px;
}
.pl-pop-strip button span { font-size: 18px; color: var(--pl-gold); line-height: 1.2; }
.pl-pop-strip button small { font-family: var(--pl-display); font-size: 8.5px; letter-spacing: .1em; }
@media (hover: hover) { .pl-pop-strip button:hover { border-color: var(--pl-line); } }
.pl-pop-strip button[aria-current="true"] { border-color: var(--pl-gold); background: rgba(232, 195, 106, .1); color: var(--pl-ivory); }
.pl-pop-strip button:disabled { opacity: .35; cursor: default; }
.pl-pop-body { position: relative; flex: 1 1 auto; min-height: 0; }
.pl-pop-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: var(--pl-night); }
.pl-pop-load {
  position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; justify-items: center; gap: 14px;
  color: var(--pl-mist); background: radial-gradient(circle at 50% 45%, rgba(123, 79, 214, .25), var(--pl-night) 60%);
  font-family: var(--pl-display); letter-spacing: .14em; font-size: 13px;
}
.pl-pop-load[hidden] { display: none; }
.pl-pop-spin { width: 54px; height: 54px; border-radius: 50%; border: 2px solid rgba(232, 195, 106, .2); border-top-color: var(--pl-gold); border-right-color: var(--pl-teal); animation: pl-spin .9s linear infinite; }
@keyframes pl-pop-in { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@media (min-width: 980px) {
  .pl-pop { inset: 2.5vh 2.5vw; border: 1px solid var(--pl-gold-dim); border-radius: 18px; overflow: hidden; box-shadow: 0 0 0 100vmax rgba(5, 6, 15, .72), 0 30px 90px rgba(0, 0, 0, .6); }
  .pl-pop-strip > :first-child { margin-left: auto; }   /* centré tant qu'il tient, défilable sinon (justify-content:center rognerait la gauche) */
  .pl-pop-strip > :last-child { margin-right: auto; }
  .pl-pop-title { font-size: 17px; }
}

/* ══════════════════════════════════════════════════════════════════════════
   V2 — SYNAXIS, POINT DE DÉPART (2026-10-26)
   Plus de lumière, un plateau plus grand, une signature par dimension (--dh),
   une fiche de destination et le Codex sous l'astrolabe. Ces règles viennent
   après celles de la V1 et les prolongent.
   ══════════════════════════════════════════════════════════════════════════ */
.pl-sky {
  background:
    radial-gradient(1100px 700px at 50% 12%, rgba(123, 79, 214, .34), transparent 64%),
    radial-gradient(600px 420px at 50% 42%, rgba(232, 195, 106, .09), transparent 70%),
    radial-gradient(800px 560px at 88% 92%, rgba(63, 224, 208, .08), transparent 62%),
    radial-gradient(900px 700px at 6% 96%, rgba(90, 60, 190, .22), transparent 66%),
    linear-gradient(180deg, #080a22, #05060F 70%);
}
.pl-sky::after { opacity: .8; }

/* En-tête : titre noble, sous-titre clair, le dé à côté sur grand écran */
.pl-main { max-width: 1480px; padding-top: 12px; gap: 12px; }
.pl-head { display: grid; gap: 4px; justify-items: center; }
.pl-head-txt { display: grid; gap: 2px; }
.pl-title { font-size: clamp(26px, 5.6vw, 46px); letter-spacing: .08em; margin: 2px 0 0; text-shadow: 0 0 30px rgba(123, 79, 214, .45); }
.pl-title span { background: linear-gradient(90deg, #f6dc98, #fff4d2 45%, var(--pl-gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pl-sub { color: var(--pl-mist); font-size: 16px; }
.pl-eyebrow { text-shadow: 0 0 12px rgba(232, 195, 106, .45); }
/* Grand écran : titre et outils à gauche, le dé à droite sur deux lignes (moins de vide au-dessus du plateau) */
@media (min-width: 980px) {
  .pl-main { grid-template-columns: minmax(0, 1fr) auto; column-gap: 28px; }
  .pl-main > * { grid-column: 1 / -1; }
  .pl-head { display: contents; }
  .pl-head-txt { grid-column: 1; grid-row: 1; text-align: left; }
  .pl-head .pl-dice-btn { grid-column: 2; grid-row: 1 / span 2; align-self: center; margin: 0; }
  .pl-tools { grid-column: 1; grid-row: 2; justify-content: flex-start; }
  .pl-title { font-size: clamp(28px, 2.9vw, 42px); letter-spacing: .06em; }
}

/* Plateau plus grand, à la hauteur de l'écran */
.pl-astro { max-width: min(100%, 900px); }
@media (min-width: 980px) {
  .pl-stage { grid-template-columns: minmax(0, 1fr) minmax(360px, 440px); gap: 22px; }
  .pl-astro { max-width: min(100%, calc(100svh - 120px)); min-width: 520px; }
  .pl-panel { top: 76px; max-height: calc(100svh - 92px); overflow: auto; scrollbar-width: thin; }
}
.pl-ly--aura { animation: pl-breathe 9s ease-in-out infinite; }
.pl-ring { stroke: rgba(232, 195, 106, .62); stroke-width: 1.2; }
.pl-tick { stroke: #c9a457; opacity: .8; }
.pl-tick.is-month { stroke: #f6dc98; filter: drop-shadow(0 0 2px rgba(246, 220, 152, .9)); }
.pl-roman { fill: #c9a457; font-size: 11px; }
.pl-star { fill: #fff; opacity: .7; }

/* Secteurs : chaque dimension porte sa nuance (--dh) */
.pl-sec-bg { fill: rgba(26, 28, 84, .9); stroke: rgba(232, 195, 106, .38); }
.pl-sec-tint { fill: var(--dh, var(--pl-gold)); opacity: .13; pointer-events: none; transition: opacity .3s; }
.pl-sec-rim { fill: var(--dh, var(--pl-violet)); opacity: .7; }
.pl-glyph { fill: var(--dh, var(--pl-gold)); filter: drop-shadow(0 0 5px color-mix(in srgb, var(--dh, #E8C36A) 70%, transparent)); }
.pl-name { fill: #fff6e2; font-size: 11.5px; }
.pl-num { fill: #a7abd3; }
.pl-sec:focus-visible .pl-sec-bg { fill: rgba(40, 36, 110, .95); stroke: var(--dh); }
@media (hover: hover) { .pl-sec:hover .pl-sec-bg { fill: rgba(40, 36, 110, .95); stroke: var(--dh); } }
@media (hover: hover) { .pl-sec:hover .pl-sec-tint { opacity: .26; } }
.pl-sec.is-sel .pl-sec-bg { fill: rgba(48, 38, 128, .96); stroke: var(--dh); stroke-width: 2; }
.pl-sec.is-sel .pl-sec-tint { opacity: .38; }
.pl-sec.is-sel .pl-sec-rim { fill: var(--dh); opacity: 1; }
.pl-sec.is-sel .pl-glyph { fill: #fffaf0; filter: drop-shadow(0 0 8px var(--dh)); }
#pl-board.has-sel .pl-sec:not(.is-sel) .pl-sec-bg { opacity: .7; }
#pl-board.has-sel .pl-sec:not(.is-sel) .pl-lab { opacity: .72; }
.pl-sec.is-gated .pl-glyph { fill: var(--pl-dim); filter: none; }
.pl-node { fill: #c9a457; }

/* Le cœur : source lumineuse, anneaux, perles, rayons */
.pl-core-disc { stroke: #f6dc98; stroke-width: 1.8; }
.pl-core-disc-u { filter: drop-shadow(0 0 14px rgba(232, 195, 106, .5)); }
.pl-core-orbit { transform-box: view-box; transform-origin: 320px 320px; transition: transform .7s var(--pl-ease); }
.pl-core-ring { stroke: rgba(246, 220, 152, .7); stroke-width: .9; stroke-dasharray: 1 5; }
.pl-core-ring--2 { stroke: rgba(180, 140, 255, .55); stroke-dasharray: none; }
.pl-pearl { fill: #c9a457; transition: fill .3s; }
.pl-pearl.is-lit { fill: var(--pl-teal); filter: drop-shadow(0 0 4px var(--pl-teal)); }
/* §62 : rayons, soleil et étoile tournent ou respirent autour de (320, 298), soit 50 % / 47,105 % du calque */
.pl-ly--rays { transform-origin: 50% 47.105%; animation: pl-spin 80s linear infinite; }
.pl-rays line { stroke: #ffe7a3; stroke-width: 1; opacity: .45; stroke-linecap: round; }
.pl-ly--sun { transform-origin: 50% 47.105%; animation: pl-breathe 5s ease-in-out infinite; }
.pl-core-star { fill: url(#plGold); }
.pl-core-t1 { font-size: 20px; letter-spacing: .24em; fill: #fffaf0; }
.pl-core-t2 { fill: #d7d2f2; font-size: 11.5px; }
.pl-astro.has-conv .pl-rays line { stroke: #bff7ef; opacity: .6; }

/* Fiche de destination : sceau, onglets, bouton Entrer */
.pl-panel {
  border-color: color-mix(in srgb, var(--dh, #E8C36A) 55%, #8f7438);
  background:
    radial-gradient(120% 60% at 50% 0%, color-mix(in srgb, var(--dh, #7B4FD6) 22%, transparent), transparent 70%),
    linear-gradient(180deg, rgba(28, 30, 88, .95), rgba(12, 15, 50, .95));
  box-shadow: 0 24px 70px rgba(0, 0, 0, .5), 0 0 40px color-mix(in srgb, var(--dh, #7B4FD6) 18%, transparent), inset 0 0 40px rgba(123, 79, 214, .14);
}
.pl-p-seal { display: flex; gap: 16px; align-items: center; }
.pl-p-seal .pl-p-glyph, .pl-p-head .pl-p-glyph {
  width: 70px; height: 70px; font-size: 32px; color: var(--dh, var(--pl-gold));
  border: 1px solid color-mix(in srgb, var(--dh, #E8C36A) 70%, transparent);
  background: radial-gradient(circle, color-mix(in srgb, var(--dh, #7B4FD6) 35%, transparent), rgba(5, 6, 15, .4) 72%);
  box-shadow: 0 0 0 4px rgba(5, 6, 15, .6), 0 0 0 5px color-mix(in srgb, var(--dh, #E8C36A) 35%, transparent), 0 0 26px color-mix(in srgb, var(--dh, #E8C36A) 40%, transparent);
  text-shadow: 0 0 12px currentColor;
}
.pl-p-title { font-size: clamp(23px, 4.8vw, 30px); }
.pl-p-sub { margin: 2px 0 0; color: var(--dh, var(--pl-gold)); font-style: italic; }
.pl-p-role { color: #d5d6ee; }
.pl-ptabs { display: flex; gap: 2px; border-bottom: 1px solid var(--pl-line); }
.pl-ptab {
  font: inherit; font-family: var(--pl-display); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; cursor: pointer;
  color: var(--pl-mist); background: none; border: 0; border-bottom: 2px solid transparent; padding: 10px 12px; min-height: 44px; margin-bottom: -1px;
}
@media (hover: hover) { .pl-ptab:hover { color: var(--pl-ivory); } }
.pl-ptab[aria-selected="true"] { color: var(--pl-ivory); border-bottom-color: var(--dh, var(--pl-gold)); }
.pl-ptab i { font-style: normal; font-family: var(--pl-body); font-size: 12px; color: #04201c; background: var(--pl-teal); border-radius: 999px; padding: 0 6px; margin-left: 4px; }
.pl-ptab-body { display: grid; gap: 10px; min-height: 120px; animation: pl-rise .3s var(--pl-ease); }
.pl-p-motto { margin: 0; color: var(--dh, var(--pl-gold)); font-style: italic; font-size: 18px; }
.pl-p-points li::before { color: var(--dh, var(--pl-gold-dim)); }
.pl-p-points li { color: #e4e2f3; }
.pl-p-empty { margin: 0; color: var(--pl-dim); font-style: italic; }
.pl-p-ctas--main { padding-top: 6px; border-top: 1px solid var(--pl-line); }
.pl-enter {
  position: relative; overflow: hidden; flex: 1 1 100%; justify-content: space-between; min-height: 62px; padding: 10px 20px; border-radius: 14px; text-align: left;
  background: linear-gradient(180deg, #fbe7b0, var(--pl-gold) 50%, #c08f3a);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .25) inset, 0 10px 30px rgba(232, 195, 106, .35), 0 0 34px color-mix(in srgb, var(--dh, #E8C36A) 35%, transparent);
}
.pl-enter::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-120%); animation: pl-sheen 4.5s ease-in-out infinite; }
.pl-enter-t { display: grid; }
.pl-enter-t b { font-family: var(--pl-display); font-weight: 600; font-size: 18px; letter-spacing: .1em; }
.pl-enter-t small { font-size: 13.5px; font-weight: 400; opacity: .8; }
.pl-enter > i { font-style: normal; font-size: 26px; }
@media (hover: hover) { .pl-enter:hover { filter: brightness(1.08); } }
@keyframes pl-sheen { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }

/* Le Cœur (panneau d'accueil) */
.pl-heart-prog { display: flex; gap: 14px; align-items: center; padding: 10px 12px; border-radius: 12px; background: rgba(5, 6, 15, .35); border: 1px solid var(--pl-line); }
.pl-heart-lvl { display: grid; justify-items: center; min-width: 52px; }
.pl-heart-lvl small { font-family: var(--pl-display); font-size: 9.5px; letter-spacing: .16em; color: var(--pl-dim); }
.pl-heart-lvl b { font-family: var(--pl-display); font-size: 28px; color: var(--pl-gold); line-height: 1; }
.pl-heart-bar { flex: 1; display: grid; gap: 4px; }
.pl-heart-bar > i { display: block; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--pl-violet), var(--pl-gold)); box-shadow: 0 0 10px rgba(232, 195, 106, .5); }
.pl-heart-bar::before { content: ""; grid-area: 1 / 1; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .1); }
.pl-heart-bar > i { grid-area: 1 / 1; }
.pl-heart-bar small { color: var(--pl-mist); font-size: 13px; }
.pl-heart-q {
  font: inherit; cursor: pointer; text-align: left; width: 100%; display: flex; justify-content: space-between; gap: 10px; align-items: center;
  color: var(--pl-ivory); background: rgba(5, 6, 15, .3); border: 1px solid transparent; border-radius: 10px; padding: 8px 10px; min-height: 44px;
}
@media (hover: hover) { .pl-heart-q:hover { border-color: var(--pl-line); } }
.pl-heart-q span { display: grid; }
.pl-heart-q small { color: var(--pl-mist); font-size: 13.5px; }
.pl-heart-q b { color: var(--pl-gold); white-space: nowrap; }
.pl-teal { color: var(--pl-teal); }

/* Mode Rapide : une vraie alternative, des cartes complètes */
.pl-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 12px; }
.pl-gc {
  position: relative; align-items: flex-start; min-height: 104px; padding: 14px 16px; border-radius: 16px;
  border-color: color-mix(in srgb, var(--dh, #E8C36A) 35%, transparent);
  background: radial-gradient(90% 120% at 0% 0%, color-mix(in srgb, var(--dh, #7B4FD6) 16%, transparent), transparent 60%), linear-gradient(180deg, rgba(28, 30, 88, .9), rgba(12, 15, 50, .9));
}
.pl-gc.is-sel { border-color: var(--dh, var(--pl-gold)); box-shadow: 0 0 24px color-mix(in srgb, var(--dh, #E8C36A) 25%, transparent); transform: translateY(-2px); }
@media (hover: hover) { .pl-gc:hover { border-color: var(--dh, var(--pl-gold)); box-shadow: 0 0 24px color-mix(in srgb, var(--dh, #E8C36A) 25%, transparent); transform: translateY(-2px); } }
.pl-gc-glyph { width: 50px; height: 50px; font-size: 24px; color: var(--dh, var(--pl-gold)); border-color: color-mix(in srgb, var(--dh, #E8C36A) 60%, transparent); background: radial-gradient(circle, color-mix(in srgb, var(--dh, #7B4FD6) 28%, transparent), transparent 72%); text-shadow: 0 0 10px currentColor; }
.pl-gc-txt { gap: 2px; }
.pl-gc-txt b { font-size: 16px; }
.pl-gc-title { color: var(--dh, var(--pl-gold)) !important; font-style: italic; }
.pl-gc-role { color: #c9cae6 !important; font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pl-gc-live { color: var(--pl-teal) !important; font-size: 13.5px; }
.pl-gc-badge { position: absolute; top: 10px; right: 12px; margin: 0 !important; font-style: normal; font-family: var(--pl-display); font-size: 9.5px !important; letter-spacing: .14em; text-transform: uppercase; color: var(--dh) !important; }
.pl-gc.is-core { grid-column: 1 / -1; border-color: var(--pl-gold); }

/* Portail : le retour à SYNAXIS reste toujours visible */
.pl-pop-close { width: auto; min-width: 42px; padding: 0 12px; gap: 6px; display: inline-flex; align-items: center; border-radius: 999px; }
.pl-pop-close-t { font-family: var(--pl-display); font-size: 12px; letter-spacing: .12em; font-weight: 600; }
@media (max-width: 400px) { .pl-pop-close-t { display: none; } }

/* ══ LE CODEX DE SYNAXIS ══════════════════════════════════════════════════ */
.pl-codex { margin-top: 26px; display: grid; gap: 14px; scroll-margin-top: 70px; }
.cx-head { text-align: center; }
.cx-title { font-family: var(--pl-display); font-weight: 400; color: var(--pl-ivory); font-size: clamp(22px, 4.4vw, 32px); letter-spacing: .08em; margin: 4px 0 0; }
.cx-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 4px; margin: 0 -16px; padding-inline: 16px; overscroll-behavior-x: contain; }
.cx-tabs::-webkit-scrollbar { display: none; }
@media (min-width: 760px) { .cx-tabs { justify-content: center; flex-wrap: wrap; margin: 0; overflow: visible; } }   /* en ligne centrée, sur deux rangs si besoin : jamais d’onglet coupé */
.cx-tab {
  flex: none; font: inherit; font-family: var(--pl-display); font-size: 13px; letter-spacing: .1em; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border-radius: 999px;
  color: var(--pl-mist); background: rgba(11, 16, 48, .7); border: 1px solid var(--pl-line);
}
.cx-tab span { color: var(--pl-gold); }
@media (hover: hover) { .cx-tab:hover { color: var(--pl-ivory); border-color: var(--pl-gold-dim); } }
.cx-tab[aria-selected="true"] { color: #1a1405; background: linear-gradient(180deg, #f6dc98, var(--pl-gold)); border-color: transparent; box-shadow: 0 0 22px rgba(232, 195, 106, .35); }
.cx-tab[aria-selected="true"] span { color: #1a1405; }
.cx-body {
  position: relative; outline: none; padding: 22px 18px; border-radius: 18px; border: 1px solid var(--pl-gold-dim);
  background: radial-gradient(80% 50% at 50% 0%, rgba(123, 79, 214, .2), transparent 70%), linear-gradient(180deg, rgba(24, 26, 78, .9), rgba(10, 12, 40, .92));
  box-shadow: 0 24px 70px rgba(0, 0, 0, .4), inset 0 0 50px rgba(123, 79, 214, .1); animation: pl-rise .35s var(--pl-ease);
}
.cx-body::before { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(232, 195, 106, .12); border-radius: 14px; pointer-events: none; }
.cx-body > * { position: relative; }
.cx-h3 { font-family: var(--pl-display); font-weight: 400; color: var(--pl-ivory); font-size: clamp(21px, 4vw, 28px); letter-spacing: .05em; margin: 4px 0 8px; line-height: 1.2; text-wrap: balance; }
.cx-body h4 { font-family: var(--pl-display); font-weight: 400; color: var(--pl-ivory); letter-spacing: .08em; margin: 0; font-size: 18px; }
.cx-body p { margin: 0 0 8px; color: #d5d6ee; }
.cx-lead { font-size: 19px; color: var(--pl-ivory) !important; }
.cx-start { color: var(--pl-gold) !important; font-style: italic; }
.cx-intro { text-align: center; max-width: 720px; margin: 0 auto 16px !important; }
.cx-fine { color: var(--pl-dim) !important; font-size: 14px; }
.cx-center { justify-content: center; align-items: center; margin-top: 14px; }
.cx-known { border-left: 2px solid var(--pl-teal); padding-left: 10px; color: var(--pl-ivory) !important; }
.cx-known b { color: var(--pl-gold); }
.cx-link { color: var(--pl-gold); }
.cx-body ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.cx-body ul li { display: grid; grid-template-columns: 16px 1fr; gap: 8px; color: #e4e2f3; }
.cx-body ul li::before { content: "✦"; color: var(--dh, var(--pl-gold-dim)); font-size: 11px; line-height: 2; }

/* Aperçu */
.cx-apercu { display: grid; gap: 20px; align-items: center; }
.cx-orbit { container-type: inline-size; position: relative; width: min(100%, 360px); aspect-ratio: 1; margin: 0 auto; }
.cx-orbit::before { content: ""; position: absolute; inset: 16%; border-radius: 50%; border: 1px dashed rgba(232, 195, 106, .4); }
.cx-orbit::after { content: ""; position: absolute; inset: 32%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 231, 163, .35), rgba(123, 79, 214, .2) 55%, transparent 72%); animation: pl-breathe 6s ease-in-out infinite; }
.cx-orbit-core { position: absolute; inset: 34%; z-index: 1; border-radius: 50%; display: grid; place-content: center; justify-items: center; text-align: center; background: radial-gradient(circle at 50% 40%, #3b2c8a, #12104a 70%); border: 1px solid #f6dc98; box-shadow: 0 0 30px rgba(232, 195, 106, .4); }
.cx-orbit-core span { color: var(--pl-gold); font-size: 22px; line-height: 1; }
.cx-orbit-core b { font-family: var(--pl-display); font-weight: 400; letter-spacing: .16em; color: var(--pl-ivory); font-size: 14px; }
.cx-orbit-core small { color: var(--pl-mist); font-size: 12px; font-style: italic; }
.cx-orb {
  --a: calc(var(--i) * 60deg - 90deg);
  position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -50%) rotate(var(--a)) translate(37cqw) rotate(calc(-1 * var(--a)));
  font: inherit; font-size: 14px; cursor: pointer; display: grid; justify-items: center; gap: 0; min-width: 82px; min-height: 58px; padding: 6px 8px; border-radius: 14px;
  color: var(--pl-ivory); background: rgba(11, 16, 48, .88); border: 1px solid color-mix(in srgb, var(--dh) 55%, transparent); box-shadow: 0 0 16px color-mix(in srgb, var(--dh) 25%, transparent);
}
.cx-orb span { color: var(--dh); font-size: 20px; line-height: 1.2; text-shadow: 0 0 8px currentColor; }
@media (hover: hover) { .cx-orb:hover { border-color: var(--dh); } }
.cx-syn { text-align: center; max-width: 760px; margin: 0 auto !important; }
.cx-cycle-box { display: grid; gap: 10px; justify-items: center; }
.cx-cycle { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; counter-reset: none; }
.cx-cycle li { position: relative; display: grid; justify-items: center; text-align: center; gap: 2px; padding: 14px 10px; border-radius: 14px; background: rgba(5, 6, 15, .35); border: 1px solid var(--pl-line); }
.cx-cycle-n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--pl-display); color: #1a1405; background: linear-gradient(180deg, #f6dc98, var(--pl-gold)); box-shadow: 0 0 14px rgba(232, 195, 106, .45); }
.cx-cycle b { font-family: var(--pl-display); font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--pl-ivory); font-size: 14px; }
.cx-cycle li span:last-child { color: var(--pl-mist); font-size: 15px; }
@media (min-width: 760px) { .cx-cycle { grid-template-columns: repeat(4, 1fr); } .cx-cycle li:not(:last-child)::after { content: "→"; position: absolute; right: -10px; top: 50%; transform: translateY(-50%); color: var(--pl-gold); z-index: 1; } }
@media (min-width: 900px) {
  .cx-apercu { grid-template-columns: 1.1fr .9fr; }
  .cx-syn, .cx-cycle-box { grid-column: 1 / -1; }
}

/* Initiation */
.cx-init { display: grid; gap: 20px; }
.cx-frag { display: grid; gap: 6px; margin: 6px 0 12px; }
.cx-frag label { font-family: var(--pl-display); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--pl-gold); }
.cx-frag-row { display: flex; gap: 8px; flex-wrap: wrap; }
.cx-frag input { flex: 1 1 180px; font: inherit; font-size: 17px; color: var(--pl-ivory); background: rgba(5, 6, 15, .6); border: 1px solid var(--pl-gold-dim); border-radius: 10px; padding: 10px 14px; min-height: 48px; color-scheme: dark; }
.cx-msg { color: #ffb3a1 !important; min-height: 1em; margin: 0 !important; }
.cx-frag-out { display: grid; gap: 8px; align-content: start; justify-items: center; text-align: center; padding: 18px; border-radius: 16px; background: radial-gradient(circle at 50% 20%, rgba(232, 195, 106, .14), transparent 60%), rgba(5, 6, 15, .3); border: 1px solid var(--pl-line); animation: pl-rise .4s var(--pl-ease); }
.cx-frag-empty { display: grid; gap: 8px; justify-items: center; color: var(--pl-dim); padding: 24px 0; }
.cx-frag-empty span { font-size: 40px; color: var(--pl-gold); opacity: .6; }
.cx-medal { width: 120px; height: 120px; border-radius: 50%; display: grid; place-content: center; justify-items: center; background: radial-gradient(circle at 40% 30%, #fff4d2, var(--pl-gold) 55%, #8f6c2a); color: #1a1405; box-shadow: 0 0 0 4px var(--pl-night), 0 0 0 5px var(--pl-gold-dim), 0 0 40px rgba(232, 195, 106, .5); }
.cx-medal-k { font-family: var(--pl-display); font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; }
.cx-medal b { font-family: var(--pl-display); font-size: 46px; line-height: 1; }
.cx-sens-t { font-family: var(--pl-display); color: var(--pl-ivory) !important; font-size: 21px; letter-spacing: .06em; }
.cx-keys { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.cx-keys span { font-size: 14px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--pl-gold-dim); color: var(--pl-gold); }
.cx-calc { text-align: left; width: 100%; }
.cx-calc summary, .cx-notes summary { cursor: pointer; color: var(--pl-gold); min-height: 40px; display: flex; align-items: center; }
.cx-next { color: var(--pl-mist) !important; font-style: italic; }
@media (min-width: 900px) { .cx-init { grid-template-columns: 1fr 1fr; align-items: start; } }

/* Dimensions */
.cx-dims { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 12px; }
.cx-dim {
  display: grid; gap: 10px; align-content: start; padding: 16px; border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--dh) 40%, transparent);
  background: radial-gradient(100% 60% at 50% 0%, color-mix(in srgb, var(--dh) 18%, transparent), transparent 70%), rgba(5, 6, 15, .35);
}
.cx-dim header, .cx-wide { display: flex; gap: 12px; align-items: center; }
.cx-wide { align-items: flex-start; }
.cx-seal { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; color: var(--dh, var(--pl-gold)); border: 1px solid color-mix(in srgb, var(--dh, #E8C36A) 65%, transparent); background: radial-gradient(circle, color-mix(in srgb, var(--dh, #7B4FD6) 30%, transparent), transparent 72%); text-shadow: 0 0 10px currentColor; }
.cx-dim small, .cx-wide small { font-family: var(--pl-display); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--dh, var(--pl-gold)); }
.cx-motto { color: var(--dh) !important; font-style: italic; }
.cx-more { color: var(--pl-dim) !important; font-style: italic; }
.cx-dim-ctas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.cx-pair { display: grid; gap: 12px; margin-top: 12px; }
.cx-wide { padding: 16px; border-radius: 16px; border: 1px solid color-mix(in srgb, var(--dh, #E8C36A) 40%, transparent); background: rgba(5, 6, 15, .35); }
.cx-wide h4 { margin-bottom: 6px !important; }
@media (min-width: 800px) { .cx-pair { grid-template-columns: 1fr 1fr; } }

/* Progression */
.cx-prog { display: grid; gap: 18px; }
.cx-pillars { grid-template-columns: 1fr 1fr; gap: 10px !important; margin: 10px 0 !important; }
.cx-pillars li { display: grid !important; grid-template-columns: 1fr !important; gap: 2px !important; padding: 12px; border-radius: 12px; background: rgba(5, 6, 15, .35); border: 1px solid var(--pl-line); }
.cx-pillars li::before { display: none; }
.cx-pillars b { font-family: var(--pl-display); font-weight: 400; color: var(--pl-gold); letter-spacing: .06em; }
.cx-pillars span { color: var(--pl-mist); font-size: 15px; }
.cx-me { display: grid; gap: 12px; align-content: start; padding: 18px; border-radius: 16px; border: 1px solid rgba(255, 159, 74, .45); background: radial-gradient(100% 60% at 50% 0%, rgba(255, 159, 74, .14), transparent 70%), rgba(5, 6, 15, .35); }
.cx-lvl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: center; }
.cx-lvl small { grid-column: 2; color: var(--pl-mist); font-size: 13px; }
.cx-lvl-n { grid-row: span 2; display: grid; justify-items: center; }
.cx-lvl-n small { grid-column: auto; font-family: var(--pl-display); font-size: 9.5px; letter-spacing: .16em; }
.cx-lvl-n b { font-family: var(--pl-display); font-size: 36px; color: var(--pl-gold); line-height: 1; }
.cx-lvl-bar { height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.cx-lvl-bar i { display: block; height: 100%; background: linear-gradient(90deg, #ff9f4a, var(--pl-gold)); box-shadow: 0 0 10px rgba(255, 159, 74, .6); }
.cx-stats { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cx-stats div { padding: 10px; border-radius: 10px; background: rgba(5, 6, 15, .35); text-align: center; }
.cx-stats dt { font-family: var(--pl-display); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--pl-dim); }
.cx-stats dd { margin: 2px 0 0; font-size: 20px; color: var(--pl-ivory); font-variant-numeric: tabular-nums; }
.cx-stats dd.is-sd { color: var(--pl-gold); }
@media (min-width: 900px) { .cx-prog { grid-template-columns: 1fr 1fr; align-items: start; } }

/* Offres */
.cx-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 12px; }
.cx-plan { display: grid; gap: 8px; align-content: start; padding: 18px 16px; border-radius: 16px; border: 1px solid var(--pl-line); background: rgba(5, 6, 15, .4); }
.cx-plan--premium { border-color: rgba(180, 140, 255, .55); }
.cx-plan--galactic { border-color: rgba(143, 184, 255, .6); background: radial-gradient(100% 50% at 50% 0%, rgba(143, 184, 255, .14), transparent 70%), rgba(5, 6, 15, .4); }
.cx-plan--polaris { border-color: var(--pl-gold); background: radial-gradient(100% 50% at 50% 0%, rgba(232, 195, 106, .18), transparent 70%), rgba(5, 6, 15, .4); box-shadow: 0 0 30px rgba(232, 195, 106, .15); }
.cx-plan.is-mine { outline: 2px solid var(--pl-teal); outline-offset: 2px; }
.cx-plan-n { font-family: var(--pl-display); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--pl-gold) !important; margin: 0 !important; }
.cx-plan h4 { font-size: 22px !important; }
.cx-price { font-family: var(--pl-display); font-size: 28px; color: var(--pl-ivory) !important; margin: 0 !important; }
.cx-price small { font-family: var(--pl-body); font-size: 14px; color: var(--pl-mist); }
.cx-promise { font-style: italic; }
.cx-sdb { margin-top: 4px !important; font-size: 14.5px; color: var(--pl-mist) !important; }
.cx-sdb span { font-family: var(--pl-display); font-size: 10.5px; letter-spacing: .14em; color: var(--pl-gold); }
.cx-sdb b { color: var(--pl-gold); }
.cx-trial { font-size: 13.5px; color: var(--pl-teal) !important; margin: 0 !important; }
.cx-sd { display: flex; gap: 18px; align-items: flex-start; margin-top: 20px; padding: 18px; border-radius: 16px; border: 1px solid var(--pl-gold-dim); background: radial-gradient(60% 100% at 0% 50%, rgba(232, 195, 106, .14), transparent 70%), rgba(5, 6, 15, .35); }
.cx-sd-coin { flex: none; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; color: #1a1405; background: radial-gradient(circle at 35% 30%, #fff4d2, var(--pl-gold) 55%, #8f6c2a); box-shadow: 0 0 30px rgba(232, 195, 106, .5); }
.cx-sd h4 { margin: 4px 0 10px !important; text-wrap: balance; }
.cx-fair { margin-top: 10px !important; color: var(--pl-ivory) !important; border-left: 2px solid var(--pl-gold); padding-left: 10px; }
@media (max-width: 559px) { .cx-sd { flex-direction: column; } }

/* Confiance */
.cx-pledges { display: flex !important; flex-wrap: wrap; gap: 8px !important; justify-content: center; margin-bottom: 18px !important; }
.cx-pledges li { display: inline-flex !important; align-items: center; gap: 8px !important; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--pl-gold-dim); font-family: var(--pl-display); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; }
.cx-pledges li::before { display: none; }
.cx-pledges li span { color: var(--pl-gold); }
.cx-trust { display: grid; gap: 18px; }
.cx-notes details { border-bottom: 1px solid var(--pl-line); padding: 2px 0; }
.cx-notes details p { margin: 0 0 10px !important; }
.cx-voices { display: grid; gap: 10px; align-content: start; }
.cx-review { margin: 0; padding: 14px 16px; border-radius: 14px; background: rgba(5, 6, 15, .35); border: 1px solid var(--pl-line); }
.cx-review blockquote { margin: 4px 0 8px; color: var(--pl-ivory); font-style: italic; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.cx-review figcaption { color: var(--pl-mist); font-size: 14px; }
.cx-stars { margin: 0 !important; color: var(--pl-gold) !important; letter-spacing: 2px; }
.cx-stars span { color: rgba(232, 195, 106, .25); }
.cx-ver { color: var(--pl-teal); }
@media (min-width: 900px) { .cx-trust { grid-template-columns: 1.1fr .9fr; } }

/* ── Animations ────────────────────────────────────────────────────────── */
@keyframes pl-spin { to { transform: rotate(360deg); } }
@keyframes pl-twinkle { from { opacity: .25; } to { opacity: .75; } }
@keyframes pl-breathe { 0%, 100% { transform: scale(.94); opacity: .7; } 50% { transform: scale(1.06); opacity: 1; } }
@keyframes pl-beam { to { stroke-dashoffset: 0; } }
@keyframes pl-flow { to { stroke-dashoffset: -14; } }
@keyframes pl-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes pl-portal { 0% { opacity: 0; transform: scale(.2); } 30% { opacity: 1; } 100% { opacity: 1; transform: scale(60); } }

html.pl-reduced *, html.pl-reduced *::before, html.pl-reduced *::after { animation: none !important; transition: none !important; }
html.pl-reduced .pl-beam.is-on { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .pl-beam.is-on { stroke-dashoffset: 0; }
}

/* ══ En-tête (26/10) ═════════════════════════════════════════════════════════
   Ligne 1 : compteurs à gauche · POLARISTAR au centre, en grand · Progression et Mon compte à droite.
   Ligne 2 : STARDUST et Abonnement. Téléphone : Progression en pastille ronde, compteurs repliables. */
.pl-status {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  grid-template-areas: "left brand right"; align-items: center; column-gap: 8px; row-gap: 8px;
}
.pl-hd-left { grid-area: left; display: flex; align-items: center; gap: 6px; min-width: 0; }
.pl-hd-left .pl-res { flex: 1 1 auto; }
.pl-brand { grid-area: brand; justify-self: center; gap: 10px; font-size: 15px; letter-spacing: .2em; }
.pl-brand img { width: 30px; height: 30px; filter: drop-shadow(0 0 8px rgba(242, 207, 115, .45)); }
.pl-brand span { display: inline; color: var(--pl-gold); text-shadow: 0 0 14px rgba(242, 207, 115, .35); }
.pl-hd-right { grid-area: right; justify-self: end; display: flex; align-items: center; gap: 6px; }
.pl-hd { grid-area: shop; display: flex; justify-content: center; gap: 8px; }
.pl-status.is-open .pl-hd-left { grid-column: 1 / -1; grid-row: 2; }
.pl-status.is-open .pl-res { flex-wrap: wrap; overflow: visible; }
.pl-hd-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 38px; padding: 6px 14px; border-radius: 999px; white-space: nowrap;
  font-family: var(--pl-display); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--pl-ivory); text-decoration: none;
  border: 1px solid var(--pl-gold-dim); background: rgba(18, 14, 44, .62);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.pl-hd-btn[hidden] { display: none; }
.pl-hd .pl-hd-btn { flex: 1 1 0; max-width: 220px; }
.pl-hd-btn--sd { border-color: rgba(180, 150, 255, .55); background: linear-gradient(135deg, rgba(96, 66, 200, .42), rgba(26, 18, 72, .66)); }
.pl-hd-btn--abo { color: var(--pl-gold); border-color: rgba(242, 207, 115, .6); background: linear-gradient(135deg, rgba(242, 207, 115, .16), rgba(26, 18, 52, .66)); }
.pl-hd-btn--prog { border-color: rgba(127, 240, 181, .5); }
.pl-hd-g { font-size: 15px; line-height: 1; letter-spacing: 0; }
@media (hover: hover) { .pl-hd-btn:hover { box-shadow: 0 0 16px rgba(242, 207, 115, .22); transform: translateY(-1px); } }
.pl-hd-btn:focus-visible, .pl-me:focus-visible { outline: 2px solid var(--pl-gold); outline-offset: 2px; }
.pl-hd-right .pl-me { margin-left: 0; white-space: nowrap; font-size: 13px; padding: 6px 10px; }
.pl-me.is-user { padding: 3px; border: 1px solid var(--pl-gold-dim); }
.pl-me.is-user .pl-me-name { display: none; font-family: var(--pl-display); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; }
.pl-me.is-user .pl-av { width: 30px; height: 30px; }
/* téléphone : Progression en pastille ronde (le libellé reste lu par les lecteurs d'écran) */
.pl-hd-btn--prog { width: 38px; padding: 0; }
.pl-hd-btn--prog .pl-hd-t { display: none; }
@media (max-width: 359px) { .pl-brand { font-size: 13px; letter-spacing: .14em; } .pl-hd-btn { padding: 6px 10px; letter-spacing: .08em; } }
@media (min-width: 560px) {
  .pl-brand { font-size: 19px; }
  .pl-brand img { width: 36px; height: 36px; }
  .pl-hd-btn--prog { width: auto; padding: 6px 14px; }
  .pl-hd-btn--prog .pl-hd-t { display: inline; }
  .pl-me.is-user { padding: 3px 12px 3px 3px; }
  .pl-me.is-user .pl-me-name { display: inline; }
}
@media (min-width: 980px) {
  .pl-brand { font-size: 24px; letter-spacing: .24em; }
  .pl-brand img { width: 42px; height: 42px; }
}

/* Cercle à cinq outils : les huit autres portes sont dessous */
.pl-doors { margin: 6px auto 0; max-width: 640px; text-align: center; }
.pl-doors-k { margin: 0 0 6px; font-family: var(--pl-display); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--pl-dim); }
.pl-doors-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.pl-door {
  position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 5px 12px; cursor: pointer;
  font-family: var(--pl-display); font-size: 11px; letter-spacing: .12em; color: var(--pl-ivory);
  background: rgba(14, 12, 40, .7); border: 1px solid color-mix(in srgb, var(--dh) 45%, transparent); border-radius: 999px;
}
.pl-door span { color: var(--dh); font-size: 15px; letter-spacing: 0; }
.pl-door.is-sel { border-color: var(--dh); box-shadow: 0 0 14px color-mix(in srgb, var(--dh) 35%, transparent); }
@media (hover: hover) { .pl-door:hover { border-color: var(--dh); box-shadow: 0 0 14px color-mix(in srgb, var(--dh) 35%, transparent); } }
.pl-door:disabled { opacity: .4; cursor: default; }
body.pl--rapide .pl-doors { display: none; }
/* pastille « page ouverte » : on la retrouve telle qu'on l'a laissée */
.pl-pop-strip button, .pl-gc { position: relative; }
.pl-door.is-open::after, .pl-pop-strip button.is-open::after, .pl-gc.is-open::after {
  content: ""; position: absolute; top: 4px; right: 4px; width: 7px; height: 7px; border-radius: 50%;
  background: #3fe0d0; box-shadow: 0 0 8px #3fe0d0;
}
.pl-sec.is-open .pl-sec-rim { fill: #3fe0d0; filter: drop-shadow(0 0 4px #3fe0d0); }

/* Portail : une page par cadre ; seule la page affichée se voit, les autres restent ouvertes derrière */
.pl-pop-frame { visibility: hidden; pointer-events: none; }
.pl-pop-frame.is-cur { visibility: visible; pointer-events: auto; }
.pl-pop-shut { font-size: 16px; }
/* Le médaillon central reste au-dessus du portail : un toucher ramène à SYNAXIS */
html.pl-pop-on body.pl .ps-bottom-nav.ps-dock { z-index: 9600 !important; }

/* Barre du bas : sur le plateau, seul le médaillon central reste (l'en-tête porte le reste) */
html body.pl .ps-bottom-nav.ps-dock .ps-dock__it { display: none !important; }
html body.pl .ps-bottom-nav.ps-dock,
html body.pl .ps-bottom-nav.ps-dock .ps-dock__bar {
  background: none !important; border-color: transparent !important; box-shadow: none !important;
  backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
}
html body.pl .ps-bottom-nav.ps-dock { pointer-events: none; }
html body.pl .ps-bottom-nav.ps-dock .ps-dock__bar { display: flex !important; justify-content: center; }
html body.pl .ps-bottom-nav.ps-dock::before,
html body.pl .ps-bottom-nav.ps-dock::after,
html body.pl .ps-bottom-nav.ps-dock .ps-dock__bar::before,
html body.pl .ps-bottom-nav.ps-dock .ps-dock__bar::after { display: none !important; }
html body.pl .ps-bottom-nav.ps-dock .ps-dock__center { pointer-events: auto; }

/* Cercle à cinq outils (26/10) : assez de place pour nommer chaque outil, téléphone compris */
.pl-name { font-size: 16px; letter-spacing: .14em; }
.pl-glyph { font-size: 28px; }
.pl-num { font-size: 11px; }
@media (max-width: 559px) {
  .pl-name { display: block; font-size: 19px; }
  .pl-lab .pl-glyph { transform: none; font-size: 34px; }
}
@media (max-width: 559px) { .pl-hd-right .pl-me:not(.is-user) { padding: 6px 8px; font-size: 12.5px; } }
/* Téléphone : la barre du bas est masquée partout, la page du portail descend jusqu'au bord (30/10 : plus de bande noire de 84 px) */
@media (min-width: 560px) { .pl-hd-left .pl-res { flex-wrap: wrap; overflow: visible; row-gap: 4px; } }

/* Le médaillon (bouton raccourci) se range dans le coin en bas à droite de l'écran (26/10) */
html body.pl .ps-bottom-nav.ps-dock { left: auto !important; right: 0 !important; width: auto !important; max-width: none !important; transform: none !important; }
html body.pl .ps-bottom-nav.ps-dock .ps-dock__bar { justify-content: flex-end; width: auto !important; max-width: none !important; margin: 0 !important; padding-right: max(6px, env(safe-area-inset-right, 0px)) !important; padding-left: 0 !important; }
html body.pl .ps-bottom-nav.ps-dock .ps-dock__center { width: 76px; flex: none; }

/* ══════════════════════════════════════════════════════════════════════════
   V3 — L'ASTROLABE MONUMENTAL (26/10)
   Or métallique, gravures, cœur astral, fiche-grimoire, dé-artefact, Codex.
   Uniquement de l'apparence : aucune zone de clic ne bouge (tout le décor
   ajouté est en pointer-events: none). Ces règles prolongent la V2.
   ══════════════════════════════════════════════════════════════════════════ */

/* Composition : moins de vide au-dessus, un plateau qui domine la page */
.pl-main { gap: 8px; padding-top: 6px; }
@media (min-width: 980px) {
  .pl-stage { grid-template-columns: minmax(0, 1fr) minmax(340px, 400px); gap: 18px; }
  .pl-astro { max-width: min(100%, calc(100svh + 90px), 1040px); min-width: 560px; }   /* +25 à 35 % : le plateau domine, quitte à dépasser un peu l’écran */
  .pl-panel { top: 70px; max-height: calc(100svh - 84px); }
}
@media (min-width: 1400px) { .pl-stage { grid-template-columns: minmax(0, 1fr) minmax(360px, 420px); } }
/* §62 : l'ombre portée n'est plus un filtre sur tout l'astrolabe animé (refiltré à chaque image) : elle est calculée une fois,
   sur la silhouette fixe du calque du dessous. L'astrolabe entre en fondu une fois dessiné (avant, il surgissait d'un coup). */
.pl-ly--glow { filter: drop-shadow(0 0 46px rgba(123, 79, 214, .32)) drop-shadow(0 0 18px rgba(232, 195, 106, .1)); }
.pl-astro { opacity: 0; }
.pl-astro.is-built { opacity: 1; animation: pl-board-in 1.1s var(--pl-ease) both; }
.pl-astro.is-boot .pl-wheel, .pl-astro.is-boot .pl-core-orbit, .pl-astro.is-boot .pl-lab, .pl-astro.is-boot .pl-sc-lab, .pl-astro.is-boot .pl-ly--chords { transition: none !important; }
/* hors de l'écran, tout le décor s'arrête et reprend où il en était */
.pl-astro.is-off, .pl-astro.is-off * { animation-play-state: paused !important; }
/* Écran tactile : les pulsations qui restent dans le grand <svg> (liserés et nœuds des secteurs, couronne, énergie,
   arc du cœur, segments et reflet de la couronne des médaillons) le repeindraient en entier à chaque image.
   Elles s'arrêtent sur leur première image ; tout ce qui tourne ou respire dans les calques continue. */
@media (hover: none) {
  #pl-board .pl-sec-rim, #pl-board .pl-dn.is-hub, #pl-board .pl-crown, #pl-board .pl-energy, #pl-board .pl-core-arc,
  #pl-board .pl-mseg, #pl-board .pl-msheen { animation-play-state: paused !important; }
}
@keyframes pl-board-in { from { opacity: 0; transform: scale(.94) rotate(-4deg); } to { opacity: 1; transform: none; } }

/* Décor : jamais cliquable */
.pl-nimbus, .pl-aura, .pl-stars, .pl-outer, .pl-frame, .pl-engrave, .pl-crown, .pl-seps, .pl-energy, .pl-beam,
.pl-halo, .pl-nebula, .pl-core-ring3, .pl-motes, .pl-core-flash, .pl-index { pointer-events: none; }

/* Halo violet et or derrière l'astrolabe */
.pl-ly--nimbus { animation: pl-breathe 11s ease-in-out infinite; }

/* Anneaux d'or métallique : le reflet reste fixe pendant que les graduations tournent */
.pl-band { fill: none; stroke: url(#plRingGold); stroke-width: 3.2; filter: drop-shadow(0 0 3px rgba(246, 220, 152, .45)); }
.pl-band--thin { stroke-width: 1.6; }
.pl-ring { stroke: rgba(232, 195, 106, .75); }
.pl-tick { stroke: #d9b866; }
.pl-roman { fill: #e3c47c; font-size: 12px; letter-spacing: .12em; }

/* Gravures alchimiques entre le cœur et la roue, à rebours, très lentement */
.pl-ly--engrave { animation: pl-spin 420s linear infinite reverse; }
.pl-eng-ring { fill: none; stroke: rgba(232, 195, 106, .32); stroke-width: .8; }
.pl-eng-ring + .pl-eng-ring { stroke-dasharray: 1 3; }
.pl-eng-g { font-family: 'Segoe UI Symbol', 'Noto Sans Symbols', 'Noto Sans Symbols 2', var(--pl-display); font-size: 11px; fill: #e3c47c; opacity: .62; text-anchor: middle; dominant-baseline: central; }
.pl-eng-dot { fill: #c9a457; opacity: .7; }

/* Secteurs : séparations dorées, contraste renforcé, nom plus lisible */
.pl-sep { stroke: url(#plRingGold); stroke-width: 1.6; opacity: .9; }
.pl-sep-gem { fill: #f6dc98; filter: drop-shadow(0 0 3px rgba(246, 220, 152, .9)); }
.pl-sec-bg { fill: rgba(30, 30, 92, .94); stroke: rgba(232, 195, 106, .45); }
.pl-sec-tint { opacity: .18; }
.pl-name { font-size: 15px; letter-spacing: .05em; fill: #fffaf0; font-weight: 600; paint-order: stroke; stroke: rgba(5, 6, 15, .55); stroke-width: 2.4px; stroke-linejoin: round; }
.pl-num { fill: #c9c4e8; }
.pl-glyph { filter: drop-shadow(0 0 7px color-mix(in srgb, var(--dh, #E8C36A) 80%, transparent)); }
.pl-sec-rim { animation: pl-rim 5.5s ease-in-out infinite; }
.pl-sec:nth-of-type(2) .pl-sec-rim { animation-delay: -1.1s; } .pl-sec:nth-of-type(3) .pl-sec-rim { animation-delay: -2.2s; }
.pl-sec:nth-of-type(4) .pl-sec-rim { animation-delay: -3.3s; } .pl-sec:nth-of-type(5) .pl-sec-rim { animation-delay: -4.4s; }
@keyframes pl-rim { 0%, 100% { opacity: .62; } 50% { opacity: 1; } }
#pl-board.has-sel .pl-sec:not(.is-sel) .pl-sec-bg { opacity: .82; }
#pl-board.has-sel .pl-sec:not(.is-sel) .pl-lab { opacity: .82; }
.pl-sec.is-sel .pl-sec-bg { fill: color-mix(in srgb, var(--dh, #7B4FD6) 22%, #1d1756); stroke-width: 2.4; filter: drop-shadow(0 0 12px color-mix(in srgb, var(--dh, #E8C36A) 70%, transparent)); }
.pl-sec.is-sel .pl-sec-tint { opacity: .5; }
.pl-sec.is-sel .pl-sec-rim { animation: none; opacity: 1; filter: drop-shadow(0 0 6px var(--dh)); }
.pl-sec.is-sel .pl-name { fill: #fff; }

/* Couronne de midi et ligne d'énergie : la lumière de la dimension choisie */
.pl-crown { opacity: 0; mix-blend-mode: screen; transition: opacity .6s ease; }
/* §62 : la pulsation joue sur fill-opacity, l'apparition sur opacity : le fondu d'entrée n'est plus écrasé par l'animation */
#pl-board.has-sel:not(.sel-core) .pl-crown { opacity: .95; animation: pl-crown 4s ease-in-out infinite; }
@keyframes pl-crown { 0%, 100% { fill-opacity: .684; } 50% { fill-opacity: 1; } }
.pl-beam { stroke: var(--sh, var(--pl-teal)); }
.pl-beam.is-on { filter: drop-shadow(0 0 6px var(--sh, #3fe0d0)); }
.pl-energy { stroke: #fffaf0; stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: 2 9; opacity: 0; transition: opacity .4s ease .35s; }
#pl-board.has-sel:not(.sel-core) .pl-energy { opacity: .9; animation: pl-energy 1.1s linear infinite; }
@keyframes pl-energy { to { stroke-dashoffset: 11; } }

/* SYNAXIS : étoile radieuse sur nébuleuse violette, trois anneaux, poussières */
.pl-ly--nebula { animation: pl-spin 60s linear infinite; }
.pl-core-ring3 { fill: none; stroke: url(#plRingGold); stroke-width: 1.4; stroke-dasharray: 10 4 2 4; opacity: .85; }
.pl-ly--ring3 { animation: pl-spin 140s linear infinite; }
.pl-core-ring--2 { stroke: rgba(196, 162, 255, .6); }
.pl-mote { fill: #fff4d2; opacity: 0; animation: pl-mote 4.2s ease-in-out infinite; }
@keyframes pl-mote { 0%, 100% { opacity: 0; transform: translateY(0); } 50% { opacity: .9; transform: translateY(-3px); } }
.pl-core-t1 { font-size: 21px; font-weight: 600; letter-spacing: .26em; paint-order: stroke; stroke: rgba(10, 8, 40, .7); stroke-width: 3px; filter: drop-shadow(0 0 6px rgba(246, 220, 152, .55)); }
.pl-core-star { filter: drop-shadow(0 0 8px rgba(255, 231, 163, .9)); }
.pl-core-flash { opacity: 0; transform-box: fill-box; transform-origin: center; }
.pl-core-flash.is-on { animation: pl-flash .9s ease-out; }
@keyframes pl-flash { 0% { opacity: 0; transform: scale(.6); } 25% { opacity: .9; } 100% { opacity: 0; transform: scale(1.5); } }
#pl-board.sel-core .pl-core-disc { stroke: #fff4d2; stroke-width: 2.6; }
.pl-astro.sel-core .pl-core-disc-u { filter: drop-shadow(0 0 20px rgba(255, 231, 163, .7)); }

/* Fiche de destination : un grimoire (coins ornés, double filet d'or) */
.pl-panel {
  border-radius: 18px; padding: 22px 20px 18px;
  border-color: color-mix(in srgb, var(--dh, #E8C36A) 60%, #8f7438);
  background:
    radial-gradient(120% 50% at 50% 0%, color-mix(in srgb, var(--dh, #7B4FD6) 24%, transparent), transparent 70%),
    radial-gradient(80% 40% at 50% 100%, rgba(123, 79, 214, .16), transparent 70%),
    linear-gradient(180deg, rgba(30, 30, 92, .96), rgba(12, 14, 48, .97));
}
.pl-panel::before { inset: 7px; border-radius: 13px; border-color: color-mix(in srgb, var(--dh, #E8C36A) 26%, transparent); }
.pl-panel::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background:
    radial-gradient(circle at 14px 14px, var(--dh, #E8C36A) 0 2px, transparent 3px),
    radial-gradient(circle at calc(100% - 14px) 14px, var(--dh, #E8C36A) 0 2px, transparent 3px),
    radial-gradient(circle at 14px calc(100% - 14px), var(--dh, #E8C36A) 0 2px, transparent 3px),
    radial-gradient(circle at calc(100% - 14px) calc(100% - 14px), var(--dh, #E8C36A) 0 2px, transparent 3px);
  opacity: .8;
}
.pl-p-seal { padding-bottom: 12px; border-bottom: 1px solid transparent; border-image: linear-gradient(90deg, transparent, color-mix(in srgb, var(--dh, #E8C36A) 60%, transparent), transparent) 1; }
.pl-p-seal .pl-p-glyph { position: relative; animation: pl-seal 6s ease-in-out infinite; }
.pl-p-seal .pl-p-glyph::before { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 1px dashed color-mix(in srgb, var(--dh, #E8C36A) 55%, transparent); animation: pl-spin 40s linear infinite; }
@keyframes pl-seal { 0%, 100% { box-shadow: 0 0 0 4px rgba(5, 6, 15, .6), 0 0 0 5px color-mix(in srgb, var(--dh, #E8C36A) 35%, transparent), 0 0 20px color-mix(in srgb, var(--dh, #E8C36A) 35%, transparent); } 50% { box-shadow: 0 0 0 4px rgba(5, 6, 15, .6), 0 0 0 5px color-mix(in srgb, var(--dh, #E8C36A) 55%, transparent), 0 0 34px color-mix(in srgb, var(--dh, #E8C36A) 55%, transparent); } }
.pl-p-eyebrow { color: color-mix(in srgb, var(--dh, #E8C36A) 75%, #fff); }
.pl-p-title { color: #fffaf0; text-shadow: 0 0 18px color-mix(in srgb, var(--dh, #E8C36A) 40%, transparent); }
.pl-ptabs { border-bottom-color: color-mix(in srgb, var(--dh, #E8C36A) 30%, transparent); }
.pl-ptab[aria-selected="true"] { text-shadow: 0 0 10px color-mix(in srgb, var(--dh, #E8C36A) 60%, transparent); }
.pl-p-live, .pl-p-quests { border-radius: 0 10px 10px 0; background: rgba(5, 6, 15, .28); padding: 8px 10px 8px 12px; }
.pl-p-ctas--main { border-top: 0; position: relative; padding-top: 12px; }
.pl-p-ctas--main::before { content: "✦"; position: absolute; top: -9px; left: 50%; transform: translateX(-50%); color: var(--dh, var(--pl-gold)); font-size: 12px; background: transparent; }
.pl-p-ctas--main::after { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--dh, #E8C36A) 55%, transparent) 30%, transparent 46%, transparent 54%, color-mix(in srgb, var(--dh, #E8C36A) 55%, transparent) 70%, transparent); }
.pl-enter { box-shadow: 0 0 0 1px rgba(255, 255, 255, .3) inset, 0 0 0 3px rgba(5, 6, 15, .5), 0 0 0 4px color-mix(in srgb, var(--dh, #E8C36A) 50%, transparent), 0 10px 30px rgba(232, 195, 106, .35), 0 0 40px color-mix(in srgb, var(--dh, #E8C36A) 40%, transparent); }
.pl-enter > i { transition: transform .25s var(--pl-ease); }
@media (hover: hover) { .pl-enter:hover > i { transform: translateX(4px); } }
.pl-ghost { border-radius: 999px; font-size: 15px; min-height: 42px; padding: 8px 16px; background: rgba(5, 6, 15, .3); }
.pl-ghost[data-act="core"] { border-color: rgba(246, 220, 152, .45); color: #f6dc98; }

/* Le Dé de la Destinée : artefact alchimique (gravures d'or, halo violet) */
.pl-dice-btn { border-color: rgba(232, 195, 106, .7); box-shadow: 0 0 0 1px rgba(232, 195, 106, .18) inset, 0 0 0 4px rgba(5, 6, 15, .55), 0 0 0 5px rgba(232, 195, 106, .25), 0 0 36px rgba(123, 79, 214, .45), 0 12px 40px rgba(5, 6, 15, .6); }
.pl-die-halo { inset: -10px; background: radial-gradient(circle, rgba(255, 231, 163, .42), rgba(123, 79, 214, .34) 45%, transparent 70%); }
.pl-die-cube b { background: radial-gradient(circle at 30% 25%, #3a2c86, #15114a 60%, #07081c); border: 1.5px solid #e8c36a; box-shadow: inset 0 0 0 2px rgba(5, 6, 15, .7), inset 0 0 0 3px rgba(232, 195, 106, .35), inset 0 0 10px rgba(123, 79, 214, .8); }
.pl-dice-pick { border-color: color-mix(in srgb, var(--pl-gold) 30%, transparent); background: linear-gradient(90deg, rgba(123, 79, 214, .14), rgba(5, 6, 15, .45) 60%); }
@media (hover: hover) { .pl-dice-pick:hover { border-color: var(--pl-gold); background: linear-gradient(90deg, rgba(232, 195, 106, .14), rgba(5, 6, 15, .45) 60%); } }
.pl-dice-pick small { color: var(--pl-gold); }
.pl-p-ctas [data-act="ask"] {
  flex: 1 1 100%; justify-content: center; border-radius: 999px; min-height: 52px; font-family: var(--pl-display); letter-spacing: .1em;
  color: #fffaf0; background: radial-gradient(120% 160% at 50% 0%, rgba(196, 162, 255, .5), transparent 60%), linear-gradient(180deg, #5a3fc0, #2a1f6e);
  box-shadow: 0 0 0 1px rgba(246, 220, 152, .6) inset, 0 0 26px rgba(123, 79, 214, .55);
}

/* Les autres portes : chaque porte porte sa couleur */
.pl-door { background: linear-gradient(180deg, color-mix(in srgb, var(--dh) 12%, rgba(14, 12, 40, .85)), rgba(10, 10, 34, .85)); }
.pl-doors-k { color: #c9c4e8; }

/* Codex : panneaux premium */
.cx-tab { background: linear-gradient(180deg, rgba(30, 30, 92, .8), rgba(11, 14, 44, .85)); }
.cx-body { border-radius: 20px; border-color: rgba(232, 195, 106, .55); box-shadow: 0 24px 70px rgba(0, 0, 0, .45), 0 0 0 4px rgba(5, 6, 15, .5), 0 0 0 5px rgba(232, 195, 106, .16), inset 0 0 60px rgba(123, 79, 214, .12); }
.cx-body::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background:
    radial-gradient(circle at 16px 16px, #e8c36a 0 2px, transparent 3px), radial-gradient(circle at calc(100% - 16px) 16px, #e8c36a 0 2px, transparent 3px),
    radial-gradient(circle at 16px calc(100% - 16px), #e8c36a 0 2px, transparent 3px), radial-gradient(circle at calc(100% - 16px) calc(100% - 16px), #e8c36a 0 2px, transparent 3px);
}
.cx-dim, .cx-wide, .cx-plan, .cx-review, .cx-cycle li { transition: transform .25s var(--pl-ease), box-shadow .25s ease, border-color .25s ease; }
@media (hover: hover) { .cx-dim:hover, .cx-plan:hover, .cx-cycle li:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0, 0, 0, .35), 0 0 22px color-mix(in srgb, var(--dh, #E8C36A) 22%, transparent); } }
.cx-notes summary, .cx-calc summary { font-family: var(--pl-display); letter-spacing: .06em; }
.cx-notes details[open] summary { color: #fffaf0; }

/* Téléphone : plateau pleine largeur, secteurs bien lisibles, fiche en panneau du bas */
@media (max-width: 979px) {
  .pl-panel { border-radius: 22px 22px 16px 16px; box-shadow: 0 -10px 40px rgba(123, 79, 214, .18), 0 24px 70px rgba(0, 0, 0, .5); }
  .pl-panel > :first-child { margin-top: 6px; }
}
@media (max-width: 559px) {
  .pl-eng-g { display: none; }
  .pl-sep-gem { display: none; }
  .pl-name { stroke-width: 3px; font-size: 18px; letter-spacing: .03em; }
  .pl-core-t1 { font-size: 24px; }
}

/* Moins d'animations : tout le décor s'arrête net (même règle que la V1) */
html.pl-reduced .pl-astro, html.pl-reduced #pl-board, html.pl-reduced .pl-crown, html.pl-reduced .pl-energy { animation: none !important; }
html.pl-reduced .pl-core-flash { display: none; }
@media (prefers-reduced-motion: reduce) { .pl-core-flash { display: none; } }

/* Abonnements et STARDUST (26/10) : les sections mêmes de l'accueil, dans un cadre à leur hauteur.
   Quand l'accueil ouvre une fenêtre (connexion, paiement), le cadre couvre l'écran le temps de la fenêtre. */
.cx-seul { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid rgba(232, 195, 106, .45); background: radial-gradient(80% 40% at 50% 0%, rgba(123, 79, 214, .18), transparent 70%), #05060F; box-shadow: 0 24px 70px rgba(0, 0, 0, .45); animation: pl-rise .35s var(--pl-ease); }
.cx-seul[hidden] { display: none; }
.cx-seul-frame { display: block; width: 100%; height: 70vh; border: 0; background: transparent; color-scheme: dark; }
.cx-seul-frame[hidden] { display: none; }
.cx-seul-frame { transition: opacity .3s ease; }
.cx-seul-frame.is-wait { opacity: 0; }
.cx-seul-frame.is-modal { position: fixed; inset: 0; width: 100vw; height: 100dvh; z-index: 9700; border-radius: 0; }
html.cx-modal-on, html.cx-modal-on body { overflow: hidden; }

/* Menu du médaillon (POLARIS, Musique, NEXUS) : sur le plateau, le médaillon est dans le coin en bas à droite ;
   les trois médaillons s'y déploient vers la gauche, en diagonale ascendante (26/10). Le menu commun (polaristar-nav.js) est inchangé ailleurs.
   Origine = centre du médaillon (54 px du bord droit, 65 px du bas) ; libellés à droite de chaque orbe. */
html body.pl .ps-cm__veil { background: radial-gradient(120% 90% at 100% 100%, rgba(40, 24, 90, .6), rgba(3, 2, 10, .74)); }
html body.pl .ps-cm__box { left: auto; right: calc(54px + env(safe-area-inset-right, 0px)); bottom: calc(65px + env(safe-area-inset-bottom, 0px)); width: 0; height: 0; margin: 0; }
html body.pl .ps-cm__lines { display: none; }
html body.pl .ps-cm__box::before {
  content: ""; position: absolute; right: 0; top: 0; width: 330px; height: 1.5px; pointer-events: none; transform-origin: 100% 50%; transform: rotate(41deg) scaleX(0);
  background: linear-gradient(270deg, rgba(255, 230, 162, .95), rgba(232, 195, 106, .7) 45%, rgba(185, 160, 240, .5) 80%, transparent);
  box-shadow: 0 0 8px rgba(123, 79, 214, .6); transition: transform .45s cubic-bezier(.16, 1, .3, 1) .05s;
}
html body.pl .ps-cm.is-open .ps-cm__box::before { transform: rotate(41deg) scaleX(1); }
html body.pl .ps-cm__it {
  right: auto; width: auto; display: grid; grid-template-columns: auto auto; grid-template-areas: "orb lbl" "orb sub"; align-items: center; column-gap: 10px; row-gap: 5px; padding: 0; text-align: left;
  --fy: 74px; transform: translate(var(--fx), var(--fy)) scale(.4);
}
html body.pl .ps-cm.is-open .ps-cm__it { transform: none; }
html body.pl .ps-cm__orb { grid-area: orb; }
html body.pl .ps-cm__lbl { grid-area: lbl; align-self: end; padding-left: 0; }
html body.pl .ps-cm__sub { grid-area: sub; align-self: start; margin: 0; white-space: nowrap; }
/* centres des orbes : NEXUS (−84, −74), Musique (−166, −148), POLARIS (−250, −222) ; chacun part du médaillon */
html body.pl .ps-cm__it[data-k="nexus"] { left: -110px; top: -100px; --fx: 84px; --fy: 74px; transition-delay: 0s; }
html body.pl .ps-cm__it[data-k="musique"] { left: -188px; top: -170px; --fx: 166px; --fy: 148px; transition-delay: .04s; }
html body.pl .ps-cm__it[data-k="polaris"] { left: -276px; top: -248px; --fx: 250px; --fy: 222px; transition-delay: .08s; }
@media (prefers-reduced-motion: reduce) { html body.pl .ps-cm__box::before { transition: none; } }

/* Les cinq outils aux couleurs et décors de leurs pages (26/10) : fond (dégradé du thème) et décor sous l'étiquette, jamais cliquables */
.pl-sec-theme { pointer-events: none; transition: opacity .3s; }
#pl-board.has-sel .pl-sec:not(.is-sel) .pl-sec-theme { opacity: .7; }
.pl-deco { pointer-events: none; opacity: .5; transition: opacity .35s ease; }
.pl-sec:focus-visible .pl-deco { opacity: .8; }
@media (hover: hover) { .pl-sec:hover .pl-deco { opacity: .8; } }
.pl-sec.is-sel .pl-deco { opacity: 1; }
.pl-deco line, .pl-deco path, .pl-deco polyline { fill: none; stroke: var(--t1); stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; }
.pl-deco .pl-dl { stroke-width: .9; stroke-dasharray: 2 3; opacity: .8; }
/* CONSTELLA · observatoire */
.pl-deco .pl-dk { stroke-width: .8; }
.pl-deco .pl-dk.is-m { stroke-width: 1.6; stroke: var(--t2); }
.pl-deco .pl-dsun { fill: var(--t1); filter: drop-shadow(0 0 4px var(--t1)); }
.pl-deco .pl-dray { stroke: var(--t2); stroke-width: 1.1; }
/* ASTRAE · nébuleuses et constellations */
.pl-deco .pl-dneb { stroke: none; }
.pl-deco .pl-dstar { fill: #fff4fb; filter: drop-shadow(0 0 3px var(--t2)); }
/* AKASHA · rayonnages et croissants */
.pl-deco .pl-dbook { stroke-width: 2.6; stroke-linecap: butt; opacity: .85; }
.pl-deco .pl-dbook.alt { stroke: var(--t2); }
.pl-deco .pl-dmoon { font-size: 16px; fill: var(--t2); text-anchor: middle; dominant-baseline: central; filter: drop-shadow(0 0 4px var(--t2)); }
/* CORPUS · temple */
.pl-deco .pl-dcol { stroke-width: 3.6; stroke-linecap: butt; opacity: .75; }
.pl-deco .pl-dcap { stroke: var(--t2); stroke-width: 2.4; stroke-linecap: butt; }
.pl-deco--temple .pl-dl { stroke-dasharray: none; stroke: var(--t2); stroke-width: 1.4; }
/* SAPIENTIA · réseau cognitif */
.pl-deco .pl-dln { stroke-width: .8; opacity: .7; }
.pl-deco--reseau .pl-dln { stroke: var(--t1); }
.pl-deco--nebuleuse .pl-dln { stroke: #fff4fb; opacity: .55; }
.pl-deco .pl-dn { fill: var(--t1); filter: drop-shadow(0 0 3px var(--t1)); }
.pl-deco .pl-dn.is-hub { fill: var(--t2); animation: pl-rim 3.2s ease-in-out infinite; }

/* Portail (26/10, demande) : plus de barre d’outils sous l’en-tête ; la page ouverte prend toute la place */
.pl-pop-strip { display: none !important; }

/* Recherche dans tout POLARISTAR (26/10) : la liste des résultats sous la barre */
.pl-found { max-width: 980px; margin: 4px auto 18px; padding: 14px 16px 12px; border: 1px solid var(--pl-line); border-radius: 18px;
  background: linear-gradient(180deg, rgba(30, 22, 70, .72), rgba(10, 8, 30, .78)); box-shadow: 0 18px 50px rgba(0, 0, 0, .35); }
.pl-found-k { margin: 0 0 10px; font-family: var(--pl-display); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--pl-gold); }
.pl-found-k span { margin-left: 8px; letter-spacing: .06em; text-transform: none; color: var(--pl-dim); font-family: inherit; }
.pl-found-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 8px; }
.pl-fd { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 8px 12px; border-radius: 12px; text-decoration: none; color: var(--pl-ivory);
  border: 1px solid rgba(232, 195, 106, .14); background: rgba(255, 255, 255, .03); transition: border-color .2s, background .2s; }
.pl-fd:focus-visible { border-color: var(--dh); background: color-mix(in srgb, var(--dh) 12%, transparent); outline: none; }
@media (hover: hover) { .pl-fd:hover { border-color: var(--dh); background: color-mix(in srgb, var(--dh) 12%, transparent); outline: none; } }
.pl-fd-g { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: var(--dh); font-size: 17px;
  border: 1px solid color-mix(in srgb, var(--dh) 55%, transparent); background: radial-gradient(circle, color-mix(in srgb, var(--dh) 22%, transparent), transparent 70%); }
.pl-fd-t { display: flex; flex-direction: column; min-width: 0; }
.pl-fd-t b { font-weight: 600; font-size: 15px; line-height: 1.25; overflow-wrap: anywhere; }
.pl-fd-t small { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--pl-dim); }
.pl-found-more { display: block; margin: 10px auto 0; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--pl-line);
  background: none; color: var(--pl-gold); font: inherit; font-size: 13px; cursor: pointer; }
@media (hover: hover) { .pl-found-more:hover { border-color: var(--pl-gold); } }


/* ══════════════════════════════════════════════════════════════════════════
   V4 — L'ASTROLABE DES MONDES (26/10)
   Composition en deux parties, anneau des 13 médaillons, métal ancien,
   ambiance selon la dimension, panneau de destination, porte sacrée,
   ouverture du portail. Tout le décor est en pointer-events: none ;
   html.pl-reduced coupe chaque animation.
   ══════════════════════════════════════════════════════════════════════════ */
:root { --pl-bronze: #8a6a34; --pl-gold-light: #f6dc98; --pl-silver: #c9cfe8; --pl-moon-blue: #8fb4ff; --amb-x: 34%; }

/* ── Composition : une seule rangée de commandes, l'astrolabe à gauche, la fiche à droite ── */
@media (min-width: 1240px) {
  .pl-main { grid-template-columns: minmax(0, auto) minmax(0, 1fr) auto; column-gap: 18px; row-gap: 8px; align-items: center; }
  .pl-head-txt { grid-column: 1; grid-row: 1; }
  .pl-tools { grid-column: 2; grid-row: 1; justify-content: center; flex-wrap: nowrap; }
  .pl-head .pl-dice-btn { grid-column: 3; grid-row: 1; padding: 6px 16px 6px 8px; }
  .pl-title { font-size: clamp(24px, 2.2vw, 34px); }
  .pl-sub { font-size: 14px; }
  .pl-search { flex: 1 1 220px; max-width: 340px; }
}
@media (min-width: 980px) {
  .pl-stage { align-items: center; grid-template-columns: minmax(0, 1fr) minmax(350px, 410px); }
  .pl-astro { max-width: min(100%, calc(100svh - 132px), 900px); min-width: 560px; }
  .pl-panel { align-self: center; top: max(70px, calc(50svh - 330px)); }
}
@media (min-width: 1240px) and (max-width: 1479px) { .pl-dice-txt small { display: none; } .pl-motion { font-size: 0; width: 38px; min-height: 38px; padding: 0; } .pl-motion::before { content: "◐"; font-size: 16px; } }

/* ── Métal ancien : reflet qui glisse sur la grande bande d'or ── */
.pl-glint { fill: none; stroke: #fffbe8; stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 34 1700; opacity: 0; pointer-events: none;
  filter: drop-shadow(0 0 4px rgba(255, 244, 210, .9)); }
/* §62 : le reflet tourne avec son calque. Son @keyframes portait le même nom que celui du médaillon STARDUST
   (plateau.celeste.css, chargé après) : il tournait invisible depuis ; renommé, il glisse de nouveau */
.pl-ly--bglint .pl-glint { opacity: 1; }
.pl-ly--bglint { opacity: 0; animation: pl-band-glint 16s linear infinite 2s; }
@keyframes pl-band-glint { 0% { transform: rotate(-40deg); opacity: 0; } 4% { opacity: .85; } 26% { opacity: .85; } 32% { transform: rotate(80deg); opacity: 0; } 100% { transform: rotate(80deg); opacity: 0; } }

/* ── Anneau des 13 médaillons ── */
.pl-mtrack { fill: none; stroke: rgba(11, 13, 44, .62); stroke-width: 46; }
.pl-mband-l { fill: none; stroke: url(#plRingGold); stroke-width: 1.6; opacity: .75; }
.pl-medal { cursor: pointer; outline: none; }
.pl-med-halo { fill: var(--dh); opacity: 0; transition: opacity .35s; }
.pl-med-disc { stroke: color-mix(in srgb, var(--dh) 62%, #E8C36A); stroke-width: 1.7; transition: stroke .3s, stroke-width .3s; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .6)); }
.pl-med-in { fill: none; stroke: rgba(232, 195, 106, .4); stroke-width: .8; stroke-dasharray: 2 2.6; }
.pl-med-g { font-size: 17px; fill: var(--dh); text-anchor: middle; dominant-baseline: central; pointer-events: none; filter: drop-shadow(0 0 3px color-mix(in srgb, var(--dh) 70%, transparent)); }
.pl-med-n { font-family: var(--pl-display); font-size: 10.5px; letter-spacing: .14em; fill: rgba(243, 238, 228, .86); text-anchor: middle; dominant-baseline: central;
  paint-order: stroke; stroke: #05060F; stroke-width: 3px; pointer-events: none; transition: fill .3s; }
.pl-med-lock { display: none; font-size: 10px; fill: #b9b3d6; text-anchor: middle; dominant-baseline: central; }
.pl-med-dot { fill: var(--pl-teal); opacity: 0; filter: drop-shadow(0 0 3px var(--pl-teal)); }
.pl-medal:focus-visible .pl-med-halo { opacity: .24; }
@media (hover: hover) { .pl-medal:hover .pl-med-halo { opacity: .24; } }
.pl-medal:focus-visible .pl-med-disc { stroke: var(--pl-gold-light); stroke-width: 2.2; }
@media (hover: hover) { .pl-medal:hover .pl-med-disc { stroke: var(--pl-gold-light); stroke-width: 2.2; } }
.pl-medal:focus-visible .pl-med-disc { stroke: #fff; }
.pl-medal.is-sel .pl-med-n { fill: var(--pl-gold-light); }
@media (hover: hover) { .pl-medal:hover .pl-med-n { fill: var(--pl-gold-light); } }
.pl-medal.is-sel .pl-med-halo { opacity: .4; animation: pl-med-pulse 2.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.pl-medal.is-sel .pl-med-disc { stroke: #fff4d2; stroke-width: 2.4; filter: drop-shadow(0 0 9px var(--dh)); }
@keyframes pl-med-pulse { 0%, 100% { transform: scale(1); opacity: .4; } 50% { transform: scale(1.18); opacity: .22; } }
.pl-medal.is-sealed { opacity: .55; }
.pl-medal.is-sealed .pl-med-lock { display: block; }
.pl-medal.is-sealed .pl-med-in { stroke-dasharray: 1 3.4; }
.pl-medal.is-open .pl-med-dot { opacity: 1; }

/* ── Convergence : lignes du cœur vers les 13 médaillons, onde de résonance ── */
.pl-cv-line { stroke: var(--dh); stroke-width: .9; stroke-dasharray: 3 6; opacity: 0; transition: opacity .5s; pointer-events: none; }
.pl-astro.core-hov .pl-cv-line, .pl-astro.core-fv .pl-cv-line, .pl-astro.sel-core .pl-cv-line { opacity: .5; animation: pl-cv-flow 1.6s linear infinite; }
.pl-cv-line.is-on { opacity: .9; stroke-width: 1.5; animation: pl-cv-flow 1.2s linear infinite; filter: drop-shadow(0 0 3px var(--dh)); }
@keyframes pl-cv-flow { to { stroke-dashoffset: -18; } }
.pl-reso { fill: none; stroke: #ffe7a3; stroke-width: 2; opacity: 0; pointer-events: none; transform-box: fill-box; transform-origin: center; }
.pl-reso.is-on { animation: pl-reso 1.2s cubic-bezier(.2, .7, .3, 1); }
@keyframes pl-reso { 0% { opacity: .85; transform: scale(1); } 100% { opacity: 0; transform: scale(2.9); } }

/* ── Ambiance de la dimension choisie : deux teintes, un motif, puis elle se pose ── */
.pl-amb { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity 1.2s ease;
  background: radial-gradient(48% 52% at var(--amb-x) 52%, color-mix(in srgb, var(--amb1, #E8C36A) 20%, transparent), transparent 72%),
    radial-gradient(40% 36% at 82% 28%, color-mix(in srgb, var(--amb2, #7B4FD6) 12%, transparent), transparent 70%); }
body[data-amb] .pl-amb { opacity: 1; }
.pl-amb i { position: absolute; inset: 0; opacity: .7; }
.pl-amb.is-swell { animation: pl-amb-swell 2.8s ease-out; }
@keyframes pl-amb-swell { 0% { filter: brightness(2.1) saturate(1.3); } 100% { filter: none; } }
body[data-amb-m="rays"] .pl-amb i { background: repeating-conic-gradient(from 150deg at var(--amb-x) -6%, color-mix(in srgb, var(--amb2) 9%, transparent) 0 1.6deg, transparent 1.6deg 7deg);
  -webkit-mask-image: radial-gradient(75% 85% at var(--amb-x) 0%, #000, transparent 72%); mask-image: radial-gradient(75% 85% at var(--amb-x) 0%, #000, transparent 72%); }
body[data-amb-m="nebula"] .pl-amb i { background: radial-gradient(30% 26% at 16% 72%, color-mix(in srgb, var(--amb2) 20%, transparent), transparent 70%), radial-gradient(26% 30% at 62% 14%, color-mix(in srgb, var(--amb1) 18%, transparent), transparent 70%); filter: blur(18px); }
body[data-amb-m="parchment"] .pl-amb i { background: repeating-linear-gradient(0deg, color-mix(in srgb, var(--amb2) 5%, transparent) 0 1px, transparent 1px 28px), radial-gradient(42% 40% at 76% 64%, color-mix(in srgb, var(--amb1) 16%, transparent), transparent 70%); }
body[data-amb-m="pulse"] .pl-amb i { background: radial-gradient(circle at var(--amb-x) 52%, color-mix(in srgb, var(--amb1) 18%, transparent), transparent 42%); animation: pl-amb-pulse 3.4s ease-in-out infinite; }
@keyframes pl-amb-pulse { 0%, 100% { opacity: .35; transform: scale(.96); } 50% { opacity: .8; transform: scale(1.04); } }
body[data-amb-m="geo"] .pl-amb i { background: repeating-linear-gradient(60deg, color-mix(in srgb, var(--amb1) 5%, transparent) 0 1px, transparent 1px 52px), repeating-linear-gradient(-60deg, color-mix(in srgb, var(--amb1) 5%, transparent) 0 1px, transparent 1px 52px);
  -webkit-mask-image: radial-gradient(60% 60% at var(--amb-x) 52%, #000, transparent 75%); mask-image: radial-gradient(60% 60% at var(--amb-x) 52%, #000, transparent 75%); }
body[data-amb-m="milky"] .pl-amb i { background: linear-gradient(118deg, transparent 28%, color-mix(in srgb, var(--amb1) 11%, transparent) 46%, color-mix(in srgb, var(--amb2) 9%, transparent) 54%, transparent 72%); filter: blur(8px); }
body[data-amb-m="embers"] .pl-amb i { background: radial-gradient(62% 36% at var(--amb-x) 106%, color-mix(in srgb, var(--amb2) 30%, transparent), transparent 70%), radial-gradient(36% 24% at 74% 104%, color-mix(in srgb, var(--amb1) 20%, transparent), transparent 70%); animation: pl-amb-flicker 2.2s ease-in-out infinite alternate; }
@keyframes pl-amb-flicker { from { opacity: .5; } to { opacity: .85; } }
body[data-amb-m="polar"] .pl-amb i { background: radial-gradient(5px 5px at var(--amb-x) 7%, #fff, transparent), conic-gradient(from 176deg at var(--amb-x) 7%, transparent 0deg, color-mix(in srgb, var(--amb1) 12%, transparent) 4deg, transparent 8deg); }
body[data-amb-m="chest"] .pl-amb i { background: radial-gradient(36% 36% at 0% 100%, color-mix(in srgb, var(--amb1) 22%, transparent), transparent 70%), radial-gradient(36% 36% at 100% 100%, color-mix(in srgb, var(--amb1) 18%, transparent), transparent 70%); }
body[data-amb-m="core"] .pl-amb i { background: radial-gradient(30% 32% at var(--amb-x) 52%, color-mix(in srgb, var(--amb1) 14%, transparent), transparent 72%); }

/* ── Fiche de destination V4 ── */
.pl-v4-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; }
.pl-v4-seal { position: relative; display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; color: var(--dh, #E8C36A); font-size: 28px;
  background: radial-gradient(circle at 40% 35%, #3a2d86, #10102e 70%); border: 1.5px solid color-mix(in srgb, var(--dh, #E8C36A) 70%, #E8C36A);
  box-shadow: 0 0 0 4px rgba(5, 6, 15, .6), 0 0 0 5px rgba(232, 195, 106, .35), 0 0 26px color-mix(in srgb, var(--dh, #E8C36A) 40%, transparent); }
.pl-v4-seal b { position: relative; z-index: 1; font-weight: 400; text-shadow: 0 0 12px currentColor; }
.pl-v4-rays { position: absolute; inset: -9px; border-radius: 50%; opacity: .55;
  background: repeating-conic-gradient(color-mix(in srgb, var(--dh, #E8C36A) 55%, transparent) 0 3deg, transparent 3deg 15deg);
  -webkit-mask-image: radial-gradient(circle, transparent 56%, #000 58%, #000 70%, transparent 72%); mask-image: radial-gradient(circle, transparent 56%, #000 58%, #000 70%, transparent 72%);
  animation: pl-spin 40s linear infinite; }
.pl-v4-seal--constella { color: #ffd76a; }
.pl-v4-seal--constella .pl-v4-rays { opacity: .9; animation-duration: 24s; background: repeating-conic-gradient(#ffd76a 0 2deg, transparent 2deg 10deg); }
.pl-p-role em { color: var(--pl-gold-light); font-style: italic; }
.pl-v4-sky { display: grid; gap: 8px; margin: 12px 0 4px; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(255, 215, 106, .28);
  background: linear-gradient(135deg, rgba(240, 184, 58, .12), rgba(123, 79, 214, .1)); }
.pl-v4-sky p { margin: 0; display: flex; align-items: center; gap: 10px; color: var(--pl-ivory); }
.pl-v4-sky small { display: block; font-family: var(--pl-display); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--pl-gold); }
.pl-sky-cal { display: block !important; }
.pl-moon { flex: none; width: 30px; height: 30px; border-radius: 50%; box-shadow: 0 0 14px rgba(243, 238, 228, .35), inset 0 0 0 1px rgba(243, 238, 228, .4);
  background: linear-gradient(90deg, #f3eee4 calc(var(--ill) * 1%), #1b1d44 calc(var(--ill) * 1%)); }
.pl-v4-ins { margin-top: 14px; }
.pl-v4-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 8px; }
.pl-v4-in { display: grid; justify-items: center; gap: 5px; min-height: 66px; padding: 8px 4px; border-radius: 12px; cursor: pointer; text-align: center;
  border: 1px solid rgba(232, 195, 106, .2); background: rgba(255, 255, 255, .03); color: var(--pl-ivory); font: inherit; transition: border-color .2s, background .2s, transform .2s; }
.pl-v4-in span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--dh, #E8C36A); font-size: 16px;
  border: 1px solid color-mix(in srgb, var(--dh, #E8C36A) 50%, transparent); background: radial-gradient(circle, color-mix(in srgb, var(--dh, #E8C36A) 20%, transparent), transparent 70%); }
.pl-v4-in b { font-weight: 500; font-size: 11.5px; line-height: 1.2; overflow-wrap: anywhere; }
.pl-v4-in:focus-visible { border-color: var(--dh, #E8C36A); background: color-mix(in srgb, var(--dh, #E8C36A) 10%, transparent); transform: translateY(-1px); outline: none; }
@media (hover: hover) { .pl-v4-in:hover { border-color: var(--dh, #E8C36A); background: color-mix(in srgb, var(--dh, #E8C36A) 10%, transparent); transform: translateY(-1px); outline: none; } }
.pl-v4-acc { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 12px; font-size: 13px; color: var(--pl-mist); }
.pl-linkbtn { background: none; border: 0; padding: 0; color: var(--pl-gold); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* La porte sacrée : deux battants qui s'écartent sur une lumière dorée */
.pl-door-btn { position: relative; overflow: hidden; isolation: isolate; }
.pl-door-btn::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(60% 120% at 50% 50%, #fff4d2, #E8C36A 45%, #9c7a35); }
.pl-door-leaf { position: absolute; top: 0; bottom: 0; width: 50%; z-index: -1; transition: transform .55s cubic-bezier(.6, 0, .25, 1);
  background: linear-gradient(180deg, #e9c771, #b98d38); box-shadow: inset 0 0 0 1px rgba(255, 244, 210, .35); }
.pl-door-leaf.l { left: 0; border-right: 1px solid rgba(90, 60, 20, .55); }
.pl-door-leaf.r { right: 0; border-left: 1px solid rgba(90, 60, 20, .55); }
.pl-door-btn:focus-visible .pl-door-leaf.l { transform: translateX(-88%); }
@media (hover: hover) { .pl-door-btn:hover .pl-door-leaf.l { transform: translateX(-88%); } }
.pl-door-btn:focus-visible .pl-door-leaf.r { transform: translateX(88%); }
@media (hover: hover) { .pl-door-btn:hover .pl-door-leaf.r { transform: translateX(88%); } }

/* ── Portail : courte ouverture en iris (la page réelle apparaît derrière) ── */
.pl-pop.is-opening { animation: pl-pop-in .32s var(--pl-ease), pl-iris .6s cubic-bezier(.6, 0, .3, 1); }
.pl-pop.is-opening::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit;
  background: radial-gradient(circle, transparent 30%, rgba(255, 231, 163, .55) 46%, transparent 62%); animation: pl-iris-ring .6s ease-out forwards; }
@keyframes pl-iris { from { clip-path: circle(4% at 50% 50%); } to { clip-path: circle(80% at 50% 50%); } }
@keyframes pl-iris-ring { from { opacity: 1; transform: scale(.3); } to { opacity: 0; transform: scale(1.6); } }

/* ── Téléphone : médaillons plus grands (au pouce), noms dans la fiche, ambiance centrée ── */
@media (max-width: 979px) { :root { --amb-x: 50%; } }
@media (max-width: 559px) {
  .pl-med-n { display: none; }
  .pl-medal { transform-box: fill-box; transform-origin: center; transform: scale(1.38); }
  .pl-v4-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pl-v4-seal { width: 58px; height: 58px; font-size: 24px; }
}
@media (max-width: 379px) { .pl-v4-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ── Animations réduites ── */
html.pl-reduced .pl-glint { display: none; }
html.pl-reduced .pl-cv-line, html.pl-reduced .pl-medal.is-sel .pl-med-halo, html.pl-reduced .pl-v4-rays, html.pl-reduced .pl-amb i,
html.pl-reduced .pl-reso, html.pl-reduced .pl-pop.is-opening, html.pl-reduced .pl-pop.is-opening::after { animation: none !important; }
html.pl-reduced .pl-door-leaf { transition: none; }

/* Porte scellée : les deux battants clos, sans action */
.pl-door-btn--sealed { flex: 1 1 100%; width: 100%; grid-column: 1 / -1; position: relative; display: flex; align-items: center; justify-content: center; min-height: 54px; border-radius: 14px; overflow: hidden; isolation: isolate; border: 1px solid rgba(232,195,106,.22); background: rgba(5,6,15,.55); color: rgba(232,195,106,.55); filter: grayscale(.6); }
.pl-door-btn--sealed b { position: relative; z-index: 2; font-size: 20px; }
.pl-door-btn--sealed .pl-door-leaf { z-index: 0; opacity: .26; }
.pl-door-btn--sealed::before { display: none; }
.pl-med-hit { fill: transparent; stroke: none; }

/* Raccourcis des cinq outils (26/10) : petites gemmes au bord de chaque secteur */
.pl-sc { cursor: pointer; outline: none; }
.pl-sc-hit { fill: transparent; }
.pl-sc-disc { stroke: color-mix(in srgb, var(--dh) 55%, #E8C36A); stroke-width: 1.3; transition: stroke .2s, filter .2s; }
.pl-sc-lab { transform-box: fill-box; transform-origin: center; transition: transform .7s var(--pl-ease); pointer-events: none; }
.pl-sc-g { font-size: 12.5px; fill: var(--dh); text-anchor: middle; dominant-baseline: central; filter: drop-shadow(0 0 2px color-mix(in srgb, var(--dh) 70%, transparent)); }
.pl-sc:focus-visible .pl-sc-disc { stroke: #fff4d2; stroke-width: 2; filter: drop-shadow(0 0 6px var(--dh)); }
@media (hover: hover) { .pl-sc:hover .pl-sc-disc { stroke: #fff4d2; stroke-width: 2; filter: drop-shadow(0 0 6px var(--dh)); } }
.pl-sc:focus-visible .pl-sc-disc { stroke: #fff; }
.pl-sc:focus-visible .pl-sc-g { fill: #fff8e6; }
@media (hover: hover) { .pl-sc:hover .pl-sc-g { fill: #fff8e6; } }
@media (max-width: 559px) { .pl-sc { transform-box: fill-box; transform-origin: center; transform: scale(1.5); } }   /* plus grandes au doigt ; la fiche les liste aussi */
.pl-hint.is-sc { color: var(--pl-gold-light, #f6dc98); }
html.pl-reduced .pl-sc-lab, html.pl-reduced .pl-sc-disc { transition: none; }
/* Outil choisi : ses quatre raccourcis remplacent les huit dimensions de l'anneau extérieur, noms visibles */
.pl-scset { display: none; }
.pl-scset.is-on { display: inline; animation: pl-scout-in .55s var(--pl-ease) both; }
#pl-board.sc-out .pl-medals > .pl-medal, .pl-astro.sc-out .pl-cv { display: none; }
.pl-sc.is-out { display: none; }
.pl-sc-n { font-size: 13.5px; letter-spacing: .08em; fill: #fff4d2; }
.pl-sc-n.is-start { text-anchor: start; }
.pl-sc-n.is-end { text-anchor: end; }
.pl-medal--sc:focus-visible .pl-sc-n { fill: var(--pl-gold-light); }
@media (hover: hover) { .pl-medal--sc:hover .pl-sc-n { fill: var(--pl-gold-light); } }
@keyframes pl-scout-in { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 559px) { .pl-medal--sc .pl-sc-n { display: block; font-size: 17px; letter-spacing: .04em; } }
html.pl-reduced .pl-scset.is-on { animation: none; }
@media (prefers-reduced-motion: reduce) { .pl-scset.is-on { animation: none; } }
/* §80 (28/10) : au repos, le cercle nu (plateau.page.js, paintMedals). Les huit médaillons, leurs socles et les lignes
   du cœur vers eux ne paraissent qu'au choix de SYNAXIS ou de l'une d'elles (.med-off sinon), en fondu ; la couronne
   et ses ornements restent. Les aperçus de raccourcis de la roue (astrolabe classique) sont retirés : une pierre ne
   montre ses raccourcis que lorsqu'on la touche, sur l'anneau. */
#pl-board.med-off .pl-medals > .pl-medal, .pl-astro.med-off .pl-cv, #pl-board.med-off .pl-msock, #pl-board .pl-shorts { display: none; }
.pl-astro.med-off .pl-glow-med { display: none; }   /* leur ombre portée aussi (calque .pl-ly--glow, recalculé au seul changement d'état) */
.pl-medals > .pl-medal { animation: pl-med-in .5s var(--pl-ease); }
@keyframes pl-med-in { from { opacity: 0; } }
html.pl-reduced .pl-medals > .pl-medal { animation: none; }
@media (prefers-reduced-motion: reduce) { .pl-medals > .pl-medal { animation: none; } }

/* ══════════════════════════════════════════════════════════════════════════
   V4.1 — EN-TÊTE EN TROIS ZONES (26/10)
   Gauche : logo, titre « Retrouve ton Nord intérieur », ligne du jour.
   Centre : la grande recherche (raccourci /).  Droite : médaillons des ressources réelles,
   Progression, Mon compte.  Dessous, une seule rangée : favoris et récents, affichage, le Dé.
   Ordinateur large (≥ 1360 px) : une ligne de trois zones ; plus étroit : la recherche passe
   sur une deuxième ligne, pleine largeur ; téléphone : identité, ressources, recherche.
   Toutes les règles sont préfixées body.pl pour primer sur les couches précédentes.
   ══════════════════════════════════════════════════════════════════════════ */
body.pl .pl-status {
  position: relative; z-index: 40;
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto;
  grid-template-areas: "id id prog me" "res res res more" "search search search search";
  align-items: center; column-gap: 8px; row-gap: 10px;
  padding: calc(10px + env(safe-area-inset-top, 0px)) clamp(12px, 2.2vw, 32px) 12px;
  padding-inline: max(clamp(12px, 2.2vw, 32px), calc((100% - 1840px) / 2 + 16px));   /* très grands écrans : contenu limité à 1840 px */
  border-bottom: 0;
  background:
    radial-gradient(60% 140% at 12% 0%, rgba(123, 79, 214, .22), transparent 70%),
    radial-gradient(40% 120% at 88% 0%, rgba(63, 224, 208, .07), transparent 70%),
    linear-gradient(180deg, rgba(7, 8, 24, .95), rgba(7, 8, 24, .84));
  box-shadow: 0 14px 34px -22px rgba(123, 79, 214, .7);
}
/* fine ligne d'or ciselée sous l'en-tête, un reflet la parcourt lentement */
body.pl .pl-status::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(232, 195, 106, .55) 18%, rgba(255, 244, 210, .95) 50%, rgba(232, 195, 106, .55) 82%, transparent);
  background-size: 200% 100%; animation: pl-hd-sheen 14s ease-in-out infinite alternate;
}
@keyframes pl-hd-sheen { from { background-position: 0% 0; } to { background-position: 100% 0; } }

/* ── Identité ── */
body.pl .pl-hd-id { grid-area: id; display: flex; align-items: center; gap: 12px; min-width: 0; }
body.pl .pl-brand { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; justify-self: auto;
  background: radial-gradient(circle, rgba(232, 195, 106, .16), transparent 68%); transition: box-shadow .25s ease; }
body.pl .pl-brand img { width: 42px; height: 42px; filter: drop-shadow(0 0 8px rgba(242, 207, 115, .5)); }
@media (hover: hover) { body.pl .pl-brand:hover { box-shadow: 0 0 18px rgba(232, 195, 106, .3); } }
body.pl .pl-brand:focus-visible { outline: 2px solid var(--pl-gold); outline-offset: 2px; }
body.pl .pl-hd-id .pl-head-txt { display: grid; gap: 2px; min-width: 0; text-align: left; }
body.pl .pl-hd-id .pl-eyebrow { font-size: 10px; letter-spacing: .22em; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.pl .pl-wordmark { color: var(--pl-gold); }
body.pl .pl-eb-sub { color: rgba(243, 238, 228, .62); }
body.pl .pl-hd-id .pl-title { margin: 0; font-size: clamp(17px, 4.8vw, 25px); line-height: 1.12; letter-spacing: .06em; text-align: left; text-shadow: 0 0 22px rgba(123, 79, 214, .45); }
body.pl .pl-hd-id .pl-sub { margin: 0; font-size: 12.5px; line-height: 1.35; color: var(--pl-mist); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── Recherche ── */
body.pl .pl-hd-search { grid-area: search; display: flex; justify-content: center; min-width: 0; }
body.pl .pl-hd-search .pl-search { position: relative; display: flex; align-items: center; flex: 1 1 auto; width: 100%; max-width: 720px; margin: 0; }
body.pl .pl-search-ico { position: absolute; left: 15px; display: grid; color: var(--pl-gold); pointer-events: none; opacity: .9; }
body.pl .pl-hd-search .pl-search input {
  width: 100%; min-height: 46px; margin: 0; padding: 0 46px 0 44px; border-radius: 999px;
  font: inherit; font-size: 15.5px; color: var(--pl-ivory);
  border: 1px solid rgba(232, 195, 106, .4);
  background: linear-gradient(180deg, rgba(22, 17, 62, .9), rgba(9, 10, 32, .9));
  box-shadow: inset 0 1px 0 rgba(255, 244, 210, .08), inset 0 -8px 18px -12px rgba(123, 79, 214, .5);
  transition: border-color .2s ease, box-shadow .25s ease;
}
body.pl .pl-hd-search .pl-search input::placeholder { color: rgba(243, 238, 228, .5); }
@media (hover: hover) { body.pl .pl-hd-search .pl-search input:hover { border-color: rgba(232, 195, 106, .65); } }
body.pl .pl-hd-search .pl-search input:focus { outline: none; border-color: var(--pl-gold); box-shadow: 0 0 0 3px rgba(232, 195, 106, .24), 0 0 26px rgba(123, 79, 214, .45); }
body.pl .pl-kbd { position: absolute; right: 13px; min-width: 22px; padding: 3px 6px; border-radius: 6px; text-align: center; pointer-events: none;
  font: 600 12px/1 var(--pl-display); color: rgba(243, 238, 228, .55); border: 1px solid rgba(232, 195, 106, .3); background: rgba(5, 6, 15, .5); transition: opacity .2s; }
body.pl .pl-search:focus-within .pl-kbd { opacity: 0; }
@media (hover: none) { body.pl .pl-kbd { display: none; } body.pl .pl-hd-search .pl-search input { padding-right: 18px; } }

/* ── Ressources : médaillons RPG ── */
body.pl .pl-hd-right { display: contents; }
body.pl .pl-hd-right .pl-res { grid-area: res; display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; overflow: visible; }
body.pl .pl-hd-right .pl-res:empty { display: none; }
body.pl .pl-res-more { grid-area: more; }
body.pl .pl-res-more[hidden] { display: none; }
body.pl #pl-prog { grid-area: prog; }
body.pl #pl-prog[hidden] { display: none; }
body.pl .pl-hd-right .pl-me { grid-area: me; justify-self: end; }
body.pl .pl-chip {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  min-height: 42px; padding: 4px 13px 4px 4px; border-radius: 999px; white-space: nowrap;
  color: var(--pl-ivory); text-decoration: none;
  border: 1px solid rgba(232, 195, 106, .42);
  background: radial-gradient(120% 160% at 25% 0%, rgba(123, 79, 214, .32), rgba(13, 12, 44, .94) 62%);
  box-shadow: inset 0 1px 0 rgba(255, 244, 210, .12), 0 3px 12px -6px rgba(0, 0, 0, .7);
  transition: border-color .2s ease, box-shadow .25s ease, transform .2s ease;
}
@media (hover: hover) { body.pl .pl-chip:hover { border-color: rgba(246, 220, 152, .8); box-shadow: inset 0 1px 0 rgba(255, 244, 210, .18), 0 0 16px rgba(232, 195, 106, .22); transform: translateY(-1px); } }
body.pl .pl-chip:focus-visible { outline: 2px solid var(--pl-gold); outline-offset: 2px; }
body.pl .pl-ci { position: relative; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: var(--pl-gold);
  border: 1px solid rgba(232, 195, 106, .55);
  background: radial-gradient(circle at 35% 28%, rgba(255, 244, 210, .2), rgba(9, 9, 32, .95) 72%); }
body.pl .pl-ci svg { width: 18px; height: 18px; display: block; }
/* PI et STARDUST : leurs emblèmes officiels (sceau des PI, pièce STARDUST) */
body.pl .pl-ci-img { width: 100%; height: 100%; display: block; border-radius: 50%; object-fit: cover; }
body.pl .pl-ci-img--sd { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
/* 27/10 (§58) : à 22-32 px, la réduction fond les reflets et ternit les emblèmes (≈ -15 % de saturation) :
   on leur rend leur éclat à l'affichage, sans toucher aux fichiers officiels. Le sceau des PI reprend de
   la place, entier (plus rogné par le disque) ; la pièce STARDUST a son propre anneau d'or */
body.pl .pl-ci-img { filter: saturate(1.22) brightness(1.12) contrast(1.06); }
body.pl .pl-chip--pi .pl-ci-img { width: 86%; height: 86%; border-radius: 0; object-fit: contain; }
body.pl .pl-chip--sd .pl-ci { border-color: transparent; background: none; }
body.pl .pl-chip--pi .pl-ci { background: none; }
body.pl .pl-cval { display: grid; line-height: 1.08; }
body.pl .pl-chip small { font-family: var(--pl-display); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: rgba(243, 238, 228, .62); }
body.pl .pl-chip b { font-size: 15.5px; font-weight: 700; font-variant-numeric: tabular-nums; color: #fff8e6; }
body.pl .pl-chip--pi .pl-ci { color: #ffd66b; filter: drop-shadow(0 0 4px rgba(255, 200, 80, .35)); }
body.pl .pl-chip--pi b { color: var(--pl-gold-light, #f6dc98); }
body.pl .pl-chip--sd { border-color: rgba(185, 150, 255, .55); background: radial-gradient(120% 160% at 25% 0%, rgba(150, 100, 255, .38), rgba(16, 11, 52, .95) 62%); }
body.pl .pl-chip--sd .pl-ci { color: #c6a8ff; border-color: rgba(185, 150, 255, .7); filter: drop-shadow(0 0 5px rgba(170, 120, 255, .55)); }
body.pl .pl-chip--sd b { color: #e3d4ff; }
@media (hover: hover) { body.pl .pl-chip--sd:hover { box-shadow: 0 0 16px rgba(170, 120, 255, .35); border-color: rgba(205, 180, 255, .9); } }
body.pl .pl-chip--q .pl-ci { color: #ffc98a; }
body.pl .pl-chip--msg { padding-right: 12px; }
body.pl .pl-chip--msg .pl-ci { color: var(--pl-silver, #c9cfe8); border-color: rgba(201, 207, 232, .45); }
body.pl .pl-chip--msg.is-new { border-color: rgba(63, 224, 208, .6); }
body.pl .pl-chip--msg.is-new .pl-ci { color: var(--pl-teal); border-color: rgba(63, 224, 208, .7); }
body.pl .pl-badge { position: absolute; top: -6px; right: -7px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; box-sizing: border-box;
  font: 700 10.5px/18px system-ui, sans-serif; font-style: normal; text-align: center; color: #04161a; background: var(--pl-teal);
  box-shadow: 0 0 0 2px #0a0b26, 0 0 10px rgba(63, 224, 208, .6); }
/* niveau : la progression réelle vers le niveau suivant, en fine jauge sous la valeur */
body.pl .pl-chip--lvl { padding-bottom: 4px; }
body.pl .pl-chip--lvl .pl-bar { left: 42px; right: 13px; bottom: 6px; height: 2px; }
body.pl .pl-chip--lvl .pl-cval { padding-bottom: 4px; }
/* téléphone : quêtes et messages derrière « Mes ressources » (comportement existant) */
body.pl .pl-chip--sec { display: none; }
body.pl .pl-status.is-open .pl-chip--sec { display: inline-flex; }
body.pl .pl-res-more { min-height: 38px; padding: 4px 12px; font-family: var(--pl-display); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--pl-gold); border-color: rgba(232, 195, 106, .4); }
body.pl .pl-res-more:focus-visible { outline: 2px solid var(--pl-gold); outline-offset: 2px; }

/* ── Sous l'en-tête : une seule rangée de navigation ── */
body.pl .pl-main { grid-template-columns: minmax(0, 1fr); padding-top: 12px; row-gap: 12px; }
body.pl .pl-main > * { grid-column: 1 / -1; grid-row: auto; }
body.pl .pl-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; text-align: left; }
body.pl .pl-recents { display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: center; }
body.pl .pl-recents[hidden] { display: none; }
body.pl .pl-rc-row { justify-content: flex-start; }
body.pl .pl-head .pl-tools { display: flex; flex-wrap: nowrap; gap: 8px; align-items: center; justify-content: center; }
body.pl .pl-head .pl-dice-btn { margin: 0; }
body.pl .pl-found { margin-top: 0; }

/* ── Téléphone étroit ── */
@media (max-width: 559px) {
  body.pl .pl-hd-id .pl-eyebrow .pl-eb-sub { display: none; }
  body.pl .pl-hd-id .pl-title { font-size: 17px; letter-spacing: .03em; }
  /* « Mes ressources » : un petit médaillon + / − au bout de la rangée (le libellé reste lu) */
  body.pl .pl-res-more { align-self: start; width: 40px; height: 40px; min-height: 40px; padding: 0; border-radius: 50%; font-size: 0; display: grid; place-items: center; background: rgba(13, 12, 44, .9); }
  body.pl .pl-res-more::before { content: "+"; font: 400 22px/1 var(--pl-display); color: var(--pl-gold); }
  body.pl .pl-res-more[aria-expanded="true"]::before { content: "−"; }
  body.pl #pl-prog { width: 40px; min-height: 40px; padding: 0; }
  body.pl #pl-prog .pl-hd-t { display: none; }
  body.pl .pl-brand { width: 40px; height: 40px; }
  body.pl .pl-brand img { width: 36px; height: 36px; }
  body.pl .pl-chip { min-height: 40px; padding-right: 10px; gap: 6px; }
  body.pl .pl-ci { width: 30px; height: 30px; }
  body.pl .pl-chip b { font-size: 14.5px; }
}
/* ── Tablette et petit ordinateur : toutes les ressources, la recherche en dessous ── */
@media (min-width: 560px) {
  body.pl .pl-status { grid-template-columns: minmax(0, 1fr) auto auto auto auto;
    grid-template-areas: "id res more prog me" "search search search search search"; column-gap: 10px; }
  body.pl .pl-chip--sec { display: inline-flex; }
  body.pl .pl-hd-right .pl-res { flex-wrap: nowrap; justify-content: flex-end; }
}
@media (min-width: 560px) and (max-width: 1599px) {
  /* médaillons compacts : l'icône et la valeur, le libellé reste lu et en info-bulle */
  body.pl .pl-chip { padding-right: 11px; }
  body.pl .pl-chip small { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  body.pl .pl-chip--msg .pl-cval { display: none; }
  body.pl .pl-chip--msg { padding-right: 4px; }
  body.pl .pl-chip--lvl .pl-bar { left: 40px; right: 10px; }
}
@media (min-width: 560px) and (max-width: 1199px) {
  body.pl .pl-status { grid-template-areas: "id id id prog me" "res res res res more" "search search search search search"; }
  body.pl .pl-hd-right .pl-res { justify-content: flex-start; }
}
/* ── Ordinateur ── */
@media (min-width: 980px) {
  body.pl .pl-head { justify-content: space-between; }
  body.pl .pl-recents { justify-content: flex-start; flex: 1 1 100%; min-width: 0; }   /* récents sur leur ligne, affichage et Dé dessous */
  body.pl .pl-head .pl-tools { margin-right: auto; }
  body.pl .pl-panel { top: 14px; max-height: calc(100svh - 28px); }   /* l'en-tête défile sous 1360 px */
  body.pl .pl-astro { max-width: min(100%, calc(100svh - 190px), 900px); }
}
/* ── Grand écran : trois zones sur une ligne ── */
@media (min-width: 1360px) {
  body.pl .pl-status { position: sticky; top: 0;   /* une seule ligne : il reste en haut */
    grid-template-columns: minmax(0, auto) minmax(300px, 1fr) auto auto auto auto;
    grid-template-areas: "id search res more prog me"; column-gap: 14px; padding-top: calc(10px + env(safe-area-inset-top, 0px)); padding-bottom: 10px; }
  body.pl .pl-hd-search { padding-inline: 4px; }
  body.pl .pl-recents { flex: 1 1 auto; }   /* une seule rangée : récents, affichage, Dé */
  body.pl .pl-head .pl-tools { margin-right: 0; margin-left: auto; }
  body.pl .pl-hd-id .pl-title { font-size: clamp(20px, 1.4vw, 26px); white-space: nowrap; }
  body.pl .pl-panel { top: 92px; max-height: calc(100svh - 106px); }
  body.pl .pl-astro { max-width: min(100%, calc(100svh - 204px), 900px); }
}
/* en-tête de grand écran : Progression en médaillon rond, Mon compte réduit à l'avatar sous 1600 px */
@media (min-width: 560px) {
  body.pl .pl-hd-btn--prog { width: 42px; min-height: 42px; padding: 0; }   /* médaillon rond, libellé en info-bulle et pour les lecteurs d'écran */
  body.pl .pl-hd-btn--prog .pl-hd-t { display: none; }
}
@media (min-width: 560px) and (max-width: 1799px) {
  body.pl .pl-me.is-user { padding: 3px; }
  body.pl .pl-me.is-user .pl-me-name { display: none; }
}
@media (min-width: 1360px) and (max-width: 1599px) { body.pl .pl-hd-id .pl-sub { max-width: 340px; } }
@media (min-width: 1360px) and (max-width: 1479px) { body.pl .pl-hd-id .pl-eb-sub { display: none; } }

/* ── Les animations se coupent comme le reste du plateau ── */
html.pl-reduced body.pl .pl-status::after { animation: none; }
html.pl-reduced body.pl .pl-chip, html.pl-reduced body.pl .pl-brand { transition: none; }
@media (hover: hover) { html.pl-reduced body.pl .pl-chip:hover { transform: none; } }
@media (prefers-reduced-motion: reduce) { body.pl .pl-status::after { animation: none; } @media (hover: hover) { body.pl .pl-chip:hover { transform: none; } } }

/* 27/10 : POLARISTAR en grand, « Retrouve ton Nord intérieur » dessous, plus petit */
body.pl .pl-hd-id .pl-eyebrow { font-size: inherit; letter-spacing: 0; line-height: 1; overflow: visible; }
body.pl .pl-hd-id .pl-wordmark { display: block; font-family: var(--pl-display); font-size: clamp(22px, 6.4vw, 30px); font-weight: 600; letter-spacing: .14em; line-height: 1.05;
  background: linear-gradient(100deg, #b8892e 0%, #f6dc98 38%, #fff6dc 50%, #e8c36a 64%, #a87a26 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 10px rgba(232, 195, 106, .28)); }
body.pl .pl-hd-id .pl-title { font-size: clamp(13px, 3.6vw, 16px); letter-spacing: .08em; line-height: 1.2; text-shadow: none; }
@media (max-width: 559px) { body.pl .pl-hd-id .pl-wordmark { font-size: 23px; } body.pl .pl-hd-id .pl-title { font-size: 13.5px; letter-spacing: .04em; } }
@media (min-width: 1360px) { body.pl .pl-hd-id .pl-wordmark { font-size: clamp(26px, 1.9vw, 34px); } body.pl .pl-hd-id .pl-title { font-size: clamp(14px, 1vw, 17px); } }

/* ── Codex · Convergences (27/10) : la carte des liens réels entre les outils ── */
.cx-weave { display: grid; gap: 22px; }
.cx-wv-head { max-width: 820px; }
.cx-wv-today { border: 1px solid rgba(63, 224, 208, .35); border-radius: 16px; padding: 14px 18px; background: linear-gradient(120deg, rgba(63, 224, 208, .08), rgba(123, 79, 214, .1)); }
.cx-wv-today p { margin: 4px 0; }
.cx-wv-live { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.cx-wv-live b { color: var(--pl-teal); font-family: var(--pl-display); letter-spacing: .06em; font-weight: 400; }
.cx-wv-live span { color: var(--pl-ivory); }
.cx-wv-body { display: grid; gap: 22px; align-items: start; }
.cx-wv-mapbox { display: grid; gap: 12px; justify-items: center; }
.cx-wmap { width: 100%; max-width: 420px; height: auto; overflow: visible; }
.cx-wm-orbit { fill: none; stroke: rgba(232, 195, 106, .22); stroke-width: 1; stroke-dasharray: 2 5; }
.cx-wm-edge { stroke-width: 1.4; opacity: .55; transition: opacity .3s, stroke-width .3s; }
.cx-wm-edge.is-source { stroke: var(--pl-gold); }
.cx-wm-edge.is-lien { stroke: #c9a6ff; }
.cx-wm-edge.is-flux { stroke: #ffb547; stroke-dasharray: 5 4; }
.cx-wm-edge.is-theme { stroke: var(--pl-teal); stroke-dasharray: 1.5 4; stroke-linecap: round; }
.cx-wm-edge.is-off { opacity: .06; }
.cx-wmap:has(.cx-wm-node.is-sel) .cx-wm-edge:not(.is-off) { opacity: .95; stroke-width: 2.2; }
.cx-wm-core { fill: rgba(16, 11, 52, .95); stroke: var(--pl-gold); stroke-width: 1.4; filter: drop-shadow(0 0 10px rgba(232, 195, 106, .35)); }
.cx-wm-core-t { font-family: var(--pl-display); font-size: 9.5px; letter-spacing: .14em; fill: var(--pl-gold); text-anchor: middle; }
.cx-wm-node { cursor: pointer; }
.cx-wm-node circle { fill: rgba(9, 9, 32, .96); stroke: var(--dh); stroke-width: 1.6; transition: stroke-width .25s, filter .25s; }
.cx-wm-node.is-sel circle { stroke-width: 2.6; filter: drop-shadow(0 0 8px var(--dh)); }
@media (hover: hover) { .cx-wm-node:hover circle { stroke-width: 2.6; filter: drop-shadow(0 0 8px var(--dh)); } }
.cx-wm-g { font-size: 15px; fill: var(--dh); text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.cx-wm-n { font-family: var(--pl-display); font-size: 10.5px; letter-spacing: .12em; fill: rgba(243, 238, 228, .9); text-anchor: middle; pointer-events: none; paint-order: stroke; stroke: #05060F; stroke-width: 3px; }
.cx-wv-filter { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.cx-wv-f { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(232, 195, 106, .35);
  background: rgba(9, 9, 32, .7); color: var(--pl-ivory); font: inherit; font-size: 14px; cursor: pointer; transition: border-color .2s, background .2s; }
.cx-wv-f span { color: var(--dh, var(--pl-gold)); }
.cx-wv-f:focus-visible { border-color: var(--dh, var(--pl-gold)); outline: none; }
@media (hover: hover) { .cx-wv-f:hover { border-color: var(--dh, var(--pl-gold)); outline: none; } }
.cx-wv-f[aria-pressed="true"] { background: linear-gradient(120deg, rgba(232, 195, 106, .22), rgba(123, 79, 214, .25)); border-color: var(--pl-gold); }
.cx-wv-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cx-wv-card { border: 1px solid rgba(232, 195, 106, .28); border-left: 3px solid var(--pl-gold); border-radius: 14px; padding: 12px 16px; background: rgba(12, 10, 40, .78); transition: opacity .3s; }
.cx-wv-card.is-lien { border-left-color: #c9a6ff; }
.cx-wv-card.is-flux { border-left-color: #ffb547; }
.cx-wv-card.is-theme { border-left-color: var(--pl-teal); }
.cx-wv-card.is-live { box-shadow: 0 0 0 1px rgba(63, 224, 208, .55), 0 0 18px rgba(63, 224, 208, .18); }
.cx-wv-card.is-off { display: none; }
.cx-body ul.cx-wv-list li.cx-wv-card { display: block; }
.cx-body ul.cx-wv-list li.cx-wv-card.is-off { display: none; }
.cx-body ul.cx-wv-list li.cx-wv-card::before { content: none; }
.cx-wv-card h4 { margin: 2px 0 6px; font-family: var(--pl-display); font-weight: 400; font-size: 18px; letter-spacing: .04em; color: var(--pl-ivory); }
.cx-wv-card p { margin: 6px 0 0; }
.cx-wv-kind { font-family: var(--pl-display); font-size: 11px !important; letter-spacing: .18em; text-transform: uppercase; color: var(--pl-gold); margin: 0 !important; }
.cx-wv-kind em { color: var(--pl-teal); font-style: normal; }
.cx-wv-tools { display: flex; flex-wrap: wrap; gap: 6px; }
.cx-wv-tool { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--dh) 60%, transparent);
  background: color-mix(in srgb, var(--dh) 12%, transparent); color: var(--pl-ivory); font: inherit; font-size: 13px; cursor: pointer; }
.cx-wv-tool span { color: var(--dh); }
.cx-wv-tool:focus-visible { border-color: var(--dh); outline: none; }
@media (hover: hover) { .cx-wv-tool:hover { border-color: var(--dh); outline: none; } }
@media (min-width: 980px) { .cx-wv-body { grid-template-columns: minmax(320px, 420px) 1fr; } .cx-wv-mapbox { position: sticky; top: 100px; } }

/* 27/10 : Niveau, juste à gauche de « Mon compte » (le menu Progression a laissé place aux onglets Quêtes et Athanor du Codex) */
body.pl .pl-hd-prog { grid-area: prog; display: flex; align-items: center; gap: 6px; }
body.pl .pl-hd-prog[hidden] { display: none; }
body.pl .pl-lvl:empty { display: none; }
@media (max-width: 559px) { body.pl .pl-lvl .pl-chip small { display: none; } body.pl .pl-lvl .pl-chip { min-height: 40px; padding-inline: 4px 10px; } }

/* ── Pied de page (27/10) : les Légals, sobres, sous le Codex ── */
body.pl .pl-foot { max-width: 1240px; margin: 28px auto 0; padding: 18px 16px calc(64px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(232, 195, 106, .18); display: grid; gap: 10px; justify-items: center; text-align: center; }
body.pl .pl-foot-brand { margin: 0; font-family: var(--pl-display); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: rgba(243, 238, 228, .5); }
body.pl .pl-foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 6px; }
body.pl .pl-foot-links a { display: inline-flex; align-items: center; min-height: 32px; padding: 4px 10px; border-radius: 999px; font-size: 13px;
  color: rgba(243, 238, 228, .72); text-decoration: none; transition: color .2s, background-color .2s; }
@media (hover: hover) { body.pl .pl-foot-links a:hover { color: var(--pl-gold-light, #f6dc98); background: rgba(232, 195, 106, .08); } }
body.pl .pl-foot-links a:focus-visible { outline: 2px solid var(--pl-gold, #e8c36a); outline-offset: 2px; }
@media (min-width: 1360px) { body.pl .pl-foot { max-width: 1480px; } }

/* ── SYNAXIS : interconnexion rapide et guidance (27/10) ── */
body.pl .pl-wq { margin: 12px 0 4px; }
body.pl .pl-wq-list { list-style: none; margin: 6px 0 0; padding: 0; display: grid; }
body.pl .pl-wq-node { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 30px 1fr; align-items: center; gap: 10px; width: 100%;
  padding: 7px 10px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--dh) 32%, transparent); background: color-mix(in srgb, var(--dh) 8%, rgba(9, 8, 30, .6));
  transition: border-color .2s, background-color .2s; }
body.pl .pl-wq-node i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-style: normal; font-size: 14px; color: var(--dh);
  border: 1px solid color-mix(in srgb, var(--dh) 60%, transparent); background: rgba(5, 6, 15, .7); }
body.pl .pl-wq-node span { display: grid; min-width: 0; line-height: 1.25; }
body.pl .pl-wq-node b { font-family: var(--pl-display); font-size: 12px; letter-spacing: .14em; color: var(--pl-ivory, #f3eee4); }
body.pl .pl-wq-node small { font-size: 13.5px; color: rgba(243, 238, 228, .82); overflow-wrap: anywhere; }
body.pl .pl-wq-node.is-quiet small { color: rgba(243, 238, 228, .5); font-style: italic; }
body.pl .pl-wq-node.is-hot { border-color: var(--pl-teal, #3fe0d0); box-shadow: 0 0 12px rgba(63, 224, 208, .25); }
body.pl .pl-wq-node:focus-visible { border-color: var(--dh); background: color-mix(in srgb, var(--dh) 16%, rgba(9, 8, 30, .6)); }
@media (hover: hover) { body.pl .pl-wq-node:hover { border-color: var(--dh); background: color-mix(in srgb, var(--dh) 16%, rgba(9, 8, 30, .6)); } }
body.pl .pl-wq-node:focus-visible { outline: 2px solid var(--dh); outline-offset: 2px; }
body.pl .pl-wq-link { position: relative; padding: 3px 0 3px 40px; font-size: 11.5px; font-style: italic; color: rgba(232, 195, 106, .8); }
body.pl .pl-wq-link::before { content: ''; position: absolute; left: 24px; top: 0; bottom: 0; border-left: 1px dashed rgba(232, 195, 106, .5); }
body.pl .pl-wq-guide { margin-top: 10px; }
body.pl .pl-wq-note { font-size: 13.5px; opacity: .8; }

/* ══ V5 (27/10) : décor d'observatoire, portail récupérable, Dé détaillé, Codex en sommaire sur téléphone ══ */
/* Fond de l'astrolabe : un halo seul (arches, colonnes et constellations retirées le 27/10, §40-41) */
body.pl .pl-board-box { isolation: isolate; }
html:has(> body.pl), body.pl { overflow-x: clip; }   /* le décor peut déborder du plateau, jamais de la page (aucun défilement horizontal) */
body.pl .pl-board-box::before { content: ''; position: absolute; z-index: -1; inset: -6% -6% -2%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(123, 79, 214, .16), transparent 70%); }   /* §41 : arches et constellations dorées supprimées */
@media (max-width: 759px) { body.pl .pl-board-box::before { inset: -4% -6% 0; } }
/* Portail : la page qui ne s'ouvre pas */
.pl-pop-err { position: absolute; inset: 0; z-index: 3; display: grid; place-content: center; justify-items: center; gap: 10px; padding: 24px; text-align: center;
  background: radial-gradient(circle at 50% 42%, rgba(123, 79, 214, .26), transparent 62%), #05060F; }
.pl-pop-err[hidden] { display: none; }
.pl-pop-err-g { font-size: 34px; color: var(--pl-gold); }
.pl-pop-err-t { margin: 0; font-family: var(--pl-display); font-size: 20px; letter-spacing: .08em; color: var(--pl-ivory); }
.pl-pop-err-s { margin: 0; max-width: 420px; color: var(--pl-mist); font-size: 16px; }
.pl-pop-err .pl-p-ctas { justify-content: center; }
/* Dé : chaque proposition dit son accès et sa disponibilité */
.pl-dice-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 6px; }
.pl-dice-meta em { font-style: normal; font-size: 12.5px; color: var(--pl-teal); }
.pl-dice-meta .pl-tag { font-size: 10.5px; }
/* Codex sur téléphone : les neuf rubriques d'un coup d'œil (sommaire en grille, plus de bande qui défile hors de l'écran) */
@media (max-width: 759px) {
  .cx-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; overflow: visible; }
  .cx-tab { justify-content: center; flex-direction: column; gap: 2px; min-height: 58px; padding: 6px 4px; border-radius: 14px; font-size: 11.5px; letter-spacing: .06em; text-align: center; }
  .cx-tab span { font-size: 16px; }
}

/* Recherche sans résultat */
.pl-found-none { margin: 4px 0 8px; color: var(--pl-mist); font-size: 15px; }
.pl-found-try { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.pl-found-try button { font: inherit; font-size: 14px; cursor: pointer; min-height: 36px; padding: 4px 14px; border-radius: 999px; color: var(--pl-ivory); background: rgba(11, 16, 48, .7); border: 1px solid var(--pl-line); }
.pl-found-try button:focus-visible { border-color: var(--pl-gold); outline: none; }
@media (hover: hover) { .pl-found-try button:hover { border-color: var(--pl-gold); outline: none; } }

/* ══ §32 (26/10) : le cœur SYNAXIS, joyau vivant de l'astrolabe ══
   Aura violette, couronne d'or aux points cardinaux, anneau de points, nœuds de convergence, signes célestes,
   géométrie sacrée, émail, étoile renforcée, séparateur. Aucun filtre ajouté : dégradés et traits seulement.
   Toutes les animations tombent avec html.pl-reduced et prefers-reduced-motion (règle générale plus haut). */
.pl-core-aura, .pl-core-dots, .pl-core-crown, .pl-core-arc { pointer-events: none; }
.pl-ly--core-aura { animation: pl-core-breath 9s ease-in-out infinite; }
@keyframes pl-core-breath { 0%, 100% { opacity: .75; transform: scale(.97); } 50% { opacity: 1; transform: scale(1.03); } }
.pl-core-dot { fill: #f6dc98; opacity: .35; animation: pl-core-twk 4s ease-in-out infinite; }
@keyframes pl-core-twk { 0%, 100% { opacity: .22; } 50% { opacity: .85; } }
.pl-core-crown-l { fill: none; stroke: url(#plRingGold); stroke-width: .9; opacity: .8; }
.pl-core-tick { stroke: rgba(246, 220, 152, .55); stroke-width: .7; }
.pl-core-card { fill: #f6dc98; }
.pl-core-card.is-north { fill: #fff4d2; }
.pl-core-neb2 { opacity: .32; }
.pl-core-geo { fill: none; stroke: rgba(246, 220, 152, .13); stroke-width: .7; pointer-events: none; }
.pl-core-spark path { fill: #fff4d2; opacity: 0; animation: pl-core-spk 5.4s ease-in-out infinite; }
@keyframes pl-core-spk { 0%, 70%, 100% { opacity: 0; } 82% { opacity: .9; } }
.pl-core-enamel { pointer-events: none; }
.pl-core-rim2 { fill: none; stroke: rgba(246, 220, 152, .45); stroke-width: .6; pointer-events: none; }
.pl-core-node { fill: rgba(201, 164, 87, .55); stroke: none; transition: fill .3s, opacity .3s; }
.pl-core-node.is-hov { fill: var(--pl-teal, #3fe0d0); }
.pl-core-node.is-sel { fill: #fff4d2; }
.pl-core-glyphs { pointer-events: none; }
.pl-ly--glyphs { animation: pl-spin 300s linear infinite reverse; }
.pl-core-glyphs text { font-family: 'Segoe UI Symbol', 'Noto Sans Symbols', 'Noto Sans Symbols 2', var(--pl-display); font-size: 7.5px; fill: #e3c47c; opacity: .55; text-anchor: middle; dominant-baseline: central; }
.pl-core-starbox { pointer-events: none; }
.pl-core-starring { fill: none; stroke: rgba(255, 231, 163, .45); stroke-width: .6; stroke-dasharray: 1 3; }
.pl-core-star8 { fill: rgba(246, 220, 152, .2); stroke: rgba(255, 231, 163, .5); stroke-width: .5; }
.pl-core-glint { stroke: #fff4d2; stroke-width: .7; stroke-linecap: round; }
.pl-ly--cglint { opacity: .35; animation: pl-core-glint 4.6s ease-in-out infinite; }
@keyframes pl-core-glint { 0%, 100% { opacity: .2; } 50% { opacity: .6; } }
.pl-ly--cstar { transform-origin: 50% 47.105%; animation: pl-core-pulse 4.6s ease-in-out infinite; }
@keyframes pl-core-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }
.pl-core-t1 { fill: #fffaf0; }
.pl-core-sep { stroke: rgba(246, 220, 152, .7); stroke-width: .8; pointer-events: none; }
.pl-core-sep-gem { fill: #f6dc98; pointer-events: none; }
.pl-core-t2 { fill: #ece4ff; letter-spacing: .08em; font-weight: 500; }
.pl-core-arc { fill: none; stroke: var(--sh, #3fe0d0); stroke-width: 2.4; stroke-linecap: round; opacity: 0; transition: opacity .5s; }
#pl-board.has-sel:not(.sel-core) .pl-core-arc { opacity: .95; animation: pl-core-arc 3.2s ease-in-out infinite; }
@keyframes pl-core-arc { 0%, 100% { stroke-opacity: .579; } 50% { stroke-opacity: 1; } }
#pl-board.sel-core .pl-core-crown-l { opacity: 1; stroke-width: 1.3; }
@media (hover: hover) { #pl-board:has(.pl-core:hover) .pl-core-crown-l { opacity: 1; stroke-width: 1.3; } }
#pl-board.sel-core .pl-core-node { fill: var(--pl-teal, #3fe0d0); }
@media (max-width: 559px) { .pl-core-glyphs, .pl-core-tick { display: none; } }

/* ══ §33 (26/10) : fonctions de SYNAXIS sur l'anneau du cœur ; raccourcis de la roue en simple aperçu ══ */
.pl-sc { pointer-events: none; cursor: default; }
.pl-sc .pl-sc-disc { opacity: .75; }
.pl-sxring { opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s .4s; }
#pl-board.sx-ring .pl-sxring { opacity: 1; visibility: visible; transition: opacity .4s; }
.pl-astro.sx-ring .pl-eng-g, .pl-astro.sx-ring .pl-eng-dot { opacity: 0; transition: opacity .4s; }
.pl-sxf { cursor: pointer; outline: none; }
.pl-sxf-hit { fill: transparent; }
.pl-sxf-disc { stroke: #E8C36A; stroke-width: 1.2; transition: stroke .2s, stroke-width .2s; }
.pl-sxf-g { font-family: 'Segoe UI Symbol', 'Noto Sans Symbols', 'Noto Sans Symbols 2', var(--pl-display); font-size: 12px; fill: #f6dc98; text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.pl-sxf:focus-visible .pl-sxf-disc { stroke: var(--pl-teal, #3fe0d0); stroke-width: 2; }
@media (hover: hover) { .pl-sxf:hover .pl-sxf-disc { stroke: var(--pl-teal, #3fe0d0); stroke-width: 2; } }
.pl-sxf:focus-visible .pl-sxf-disc { stroke: #fff; stroke-width: 2.4; }
.pl-sxf:focus-visible .pl-sxf-g { fill: #fff8e6; }
@media (hover: hover) { .pl-sxf:hover .pl-sxf-g { fill: #fff8e6; } }
@media (max-width: 559px) { .pl-sxf { transform-box: fill-box; transform-origin: center; transform: scale(1.6); } }
.pl-sxf-n { font-family: var(--pl-display); font-size: 8.5px; letter-spacing: .12em; text-transform: uppercase; fill: #e9d9a8; opacity: .85; text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.pl-sxf:focus-visible .pl-sxf-n { fill: #fff8e6; opacity: 1; }
@media (hover: hover) { .pl-sxf:hover .pl-sxf-n { fill: #fff8e6; opacity: 1; } }
@media (max-width: 559px) { .pl-sxf-n { display: none; } }

/* ══ §34 (26/10) : la couronne d'astrolabe (anneau des huit dimensions) ══
   Bronze et laiton biseautés, canal d'émail sombre (les pastilles restent lisibles), doubles liserés, graduations,
   roses cardinales et glyphes célestes, socles des pastilles, pointes de boussole. Le relief vient du dégradé biseauté :
   le filtre plEmboss (lumière sur toute la surface) délavait la couronne en gris-kaki, il est retiré ici (gardé sur le cadre).
   Animations : coupées par la règle générale. */
.pl-mband { filter: none; }
.pl-mtrack { stroke: url(#plMBronze); stroke-width: 47; }
.pl-mband-l { stroke-width: 1.8; opacity: 1; }
.pl-mrim { fill: none; stroke: rgba(246, 220, 152, .38); stroke-width: .7; }
.pl-mdots { fill: none; stroke: rgba(246, 220, 152, .55); stroke-width: 1.1; stroke-dasharray: .5 6; stroke-linecap: round; }
.pl-mgrad { stroke: rgba(232, 195, 106, .5); stroke-width: .7; }
.pl-mgrad.is-big { stroke: rgba(246, 220, 152, .85); stroke-width: 1; }
.pl-marc { fill: none; stroke: rgba(246, 220, 152, .6); stroke-width: .9; }
.pl-marc-dot { fill: #e3c47c; }
.pl-mglyph { font-family: 'Segoe UI Symbol', 'Noto Sans Symbols', 'Noto Sans Symbols 2', var(--pl-display); font-size: 12px; fill: #f0d68f; text-anchor: middle; dominant-baseline: central; }
.pl-mrose-c { fill: rgba(10, 8, 30, .8); stroke: rgba(246, 220, 152, .7); stroke-width: .8; }
.pl-mrose { fill: url(#plRingGold); stroke: rgba(255, 244, 210, .6); stroke-width: .4; }
.pl-mrose.is-north { fill: #ffe7a3; }
.pl-msock-c { fill: rgba(8, 7, 26, .88); stroke: url(#plRingGold); stroke-width: 1.3; }
.pl-msock-n { fill: #e3c47c; }
#pl-board.sc-out .pl-msock, #pl-board.sc-out .pl-mgap.is-top { display: none; }
.pl-mhalo, .pl-mdust, .pl-mcrown { pointer-events: none; }
.pl-mdust circle { fill: #fff4d2; opacity: .3; animation: pl-core-twk 5s ease-in-out infinite; }
.pl-mlis { fill: none; stroke: #ffe7a3; stroke-width: .7; opacity: .5; }
.pl-mpoint { fill: url(#plRingGold); stroke: rgba(255, 244, 210, .55); stroke-width: .4; opacity: .8; }
.pl-mpoint.is-card { opacity: 1; }
.pl-mpoint.is-north { fill: #ffe7a3; }
.pl-msheen { fill: none; stroke: rgba(255, 236, 190, .09); stroke-width: 44; stroke-dasharray: 150 924.5; stroke-linecap: round;
  transform-box: view-box; transform-origin: 320px 320px; animation: pl-spin 70s linear infinite; }
.pl-mseg { fill: none; stroke: var(--dh, #E8C36A); stroke-width: 44; opacity: 0; transition: opacity .5s; }
.pl-mseg--top { stroke: var(--sh, #E8C36A); }
.pl-mseg.is-on { opacity: .22; animation: pl-mseg 3.4s ease-in-out infinite; }
@keyframes pl-mseg { 0%, 100% { stroke-opacity: .545; } 50% { stroke-opacity: 1; } }
@media (max-width: 559px) { .pl-mgrad:not(.is-big), .pl-mglyph, .pl-marc-dot { display: none; } }

/* ══ §35 (26/10) : le Dé sous POLARISTAR, l'affichage au-dessus de la fiche, plus de « Récemment » ══ */
body.pl .pl-head { justify-content: flex-start; }
body.pl .pl-stage > .pl-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; margin: 0; }
@media (min-width: 980px) {
  body.pl .pl-head { justify-content: flex-start; }
  body.pl .pl-head .pl-recents { flex: 1 1 auto; }
  body.pl .pl-stage { grid-template-rows: auto 1fr; }
  body.pl .pl-stage > .pl-board-box { grid-column: 1; grid-row: 1 / span 2; }
  body.pl .pl-stage > .pl-tools { grid-column: 2; grid-row: 1; align-self: end; flex-wrap: nowrap; }
  body.pl .pl-stage > .pl-panel { grid-column: 2; grid-row: 2; align-self: start; }
}
@media (min-width: 1240px) and (max-width: 1479px) {
  body.pl .pl-stage .pl-motion { font-size: 14px; width: auto; min-height: 36px; padding: 6px 14px; }
  body.pl .pl-stage .pl-motion::before { content: none; }
}
/* Mode Rapide : l'astrolabe et la fiche disparaissent, mais l'affichage reste là pour revenir en Immersif */
body.pl.pl--rapide .pl-stage { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; }
body.pl.pl--rapide .pl-stage > .pl-board-box, body.pl.pl--rapide .pl-stage > .pl-panel { display: none; }
body.pl.pl--rapide .pl-stage > .pl-tools { grid-column: 1; grid-row: 1; justify-content: flex-end; }

/* ══ §36 (26/10) : Confiance : les avis d'abord (comme sur l'accueil), les engagements dessous en menus dépliables ══ */
.cx-voices--all { display: grid; gap: 12px; }
.cx-voices-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.cx-score { display: inline-flex; align-items: baseline; gap: 8px; }
.cx-score b { font-family: var(--pl-display); font-size: 22px; color: var(--pl-ivory); }
.cx-score small { color: var(--pl-mist); }
.cx-reviews { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); align-items: start; }
.cx-review-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; }
.cx-tier { font-size: 12px; letter-spacing: .06em; color: var(--pl-teal); border: 1px solid rgba(63, 224, 208, .4); border-radius: 999px; padding: 2px 9px; }
.cx-review figcaption { display: flex; align-items: center; gap: 8px; }
.cx-av { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; flex: none; font-family: var(--pl-display); color: #05060F; background: linear-gradient(135deg, #f6dc98, #b8913f); }
.cx-more summary { cursor: pointer; color: var(--pl-gold); font-size: 14px; min-height: 32px; display: flex; align-items: center; }
.cx-more p { margin: 0 0 6px !important; font-size: 14.5px; }
.cx-more .cx-lbl { font-size: 12px !important; letter-spacing: .08em; text-transform: uppercase; color: var(--pl-mist); margin-top: 6px !important; }
.cx-notes--below { margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--pl-line); }
.cx-notes--below details { border-bottom: 1px solid var(--pl-line); padding: 2px 0; }
.cx-notes--below summary::after { content: '+'; margin-left: auto; padding-left: 12px; color: var(--pl-gold); font-size: 18px; }
.cx-notes--below details[open] summary::after { content: '−'; }
.cx-notes--below details p { margin: 0 0 10px !important; }
.cx-voices--all .cx-reviews { grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); }
.cx-voices--all .cx-review { padding: 18px 20px; }
.cx-voices--all .cx-review blockquote { font-size: 17.5px; line-height: 1.5; -webkit-line-clamp: 8; }
.cx-voices--all .cx-stars { font-size: 18px; }

/* ══ §37 (26/10) : le Dé de la Destinée sous l'astrolabe, à gauche ══ */
body.pl .pl-board-box > .pl-dice-btn { display: flex; width: fit-content; margin: 10px auto 0; }   /* centré sous l’astrolabe (§37) */
/* Mode Rapide : l'astrolabe se masque, et le Dé avec lui (27/10, §47 : le Dé n'existe qu'en Immersif) */
body.pl .pl-head:not(:has(.pl-recents:not([hidden]))) { display: none; }   /* sans favoris, pas de rangée vide */

/* ══ §39 (27/10) : plein écran du portail, sans quitter le plateau ══ */
.pl-pop.is-full { inset: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
.pl-pop-full[aria-pressed="true"] { color: #1a1405; background: linear-gradient(180deg, #f6dc98, var(--pl-gold)); border-color: transparent; }

/* ══ §40 (27/10) : le fond se réduit au cercle SYNAXIS ══
   Plus d'arches, de colonnes ni de constellations en triangles derrière l'astrolabe : seul le halo reste. */
body.pl .pl-board-box::before { background: radial-gradient(closest-side, rgba(123, 79, 214, .16), transparent 70%); }
.pl-mdust { display: none; }   /* plus de poussière d'étoiles hors de la couronne */
.pl-mdust circle { animation: none; }   /* §62 : cachée, elle scintillait encore (style recalculé à chaque image) */
/* Une seule barre de défilement, celle de la page : la fiche s'affiche en entier à côté de l'astrolabe, sans défilement interne */
@media (min-width: 980px) {
  body.pl .pl-stage > .pl-panel { position: relative; top: auto; max-height: none; overflow: visible; }
}
/* Téléphone : le même plateau qu'à l'ordinateur, tailles adaptées (plus rien n'est retiré, les textes grossissent) */
@media (max-width: 559px) {
  .pl-medal > .pl-med-n { display: inline; font-size: 13px; letter-spacing: .05em; }
  .pl-sxf-n { display: inline; font-size: 9.5px; letter-spacing: .06em; }
  .pl-num { display: inline; font-size: 13px; }
  .pl-roman, .pl-core-glyphs, .pl-core-tick, .pl-mglyph, .pl-marc-dot, .pl-eng-g, .pl-sep-gem, .pl-mgrad:not(.is-big) { display: inline; }
  body.pl .pl-hint { font-size: 13px; line-height: 1.45; margin-inline: 8px; }
}

/* ══ §42 (27/10) : plein écran du portail : la barre s'efface, une croix au coin en haut à droite pour en sortir ══
   La zone du coin (au-dessus du cadre, qui ne transmet pas la souris) fait apparaître la croix au survol ;
   au doigt et au clavier, la croix reste visible. */
.pl-pop.is-full .pl-pop-bar, .pl-pop.is-full .pl-pop-strip { display: none !important; }
.pl-pop-xfull { display: none; }
.pl-pop.is-full .pl-pop-xfull {
  display: grid; place-items: center; position: absolute; z-index: 6; top: 0; right: 0; width: 84px; height: 84px; padding: 0;
  padding-top: env(safe-area-inset-top, 0px); padding-right: env(safe-area-inset-right, 0px);
  background: radial-gradient(circle at 100% 0, rgba(5, 6, 15, .55), transparent 70%); border: 0; cursor: pointer; opacity: 0; transition: opacity .25s ease;
}
.pl-pop-xfull span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font-size: 18px; color: #1a1405;
  background: linear-gradient(180deg, #f6dc98, var(--pl-gold)); box-shadow: 0 4px 18px rgba(0, 0, 0, .5); }
.pl-pop.is-full .pl-pop-xfull:focus-visible { opacity: 1; outline: none; }
@media (hover: hover) { .pl-pop.is-full .pl-pop-xfull:hover { opacity: 1; outline: none; } }
.pl-pop-xfull:focus-visible span { box-shadow: 0 0 0 3px #fff4d2, 0 4px 18px rgba(0, 0, 0, .5); }
@media (hover: none) { .pl-pop.is-full .pl-pop-xfull { opacity: .85; } }

/* §45 (27/10) : menu de « Mon compte » : Mon Espace et NEXUS */
.pl-me-wrap { position: relative; display: inline-flex; }
.pl-me-menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 60; min-width: 220px; padding: 6px; border-radius: 16px;
  background: linear-gradient(180deg, rgba(28, 18, 64, .98), rgba(10, 7, 28, .98)); border: 1px solid var(--pl-gold-dim);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .55), 0 0 24px rgba(123, 79, 214, .25); }
.pl-me-menu[hidden] { display: none; }
.pl-me-menu a { display: grid; grid-template-columns: 26px 1fr; align-items: center; column-gap: 8px; padding: 10px 12px; border-radius: 11px;
  color: var(--pl-ivory); text-decoration: none; font-family: var(--pl-display); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; }
.pl-me-menu a span { grid-row: span 2; font-size: 17px; letter-spacing: 0; color: var(--pl-gold); text-align: center; }
.pl-me-menu a small { grid-column: 2; font-family: var(--pl-body); font-size: 13px; letter-spacing: 0; text-transform: none; opacity: .7; }
.pl-me-menu a:focus-visible { background: rgba(232, 195, 106, .12); outline: none; box-shadow: inset 0 0 0 1px var(--pl-gold-dim); }
@media (hover: hover) { .pl-me-menu a:hover { background: rgba(232, 195, 106, .12); outline: none; box-shadow: inset 0 0 0 1px var(--pl-gold-dim); } }

/* §47 (27/10) : « Mon compte » (dans son conteneur de menu, §45) reprend sa place tout à droite, le Niveau juste à sa gauche */
body.pl .pl-hd-right .pl-me-wrap { grid-area: me; justify-self: end; }

/* §52 (27/10) : téléphone : POLARISTAR seul sur sa ligne, « Retrouve ton Nord intérieur » d'une traite dessous,
   puis une seule rangée : PI, STARDUST, Niveau, Mon compte. Les libellés des médaillons restent lus (comme sur tablette). */
@media (max-width: 559px) {
  body.pl .pl-status { grid-template-areas: "id id id id" "res more prog me" "search search search search"; }
  body.pl .pl-hd-id .pl-title { white-space: nowrap; font-size: clamp(11px, 3.9vw, 15px); }
  body.pl .pl-hd-right .pl-res { align-self: center; }
  body.pl .pl-chip small { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 359px) {
  body.pl .pl-status { column-gap: 5px; }
  body.pl .pl-hd-right .pl-res { gap: 5px; }
  body.pl .pl-chip { padding-right: 8px; gap: 5px; }
}

/* §54 (27/10) : la petite fenêtre NEXUS s'ouvre depuis « Mon compte » ; son sceau flottant ne s'ajoute pas à l'en-tête du plateau */
body.pl .pm-dock .pm-roll, body.pl .pm-dock .pm-tip { display: none; }

/* ══ V5.2 (27/10) : les Grimoires des Dimensions ══════════════════════════
   Une fiche commune (identité, univers du moment, instruments, activités, actions) pour les 13 dimensions
   et SYNAXIS, et une fiche par instrument. Textes ≥ 12 px, focus turquoise de la charte. */
.pl-gr { display: grid; gap: 14px; min-width: 0; }
.pl-gr-id { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: center; padding-bottom: 14px;
  border-bottom: 1px solid transparent; border-image: linear-gradient(90deg, transparent, color-mix(in srgb, var(--dh, #E8C36A) 55%, transparent), transparent) 1; }
.pl-gr-id .pl-p-eyebrow { margin: 0 0 3px; }
.pl-gr-id .pl-p-sub { margin: 3px 0 0; font-style: italic; font-size: 16px; color: color-mix(in srgb, var(--dh, #E8C36A) 50%, #F3EEE4); }
.pl-gr-intro { margin: 0; font-size: 16.5px; line-height: 1.55; color: #ebe7f7; }
.pl-gr-intro em { color: var(--pl-gold-light); font-style: italic; }
.pl-gr-sec { display: grid; gap: 9px; padding: 12px 14px 13px; border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--dh, #E8C36A) 22%, transparent);
  background: radial-gradient(90% 120% at 0% 0%, color-mix(in srgb, var(--dh, #7B4FD6) 9%, transparent), transparent 70%), linear-gradient(180deg, rgba(5, 6, 15, .34), rgba(5, 6, 15, .2));
  box-shadow: inset 0 1px 0 rgba(255, 244, 210, .05); }
.pl-gr-k { display: flex; align-items: center; gap: 8px; margin: 0; font-family: var(--pl-display); font-weight: 400; font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: color-mix(in srgb, var(--dh, #E8C36A) 65%, #fff); }
.pl-gr-k i { font-style: normal; color: var(--dh, #E8C36A); text-shadow: 0 0 8px currentColor; }
.pl-gr-k::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, color-mix(in srgb, var(--dh, #E8C36A) 40%, transparent), transparent); }
.pl-gr-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.pl-gr-facts li { position: relative; padding-left: 20px; color: var(--pl-ivory); font-size: 15.5px; line-height: 1.4; }
.pl-gr-facts li::before { content: "✦"; position: absolute; left: 0; top: .15em; font-size: 12px; color: var(--dh, #E8C36A); text-shadow: 0 0 8px currentColor; }
.pl-gr-empty { margin: 0; color: var(--pl-mist); font-style: italic; font-size: 15px; line-height: 1.45; }
.pl-gr .pl-v4-sky { margin: 0; }
/* instruments : tuiles, autant de colonnes que la largeur le permet, intitulés jamais coupés */
.pl-gr-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 8px; }
.pl-gr-tile { position: relative; display: grid; justify-items: center; align-content: start; gap: 4px; min-height: 96px; padding: 11px 6px 10px; border-radius: 12px;
  text-align: center; cursor: pointer; font: inherit; color: var(--pl-ivory);
  border: 1px solid color-mix(in srgb, var(--dh, #E8C36A) 24%, transparent);
  background: linear-gradient(180deg, color-mix(in srgb, var(--dh, #7B4FD6) 9%, rgba(255, 255, 255, .02)), rgba(5, 6, 15, .28));
  transition: border-color .2s, background .2s, transform .2s, box-shadow .2s; }
.pl-gr-tg { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font-size: 18px; color: var(--dh, #E8C36A); text-shadow: 0 0 8px currentColor;
  border: 1px solid color-mix(in srgb, var(--dh, #E8C36A) 55%, transparent); background: radial-gradient(circle, color-mix(in srgb, var(--dh, #E8C36A) 24%, transparent), transparent 70%); }
.pl-gr-tile b { font-weight: 600; font-size: 14px; line-height: 1.2; overflow-wrap: normal; word-break: normal; hyphens: manual; }
.pl-gr-tile small { font-size: 12.5px; line-height: 1.3; color: #c3c4de; }
.pl-gr-st { font-style: normal; font-family: var(--pl-display); font-size: 12px; letter-spacing: .06em; color: var(--pl-gold-light); }
.pl-gr-st::before { content: "◇ "; }
.pl-gr-tile.is-lock, .pl-gr-tile.is-sealed { border-style: dashed; }
.pl-gr-tile.is-sealed { opacity: .72; }
@media (hover: hover) { .pl-gr-tile:hover { border-color: var(--dh, #E8C36A); transform: translateY(-2px);
  background: linear-gradient(180deg, color-mix(in srgb, var(--dh, #E8C36A) 16%, transparent), rgba(5, 6, 15, .28));
  box-shadow: 0 8px 22px rgba(0, 0, 0, .35), 0 0 18px color-mix(in srgb, var(--dh, #E8C36A) 25%, transparent); } }
.pl-gr-tile:focus-visible, .pl-gr-back:focus-visible { outline: 2px solid #7FF3E6; outline-offset: 2px; }
.pl-gr-tip { margin: 0; font-size: 12.5px; font-style: italic; text-align: center; color: #a9acd0; }
/* activités : nom, statut, récompense annoncée (accordée à la validation) */
.pl-gr-acts { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pl-gr-acts li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 11px; border-radius: 10px;
  background: rgba(5, 6, 15, .32); border: 1px solid rgba(232, 195, 106, .16); }
.pl-gr-acts b { display: block; font-weight: 600; font-size: 15px; color: var(--pl-ivory); }
.pl-gr-acts span small { display: block; font-size: 12.5px; color: var(--pl-mist); }
.pl-gr-acts em { flex: none; font-style: normal; text-align: right; font-family: var(--pl-display); font-size: 14px; color: var(--pl-gold-light); white-space: nowrap; }
.pl-gr-acts em small { display: block; font-family: var(--pl-body); font-size: 12px; font-style: italic; color: var(--pl-mist); }
/* fiche d'un instrument : retour, sceau de l'instrument, description, chemin */
.pl-gr-back { justify-self: start; display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 6px 14px; border-radius: 999px; cursor: pointer;
  font: 13px/1.2 var(--pl-display); letter-spacing: .06em; color: var(--pl-gold-light);
  border: 1px solid color-mix(in srgb, var(--dh, #E8C36A) 40%, transparent); background: rgba(5, 6, 15, .38); transition: border-color .2s, background .2s; }
@media (hover: hover) { .pl-gr-back:hover { border-color: var(--dh, #E8C36A); background: color-mix(in srgb, var(--dh, #E8C36A) 12%, rgba(5, 6, 15, .38)); } }
.pl-gr-subseal b { font-size: 30px; }
.pl-gr-note { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 14px; color: var(--pl-mist); }
.pl-gr .pl-p-ctas--main { margin-top: 2px; }
/* 29/10 : la porte « Entrer dans … » au centre, puis « Ajouter aux favoris » et « Revenir à SYNAXIS » côte à côte, centrés */
.pl-gr-act { justify-content: center; }
.pl-gr-act .pl-enter { flex: 1 1 100%; }
.pl-gr-act .pl-ghost { flex: 1 1 0; min-width: 0; justify-content: center; text-align: center; padding-inline: 10px; line-height: 1.25; }
/* l'instrument ouvert s'allume sur l'anneau */
.pl-medal--sc.is-cur .pl-med-disc, .pl-sc.is-cur .pl-sc-disc { stroke: #fff4d2; stroke-width: 2.8; }
.pl-medal--sc.is-cur .pl-med-halo { opacity: .7; fill: color-mix(in srgb, var(--dh, #E8C36A) 30%, transparent); }
.pl-medal--sc.is-cur .pl-med-n { fill: #fff8e6; }
/* ordinateur : les actions restent visibles quand la fiche défile */
@media (min-width: 980px) {
  .pl-gr-act { position: sticky; bottom: -18px; z-index: 2; margin: 0 -20px -18px; padding: 16px 20px 18px;
    background: linear-gradient(180deg, transparent, rgba(14, 15, 50, .97) 26%); }
}
@media (max-width: 379px) { .pl-gr-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .pl-gr-tile, .pl-gr-back { transition: none; } @media (hover: hover) { .pl-gr-tile:hover { transform: none; } } }
/* dans les Grimoires, aucun texte utile sous 12 px */
.pl-gr .pl-p-eyebrow, .pl-gr .pl-p-k, .pl-gr .pl-tag, .pl-gr .pl-v4-sky small, body.pl .pl-gr .pl-wq-link { font-size: 12px; }
/* §57 (27/10) : l'astrolabe reste en haut, à côté du début de la fiche (la grille le centrait sur toute la hauteur
   des Grimoires, plus hauts qu'avant) ; il reste visible pendant qu'on lit la fiche */
@media (min-width: 980px) {
  body.pl .pl-stage > .pl-board-box { align-self: start; position: sticky; top: 12px; }
}

/* ══ §62 (27/10) : mobile sans clignotement ══
   Aucun rectangle gris ou bleuté au toucher (secteurs, cœur, médaillons, boutons) : le retour tactile reste celui
   de chaque commande (:active, enfoncement). Sur l'astrolabe, un léger voile au toucher le remplace. */
body.pl :is(a, button, summary, label, [role="button"], [role="tab"], [tabindex]) { -webkit-tap-highlight-color: transparent; }
@media (hover: none) {
  #pl-board :is(.pl-sec, .pl-medal, .pl-sxf):active { opacity: .86; }
}
/* L'en-tête n'est collant qu'à partir de 1360 px : en dessous, rien ne défile sous lui, le flou ne sert à rien */
@media (max-width: 1359px) {
  body.pl .pl-status { backdrop-filter: none; -webkit-backdrop-filter: none; }
}
/* Le ciel (.pl-sky) et l'ambiance (#pl-amb), fixes en z-index -1, sont peints sous le fond opaque de body.pl :
   aucun de leurs pixels n'atteint l'écran (vérifié par capture, 27/10), mais leurs quatre couches plein écran
   s'animaient. On ne les calcule plus ; les rendre de nouveau visibles serait un choix de design. */
body.pl .pl-sky, body.pl #pl-amb { display: none; }
/* Téléphone et tablette : le portail couvre tout l'écran, l'astrolabe dessous n'a plus à s'animer */
@media (max-width: 979px) {
  html.pl-pop-on .pl-astro, html.pl-pop-on .pl-astro * { animation-play-state: paused !important; }
}
