@font-face { font-family: "Cinzel Deco"; src: url(fonts/cinzel-decorative-bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Cinzel"; src: url(fonts/cinzel-bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url(fonts/cormorant-medium.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url(fonts/cormorant-bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url(fonts/cormorant-italic.woff2) format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }

:root {
  --ground: #110c16; --panel: #1a1322; --panel-2: #221830; --line: #4b3d5e;
  --gold: #d9b45a; --gold-dim: #a8842e; --parch: #f1e6cc; --muted: #b9aac9; --alert: #f08a7e;
  --c0: #d8453c; --c1: #a468dc; --c2: #ee8a2e; --c3: #41b57c; --c4: #4f95dc;
  --serif: "Cormorant", Georgia, "Times New Roman", serif;
  --head: "Cinzel", Georgia, serif; --deco: "Cinzel Deco", "Cinzel", Georgia, serif;
  --num: Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; color: var(--parch); font: 500 1.2rem/1.5 var(--serif);
  background: radial-gradient(120% 60% at 50% -5%, #3a2150 0%, var(--ground) 62%) fixed, var(--ground);
  padding-bottom: env(safe-area-inset-bottom); overflow-x: hidden;
}
.defs { position: absolute; }
.wrap { position: relative; z-index: 2; width: min(1120px, 100% - 2rem); margin-inline: auto; }
h1, h2, h3 { margin: 0; font-weight: 700; }
a { color: var(--gold); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ================= ambiance : braises et brume ================= */
#embers { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.fog { position: fixed; left: -30%; width: 160%; height: 55vh; z-index: 1; pointer-events: none; opacity: .5; filter: blur(30px); will-change: transform; }
.fog.f1 { bottom: -12vh; background: radial-gradient(40% 50% at 30% 60%, #5a3a7a55, transparent 70%), radial-gradient(35% 45% at 75% 50%, #3d2a5a66, transparent 70%); animation: drift 38s ease-in-out infinite alternate; }
.fog.f2 { bottom: 12vh; opacity: .35; background: radial-gradient(35% 40% at 60% 50%, #6b4a8a44, transparent 70%), radial-gradient(30% 40% at 15% 55%, #4a2f6a55, transparent 70%); animation: drift 52s ease-in-out -20s infinite alternate-reverse; }
@keyframes drift { from { transform: translate3d(-8%, 0, 0); } to { transform: translate3d(8%, -3%, 0); } }

/* ================= intro : minuit sonne ================= */
.intro { position: fixed; inset: 0; z-index: 100; display: grid; place-content: center; justify-items: center; gap: 1.4rem; background: radial-gradient(80% 70% at 50% 40%, #2c1a40, #09060d 70%); animation: introOut .9s ease 3.4s forwards; }
.intro[hidden], .intro.gone { display: none; }
.intro-clock { position: relative; width: 190px; height: 190px; animation: clockIn 1s var(--ease) both; }
.intro-clock svg { position: relative; z-index: 1; display: block; overflow: visible; }
.ic-ring { fill: none; stroke: var(--gold); stroke-width: 5; }
.ic-face { fill: #17101f; stroke: var(--gold-dim); stroke-width: 1.5; }
.ic-ticks line { stroke: var(--parch); stroke-linecap: round; }
.ic-h, .ic-m { stroke-linecap: round; transform-origin: 100px 100px; }
.ic-h { stroke: var(--parch); stroke-width: 7; transform: rotate(-12deg); animation: hourSet 2.2s cubic-bezier(.6, 0, .2, 1) .5s forwards; }
.ic-m { stroke: var(--gold); stroke-width: 4.5; transform: rotate(-70deg); animation: minSet 2.2s cubic-bezier(.6, 0, .2, 1) .5s forwards; }
.ic-pin { fill: var(--gold); }
@keyframes hourSet { to { transform: rotate(0deg); } }
@keyframes minSet { to { transform: rotate(0deg); } }
.wave { position: absolute; inset: 0; border-radius: 50%; border: 3px solid var(--gold); opacity: 0; animation: gong 2s ease-out infinite; animation-delay: 2.7s; }
.wave.w2 { animation-delay: 3s; } .wave.w3 { animation-delay: 3.3s; }
@keyframes gong { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(2.6); opacity: 0; } }
@keyframes clockIn { from { opacity: 0; transform: scale(.6) rotate(-20deg); } to { opacity: 1; transform: none; } }
.intro-text { margin: 0; max-width: 20rem; padding: 0 1rem; font: 700 clamp(.95rem, 4.4vw, 1.1rem)/1.35 var(--head); letter-spacing: .06em; text-wrap: balance; color: var(--gold); text-align: center; animation: fadeUp .9s var(--ease) 1.1s both; }
.intro-skip { background: none; border: 1.5px solid var(--gold-dim); color: var(--parch); border-radius: 999px; padding: .4rem 1.4rem; font: 500 1.05rem var(--serif); cursor: pointer; animation: fadeUp .6s var(--ease) 1.6s both; }
@keyframes introOut { to { opacity: 0; visibility: hidden; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ================= en-tête ================= */
.hero { position: relative; text-align: center; padding: 2.6rem 0 1.2rem; }
.hero > * { position: relative; z-index: 1; }
.hero .manoir { margin: 0 0 .4rem; font-style: italic; color: var(--muted); font-size: 1.15rem; }
.title { font: 700 clamp(2.2rem, 9vw, 4.6rem)/1.05 var(--deco); color: var(--gold); word-spacing: .28em; letter-spacing: .02em; text-wrap: balance; animation: glow 4.5s ease-in-out infinite; }
.title .l { display: inline-block; opacity: 0; transform: translateY(.7em) rotate(7deg) scale(.8); animation: letter .8s cubic-bezier(.2, .9, .3, 1.25) forwards; animation-delay: calc(var(--i) * 60ms + var(--t0, 0ms)); }
.title .sp { display: inline-block; width: .1em; }
@keyframes letter { to { opacity: 1; transform: none; } }
@keyframes glow { 0%, 100% { text-shadow: 0 0 14px #d9b45a44, 0 2px 0 #00000055; } 50% { text-shadow: 0 0 30px #d9b45aaa, 0 2px 0 #00000055; } }
.hero .question { margin: .9rem 0 0; font: 700 clamp(1.05rem, 3.6vw, 1.5rem)/1.3 var(--head); color: var(--alert); letter-spacing: .03em; text-wrap: balance; animation: fadeUp .9s var(--ease) var(--t1, 1.6s) both; }
.hero .intro-p { max-width: 36rem; margin: 1rem auto 0; animation: fadeUp .9s var(--ease) calc(var(--t1, 1.6s) + .2s) both; }

.moon { position: absolute !important; z-index: 0 !important; top: .8rem; left: 2%; width: clamp(56px, 12vw, 92px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff8dc, #e9d79b 55%, #b9a468); box-shadow: 0 0 40px 8px #f3e7bd44; animation: moonPulse 6s ease-in-out infinite, fadeUp 1.4s var(--ease) both; }
.moon::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 62% 30%, #00000022 0 9%, transparent 10%), radial-gradient(circle at 30% 65%, #00000018 0 12%, transparent 13%), radial-gradient(circle at 70% 70%, #0000001c 0 7%, transparent 8%); }
@keyframes moonPulse { 0%, 100% { box-shadow: 0 0 32px 6px #f3e7bd33; } 50% { box-shadow: 0 0 60px 16px #f3e7bd66; } }

.sky { position: absolute !important; z-index: 0 !important; inset: 0 -3rem; overflow: hidden; pointer-events: none; }
.bat { position: absolute; top: 0; left: 0; width: var(--s, 44px); color: #2c1b45; will-change: transform; animation: fly var(--dur, 18s) linear var(--del, 0s) infinite; }
.bat svg { display: block; width: 100%; height: auto; fill: currentColor; stroke: #a07fd0; stroke-width: .9; animation: flap .26s ease-in-out infinite alternate; transform-origin: 50% 45%; }
@keyframes fly { 0% { transform: translate3d(-12vw, var(--y0, 40px), 0) rotate(-4deg); } 25% { transform: translate3d(22vw, var(--y1, 110px), 0) rotate(5deg); } 50% { transform: translate3d(52vw, var(--y0, 40px), 0) rotate(-6deg); } 75% { transform: translate3d(84vw, var(--y1, 110px), 0) rotate(4deg); } 100% { transform: translate3d(116vw, var(--y0, 40px), 0) rotate(-3deg); } }
@keyframes flap { from { transform: scaleY(1); } to { transform: scaleY(.5); } }

.spider { position: absolute !important; z-index: 0 !important; top: 0; right: 7%; display: flex; flex-direction: column; align-items: center; transform-origin: 50% 0; animation: sway 5s ease-in-out infinite alternate; pointer-events: none; }
.spider .thread { width: 1.5px; height: 0; background: linear-gradient(#ffffff22, #ffffff88); animation: dropIn 2.6s cubic-bezier(.3, 1.4, .5, 1) 3.5s forwards, bob 6s ease-in-out 6.2s infinite; }
.spider svg { fill: #1b1229; stroke: #7a58a0; stroke-width: 1; margin-top: -2px; opacity: 0; animation: fadeIn .1s linear 3.6s forwards; }
.spider .sp-legs path { fill: none; stroke-width: 1.8; stroke-linecap: round; }
.spider .eye { fill: var(--alert); stroke: none; }
@keyframes dropIn { to { height: clamp(70px, 14vw, 120px); } }
@keyframes bob { 0%, 100% { height: clamp(70px, 14vw, 120px); } 50% { height: clamp(88px, 17vw, 146px); } }
@keyframes sway { from { transform: rotate(-5deg); } to { transform: rotate(5deg); } }
@keyframes fadeIn { to { opacity: 1; } }

/* ================= sections ================= */
.block { margin-top: 1.6rem; }
.block > h2 { font: 700 1.35rem/1.2 var(--head); color: var(--gold); letter-spacing: .03em; margin-bottom: .4rem; }
.hint { margin: 0 0 .8rem; color: var(--muted); font-style: italic; }
.filters { display: flex; gap: .5rem; overflow-x: auto; padding: .2rem 1rem .8rem; margin-inline: -1rem; scrollbar-width: thin; }
.chip { flex: none; min-height: 44px; padding: .35rem .95rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--panel); color: var(--parch); font: 500 1.05rem var(--serif); cursor: pointer; display: inline-flex; align-items: center; gap: .5rem; transition: border-color .2s, background .2s, transform .2s var(--ease); }
.chip:hover { transform: translateY(-2px); border-color: var(--gold-dim); }
.chip i { width: .7rem; height: .7rem; border-radius: 50%; background: var(--muted); display: inline-block; }
.chip[aria-pressed="true"] { border-color: var(--gold); background: var(--panel-2); color: #fff; }

/* ================= portraits ================= */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
@media (min-width: 960px) { .grid { grid-template-columns: repeat(5, 1fr); } }
.suspect { position: relative; display: block; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; border-radius: 14px; opacity: 0; transform: translateY(28px) scale(.95); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0ms); }
.suspect.in { opacity: 1; transform: none; }
.suspect[hidden] { display: none; }
.card { position: relative; display: block; height: 100%; border-radius: 14px; border: 3px solid var(--clan, var(--line)); background: var(--panel); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s, background .25s; }
.card img { display: block; width: 100%; height: auto; aspect-ratio: 480 / 343; object-fit: cover; background: #0c0910; transition: transform .6s var(--ease), filter .4s; }
.suspect:hover .card { transform: translateY(-4px) rotate(-.4deg); box-shadow: 0 12px 26px #00000088, 0 0 0 1px var(--clan); }
.suspect:hover .card img { transform: scale(1.06); filter: brightness(1.08); }
.card .txt { display: block; padding: .55rem .7rem .7rem; }
.card .nm { display: block; font: 700 .98rem/1.2 var(--head); color: var(--gold); text-wrap: balance; }
.card .meta { display: block; margin-top: .25rem; font-size: 1.02rem; line-height: 1.25; color: var(--muted); }
.card .num { position: absolute; top: .5rem; left: .5rem; z-index: 2; min-width: 2rem; height: 2rem; padding: 0 .35rem; display: grid; place-items: center; border-radius: 999px; background: var(--clan, var(--line)); color: #fff; font: 700 1rem var(--num); border: 2px solid var(--parch); }
.card .stamp { position: absolute; z-index: 3; left: 50%; top: 32%; padding: .15rem .8rem; border: 3px solid var(--alert); border-radius: 6px; color: var(--alert); background: #1a1322cc; font: 700 1.3rem var(--head); letter-spacing: .1em; text-transform: none; opacity: 0; pointer-events: none; transform: translate(-50%, -50%) rotate(-14deg) scale(2.4); }
.suspect.chosen .card { box-shadow: 0 0 0 4px var(--gold); background: var(--panel-2); animation: chosenPulse 2.6s ease-in-out infinite; }
.suspect.chosen .card .stamp { animation: slam .55s cubic-bezier(.2, 1.3, .4, 1) forwards; }
@keyframes slam { 0% { opacity: 0; transform: translate(-50%, -50%) rotate(-14deg) scale(2.6); } 60% { opacity: 1; transform: translate(-50%, -50%) rotate(-14deg) scale(.92); } 100% { opacity: 1; transform: translate(-50%, -50%) rotate(-14deg) scale(1); } }
@keyframes chosenPulse { 0%, 100% { box-shadow: 0 0 0 4px var(--gold), 0 0 0 4px #d9b45a00; } 50% { box-shadow: 0 0 0 4px var(--gold), 0 0 24px 8px #d9b45a66; } }
.ripple { position: absolute; z-index: 4; left: 50%; top: 40%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; border: 3px solid var(--gold); pointer-events: none; animation: ripple .8s ease-out forwards; }
@keyframes ripple { to { transform: scale(14); opacity: 0; } }
.c0 { --clan: var(--c0); } .c1 { --clan: var(--c1); } .c2 { --clan: var(--c2); } .c3 { --clan: var(--c3); } .c4 { --clan: var(--c4); }

/* ================= fiche dossier ================= */
dialog { width: min(92vw, 540px); max-height: 92vh; padding: 0; border: 3px solid var(--clan, var(--gold)); border-radius: 18px; background: var(--panel); color: var(--parch); overflow: auto; }
dialog[open] { animation: dlgIn .45s cubic-bezier(.2, 1.1, .3, 1); }
dialog::backdrop { background: #08050ccc; backdrop-filter: blur(4px); animation: fadeIn2 .3s ease; }
@keyframes dlgIn { from { opacity: 0; transform: translateY(30px) scale(.9) rotateX(12deg); } to { opacity: 1; transform: none; } }
@keyframes fadeIn2 { from { opacity: 0; } to { opacity: 1; } }
.d-fig { position: relative; overflow: hidden; background: #0c0910; }
.d-fig img { display: block; width: 100%; height: auto; aspect-ratio: 823 / 588; object-fit: cover; animation: kenburns 14s ease-in-out infinite alternate; }
.d-fig::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(transparent, var(--panel)); }
@keyframes kenburns { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.1) translate(-2%, 1.5%); } }
.d-num { position: absolute; z-index: 2; top: .8rem; left: .8rem; min-width: 2.6rem; height: 2.6rem; padding: 0 .4rem; display: grid; place-items: center; border-radius: 999px; background: var(--clan); color: #fff; font: 700 1.3rem var(--num); border: 2px solid var(--parch); }
.d-body { padding: .2rem 1.2rem 1.3rem; text-align: center; animation: fadeUp .6s var(--ease) .15s both; }
.d-body h3 { font: 700 1.6rem/1.15 var(--deco); color: var(--gold); text-wrap: balance; }
.d-clan { display: inline-block; margin: .6rem 0 0; padding: .1rem 1rem; border-radius: 6px; border: 2px solid var(--clan); background: #00000044; font: 700 1rem var(--head); letter-spacing: .06em; }
.d-leg { margin: .7rem 0 0; font-style: italic; color: var(--muted); }
.d-attrs { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin: 1rem 0; }
.d-attrs div { padding: .5rem; border: 1.5px solid var(--gold-dim); border-radius: 10px; background: #0f0a14; }
.d-attrs dt { font: 700 .85rem var(--head); letter-spacing: .08em; color: var(--muted); }
.d-attrs dd { margin: .1rem 0 0; font: 700 1.25rem var(--serif); }
.d-actions { display: grid; gap: .6rem; }
@media (min-width: 480px) { .d-actions { grid-template-columns: 1.4fr 1fr; } }

/* ================= formulaire ================= */
.identity { margin-top: 2.2rem; padding: 1.3rem 1.1rem 1.5rem; border: 2px solid var(--gold-dim); border-radius: 16px; background: #1a1322ee; scroll-margin-top: 1rem; }
.identity h2 { font: 700 1.35rem/1.2 var(--head); color: var(--gold); }
.accused { display: flex; align-items: center; gap: .9rem; margin: 1rem 0 1.2rem; padding: .7rem; border-radius: 12px; background: var(--panel-2); border: 1.5px solid var(--line); min-height: 4.4rem; }
.accused.pop { animation: popIn .5s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes popIn { from { transform: scale(.9); opacity: .3; } to { transform: none; opacity: 1; } }
.accused img { width: 4.4rem; height: 3.2rem; object-fit: cover; border-radius: 8px; border: 2px solid var(--clan, var(--line)); background: #0c0910; }
.accused .who { flex: 1; min-width: 0; line-height: 1.25; }
.accused .who b { display: block; font: 700 1.05rem/1.25 var(--head); color: var(--gold); }
.accused .who span { color: var(--muted); }
.accused.empty { color: var(--muted); font-style: italic; }
.fields { display: grid; gap: 1rem; }
@media (min-width: 640px) { .fields { grid-template-columns: 1fr 1fr; } .fields .full { grid-column: 1 / -1; } }
.field label { display: block; margin-bottom: .3rem; font: 700 1.02rem var(--head); letter-spacing: .02em; color: var(--parch); }
.field input[type=text], .field input[type=email] { width: 100%; min-height: 3.1rem; padding: .5rem .85rem; border-radius: 10px; border: 2px solid var(--line); background: #0f0a14; color: var(--parch); font: 500 1.2rem var(--serif); transition: border-color .2s, box-shadow .25s, transform .25s var(--ease); }
.field input:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 4px #d9b45a44; transform: translateY(-1px); }
.field.bad input { border-color: var(--alert); animation: shake .4s; }
@keyframes shake { 20% { transform: translateX(-6px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(3px); } }
.err { min-height: 1.3rem; margin: .3rem 0 0; color: var(--alert); font-weight: 700; }
.consent { display: flex; gap: .8rem; align-items: flex-start; }
.consent input { flex: none; width: 1.6rem; height: 1.6rem; margin-top: .2rem; accent-color: var(--gold); }
.consent label { font-weight: 500; letter-spacing: 0; font-family: var(--serif); font-size: 1.08rem; color: var(--muted); margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; text-align: center; text-decoration: none; min-height: 3.4rem; padding: .6rem 1.6rem; border: 0; border-radius: 12px; background: var(--gold); color: #1a1322; font: 700 1.1rem var(--head); letter-spacing: .04em; cursor: pointer; transition: transform .2s var(--ease), background .2s; }
.btn:hover { background: #e6c46d; transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, #ffffff88, transparent); transform: skewX(-20deg); animation: sheen 4.5s ease-in-out infinite; }
.btn.ghost::after { display: none; }
@keyframes sheen { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.btn[disabled] { opacity: .6; cursor: wait; }
.btn[disabled] span::after { content: ""; display: inline-block; width: 1em; height: 1em; margin-left: .6rem; border: 3px solid #1a132255; border-top-color: #1a1322; border-radius: 50%; vertical-align: -.15em; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn.ghost { background: transparent; color: var(--gold); border: 2px solid var(--gold-dim); }
.btn.ghost:hover { background: #d9b45a22; }
.btn.small { min-height: 2.6rem; padding: .3rem 1rem; font-size: .95rem; }
.submit { margin-top: 1.3rem; width: 100%; }
@media (min-width: 640px) { .submit { width: auto; min-width: 18rem; } }
.notice { margin-top: 1.4rem; position: relative; padding: 1rem 1.1rem; border-radius: 12px; border: 2px solid var(--alert); background: #2a1519; }

/* ================= confirmation ================= */
.done { position: relative; margin-top: 2rem; padding: 2.2rem 1.2rem 1.6rem; text-align: center; border: 2px solid var(--gold); border-radius: 16px; background: #1a1322ee; overflow: hidden; }
.done:not([hidden]) { animation: popIn .6s cubic-bezier(.2, 1.3, .4, 1); }
.stamp-big { display: inline-block; margin: 0 0 1.2rem; padding: .35rem 1.2rem; border: 4px solid var(--gold); border-radius: 10px; color: var(--gold); font: 700 clamp(1.3rem, 5.4vw, 2rem)/1.2 var(--head); letter-spacing: .08em; transform: rotate(-4deg); opacity: 0; }
.done:not([hidden]) .stamp-big { animation: slamBig .7s cubic-bezier(.2, 1.4, .4, 1) .15s forwards; }
@keyframes slamBig { 0% { opacity: 0; transform: rotate(-4deg) scale(3); } 55% { opacity: 1; transform: rotate(-4deg) scale(.9); } 100% { opacity: 1; transform: rotate(-4deg) scale(1); } }
.done .accused { justify-content: center; max-width: 26rem; margin-inline: auto; text-align: left; }
.done p { margin: .6rem 0; }
.done .when { color: var(--muted); }
body.shake { animation: bodyShake .5s linear; }
@keyframes bodyShake { 10% { transform: translate(-5px, 2px); } 30% { transform: translate(5px, -3px); } 50% { transform: translate(-4px, 2px); } 70% { transform: translate(3px, -2px); } 90% { transform: translate(-1px, 1px); } }

/* ================= barre flottante ================= */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom)); background: #0c0910f2; border-top: 2px solid var(--gold-dim); display: flex; align-items: center; gap: .8rem; animation: dockUp .4s var(--ease); }
.dock[hidden] { display: none; }
@keyframes dockUp { from { transform: translateY(100%); } to { transform: none; } }
.dock .accused { flex: 1; min-width: 0; margin: 0; padding: .3rem .5rem; min-height: 0; border: 0; background: transparent; }
.dock .accused img { width: 3.4rem; height: 2.5rem; }
.dock .accused .who b { font-size: .92rem; }
.dock .btn { flex: none; min-height: 3rem; padding: .4rem 1.1rem; }
@media (min-width: 960px) { .dock { display: none; } }
.foot { margin: 3rem auto 2rem; text-align: center; color: var(--muted); font-style: italic; font-size: 1.05rem; }
.pad-dock { height: 5.5rem; }
@media (min-width: 960px) { .pad-dock { display: none; } }

/* ================= particules créées par le script ================= */
.fxbat { position: fixed; left: 0; top: 0; z-index: 90; width: 54px; color: #1d1230; pointer-events: none; will-change: transform; }
.fxbat svg { display: block; width: 100%; fill: currentColor; stroke: #8a68b0; stroke-width: .8; animation: flap .22s ease-in-out infinite alternate; }
#burst { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 89; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .intro, .fog, #embers, .sky, .spider { display: none !important; }
  .suspect, .title .l, .stamp-big { opacity: 1 !important; transform: none !important; }
}
