.lgs {
  --lgs-nuit: #0b1124;
  --lgs-encre: #eef2fa;
  --lgs-encre2: #aab5cc;
  --lgs-brume: #717d97;
  --lgs-ligne: rgba(165, 185, 225, .14);
  --lgs-accent: #7c9cff;
  --lgs-or: #f2cf7a;
  --lgs-vert: #3ecf8e;
  --lgs-sang: #e5484d;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--lgs-encre);
  font-family: var(--titre, 'Nunito', system-ui, sans-serif);
  outline: none;
}

.lgs[hidden], .lgs [hidden] { display: none !important; }

.lgs-tete { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.lgs-titre { font-size: 1.05rem; font-weight: 900; color: #fff; margin: 0; flex: 1 1 auto; }
.lgs-titre b { color: #fff; }
.lgs-auto {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 99px; cursor: pointer;
  font: inherit; font-size: .8rem; font-weight: 800; color: var(--lgs-encre2);
  background: rgba(255, 255, 255, .05); border: 1px solid var(--lgs-ligne);
  transition: color .15s, border-color .15s, background-color .15s;
}
.lgs-auto:hover { color: #fff; border-color: rgba(124, 156, 255, .5); }
.lgs-auto[aria-pressed="true"] { color: #0b1124; background: var(--lgs-accent); border-color: transparent; }

.lgs-scene {
  position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; container-type: inline-size;
  border-radius: 18px; border: 1px solid var(--lgs-ligne); isolation: isolate; user-select: none; -webkit-user-select: none;
  touch-action: pan-y;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .05);
}

.lgs.cartes { max-width: 720px; margin: 0 auto; }
.lgs.cartes .lgs-scene { aspect-ratio: 10 / 9; }
.lgs.cartes .lgs-j { width: 16cqw; }
.lgs.cartes .lgs-carte { width: 8.4cqw; height: 11.4cqw; }
.lgs-legende {
  position: relative; min-height: 96px; padding: 14px 18px 14px 20px; border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .025));
  border: 1px solid var(--lgs-ligne); overflow: hidden;
}
.lgs-legende::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 4px; border-radius: 0 4px 4px 0; background: var(--lgs-ton, var(--lgs-accent)); transition: background .4s; }
.lgs-legende .lgs-etape { display: block; font-size: .7rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--lgs-ton, var(--lgs-accent)); margin-bottom: 3px; }
.lgs-legende .lgs-l-titre { display: block; font-size: 1.02rem; font-weight: 900; color: #fff; margin-bottom: 4px; }
.lgs-legende p { margin: 0; font-size: .92rem; line-height: 1.6; color: #d4dbea; }
.lgs-legende p b { color: #fff; }
.lgs-legende code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .86em; color: #c9d6ff; background: rgba(124, 156, 255, .14); padding: 1px 6px; border-radius: 6px; }
.lgs-legende.anim > * { animation: lgsFondu .4s ease both; }
.lgs-legende.anim .lgs-l-titre { animation-delay: .04s; }
.lgs-legende.anim p { animation-delay: .1s; }
@keyframes lgsFondu { from { opacity: 0; transform: translateY(6px); } }

.lgs-nav { display: flex; align-items: center; gap: 10px; }
.lgs-nav button.lgs-pas {
  display: inline-flex; align-items: center; gap: 6px; padding: .58rem 1.05rem; border-radius: 12px; cursor: pointer;
  font: inherit; font-size: .9rem; font-weight: 800; color: #fff;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--lgs-ligne); transition: transform .12s, background-color .15s, border-color .15s;
}
.lgs-nav button.lgs-pas:hover:not(:disabled) { border-color: rgba(124, 156, 255, .55); }
.lgs-nav button.lgs-pas:active:not(:disabled) { transform: scale(.97); }
.lgs-nav button.lgs-suiv { background: var(--lgs-accent); border-color: transparent; color: #0b1124; }
.lgs-nav button.lgs-suiv:hover:not(:disabled) { background: #9db5ff; }
.lgs-nav button:disabled { opacity: .35; cursor: default; }
.lgs-piste { flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.lgs-points { display: flex; gap: 4px; }
.lgs-points i { flex: 1; height: 5px; border-radius: 99px; background: rgba(255, 255, 255, .1); cursor: pointer; transition: background .25s; position: relative; overflow: hidden; }
.lgs-points i.vu { background: rgba(124, 156, 255, .45); }
.lgs-points i.actif { background: rgba(124, 156, 255, .3); }
.lgs-points i.actif::after { content: ""; position: absolute; inset: 0; background: var(--lgs-accent); transform-origin: left; animation: lgsProgres var(--lgs-duree, 0s) linear forwards; }
.lgs:not(.lecture) .lgs-points i.actif::after { animation: none; transform: none; }
@keyframes lgsProgres { from { transform: scaleX(0); } }
.lgs-compteur { font-size: .74rem; font-weight: 800; color: var(--lgs-brume); text-align: center; font-variant-numeric: tabular-nums; }

.lgs-table { background: #0d1530; }
.lgs-table::before {
  content: ""; position: absolute; inset: 0; z-index: -2; transition: opacity .8s;
  background:
    radial-gradient(1.2px 1.2px at 12% 18%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 8%, #fff 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 46% 14%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 68% 6%, #fff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 84% 20%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 92% 44%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 6% 52%, #fff 50%, transparent 51%),
    radial-gradient(1.3px 1.3px at 20% 82%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 78% 88%, #fff 50%, transparent 51%),
    radial-gradient(90% 75% at 50% 55%, #1d2b55 0%, #0d1530 72%);
}
.lgs-table::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .8s; background: radial-gradient(90% 75% at 50% 55%, #6f8fc4 0%, #3a5486 75%); }
.lgs-table.jour::after { opacity: 1; }
.lgs-table.vote::after { opacity: 1; background: radial-gradient(90% 75% at 50% 55%, #634a72 0%, #2c1f3b 78%); }
.lgs-table.fin::after { opacity: 1; background: radial-gradient(90% 75% at 50% 55%, #3a6a63 0%, #15302d 78%); }
.lgs-astre { position: absolute; right: 5%; top: 6%; width: 7cqw; height: 7cqw; border-radius: 50%; z-index: 0; transition: all .8s ease;
  background: radial-gradient(circle at 35% 35%, #fffbe6, #f2e3a8 60%, #d9c27a); box-shadow: 0 0 4cqw rgba(242, 227, 168, .45); }
.lgs-astre::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #0d1530; transform: translate(26%, -18%); transition: all .8s ease; }
.lgs-table.jour .lgs-astre, .lgs-table.vote .lgs-astre, .lgs-table.fin .lgs-astre { background: radial-gradient(circle, #fff6c9, #ffd56b 55%, #ffb648); box-shadow: 0 0 6cqw rgba(255, 213, 107, .6); }
.lgs-table.jour .lgs-astre::after, .lgs-table.vote .lgs-astre::after, .lgs-table.fin .lgs-astre::after { transform: translate(140%, -140%); opacity: 0; }
.lgs-plateau { position: absolute; left: 50%; top: 52%; width: 56%; height: 50%; transform: translate(-50%, -50%); border-radius: 50%; z-index: 0;
  background: radial-gradient(ellipse at 50% 40%, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02) 70%); border: 1px solid rgba(255, 255, 255, .07);
  box-shadow: inset 0 -1.2cqw 3cqw rgba(0, 0, 0, .25); }
.lgs-phase { position: absolute; left: 2.2%; top: 3.4%; z-index: 6; padding: .35em .85em; border-radius: 99px; font-size: max(10px, 1.7cqw); font-weight: 900; color: #fff;
  background: rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(4px); }
.lgs-svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; overflow: visible; }
.lgs-svg path { fill: none; stroke-linecap: round; }
.lgs-svg .trace { stroke-dasharray: var(--lg, 300); stroke-dashoffset: var(--lg, 300); animation: lgsTrace .7s ease forwards; }
.lgs-svg .lien { stroke-width: .55; stroke-dasharray: 1.6 1.2; animation: lgsDefile 1.2s linear infinite; }
@keyframes lgsTrace { to { stroke-dashoffset: 0; } }
@keyframes lgsDefile { to { stroke-dashoffset: -5.6; } }
.lgs-lien-ico { position: absolute; z-index: 3; transform: translate(-50%, -50%); font-size: 2.6cqw; filter: drop-shadow(0 .3cqw .6cqw rgba(0, 0, 0, .5)); animation: lgsPop .4s ease both; }
@keyframes lgsPop { from { transform: translate(-50%, -50%) scale(.2); opacity: 0; } }

.lgs-j { position: absolute; width: 15cqw; z-index: 4; transform: translate(-50%, -4cqw); display: flex; flex-direction: column; align-items: center; gap: .35cqw; transition: opacity .45s, filter .45s; }
.lgs-av { position: relative; box-sizing: border-box; width: 8cqw; height: 8cqw; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 3.4cqw; font-weight: 900; color: #fff; background: var(--c); border: .4cqw solid rgba(255, 255, 255, .22);
  box-shadow: 0 .6cqw 1.6cqw rgba(0, 0, 0, .35); transition: box-shadow .4s, transform .4s, filter .4s; }
.lgs-av::before { content: ""; position: absolute; inset: -.9cqw; border-radius: 50%; border: .35cqw solid var(--aura, transparent); opacity: 0; transition: opacity .4s; }
.lgs-j.aura .lgs-av::before { opacity: 1; animation: lgsAura 1.6s ease-in-out infinite; }
@keyframes lgsAura { 50% { transform: scale(1.08); opacity: .6; } }
.lgs-nom { font-size: max(10px, 1.85cqw); font-weight: 800; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .7); white-space: nowrap; }
.lgs-role { font-size: max(9px, 1.45cqw); font-weight: 800; padding: .15em .6em; border-radius: 99px; color: #fff; white-space: nowrap; background: rgba(0, 0, 0, .45);
  border: 1px solid rgba(255, 255, 255, .15); opacity: 0; transform: scale(.7); transition: opacity .3s, transform .3s; }
.lgs-role.visible { opacity: 1; transform: none; }
.lgs-role.loup { background: rgba(160, 30, 36, .8); border-color: rgba(255, 120, 120, .4); }
.lgs-zzz { position: absolute; right: -1cqw; top: -1.4cqw; font-size: 2.2cqw; opacity: 0; transition: opacity .4s; }
.lgs-table.nuit .lgs-j.dort { opacity: .5; filter: saturate(.4); }
.lgs-table.nuit .lgs-j.dort .lgs-zzz { opacity: .9; animation: lgsZzz 2.4s ease-in-out infinite; }
@keyframes lgsZzz { 50% { transform: translate(.4cqw, -.6cqw); } }
.lgs-j.eveille .lgs-av { box-shadow: 0 0 0 .45cqw rgba(242, 207, 122, .9), 0 0 4cqw rgba(242, 207, 122, .6); transform: scale(1.08); }
.lgs-j.mort .lgs-av { filter: grayscale(1) brightness(.55); }
.lgs-j.mort .lgs-av::after { content: "💀"; position: absolute; font-size: 4.4cqw; animation: lgsPop .4s ease both; }
.lgs-j.mort .lgs-nom { text-decoration: line-through; opacity: .7; }
.lgs-j.gagne .lgs-av { box-shadow: 0 0 0 .45cqw rgba(62, 207, 142, .95), 0 0 4cqw rgba(62, 207, 142, .6); }
.lgs-j.gagne .lgs-nom::before { content: "🏆 "; }
.lgs-tient { position: absolute; left: -1.3cqw; bottom: -.9cqw; width: 3.6cqw; height: 3.6cqw; border-radius: 50%; display: grid; place-items: center; font-size: 2cqw;
  background: #1a2240; border: .25cqw solid rgba(242, 207, 122, .8); box-shadow: 0 .3cqw .8cqw rgba(0, 0, 0, .4); opacity: 0; transform: scale(.4); transition: opacity .3s, transform .3s; }
.lgs-tient.visible { opacity: 1; transform: none; }
.lgs-tient.use { filter: grayscale(1); opacity: .45; }
.lgs-effets { display: flex; gap: .3cqw; min-height: 0; }
.lgs-effets span { font-size: 2.1cqw; line-height: 1; padding: .3cqw; border-radius: 1cqw; background: rgba(0, 0, 0, .35); animation: lgsPop .35s ease both; }
.lgs-badge { font-size: max(9px, 1.5cqw); font-weight: 800; padding: .2em .6em; border-radius: 99px; white-space: nowrap; color: #fff; background: rgba(229, 72, 77, .88);
  opacity: 0; transform: scale(.6); transition: opacity .3s, transform .3s; }
.lgs-badge.visible { opacity: 1; transform: none; }
.lgs-badge.or { background: rgba(242, 207, 122, .95); color: #22190a; }
.lgs-badge.bleu { background: rgba(124, 156, 255, .9); color: #0b1124; }
.lgs-bulle { position: absolute; bottom: calc(100% + 1.1cqw); left: 50%; z-index: 8; width: max-content; max-width: 27cqw; padding: .8cqw 1.3cqw; border-radius: 1.6cqw;
  font-size: max(10px, 1.65cqw); font-weight: 700; line-height: 1.3; color: #101528; background: #f2f5fb; text-align: center;
  box-shadow: 0 1cqw 2.4cqw rgba(0, 0, 0, .35); opacity: 0; transform: translateX(-50%) scale(.6); transform-origin: 50% 100%; transition: opacity .3s, transform .3s; pointer-events: none; }
.lgs-bulle::after { content: ""; position: absolute; top: 100%; left: 50%; margin-left: -.9cqw; border: .9cqw solid transparent; border-top-color: #f2f5fb; }
.lgs-bulle.visible { opacity: 1; transform: translateX(-50%) scale(1); }
.lgs-j.bas .lgs-bulle { bottom: auto; top: calc(100% + 1.1cqw); transform-origin: 50% 0; }
.lgs-j.bas .lgs-bulle::after { top: auto; bottom: 100%; border-top-color: transparent; border-bottom-color: #f2f5fb; }
.lgs-j.g .lgs-bulle { left: -3cqw; transform: scale(.6); transform-origin: 7cqw 100%; }
.lgs-j.d .lgs-bulle { left: auto; right: -3cqw; transform: scale(.6); transform-origin: calc(100% - 7cqw) 100%; }
.lgs-j.g .lgs-bulle.visible, .lgs-j.d .lgs-bulle.visible { transform: scale(1); }
.lgs-j.g .lgs-bulle::after { left: 7cqw; }
.lgs-j.d .lgs-bulle::after { left: auto; right: 7cqw; margin: 0 -.9cqw 0 0; }

.lgs-vol { position: absolute; z-index: 9; transform: translate(-50%, -50%); font-size: 3.6cqw; pointer-events: none; filter: drop-shadow(0 .4cqw 1cqw rgba(0, 0, 0, .55)); }
.lgs-onde { position: absolute; z-index: 1; width: 9cqw; height: 9cqw; transform: translate(-50%, -50%); border-radius: 50%; border: .4cqw solid var(--c, #f2cf7a); pointer-events: none; animation: lgsOnde 1s ease-out forwards; }
@keyframes lgsOnde { from { opacity: .9; transform: translate(-50%, -50%) scale(.6); } to { opacity: 0; transform: translate(-50%, -50%) scale(2.4); } }

.lgs-annonce { position: absolute; left: 50%; top: 52%; z-index: 5; max-width: 44%; transform: translate(-50%, -50%) scale(.85); opacity: 0; transition: opacity .35s, transform .35s;
  padding: 1.2cqw 2cqw; border-radius: 1.8cqw; text-align: center; font-size: max(10px, 1.8cqw); font-weight: 800; line-height: 1.35; color: #fff;
  background: rgba(8, 12, 28, .72); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(6px); }
.lgs-annonce.visible { opacity: 1; transform: translate(-50%, -50%); }
.lgs-banniere { position: absolute; left: 50%; top: 50%; z-index: 7; width: 34cqw; transform: translate(-50%, -50%) perspective(80cqw) rotateY(90deg); opacity: 0;
  transition: transform .6s cubic-bezier(.2, .9, .3, 1.2), opacity .3s; border-radius: 2cqw; overflow: hidden; text-align: center;
  background: linear-gradient(170deg, color-mix(in srgb, var(--c, #7c9cff) 55%, #0b1124), #0b1124 75%); border: .3cqw solid color-mix(in srgb, var(--c, #7c9cff) 70%, #fff);
  box-shadow: 0 2cqw 5cqw rgba(0, 0, 0, .55), 0 0 5cqw color-mix(in srgb, var(--c, #7c9cff) 40%, transparent); padding: 2cqw 2cqw 1.8cqw; }
.lgs-banniere.visible { opacity: 1; transform: translate(-50%, -50%) perspective(80cqw) rotateY(0); }
.lgs-banniere.coin { top: auto; bottom: 3.4%; left: auto; right: 2.2%; width: 22cqw; transform: none; padding: 1.1cqw 1.3cqw; border-radius: 1.4cqw; display: flex; align-items: center; gap: 1cqw; text-align: left; }
.lgs-banniere .ico { display: block; font-size: 6cqw; line-height: 1.1; }
.lgs-banniere .ico.img { width: 9cqw; height: 9cqw; margin: 0 auto .6cqw; border-radius: 1.4cqw; background: #0a0f1c center 20% / cover no-repeat; box-shadow: 0 0 0 .25cqw var(--c, #7c9cff); }
.lgs-banniere.coin .ico.img { width: 4cqw; height: 4cqw; margin: 0; border-radius: .8cqw; }
.lgs-img { position: absolute; inset: 0; border-radius: 50%; background: center 18% / cover no-repeat; opacity: 0; transform: scale(.6) rotateY(90deg); transition: opacity .45s, transform .55s cubic-bezier(.3, 1.3, .5, 1); }
.lgs-j.devoile .lgs-img { opacity: 1; transform: none; }
.lgs-j.devoile .lgs-av { box-shadow: 0 0 0 .3cqw rgba(255, 255, 255, .85), 0 .6cqw 1.6cqw rgba(0, 0, 0, .5); }
.lgs-banniere.coin .ico { font-size: 3.4cqw; }
.lgs-banniere .nom { display: block; font-size: max(11px, 2.2cqw); font-weight: 900; color: #fff; margin: .6cqw 0 .4cqw; }
.lgs-banniere.coin .nom { font-size: max(9px, 1.55cqw); margin: 0; }
.lgs-banniere .txt { display: block; font-size: max(9px, 1.5cqw); line-height: 1.35; color: #dfe5f4; }
.lgs-banniere.coin .txt { display: none; }
.lgs-banniere .eti { display: inline-block; margin-bottom: .4cqw; font-size: max(8px, 1.2cqw); font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: color-mix(in srgb, var(--c, #7c9cff) 50%, #fff); }
.lgs-banniere.coin .eti { display: none; }

.lgs-carte { position: absolute; z-index: 3; width: 7.6cqw; height: 10.4cqw; transform: translate(-50%, -50%); perspective: 60cqw; transition: left .8s cubic-bezier(.5, 0, .2, 1), top .8s cubic-bezier(.5, 0, .2, 1); }
.lgs-carte.bouge { z-index: 5; }
.lgs-carte-in { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .6s ease; }
.lgs-carte.face .lgs-carte-in { transform: rotateY(180deg); }
.lgs-carte-dos, .lgs-carte-face { position: absolute; inset: 0; border-radius: 1cqw; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; box-shadow: 0 .7cqw 1.6cqw rgba(0, 0, 0, .45); }
.lgs-carte-dos { background: repeating-linear-gradient(45deg, #2a3a6a 0 .9cqw, #22305a .9cqw 1.8cqw); border: .3cqw solid #7c9cff; display: flex; align-items: center; justify-content: center; font-size: 3.6cqw; }
.lgs-carte-face { transform: rotateY(180deg); background: var(--c); border: .3cqw solid rgba(255, 255, 255, .75); display: flex; flex-direction: column; align-items: center; justify-content: flex-end; }
.lgs-carte-face .emo { position: absolute; top: 16%; font-size: 4cqw; }
.lgs-carte-face .lbl { position: relative; width: 100%; padding: .45cqw .15cqw; font-size: max(7px, 1.12cqw); letter-spacing: -.01em; font-weight: 900; line-height: 1.1; text-align: center; color: #fff; background: rgba(0, 0, 0, .62); overflow-wrap: anywhere; }
.lgs-carte-face .lbl small { display: block; font-size: .85em; color: var(--lgs-or); }
.lgs-carte.bouge .lgs-carte-dos, .lgs-carte.bouge .lgs-carte-face { box-shadow: 0 0 0 .4cqw rgba(242, 207, 122, .9), 0 0 3.6cqw rgba(242, 207, 122, .6); }
.lgs-carte.vue::after { content: "👁️"; position: absolute; top: -2.4cqw; left: 50%; transform: translateX(-50%); font-size: 2.4cqw; z-index: 3; animation: lgsOeil 1s ease-in-out infinite alternate; }
@keyframes lgsOeil { to { transform: translate(-50%, -.6cqw); } }
.lgs-centre-lbl { position: absolute; left: 50%; top: 57.5%; z-index: 1; transform: translateX(-50%); font-size: max(9px, 1.5cqw); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .4); }
.lgs-scene.fige .lgs-carte, .lgs-scene.fige .lgs-carte-in { transition: none; }

.lgs-dc { display: grid; grid-template-columns: 5.5% 23.5% 1fr; background: #0e0e11; color: #dcdde2; font-family: 'gg sans', 'Noto Sans', 'Inter', system-ui, sans-serif; }
.dc-rail { background: #050506; display: flex; flex-direction: column; align-items: center; gap: 1cqw; padding: 1.2cqw 0; border-right: 1px solid #17171b; }
.dc-rail i { width: 3.7cqw; height: 3.7cqw; border-radius: 50%; background: #1b1b20 center / cover no-repeat; display: grid; place-items: center; font-style: normal; font-size: 1.6cqw; color: #dcdde2; font-weight: 800; }
.dc-rail i.actif { border-radius: 1.1cqw; background-color: #5865f2; color: #fff; font-size: 1.35cqw; box-shadow: -1.25cqw 0 0 -.95cqw #fff; }
.dc-rail i.plus { color: #23a55a; }
.dc-rail hr { width: 2.2cqw; border: 0; border-top: 1px solid #26262c; margin: 0; }
.dc-side { background: #09090b; display: flex; flex-direction: column; min-width: 0; overflow: hidden; border-right: 1px solid #17171b; }
.dc-serveur { padding: 1.25cqw 1.3cqw; font-weight: 700; font-size: max(9px, 1.45cqw); color: #fff; border-bottom: 1px solid #17171b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc-salons { flex: 1; padding: .5cqw .7cqw 1cqw 1cqw; overflow: hidden; }
.dc-cat { display: flex; align-items: center; gap: .5cqw; padding: 1.1cqw .2cqw .45cqw; font-size: max(8px, 1.3cqw); font-weight: 600; color: #94969f; white-space: nowrap; }
.dc-cat::after { content: "⌄"; font-size: .9em; margin-top: -.3em; }
.dc-cat.nouveau, .dc-s.nouveau { animation: dcSalon .5s ease both; }
@keyframes dcSalon { from { opacity: 0; transform: translateX(-1.4cqw); } }
.dc-s { position: relative; display: flex; align-items: center; gap: .65cqw; padding: .42cqw .7cqw; margin: .08cqw 0; border-radius: .6cqw; color: #83858f; font-size: max(8px, 1.38cqw); font-weight: 500; white-space: nowrap; overflow: hidden; }
.dc-s .n { overflow: hidden; text-overflow: ellipsis; }
.dc-s.nonlu { color: #fff; font-weight: 600; overflow: visible; }
.dc-s.nonlu::before { content: ""; position: absolute; left: -1cqw; top: 50%; width: .45cqw; height: .8cqw; margin-top: -.4cqw; border-radius: 0 .4cqw .4cqw 0; background: #fff; }
.dc-s.actif { background: #1d1d23; color: #fff; }
.dc-s.sep { color: #c5c6cd; letter-spacing: -.02em; }
.dc-s.flash { animation: dcFlash 1.2s ease 2; }
@keyframes dcFlash { 50% { background: rgba(88, 101, 242, .35); color: #fff; } }
.dc-s .h { position: relative; flex: none; width: 1.55cqw; text-align: center; font-weight: 600; color: #777983; font-size: 1.15em; line-height: 1; }
.dc-s .h.voc { font-size: .95em; filter: grayscale(1) brightness(.85); }
.dc-s.prive .h::after { content: ""; position: absolute; right: -.25cqw; top: -.05cqw; width: .55cqw; height: .45cqw; border-radius: .1cqw; background: #777983; box-shadow: 0 0 0 .12cqw #09090b; }
.dc-s.prive .h::before { content: ""; position: absolute; right: -.14cqw; top: -.42cqw; width: .32cqw; height: .45cqw; border: .1cqw solid #777983; border-bottom: 0; border-radius: .3cqw .3cqw 0 0; z-index: 1; }
.dc-membres { display: flex; flex-direction: column; gap: .3cqw; padding: .1cqw 0 .4cqw 3cqw; }
.dc-membres span { display: flex; align-items: center; gap: .6cqw; font-size: max(7px, 1.2cqw); color: #9d9fa8; animation: dcSalon .4s ease both; }
.dc-membres span::before { content: ""; width: 1.7cqw; height: 1.7cqw; border-radius: 50%; background: var(--c, #5865f2); }

.dc-main { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 0; background: #0e0e11; }
.dc-tete { display: flex; align-items: center; gap: .7cqw; padding: 1.2cqw 1.6cqw; border-bottom: 1px solid #17171b; font-weight: 700; font-size: max(9px, 1.45cqw); color: #fff; white-space: nowrap; }
.dc-tete .h { color: #777983; font-size: 1.2em; font-weight: 500; }
.dc-msgs { flex: 1; min-height: 0; overflow: hidden; padding: 0 1.6cqw; }
.dc-fil { min-height: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 1.5cqw; padding: 1.4cqw 0 1.2cqw; }
.dc-m { display: grid; grid-template-columns: 4cqw 1fr; gap: 1.3cqw; animation: dcMsg .45s ease both; min-width: 0; }
.dc-m.vieux { animation: none; }
.dc-m.suite { margin-top: -.9cqw; }
.dc-m.suite .av { visibility: hidden; height: 0; }
.dc-m.suite .entete { display: none; }
@keyframes dcMsg { from { opacity: 0; transform: translateY(1cqw); } }
.dc-m .av { width: 4cqw; height: 4cqw; border-radius: 50%; background: var(--c, #5865f2) center / cover no-repeat; display: grid; place-items: center; font-size: 1.7cqw; font-weight: 800; color: #fff; }
.dc-m .corps { min-width: 0; }
.dc-m .qui { font-weight: 600; font-size: max(9px, 1.48cqw); color: #fff; }
.dc-m .tag { display: inline-block; margin-left: .55cqw; padding: .08cqw .5cqw; border-radius: .35cqw; background: #5865f2; color: #fff; font-size: max(6px, 1cqw); font-weight: 700; vertical-align: .15cqw; }
.dc-m .heure { margin-left: .7cqw; font-size: max(6px, 1.05cqw); color: #878993; }
.dc-m .txt { font-size: max(9px, 1.45cqw); color: #dcdde2; line-height: 1.45; margin-top: .15cqw; }
.dc-m .txt b, .dc-emb b { color: #fff; font-weight: 700; }
.dc-m code { font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace; font-size: .86em; padding: .05em .4em; border-radius: .4cqw; background: #1b1c2b; border: 1px solid #2c2e45; color: #e3e5ff; }
.dc-m .mention { padding: 0 .3em; border-radius: .3cqw; background: rgba(88, 101, 242, .28); color: #c9cdfb; font-weight: 500; }
.dc-emb { position: relative; margin-top: .5cqw; padding: 1cqw 1.4cqw 1.2cqw 1.5cqw; max-width: 62cqw; border-radius: .5cqw; background: #17171b; border: 1px solid #25252b; border-left: .42cqw solid var(--c, #5865f2); font-size: max(8px, 1.36cqw); line-height: 1.45; color: #d7d8de; overflow: hidden; }
.dc-emb .thumb { float: right; width: 7.5cqw; height: 7.5cqw; margin: 0 0 .8cqw 1.4cqw; border-radius: .5cqw; background: #0e0e11 center / cover no-repeat; }
.dc-emb .t { font-weight: 700; font-size: 1.14em; color: #fff; margin-bottom: .45cqw; }
.dc-emb .ch { display: flex; flex-wrap: wrap; gap: .8cqw 2cqw; margin-top: .8cqw; clear: none; }
.dc-emb .ch > div { flex: 1 1 100%; min-width: 0; }
.dc-emb .ch > div.cote { flex: 1 1 30%; }
.dc-emb .ch strong { display: block; color: #fff; font-weight: 700; margin-bottom: .1cqw; }
.dc-emb .img { display: block; clear: both; width: 100%; max-width: 38cqw; aspect-ratio: 16 / 10; margin-top: 1cqw; border-radius: .5cqw; background: #0e0e11 center 22% / cover no-repeat; }
.dc-emb .pied { clear: both; margin-top: .9cqw; font-size: .86em; color: #9d9fa8; }
.dc-emb .liste { display: block; }
.dc-emb em { font-style: italic; }
.dc-rangee { display: flex; flex-wrap: wrap; gap: .7cqw; margin-top: .65cqw; }
.dc-btn { display: inline-flex; align-items: center; gap: .5cqw; padding: .58cqw 1.15cqw; border-radius: .75cqw; background: #1d1d22; border: 1px solid #2e2e35; color: #e7e8ec; font-size: max(8px, 1.34cqw); font-weight: 600; white-space: nowrap; transition: transform .15s, box-shadow .2s, filter .2s; }
.dc-btn.bleu { background: #5865f2; border-color: transparent; color: #fff; }
.dc-btn.vert { background: #00863a; border-color: transparent; color: #fff; }
.dc-btn.rouge { background: #b3262e; border-color: transparent; color: #fff; }
.dc-btn.lien::after { content: "↗"; font-size: .95em; opacity: .8; }
.dc-btn.off { background: #2a2f6b; border-color: transparent; color: #8f96d6; }
.dc-btn.gris { opacity: .45; }
.dc-btn.clique, .dc-select.clique { transform: scale(.95); box-shadow: 0 0 0 .3cqw rgba(255, 255, 255, .28); filter: brightness(1.15); }
.dc-select { display: flex; justify-content: space-between; align-items: center; gap: 1cqw; margin-top: .65cqw; padding: .82cqw 1.2cqw; max-width: 46cqw; border-radius: .75cqw; background: #101013; border: 1px solid #2a2a31; color: #9a9ca6; font-size: max(8px, 1.36cqw); font-weight: 500; transition: transform .15s, box-shadow .2s; }
.dc-select.choisi { color: #e7e8ec; }
.dc-select span:last-child { opacity: .8; }
.dc-eph { margin-top: .5cqw; font-size: max(6px, 1.02cqw); color: #878993; }
.dc-eph b { color: #7289f5; font-weight: 500; }
.dc-saisie { position: relative; margin: 0 1.6cqw 1.6cqw; padding: 1cqw 1.4cqw; border-radius: .8cqw; background: #17171b; border: 1px solid #25252b; font-size: max(9px, 1.42cqw); color: #dcdde2; min-height: 3.6cqw; }
.dc-saisie.vide .txt { color: #6d6f78; }
.dc-saisie .caret { display: inline-block; width: 1px; height: 1.1em; margin-left: 1px; vertical-align: -.2em; background: #dcdde2; animation: dcCaret 1s steps(1) infinite; }
.dc-saisie.vide .caret { display: none; }
@keyframes dcCaret { 50% { opacity: 0; } }
.dc-suggest { position: absolute; left: 1.6cqw; right: 1.6cqw; bottom: 6.6cqw; padding: .7cqw; border-radius: .8cqw; background: #17171b; border: 1px solid #2a2a31; box-shadow: 0 1cqw 3cqw rgba(0, 0, 0, .6); font-size: max(8px, 1.3cqw); animation: dcMsg .3s ease both; z-index: 3; }
.dc-suggest div { display: flex; align-items: center; gap: 1cqw; padding: .6cqw .9cqw; border-radius: .5cqw; background: #25252c; }
.dc-suggest .ic { width: 2.6cqw; height: 2.6cqw; border-radius: 50%; flex: none; background: #5865f2 center / cover no-repeat; }
.dc-suggest b { color: #fff; }
.dc-suggest small { display: block; color: #9d9fa8; }
.dc-modal { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; background: rgba(0, 0, 0, .72); animation: lgsFondu .3s ease both; }
.dc-modal .boite { width: 42cqw; padding: 2.4cqw; border-radius: 1.2cqw; background: #17171b; border: 1px solid #2a2a31; text-align: center; box-shadow: 0 2cqw 6cqw rgba(0, 0, 0, .6); animation: dcModal .35s cubic-bezier(.3, 1.4, .5, 1) both; }
@keyframes dcModal { from { transform: scale(.85); opacity: 0; } }
.dc-modal .ico { width: 7cqw; height: 7cqw; margin: 0 auto 1cqw; border-radius: 50%; background: #25252c center / cover no-repeat; display: grid; place-items: center; font-size: 3.4cqw; }
.dc-modal .t { font-weight: 700; font-size: max(10px, 1.7cqw); color: #fff; }
.dc-modal .s { margin-top: .5cqw; font-size: max(8px, 1.3cqw); color: #a9abb4; line-height: 1.45; }
.dc-modal ul { margin: 1.4cqw 0; padding: 0; list-style: none; text-align: left; font-size: max(8px, 1.3cqw); color: #d7d8de; }
.dc-modal li { padding: .55cqw 0; border-top: 1px solid #25252b; }
.dc-modal li::before { content: "✓"; margin-right: .9cqw; color: #23a55a; font-weight: 900; }
.dc-modal .champ { margin: 1.2cqw 0 0; padding: .9cqw 1.1cqw; border-radius: .7cqw; background: #101013; border: 1px solid #2a2a31; text-align: left; font-size: max(8px, 1.3cqw); color: #e7e8ec; }
.dc-modal .b { display: inline-block; margin-top: .6cqw; padding: .85cqw 2.2cqw; border-radius: .75cqw; background: #5865f2; color: #fff; font-weight: 600; font-size: max(9px, 1.4cqw); transition: transform .15s, box-shadow .2s; }
.dc-modal .b.rouge { background: #b3262e; }
.dc-modal .b.clique { transform: scale(.94); box-shadow: 0 0 0 .4cqw rgba(255, 255, 255, .3); }
.dc-curseur { position: absolute; left: 60%; top: 60%; width: 2.6cqw; min-width: 16px; z-index: 9; pointer-events: none; opacity: 0; filter: drop-shadow(0 .3cqw .5cqw rgba(0, 0, 0, .6)); transition: left .75s cubic-bezier(.4, 0, .2, 1), top .75s cubic-bezier(.4, 0, .2, 1), opacity .3s; }
.dc-curseur.visible { opacity: 1; }
.dc-curseur.appui { animation: dcClic .35s ease; }
@keyframes dcClic { 50% { transform: scale(.78); } }
.dc-ripple { position: absolute; z-index: 8; width: 5cqw; height: 5cqw; margin: -2.5cqw 0 0 -2.5cqw; border-radius: 50%; border: .3cqw solid #fff; opacity: 0; pointer-events: none; animation: dcRipple .6s ease-out; }
@keyframes dcRipple { from { opacity: .9; transform: scale(.4); } to { opacity: 0; transform: scale(1.6); } }

.lgs-web { display: flex; flex-direction: column; color: #eef2fa; font-family: 'Inter', system-ui, sans-serif;
  background: radial-gradient(90% 60% at 50% 0%, #17224a, transparent 70%), linear-gradient(180deg, #080d1d, #0c1430 55%, #121d3e); }
.web-barre { flex: none; display: flex; align-items: center; gap: .7cqw; padding: .9cqw 1.4cqw; background: #05080f; border-bottom: 1px solid rgba(165, 185, 225, .12); }
.web-barre i { width: 1.1cqw; height: 1.1cqw; border-radius: 50%; background: #2a3350; }
.web-url { flex: 1; margin-left: 1cqw; padding: .45cqw 1.2cqw; border-radius: 99px; background: rgba(255, 255, 255, .06); color: #aab5cc; font-size: max(7px, 1.15cqw); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.web-url::before { content: "🔒 "; font-size: .85em; }
.web-corps { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.web-fil { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.5cqw; align-content: start; padding: 2cqw 2.4cqw 9cqw; }
.web-fil > * { grid-column: span var(--l, 12); min-width: 0; animation: webCarte .45s ease both; }
.web-fil.fixe > * { animation: none; }
@keyframes webCarte { from { opacity: 0; transform: translateY(1.2cqw); } }
.w-titre { font-family: 'Bricolage Grotesque', 'Nunito', sans-serif; font-weight: 800; }
.w-h1 { text-align: center; padding: .6cqw 0 0; }
.w-h1 b { display: block; font-family: 'Bricolage Grotesque', 'Nunito', sans-serif; font-size: max(13px, 3.3cqw); font-weight: 800; color: #fff; letter-spacing: -.02em; }
.w-h1 span { display: block; margin-top: .5cqw; font-size: max(8px, 1.35cqw); color: #aab5cc; }
.w-stats { display: flex; justify-content: center; gap: 1cqw; flex-wrap: wrap; }
.w-stats span { display: inline-flex; align-items: center; gap: .7cqw; padding: .7cqw 1.4cqw; border-radius: 1cqw; background: rgba(13, 20, 40, .7); border: 1px solid rgba(165, 185, 225, .14); font-size: max(8px, 1.25cqw); font-weight: 600; color: #c9d2e6; }
.w-stats span::before { content: ""; width: .8cqw; height: .8cqw; border-radius: 50%; background: var(--c, #3ecf8e); }
.w-stats b { color: #fff; font-size: 1.15em; }
.w-sous { font-size: max(7px, 1.1cqw); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #aab5cc; padding-left: 1.6cqw; margin-bottom: -.6cqw; }
.w-entete { display: flex; align-items: center; justify-content: space-between; gap: 2cqw; padding: 1.8cqw 2.2cqw; border-radius: 2cqw; background: rgba(13, 20, 40, .72); border: 1px solid rgba(165, 185, 225, .14); }
.w-entete h4 { margin: 0; font-family: 'Bricolage Grotesque', 'Nunito', sans-serif; font-size: max(12px, 2.5cqw); font-weight: 800; color: #fff; letter-spacing: -.02em; }
.w-entete p { margin: .5cqw 0 0; display: flex; align-items: center; gap: .7cqw; font-size: max(7px, 1.2cqw); color: #aab5cc; }
.w-entete p::before { content: ""; width: .8cqw; height: .8cqw; border-radius: 50%; background: #3ecf8e; }
.w-compteurs { display: flex; gap: .9cqw; }
.w-compteurs div { min-width: 7cqw; padding: .9cqw 1.2cqw; border-radius: 1.2cqw; background: rgba(255, 255, 255, .06); text-align: center; }
.w-compteurs b { display: block; font-family: 'Bricolage Grotesque', 'Nunito', sans-serif; font-size: max(11px, 2cqw); font-weight: 800; color: #fff; }
.w-compteurs b.maj { animation: webPop .5s ease; }
@keyframes webPop { 40% { transform: scale(1.35); color: #f2cf7a; } }
.w-compteurs small { font-size: max(6px, .95cqw); font-weight: 800; letter-spacing: .08em; color: #aab5cc; text-transform: uppercase; }
.w-section { display: flex; align-items: baseline; gap: 1cqw; margin-bottom: -.5cqw; }
.w-section i { flex: none; width: 2.6cqw; height: 2.6cqw; border-radius: 50%; display: grid; place-items: center; align-self: center; background: #7c9cff; color: #0a1024; font-style: normal; font-weight: 800; font-size: max(8px, 1.25cqw); }
.w-section b { font-family: 'Bricolage Grotesque', 'Nunito', sans-serif; font-size: max(10px, 1.7cqw); font-weight: 800; color: #fff; }
.w-section small { font-size: max(7px, 1.15cqw); color: #aab5cc; }
.w-carte { padding: 1.5cqw 1.7cqw; border-radius: 1.8cqw; background: rgba(13, 20, 40, .72); border: 1px solid rgba(165, 185, 225, .14); }
.w-ct { display: flex; align-items: center; gap: .9cqw; margin-bottom: .9cqw; font-family: 'Bricolage Grotesque', 'Nunito', sans-serif; font-weight: 800; font-size: max(9px, 1.5cqw); color: #fff; }
.w-ct i { width: 3cqw; height: 3cqw; border-radius: .9cqw; display: grid; place-items: center; background: rgba(124, 156, 255, .16); font-style: normal; font-size: 1.4cqw; }
.w-ct small { font-family: 'Inter', sans-serif; font-weight: 600; font-size: .78em; color: #717d97; }
.w-vide { padding: 1.6cqw 0; text-align: center; font-size: max(7px, 1.2cqw); color: #aab5cc; }
.w-joueurs { display: flex; flex-direction: column; gap: .6cqw; }
.w-joueurs span { display: flex; align-items: center; gap: .8cqw; font-size: max(8px, 1.25cqw); font-weight: 600; animation: webCarte .4s ease both; }
.w-joueurs span::before { content: ""; width: 2.3cqw; height: 2.3cqw; border-radius: 50%; background: var(--c, #5865f2); }
.w-ligne { display: flex; align-items: center; justify-content: space-between; gap: 1.2cqw; padding: .7cqw 0; border-radius: .8cqw; transition: background-color .2s; }
.w-ligne + .w-ligne.trait { border-top: 1px solid rgba(165, 185, 225, .1); }
.w-ligne .lbl { min-width: 0; font-size: max(8px, 1.3cqw); font-weight: 700; color: #fff; }
.w-ligne .lbl small { display: block; margin-top: .25cqw; font-size: .84em; font-weight: 400; line-height: 1.4; color: #aab5cc; }
.w-ligne.clique { background: rgba(124, 156, 255, .16); }
.w-pas { flex: none; display: inline-flex; align-items: center; gap: 1.2cqw; padding: .5cqw 1.1cqw; border-radius: .9cqw; background: rgba(5, 9, 20, .7); border: 1px solid rgba(165, 185, 225, .14); font-weight: 800; font-size: max(8px, 1.3cqw); color: #fff; }
.w-pas u { text-decoration: none; color: #aab5cc; font-weight: 600; }
.w-pas u.plus { color: #3ecf8e; }
.w-pas u.clique { color: #fff; transform: scale(1.4); }
.w-pas b.maj { animation: webPop .5s ease; }
.w-int { flex: none; position: relative; width: 4cqw; height: 2.2cqw; border-radius: 99px; background: #39425c; transition: background-color .3s; }
.w-int::after { content: ""; position: absolute; left: .3cqw; top: .3cqw; width: 1.6cqw; height: 1.6cqw; border-radius: 50%; background: #c9d2e6; transition: transform .3s, background-color .3s; }
.w-int.on { background: #7c9cff; }
.w-int.on::after { transform: translateX(1.8cqw); background: #fff; }
.w-sel { flex: none; padding: .6cqw 1.2cqw; border-radius: .9cqw; background: rgba(5, 9, 20, .7); border: 1px solid rgba(165, 185, 225, .14); font-size: max(8px, 1.2cqw); font-weight: 700; color: #fff; white-space: nowrap; }
.w-sel::after { content: " ⌄"; color: #aab5cc; }
.w-chips { display: flex; flex-wrap: wrap; gap: .6cqw; margin-top: .6cqw; }
.w-chips span { padding: .4cqw 1cqw; border-radius: 99px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(165, 185, 225, .14); font-size: max(7px, 1.1cqw); font-weight: 700; color: #c9d2e6; }
.w-cat { display: flex; align-items: center; gap: 1cqw; margin: 1.2cqw 0 .8cqw; font-size: max(7px, 1.15cqw); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #aab5cc; }
.w-cat::after { content: ""; flex: 1; height: 1px; background: rgba(165, 185, 225, .14); }
.w-cherche { display: flex; gap: .8cqw; align-items: center; }
.w-cherche span { flex: 1; padding: .8cqw 1.2cqw; border-radius: 1cqw; background: rgba(5, 9, 20, .6); border: 1px solid rgba(165, 185, 225, .14); font-size: max(7px, 1.2cqw); color: #717d97; }
.w-roles { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: .8cqw; }
.w-role { display: flex; align-items: center; gap: .9cqw; padding: .8cqw; border-radius: 1.2cqw; background: rgba(255, 255, 255, .035); border: 1px solid transparent; min-width: 0; transition: border-color .3s, background-color .3s; }
.w-role.pris { border-color: rgba(124, 156, 255, .5); background: rgba(124, 156, 255, .1); }
.w-role img, .w-role .im { flex: none; width: 4.4cqw; height: 4.4cqw; border-radius: 1cqw; object-fit: cover; background: #1a2440 center / cover no-repeat; }
.w-role .nm { flex: 1; min-width: 0; font-family: 'Bricolage Grotesque', 'Nunito', sans-serif; font-weight: 800; font-size: max(8px, 1.2cqw); line-height: 1.2; color: #fff; }
.w-role .nm small { display: block; margin-top: .2cqw; font-family: 'Inter', sans-serif; font-weight: 400; font-size: .85em; color: #aab5cc; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w-role .w-pas { gap: .7cqw; padding: .4cqw .7cqw; }
.w-partie { border-radius: 5cqw; background: rgba(13, 20, 40, .72); border: 1px solid rgba(165, 185, 225, .14); overflow: hidden; transition: border-radius .3s, background-color .3s; }
.w-partie.plus { border-color: rgba(242, 207, 122, .45); }
.w-partie.ouverte { border-radius: 2.4cqw; background: rgba(20, 29, 56, .85); }
.w-partie .rg { display: flex; align-items: center; gap: 1.8cqw; padding: .8cqw 2.2cqw .8cqw .8cqw; }
.w-partie .pav { position: relative; flex: none; width: 6.4cqw; height: 6.4cqw; border-radius: 50%; background: #1a2440 center / cover no-repeat; box-shadow: 0 0 0 .2cqw #f2cf7a; }
.w-partie .pav b { position: absolute; top: -.2cqw; left: -.2cqw; min-width: 2.6cqw; padding: .1cqw .4cqw; border-radius: 1.3cqw; background: #eef2fa; color: #0a1024; font-size: max(6px, .95cqw); font-weight: 900; text-align: center; border: .18cqw solid #0a0f1c; }
.w-partie .ctr { flex: 1; min-width: 0; }
.w-partie .pn { display: flex; align-items: center; gap: .8cqw; flex-wrap: wrap; font-weight: 900; font-size: max(9px, 1.5cqw); color: #fff; margin-bottom: .7cqw; }
.w-partie .pn em { font-style: normal; padding: .15cqw .7cqw; border-radius: .5cqw; font-size: .62em; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; background: rgba(255, 255, 255, .08); color: #eef2fa; }
.w-partie .pn em.or { background: #f2cf7a; color: #22190a; }
.w-partie .pr { display: flex; gap: .6cqw; }
.w-partie .pr i { width: 2.7cqw; height: 2.7cqw; border-radius: 50%; background: #163a24 center / cover no-repeat; border: .18cqw solid #2f8f55; }
.w-partie .pr i.loups { border-color: #9b2a31; }
.w-partie .pc { flex: none; display: flex; align-items: center; gap: .7cqw; padding: .6cqw 1.3cqw; border-radius: 2cqw; background: rgba(255, 255, 255, .07); font-weight: 900; font-size: max(8px, 1.35cqw); color: #fff; }
.w-partie .pc::before { content: ""; width: .8cqw; height: .8cqw; border-radius: 50%; background: var(--c, #3ecf8e); }
.w-partie .pd { display: none; padding: 0 2.4cqw 1.6cqw 9cqw; }
.w-partie.ouverte .pd { display: block; animation: webCarte .35s ease both; }
.w-partie .pm { display: flex; flex-wrap: wrap; gap: .6cqw; margin-bottom: 1cqw; }
.w-partie .pm span { padding: .3cqw .9cqw; border-radius: .7cqw; background: rgba(255, 255, 255, .07); font-size: max(7px, 1.05cqw); font-weight: 700; color: #aab5cc; }
.w-btns { display: flex; flex-wrap: wrap; gap: .8cqw; align-items: center; }
.w-btn { display: inline-flex; align-items: center; gap: .5cqw; padding: .8cqw 1.5cqw; border-radius: 1.1cqw; background: rgba(255, 255, 255, .07); border: 1px solid rgba(165, 185, 225, .14); color: #fff; font-family: 'Bricolage Grotesque', 'Nunito', sans-serif; font-weight: 800; font-size: max(8px, 1.25cqw); white-space: nowrap; transition: transform .15s, box-shadow .2s; }
.w-btn.lune { background: #eef2fa; color: #0a1024; border-color: transparent; }
.w-btn.or { background: #f2cf7a; color: #22190a; border-color: transparent; }
.w-btn.vert { background: #3ecf8e; color: #04140c; border-color: transparent; }
.w-btn.accent { background: #7c9cff; color: #0a1024; border-color: transparent; }
.w-btn.clique, .w-partie.clique { transform: scale(.97); box-shadow: 0 0 0 .35cqw rgba(255, 255, 255, .3); }
.w-barre { position: absolute; left: 50%; bottom: 1.6cqw; transform: translateX(-50%); z-index: 3; display: flex; align-items: center; gap: 1cqw; padding: .8cqw .9cqw .8cqw 1.8cqw; border-radius: 1.6cqw; background: rgba(8, 13, 28, .92); border: 1px solid rgba(165, 185, 225, .18); box-shadow: 0 1cqw 3cqw rgba(0, 0, 0, .5); font-size: max(7px, 1.2cqw); font-weight: 600; color: #c9d2e6; white-space: nowrap; animation: webCarte .45s ease both; }
.w-toast { position: absolute; left: 50%; top: 6cqw; transform: translateX(-50%); z-index: 4; padding: .9cqw 1.8cqw; border-radius: 1.2cqw; background: #3ecf8e; color: #04140c; font-weight: 800; font-size: max(8px, 1.3cqw); white-space: nowrap; box-shadow: 0 1cqw 3cqw rgba(0, 0, 0, .45); animation: webCarte .45s ease both; }

.lgs-plan { background: radial-gradient(120% 90% at 50% 40%, #1c2a22, #0d1512 70%); transition: background-color .6s; }
.lgs-plan::before { content: ""; position: absolute; inset: 0; opacity: .5; background-image: radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1.4px); background-size: 3.2cqw 3.2cqw; }
.lgs-plan::after { content: ""; position: absolute; inset: 0; pointer-events: none; transition: background-color .7s; }
.lgs-plan.nuit::after { background: rgba(8, 14, 40, .38); }
.lgs-plan.jour::after, .lgs-plan.vote::after, .lgs-plan.fin::after, .lgs-plan.debut::after { background: rgba(242, 207, 122, .06); }
.lgs-plan.statique::after { background: none; }
.pl-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pl-svg path { fill: none; stroke-linecap: round; }
.pl-bord { stroke: #0a100d; stroke-width: 4.6; }
.pl-chemin { stroke: #6b5a3c; stroke-width: 3; transition: stroke .3s; }
.pl-chemin.actif { stroke: #f2cf7a; }
.pl-vent { stroke: #e5484d; stroke-width: .7; stroke-dasharray: 1.6 1.6; opacity: .75; transition: opacity .3s, stroke-width .3s; }
.pl-vent.actif { opacity: 1; stroke-width: 1.2; animation: plVent 1s linear infinite; }
@keyframes plVent { to { stroke-dashoffset: -6.4; } }
.pl-vent-ico { position: absolute; z-index: 2; transform: translate(-50%, -50%); width: 3.2cqw; height: 3.2cqw; border-radius: 50%; display: grid; place-items: center; font-size: 1.7cqw; background: #2a1012; border: .18cqw solid #e5484d; }
.pl-salle { position: absolute; z-index: 3; transform: translate(-50%, -50%); min-width: 13cqw; padding: .7cqw 1.1cqw .6cqw; border-radius: 1.3cqw; text-align: center; background: linear-gradient(180deg, #2b3a31, #1b2620); border: .2cqw solid #4a5f52; box-shadow: 0 .6cqw 1.6cqw rgba(0, 0, 0, .5); transition: opacity .4s, border-color .3s, box-shadow .3s, filter .4s; }
.pl-salle.moyeu { border-color: #f2cf7a; background: linear-gradient(180deg, #3a3524, #24211a); }
.pl-salle .e { display: block; font-size: 2.5cqw; line-height: 1.1; }
.pl-salle .n { display: block; font-family: var(--titre, 'Nunito', sans-serif); font-weight: 900; font-size: max(8px, 1.35cqw); color: #fff; white-space: nowrap; }
.pl-salle .m { position: absolute; left: 50%; top: -1.7cqw; transform: translateX(-50%); display: flex; gap: .3cqw; }
.pl-salle .m i { width: 2.7cqw; height: 2.7cqw; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 1.4cqw; background: #0d1512; border: .16cqw solid #4a5f52; }
.pl-salle.flash { border-color: #fff; box-shadow: 0 0 0 .5cqw rgba(255, 255, 255, .25), 0 0 3cqw rgba(255, 255, 255, .35); }
.pl-salle.sabote { border-color: #e5484d; animation: plSabote .9s ease-in-out infinite; }
@keyframes plSabote { 50% { box-shadow: 0 0 0 .7cqw rgba(229, 72, 77, .35), 0 0 3cqw rgba(229, 72, 77, .5); } }
.lgs-plan.brouillard .pl-salle:not(.ici) { opacity: .35; filter: grayscale(.8); }
.lgs-plan.brouillard .pl-salle.ici { border-color: #7c9cff; box-shadow: 0 0 0 .5cqw rgba(124, 156, 255, .25), 0 0 4cqw rgba(124, 156, 255, .45); }
.lgs-plan.brouillard .pl-svg { opacity: .35; }
.pl-j { position: absolute; z-index: 4; width: 9cqw; margin-left: -4.5cqw; transform: translateY(-2.2cqw); text-align: center; transition: left .9s cubic-bezier(.5, 0, .2, 1), top .9s cubic-bezier(.5, 0, .2, 1), opacity .4s; }
.lgs-scene.fige .pl-j { transition: none; }
.pl-j .lgs-av { width: 4.4cqw; height: 4.4cqw; font-size: 2cqw; }
.pl-j .lgs-nom { font-size: max(7px, 1.05cqw); margin-top: .2cqw; }
.pl-j .lgs-role { font-size: max(6px, .95cqw); }
.pl-j.moi .lgs-av { box-shadow: 0 0 0 .3cqw #f2cf7a, 0 .5cqw 1.4cqw rgba(0, 0, 0, .5); }
.pl-j.mort .lgs-av { filter: grayscale(1) brightness(.55); transform: rotate(90deg); }
.pl-j.mort .lgs-nom { text-decoration: line-through; opacity: .6; }
.pl-j.fantome { opacity: .5; }
.pl-j.fantome .lgs-av { animation: plFlotte 2.4s ease-in-out infinite; }
@keyframes plFlotte { 50% { transform: translateY(-.7cqw); } }
.pl-j.cache { opacity: 0; }
.pl-ico { position: absolute; right: -1.3cqw; top: -1.3cqw; z-index: 3; width: 2.8cqw; height: 2.8cqw; border-radius: 50%; display: grid; place-items: center; font-size: 1.5cqw; background: #0a0f1c; border: .16cqw solid rgba(255, 255, 255, .35); opacity: 0; transform: scale(.4); transition: opacity .3s, transform .35s cubic-bezier(.3, 1.5, .5, 1); }
.pl-j.mort .pl-ico { transform: rotate(-90deg); }
.pl-ico.visible { opacity: 1; transform: none; }
.pl-j.mort .pl-ico.visible { transform: rotate(-90deg); }
.pl-chrono { position: absolute; right: 2.2%; top: 3.4%; z-index: 6; padding: .4cqw 1.2cqw; border-radius: 99px; background: rgba(8, 12, 24, .78); border: 1px solid rgba(255, 255, 255, .16); font-weight: 900; font-size: max(8px, 1.3cqw); color: #fff; opacity: 0; transition: opacity .3s; }
.pl-chrono.visible { opacity: 1; }
.pl-barre { position: absolute; left: 50%; top: 3.4%; z-index: 6; transform: translateX(-50%); display: flex; align-items: center; gap: .9cqw; padding: .4cqw 1.2cqw; border-radius: 99px; background: rgba(8, 12, 24, .78); border: 1px solid rgba(255, 255, 255, .16); font-weight: 800; font-size: max(7px, 1.15cqw); color: #dfe7f5; white-space: nowrap; opacity: 0; transition: opacity .3s; }
.pl-barre.visible { opacity: 1; }
.pl-barre i { width: 14cqw; height: .9cqw; border-radius: 99px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.pl-barre b { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, #3ecf8e, #9be36f); transition: width .8s ease; }
.pl-barre em { font-style: normal; color: #9be36f; min-width: 3.4cqw; text-align: right; }
.pl-alerte { position: absolute; inset: 0; z-index: 7; display: grid; place-items: center; font-size: 12cqw; background: rgba(229, 72, 77, .28); opacity: 0; pointer-events: none; }
.pl-alerte.visible { animation: plAlerte 1.5s ease both; }
@keyframes plAlerte { 0% { opacity: 0; } 15%, 45% { opacity: 1; } 30% { opacity: .5; } 100% { opacity: 0; } }
.lgs-plan .lgs-annonce { top: auto; bottom: 3%; transform: translateX(-50%) scale(.85); }
.lgs-plan .lgs-annonce.visible { transform: translateX(-50%); }
.dc-emb .gros, .dc-m .gros { display: block; margin: .5cqw 0; font-size: 1.7em; font-weight: 800; color: #fff; letter-spacing: .04em; }

.tun-regles { display: flex; flex-direction: column; gap: 14px; font-size: .92rem; line-height: 1.6; color: #d7deec; }
.tun-regles h3 { margin: 6px 0 2px; font-size: 1rem; font-weight: 900; color: #fff; }
.tun-regles p { margin: 0; }
.tun-regles b { color: #fff; }
.tun-bloc { padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .035); border: 1px solid rgba(165, 185, 225, .12); }
.tun-bloc.cle { background: rgba(124, 156, 255, .08); border-color: rgba(124, 156, 255, .35); }
.tun-etapes { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.tun-etape { padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .035); border: 1px solid rgba(165, 185, 225, .12); }
.tun-etape .n { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin-right: 6px; border-radius: 50%; background: #7c9cff; color: #0a0f1c; font-weight: 900; font-size: .8rem; }
.tun-etape b { font-size: .95rem; }
.tun-etape p { margin-top: 5px; font-size: .84rem; color: #aab5cc; line-height: 1.5; }
.tun-ordre { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.tun-ordre span { padding: 4px 10px; border-radius: 99px; font-size: .82rem; font-weight: 700; background: rgba(255, 255, 255, .05); border: 1px solid rgba(165, 185, 225, .15); }
.tun-ordre i { font-style: normal; color: #717d97; }
.tun-victoires { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.tun-victoire { padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(165, 185, 225, .12); background: rgba(255, 255, 255, .03); }
.tun-victoire b { display: block; margin-bottom: 4px; }
.tun-victoire.village { border-color: rgba(62, 207, 142, .35); }
.tun-victoire.village b { color: #5fe0a6; }
.tun-victoire.loups { border-color: rgba(229, 72, 77, .4); }
.tun-victoire.loups b { color: #ff6b6f; }
.tun-victoire.tanneur { border-color: rgba(242, 207, 122, .4); }
.tun-victoire.tanneur b { color: #f2cf7a; }
.tun-liste { margin: 0; padding-left: 1.2rem; }
.tun-liste li { margin: 4px 0; }
.tun-lien { display: inline-flex; align-items: center; gap: 6px; padding: .5rem 1rem; border-radius: 10px; border: 0; background: #7c9cff; color: #0a0f1c; font: inherit; font-weight: 900; cursor: pointer; }

@media (max-width: 640px) {
  .lgs-scene { aspect-ratio: 1 / 1; }
  .lgs.cartes .lgs-scene { aspect-ratio: 1 / 1; }
  .lgs.cartes .lgs-carte { width: 10cqw; height: 14cqw; }
  .lgs.cartes .lgs-j { width: 20cqw; }
  .lgs-carte-face .emo { font-size: 5cqw; }
  .lgs-carte-face .lbl { font-size: 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; overflow-wrap: normal; }
  .lgs-av { width: 9cqw; height: 9cqw; font-size: 4cqw; }
  .lgs-scene.lgs-dc, .lgs-scene.lgs-web { aspect-ratio: 3 / 4; }
  .lgs-dc { grid-template-columns: 33% 1fr; }
  .lgs-dc .dc-emb, .lgs-dc .dc-select { max-width: none; }
  .lgs-dc .dc-emb .img { max-width: none; }
  .lgs-dc .dc-msgs { padding: 0 2cqw; }
  .lgs-dc .dc-saisie { margin: 0 2cqw 2cqw; }
  .lgs-dc .dc-suggest { left: 2cqw; right: 2cqw; bottom: 13cqw; }
  .lgs-dc .dc-modal .boite { width: 78cqw; padding: 4cqw; }
  .dc-rail { display: none; }
  .lgs-dc .dc-m { grid-template-columns: 6cqw 1fr; gap: 1.6cqw; }
  .lgs-dc .dc-m .av { width: 6cqw; height: 6cqw; }
  .web-fil > * { grid-column: span 12 !important; }
  .w-roles { --cols: 1 !important; }
  .w-role img, .w-role .im { width: 8cqw; height: 8cqw; }
  .w-int { width: 7cqw; height: 3.8cqw; }
  .w-int::after { width: 3cqw; height: 3cqw; left: .4cqw; top: .4cqw; }
  .w-int.on::after { transform: translateX(3.2cqw); }
  .w-partie .pd { padding-left: 3cqw; }
  .lgs-nav button.lgs-pas { padding: .55rem .8rem; }
  .lgs-nav .lgs-pas span { display: none; }
  .lgs-legende { padding: 12px 14px 12px 16px; }
  .lgs-banniere { width: 52cqw; }
  .lgs-banniere.coin { width: 34cqw; }
}

@media (prefers-reduced-motion: reduce) {
  .lgs *, .lgs *::before, .lgs *::after { animation-duration: .01s !important; animation-iteration-count: 1 !important; transition-duration: .01s !important; }
}
