:root {
  --gold: #e9c46a; --gold-2: #f6e3a1;
  --w1: #2c1a11; --w2: #4a2c1a; --w3: #5a3520; --w4: #6b4023; --w5: #a06a3c; --back: #1d120c;
  --paper: #f4ecd9; --paper-2: #e9dec4; --ink: #2b2118; --ink-2: #6a5a48;
  --bronze: #b9753f; --silver: #b9c0c8; --or: #e2b53a; --platine: #7fc4f5;
  --sans: "Exo 2", system-ui, sans-serif; --pix: "Exo 2", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--sans); color: #f3e9d8; min-height: 100vh; background: #120a07; overflow-x: hidden; }
a { color: inherit; }
button, select, input, textarea { font: inherit; }
canvas, .spr { image-rendering: pixelated; }
.sawbox { position: absolute; overflow: hidden; }
.spr.saw { position: absolute; animation: spin 1.2s steps(8) infinite; transform-origin: 50% 50%; }
.spr.bob { animation: bob 2.4s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 50% { transform: translateY(-22%); } }

/* ---------- décor ---------- */
.bg { position: fixed; inset: 0; overflow: hidden; z-index: 0; background: #0d0810; }
.scene {
  position: absolute; left: 50%; top: 50%; width: max(100vw, 177.78vh); aspect-ratio: 16 / 9; --z: .84; /* accueil un peu dézoomé ; les bords se fondent dans le fond */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent), linear-gradient(to bottom, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent), linear-gradient(to bottom, transparent, #000 7%, #000 93%, transparent); mask-composite: intersect;
  transform: translate(var(--tx, -50%), calc(-50% - var(--sc, 0) * 7%)) scale(calc(var(--z, 1) + var(--sc, 0) * .12)); transform-origin: 38% 45%;
  transition: transform .75s cubic-bezier(.2, .7, .2, 1), filter .75s;
}
#lib { width: 100%; height: 100%; display: block; }
.bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 60% 40%, transparent 30%, rgba(10, 4, 16, .78) 100%); pointer-events: none; }
body[data-d="1"] .scene { --z: 1.5; filter: blur(3px) brightness(.5); }
body[data-d="2"] .scene { --z: 2.1; filter: blur(5px) brightness(.4); }
body[data-d="3"] .scene, body[data-d="4"] .scene, body[data-d="5"] .scene { --z: 2.5; filter: blur(7px) brightness(.32); }
.spr { position: absolute; height: auto; transform-origin: 50% 100%; }
.spr.knight { animation: hop 5.5s infinite; }
.spr.cube { animation: dash 7s infinite steps(1); }
@keyframes hop { 0%, 62%, 100% { transform: none; } 68%, 74% { transform: scaleY(.78); } 82% { transform: translateY(-170%); } 90% { transform: translateY(0) scaleY(.9); } 94% { transform: none; } }
@keyframes dash { 0%, 100% { transform: none; } 40% { transform: translateX(-28%); } 45% { transform: translateX(-28%) scaleX(-1); } 80% { transform: scaleX(-1); } }
.glow { position: absolute; width: 16%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; mix-blend-mode: screen; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 176, 84, .5), rgba(255, 150, 60, .14) 40%, transparent 68%); animation: flick 3.2s infinite; }
.glow:nth-of-type(2n) { animation-delay: -1.3s; } .glow.sm { animation-delay: -2.1s; width: 10%; }
@keyframes flick { 0%, 100% { opacity: .9; } 30% { opacity: .7; } 45% { opacity: 1; } 70% { opacity: .78; } }
.mote { position: absolute; width: .18%; aspect-ratio: 1; background: #ffe6b0; opacity: 0; animation: float 14s linear infinite; }
@keyframes float { 0% { opacity: 0; transform: translate(0, 0); } 20% { opacity: .55; } 80% { opacity: .4; } 100% { opacity: 0; transform: translate(900%, -2600%); } }
@media (max-aspect-ratio: 1/1) { .scene { --tx: -62%; transform-origin: 62% 45%; } }
body.calm .spr, body.calm .glow, body.calm .mote, body.calm .beam { animation: none; } body.calm .scene { transition: none; }

/* ---------- barre du haut ---------- */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 14px; padding: 10px 20px;
  background: rgba(16, 9, 6, .72); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--pix); font-weight: 800; font-size: 1.5rem; letter-spacing: .02em; text-transform: uppercase; }
.brand img { height: 40px; width: 40px; border-radius: 50%; box-shadow: 0 0 0 2px var(--gold); }
.top nav { display: flex; gap: 6px; margin-left: auto; }
.nav-btn { text-decoration: none; padding: 8px 14px; border-radius: 99px; color: #e6d9c2; font-weight: 600; font-size: .92rem; transition: background .15s; }
a.nav-btn:hover { background: rgba(255, 255, 255, .1); }
.nav-btn.on { background: var(--gold); color: #24160c; }
.nav-btn.soon { color: #9b8b74; cursor: default; }
.nav-btn.soon em { font-style: normal; font-size: .65rem; text-transform: uppercase; letter-spacing: .06em; background: rgba(255, 255, 255, .12); padding: 2px 6px; border-radius: 99px; margin-left: 4px; }
.search-btn { display: flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .08); color: #d9c8ad; border: 1px solid rgba(255, 255, 255, .14); border-radius: 99px; padding: 7px 12px; cursor: pointer; font-size: .9rem; }
.search-btn:hover { background: rgba(255, 255, 255, .16); }
kbd { font: 600 .68rem var(--sans); background: rgba(0, 0, 0, .4); border-radius: 5px; padding: 2px 5px; }
.role { display: flex; align-items: center; gap: 8px; }
.role-tag { font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; background: #7a2a1e; padding: 3px 7px; border-radius: 99px; }
.role select { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .14); border-radius: 99px; padding: 6px 8px; }
.role option { color: #000; }

main { padding: 24px 16px 80px; max-width: 1120px; margin: 0 auto; position: relative; z-index: 1; }
#app.out-fwd { animation: outF .22s ease-in forwards; } #app.in-fwd { animation: inF .38s cubic-bezier(.2, .7, .2, 1); }
#app.out-back { animation: outB .22s ease-in forwards; } #app.in-back { animation: inB .38s cubic-bezier(.2, .7, .2, 1); }
@keyframes outF { to { transform: scale(1.9); opacity: 0; } } @keyframes inF { from { transform: scale(.7); opacity: 0; } }
@keyframes outB { to { transform: scale(.7); opacity: 0; } } @keyframes inB { from { transform: scale(1.6); opacity: 0; } }

/* ---------- accueil ---------- */
body[data-d="0"] main { max-width: none; padding: 0; }
.hero { min-height: calc(100vh - 62px); display: flex; flex-direction: column; justify-content: flex-end; padding: 40px clamp(20px, 5vw, 70px) clamp(36px, 7vh, 80px);
  background: radial-gradient(ellipse 62% 78% at 0% 100%, rgba(10, 6, 4, .96), rgba(10, 6, 4, .78) 42%, transparent 72%); }
.hero > * { max-width: 600px; }
.hero h1 { font-family: var(--pix); font-weight: 800; font-size: clamp(2.4rem, 6.2vw, 4.8rem); line-height: .95; letter-spacing: -.02em; margin: 0 0 16px; text-shadow: 0 6px 30px rgba(0, 0, 0, .7); }
.lead { font-size: 1.08rem; line-height: 1.6; color: #e2d5bf; margin: 0 0 26px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.socials { margin-top: 26px; display: flex; gap: 18px; font-weight: 600; font-size: .92rem; }
.socials a { color: #cbb99b; text-decoration: none; border-bottom: 1px solid transparent; }
.socials a:hover { color: var(--gold-2); border-color: currentColor; }

.btn { background: var(--gold); color: #24160c; border: 0; padding: 9px 16px; border-radius: 10px; font-weight: 700; cursor: pointer; text-decoration: none; display: inline-block; transition: transform .12s, background .15s; }
.btn:hover { background: var(--gold-2); transform: translateY(-1px); }
.btn.big { padding: 14px 22px; border-radius: 14px; font-size: 1rem; box-shadow: 0 10px 24px rgba(0, 0, 0, .4); }
.btn.glass { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(8px); }
.btn.glass:hover { background: rgba(255, 255, 255, .2); }
.btn.off { opacity: .5; cursor: default; pointer-events: none; }
.btn.ghost { background: transparent; color: inherit; border: 1.5px solid currentColor; }
.btn.danger { background: #a3352a; color: #fff; }
.btn.small { padding: 5px 10px; font-size: .85rem; border-radius: 8px; }
.btn:disabled { opacity: .35; cursor: default; }

.back { color: var(--gold); text-decoration: none; font-weight: 600; display: inline-block; margin-bottom: 14px; }
.page-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 22px; }
.page-head .back { margin: 0; }
.page-title { font-family: var(--pix); font-weight: 800; letter-spacing: -.01em; font-size: clamp(1.6rem, 4vw, 2.3rem); margin: 0; }
.searchbar { flex: 1 1 260px; text-align: left; display: flex; gap: 10px; align-items: center; background: rgba(255, 255, 255, .08); color: #cbb99b; border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 99px; padding: 11px 18px; cursor: text; backdrop-filter: blur(8px); }
.searchbar:hover { border-color: var(--gold); color: #fff; }
.empty { color: #c9b595; padding: 40px 10px; text-align: center; width: 100%; }

/* ---------- le meuble (rayons par genre) ---------- */
.bcase { display: grid; grid-template-columns: 1fr 1fr; background: var(--back); border: 14px solid var(--w3);
  box-shadow: 0 0 0 4px var(--w1), inset 0 0 0 4px var(--w1), 0 30px 60px rgba(0, 0, 0, .7); }
.sect { display: block; text-decoration: none; position: relative; }
.sect:nth-child(odd) { border-right: 6px solid var(--w3); } .sect:nth-child(even) { border-left: 6px solid var(--w3); }
.sect canvas { width: 100%; display: block; transition: filter .2s, transform .2s; filter: brightness(.82); }
.sect:hover canvas, .sect:focus-visible canvas { filter: brightness(1.25); }
.sect:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.plank { display: flex; justify-content: center; align-items: center; height: 34px; background: var(--w4); box-shadow: inset 0 4px 0 var(--w5), inset 0 -4px 0 var(--w1); }
.plaque { font-family: var(--pix); font-weight: 800; text-transform: uppercase; font-size: .82rem; letter-spacing: .05em; color: #2a1c08; background: #d2ad55; padding: 2px 12px; box-shadow: 0 0 0 3px #7a5a1c, inset 0 2px 0 #f0d58a; display: inline-flex; gap: 10px; align-items: center; white-space: nowrap; transition: transform .15s; }
.plaque i { font-style: normal; background: #2a1c08; color: #f0d58a; padding: 0 7px; font-size: .85em; }
.sect:hover .plaque { transform: scale(1.12); background: #f0d58a; }
.plaque.xl { font-size: .7em; padding: 4px 18px; }

/* ---------- un rayon (lettres + guides) ---------- */
.bcase.close { display: block; --rh: 320px; }
.row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0 4px; padding: 0 14px; min-height: calc(var(--rh) + 18px);
  background: repeating-linear-gradient(var(--back) 0, #130b07 14px, var(--back) 40px, var(--back) var(--rh), var(--w5) var(--rh), var(--w4) calc(var(--rh) + 4px), var(--w4) calc(var(--rh) + 14px), var(--w1) calc(var(--rh) + 14px), var(--w1) calc(var(--rh) + 18px)); }
.row > * { height: calc(var(--rh) * var(--h, 1)); margin-top: calc(var(--rh) * (1 - var(--h, 1))); margin-bottom: 18px; flex: none; }
.row > .empty { height: var(--rh); display: grid; place-items: center; margin: 0 0 18px; }
.letter { --h: .96; width: 42px; display: grid; place-items: start center; padding-top: 10px; font-family: var(--pix); font-weight: 700; font-size: 1.5rem; color: #2a1c08;
  background: #d2ad55; box-shadow: inset 4px 0 0 #f0d58a, inset -4px 0 0 #7a5a1c, inset 0 4px 0 #f0d58a; margin-left: 10px; }
.letter:first-child { margin-left: 0; }
.spine { width: var(--w, 72px); text-decoration: none; color: #f6ecd6; position: relative; display: flex; flex-direction: column; align-items: center; padding: 20px 0 6px; overflow: hidden;
  background: linear-gradient(90deg, rgba(0, 0, 0, .7), rgba(0, 0, 0, .42) 28%, rgba(0, 0, 0, .46) 72%, rgba(0, 0, 0, .8)), var(--img, none) center / cover no-repeat var(--tc, var(--c, #2a1a2e));
  box-shadow: inset 4px 0 0 rgba(255, 255, 255, .16), inset -4px 0 0 rgba(0, 0, 0, .45), inset 0 3px 0 rgba(255, 255, 255, .16); transition: transform .25s, box-shadow .25s; }
.spine::before, .spine::after { content: ""; position: absolute; left: 4px; right: 4px; height: 4px; background: var(--ta, var(--gold)); opacity: .9; }
.spine::before { top: 8px; } .spine::after { bottom: 24px; }
.spine.pull { animation: take .72s cubic-bezier(.3, .1, .2, 1) forwards; z-index: 5; }
.spine.putin { animation: take .75s cubic-bezier(.3, .1, .2, 1) reverse both; z-index: 5; }
@keyframes take { 0% { transform: none; } 28% { transform: translateY(-22px) rotate(-3deg); box-shadow: 0 10px 18px rgba(0, 0, 0, .6); }
  100% { transform: translateY(-80px) scale(1.6); box-shadow: 0 50px 70px rgba(0, 0, 0, .85), 0 0 0 3px var(--ta, var(--gold)); } }
.spine b { color: #fff7e6; text-shadow: 0 0 6px #000, 0 2px 0 #000, 0 0 14px var(--ta, #000); writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--tf, var(--pix)); font-size: 1.3rem; letter-spacing: .04em; flex: 1; min-height: 0; margin-bottom: 16px; overflow: hidden; white-space: nowrap; }
.spine small { font-size: .62rem; font-weight: 700; letter-spacing: .04em; opacity: .9; }
.spine em { position: absolute; top: 12px; left: 0; right: 0; text-align: center; font: 700 .55rem var(--sans); background: #7a2a1e; color: #fff; z-index: 1; }
a.spine:hover, a.spine:focus-visible { transform: translateY(-16px); outline: none; box-shadow: 0 0 0 3px var(--ta, var(--gold-2)); }
.spine.ghost { background: var(--c); filter: brightness(.38) saturate(.6); box-shadow: inset 4px 0 0 rgba(255, 255, 255, .15), inset -4px 0 0 rgba(0, 0, 0, .4); }
.spine.ghost::after { bottom: 14px; }

/* ---------- recherche ---------- */
dialog { border: 1px solid rgba(255, 255, 255, .16); border-radius: 18px; padding: 0; width: min(620px, 92vw); margin-top: 12vh; background: rgba(24, 14, 9, .96); color: #f3e9d8; box-shadow: 0 40px 90px rgba(0, 0, 0, .7); overflow: hidden; }
dialog::backdrop { background: rgba(6, 3, 2, .6); backdrop-filter: blur(6px); }
dialog[open] { animation: inF .22s cubic-bezier(.2, .7, .2, 1); }
#sq { width: 100%; background: none; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); color: #fff; font-size: 1.15rem; padding: 20px 22px; outline: none; }
#sres { max-height: 52vh; overflow: auto; padding: 8px; }
.hit { display: flex; gap: 14px; align-items: center; padding: 8px 12px; border-radius: 12px; text-decoration: none; }
.hit.on, .hit:hover { background: rgba(233, 196, 106, .16); }
.hit img, .hit .ph { width: 38px; aspect-ratio: 2/3; object-fit: cover; border-radius: 4px; background: var(--w2); flex: none; }
.hit strong { display: block; } .hit small { color: #bfae92; }
.s-hint { margin: 0; padding: 10px 22px; font-size: .75rem; color: #8f7f69; border-top: 1px solid rgba(255, 255, 255, .08); }

/* ---------- pages papier (guide, éditeur) ---------- */
.paper { background: var(--paper); color: var(--ink); border-radius: 14px; padding: clamp(18px, 4vw, 40px); box-shadow: 0 30px 60px rgba(0, 0, 0, .6); }
.paper h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin: 0 0 8px; line-height: 1.1; font-weight: 800; }
.paper h2 { font-size: 1.35rem; margin: 34px 0 12px; padding-bottom: 6px; border-bottom: 2px solid var(--paper-2); }
.paper a { color: #7a3d12; }
.paper p { line-height: 1.6; margin: 0 0 10px; }
.paper ul { margin: 0 0 10px; padding-left: 22px; line-height: 1.6; }
.paper .page-head { margin-bottom: 4px; }
.g-head { display: flex; gap: 24px; flex-wrap: wrap; }
.g-head .cov { width: 170px; aspect-ratio: 2/3; object-fit: cover; border-radius: 6px; box-shadow: 0 10px 20px rgba(0, 0, 0, .4); background: var(--paper-2); }
.g-head .inf { flex: 1 1 280px; }
.sub { color: var(--ink-2); margin-bottom: 14px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin: 14px 0; }
.stat { background: var(--paper-2); border-radius: 10px; padding: 10px 12px; }
.stat b { display: block; font-size: 1.3rem; font-weight: 800; }
.stat span { font-size: .74rem; color: var(--ink-2); text-transform: uppercase; letter-spacing: .05em; }
.counts { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: var(--paper-2); color: var(--ink); }
.chip::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--k, #999); }
.chip.platine { --k: var(--platine); } .chip.or { --k: var(--or); } .chip.argent { --k: var(--silver); } .chip.bronze { --k: var(--bronze); }
.tag { font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: #d9cbb0; color: #4a3a28; }
.tag.manquable { background: #a3352a; color: #fff; } .tag.enligne { background: #2c5f8a; color: #fff; }
.progress { height: 12px; background: var(--paper-2); border-radius: 99px; overflow: hidden; margin: 8px 0 4px; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--platine), #4f9fe0); transition: width .3s; }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 14px; margin-bottom: 18px; }
.step .n { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-weight: 800; font-size: 1.15rem; }
.step h3 { margin: 8px 0 6px; font-size: 1.12rem; }
.shot { max-width: 100%; border-radius: 8px; margin: 6px 0 10px; box-shadow: 0 6px 14px rgba(0, 0, 0, .25); display: block; }
.tro { border: 1.5px solid var(--paper-2); border-left: 6px solid var(--k, #999); border-radius: 10px; padding: 12px 14px; margin-bottom: 10px; display: grid; grid-template-columns: 26px 1fr; gap: 10px; background: rgba(255, 255, 255, .35); }
.tro.platine { --k: var(--platine); } .tro.or { --k: var(--or); } .tro.argent { --k: var(--silver); } .tro.bronze { --k: var(--bronze); }
.tro.done { opacity: .55; }
.tro input[type=checkbox] { width: 20px; height: 20px; margin-top: 3px; accent-color: #4f9fe0; }
.tro .t-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tro .t-top strong { font-size: 1.05rem; }
.tro .desc { color: var(--ink-2); margin: 2px 0 6px; font-style: italic; }
.tools { display: flex; gap: 8px; flex-wrap: wrap; margin-left: auto; }

.field { display: block; margin-bottom: 14px; }
.field > span { display: block; font-weight: 700; margin-bottom: 4px; font-size: .9rem; }
.field small, .paper h2 small { color: var(--ink-2); font-weight: 400; font-size: .8em; }
.ed input[type=text], .ed input[type=number], .ed select, .ed textarea { width: 100%; padding: 9px 11px; border: 1.5px solid #c9b995; border-radius: 10px; background: #fffaf0; color: var(--ink); }
.ed textarea { min-height: 90px; resize: vertical; line-height: 1.5; }
.row2, .ed .row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; padding: 0; min-height: 0; background: none; }
.ed .row > * { height: auto; margin: 0 0 14px; }
.blk { background: var(--paper-2); border-radius: 12px; padding: 14px; margin-bottom: 12px; }
.blk-top { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; font-weight: 700; }
.blk-top .sp { flex: 1; }
.checks { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; }
.checks label { display: flex; gap: 6px; align-items: center; font-size: .9rem; }
.up { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.up img { height: 90px; border-radius: 6px; }
.help { background: #fff6da; border: 1.5px dashed #c9a94a; border-radius: 12px; padding: 12px 14px; font-size: .9rem; margin-bottom: 18px; }
.help code { background: #f0e2b4; padding: 1px 5px; border-radius: 4px; }
.savebar { position: sticky; bottom: 0; background: var(--paper); padding: 14px 0 0; margin-top: 20px; border-top: 2px solid var(--paper-2); display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

#toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 30px); background: #120b07; color: var(--gold-2); border: 1px solid var(--gold); padding: 11px 18px; border-radius: 12px; opacity: 0; pointer-events: none; transition: .3s; z-index: 50; max-width: 90vw; text-align: center; }
#toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 760px) {
  .top { flex-wrap: wrap; gap: 8px; padding: 8px 12px; }
  .role-tag, .search-btn kbd, .nav-btn.soon { display: none; }
  .brand { font-size: 1.15rem; } .brand img { height: 32px; width: 32px; }
  .top nav { margin-left: 0; }
  .search-btn { margin-left: auto; }
  .hero { min-height: calc(100vh - 100px); background: linear-gradient(0deg, rgba(10, 6, 4, .96) 28%, rgba(10, 6, 4, .6) 50%, transparent 68%); }
  .bcase { grid-template-columns: 1fr; border-width: 9px; }
  .sect:nth-child(odd) { border-right: 0; }
  .bcase.close { --rh: 260px; }
  .g-head .cov { width: 120px; }
}

/* ---------- clins d'œil cliquables ---------- */
body[data-d="0"] main, body[data-d="0"] .hero { pointer-events: none; }
body[data-d="0"] .hero a, body[data-d="0"] .hero button { pointer-events: auto; }
body:not([data-d="0"]) .bg { pointer-events: none; }
.mote, .beam { pointer-events: none; }
.spr[data-egg] { cursor: pointer; }
.spr[data-egg]:hover { filter: drop-shadow(0 0 4px #ffe08a) brightness(1.2); }
.spr.hitbox { display: block; }
.spr.poke { animation: poke .45s !important; }
@keyframes poke { 30% { transform: translateY(-30%) scale(1.15); } 65% { transform: scale(1.06, .92); } }
.spr.swing { transform-origin: 50% 0; animation: swing 3s ease-in-out infinite; }
@keyframes swing { 0%, 100% { transform: rotate(-9deg); } 50% { transform: rotate(9deg); } }
.glow.violet { width: 36%; background: radial-gradient(circle, rgba(170, 90, 255, .36), rgba(120, 60, 220, .12) 45%, transparent 70%); }
.beam { position: absolute; left: 38%; top: 24%; width: 42%; height: 74%; mix-blend-mode: screen; clip-path: polygon(60% 0, 100% 0, 62% 100%, 0 100%);
  background: linear-gradient(180deg, rgba(190, 110, 255, .30), rgba(255, 90, 150, .12) 70%, transparent); animation: flick 7s infinite; }

/* ---------- le bureau et le livre en 3D ---------- */
#fade { position: fixed; inset: 0; background: #000; opacity: 0; pointer-events: none; z-index: 40; transition: opacity .3s; }
#fade.on { opacity: 1; }
#fade.cream { background: #f4ecd9; }
.desk { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: calc(100vh - 130px); position: relative; padding-top: 30px; } /* livre + boutons centrés sur la table */
.desk::before { content: ""; position: fixed; inset: 0; z-index: -1; background: var(--table) center / 100% 100% no-repeat #4a2028; image-rendering: pixelated; }
.desk::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse 55% 60% at 50% 48%, rgba(255, 190, 120, .2), rgba(12, 4, 10, .55) 100%); }
.desk .back { position: absolute; top: -8px; left: 0; background: rgba(24, 12, 8, .78); color: var(--gold-2); padding: 9px 16px; border-radius: 99px; }
.desk .hint { color: #e9d9bd; font-weight: 600; text-shadow: 0 2px 0 rgba(0, 0, 0, .6); }
.btn.dark { background: rgba(24, 12, 8, .78); color: #fff; } .btn.dark:hover { background: rgba(24, 12, 8, .95); }
.prop { position: fixed; image-rendering: pixelated; filter: drop-shadow(10px 12px 0 rgba(40, 20, 10, .35)); pointer-events: none; z-index: -1; }
.prop.p1 { right: 5vw; top: 110px; width: clamp(70px, 9vw, 130px); transform: rotate(8deg); }
.prop.p2 { left: 5vw; bottom: 7vh; width: clamp(90px, 12vw, 170px); transform: rotate(-14deg); }
.stage { perspective: 1500px; padding: 22px 80px 40px; cursor: grab; touch-action: pan-y; user-select: none; position: relative; transform-origin: 50% 46%; transition: transform .6s cubic-bezier(.5, 0, .7, .4); }
.stage:active { cursor: grabbing; }
.stage.dive { transform: scale(7); }
.stage.instant, .book3d.instant, .book3d.instant .face.front { transition: none !important; }
.stage.thud { animation: thud .36s; }
@keyframes thud { 20% { transform: translate(-3px, 9px); } 45% { transform: translate(3px, -4px); } 70% { transform: translate(-2px, 3px); } }
.lift { position: relative; transform-style: preserve-3d; }
.lift.drop { animation: drop .78s cubic-bezier(.45, 0, .85, .45) both; }
.lift.up { animation: drop .46s cubic-bezier(.5, 0, .9, .5) reverse both; }
@keyframes drop { 0% { transform: translateY(-150px) scale(2.1) rotate(-13deg); opacity: 0; } 22% { opacity: 1; } 77% { transform: none; animation-timing-function: ease-out; } 86% { transform: scale(1.05, .95); } 100% { transform: none; opacity: 1; } }
.lift.up { animation-name: liftup; }
@keyframes liftup { 0% { transform: translateY(-150px) scale(2.1) rotate(-13deg); opacity: 0; } 30% { opacity: 1; } 100% { transform: none; opacity: 1; } }
.shadow { position: absolute; inset: 6% -2% -4% 4%; background: rgba(30, 14, 6, .55); filter: blur(14px); transform: translate(14px, 18px) translateZ(-40px); }
.dust { position: absolute; background: rgba(232, 214, 184, .9); pointer-events: none; z-index: 3; animation: dust .9s cubic-bezier(.1, .6, .3, 1) forwards; }
@keyframes dust { 0% { transform: translate(-50%, -50%) scale(.6); opacity: .95; } 100% { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(2.4); opacity: 0; } }
.book3d { --W: min(270px, 54vw); --H: calc(var(--W) * 1.5); --T: calc(var(--W) * .17); width: var(--W); height: var(--H); position: relative; transform-style: preserve-3d; transform: rotateX(6deg) rotateZ(-3deg) rotateY(var(--ry, -14deg)); }
.book3d.smooth { transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.book3d.opening { transform: rotateX(2deg) rotateZ(0deg) rotateY(var(--ry)) translateX(22%); }
.face { position: absolute; backface-visibility: hidden; overflow: hidden; }
.face.front { inset: 0; overflow: visible; backface-visibility: visible; transform-style: preserve-3d; transform-origin: left center; transform: translateZ(calc(var(--T) / 2)); transition: transform 1s cubic-bezier(.4, .1, .2, 1) .1s; }
.opening .face.front { transform: translateZ(calc(var(--T) / 2)) rotateY(-160deg); }
.fc-out, .fc-in { position: absolute; inset: 0; backface-visibility: hidden; border-radius: 2px 7px 7px 2px; }
.fc-out { background: var(--tc, #2a1a2e) center / cover; box-shadow: inset 7px 0 9px rgba(0, 0, 0, .45), inset -1px 0 0 rgba(255, 255, 255, .2); display: grid; place-items: center; text-align: center; padding: 20px; }
.fc-out h2, .face.rear h2, .face.first h2 { font-family: var(--tf, var(--pix)); margin: 0; line-height: 1.05; }
.fc-out h2 { color: var(--ta, var(--gold)); font-size: 2rem; }
.fc-in { transform: rotateY(180deg); background: #e9dcbc; }
.face.first { inset: 3px 5px 3px 0; transform: translateZ(calc(var(--T) / 2 - 1px)); background: linear-gradient(90deg, #d9cba8, #f4ecd9 12%); color: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 20px; }
.face.first h2 { font-size: 1.8rem; } .face.first small { text-transform: uppercase; letter-spacing: .12em; font-size: .62rem; color: var(--ink-2); }
.face.rear { inset: 0; transform: rotateY(180deg) translateZ(calc(var(--T) / 2)); background: linear-gradient(rgba(0, 0, 0, .25), rgba(0, 0, 0, .45)), var(--tc, #2a1a2e); color: #f3e9d8; padding: 20px 18px; font-size: .76rem; line-height: 1.45; border-radius: 2px 7px 7px 2px; box-shadow: inset -7px 0 9px rgba(0, 0, 0, .4); }
.face.rear h2 { color: var(--ta, var(--gold)); font-size: 1.35rem; margin-bottom: 10px; }
.face.rear ul { list-style: none; padding: 0; margin: 12px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; }
.face.rear li b { display: block; font-size: 1.05rem; color: var(--ta, var(--gold)); }
.face.rear .chip { font-size: .62rem; padding: 2px 7px; }
.face.rear footer { position: absolute; left: 18px; right: 18px; bottom: 14px; display: flex; align-items: center; gap: 8px; font-size: .66rem; opacity: .9; }
.face.rear footer img { width: 22px; height: 22px; border-radius: 50%; }
.face.spineL { left: 0; top: 0; bottom: 0; width: var(--T); transform: translateX(calc(var(--T) / -2)) rotateY(-90deg); color: var(--ta, var(--gold)); display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 16px 0 12px;
  background: linear-gradient(90deg, rgba(0, 0, 0, .4), transparent 30% 70%, rgba(0, 0, 0, .4)), var(--tc, #2a1a2e); box-shadow: inset 0 10px 0 -6px var(--ta, var(--gold)), inset 0 -34px 0 -30px var(--ta, var(--gold)); }
.face.spineL b { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--tf, var(--pix)); font-size: calc(var(--T) * .44); white-space: nowrap; overflow: hidden; flex: 1; min-height: 0; margin: 8px 0 22px; }
.face.spineL small { font-size: .55rem; font-weight: 700; color: #f3e9d8; }
.face.pagesR { right: 0; top: 3px; bottom: 3px; width: var(--T); transform: translateX(calc(var(--T) / 2 - 3px)) rotateY(90deg); background: repeating-linear-gradient(90deg, #efe4c8 0 2px, #cfc09a 2px 3px); }
.face.pagesT, .face.pagesB { left: 0; right: 5px; height: var(--T); background: repeating-linear-gradient(#efe4c8 0 2px, #cfc09a 2px 3px); }
.face.pagesT { top: 0; transform: translateY(calc(var(--T) / -2 + 2px)) rotateX(90deg); }
.face.pagesB { bottom: 0; transform: translateY(calc(var(--T) / 2 - 2px)) rotateX(-90deg); }
.deskbar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; align-items: center; }
.hint { color: #bfae92; font-size: .85rem; margin-top: 14px; }
.paper[data-th] { border-top: 10px solid var(--ta, var(--gold)); }
.g-title { font-family: var(--tf, inherit); font-weight: 400; }

/* ---------- onglets DLC ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 26px 0 0; border-bottom: 2px solid var(--paper-2); }
.tabs button { background: none; border: 0; padding: 10px 16px; font-weight: 700; color: var(--ink-2); cursor: pointer; border-radius: 10px 10px 0 0; margin-bottom: -2px; border-bottom: 3px solid transparent; }
.tabs button:hover { background: var(--paper-2); }
.tabs button[aria-selected="true"] { color: var(--ink); background: var(--paper-2); border-bottom-color: var(--ta, var(--gold)); }
.blk.dlc { background: #e2d3b2; border: 2px dashed #b79f6c; }
.blk.dlc .blk { background: var(--paper); }

/* le « pouf » de poussière */
.dust.cloud { background: rgba(214, 196, 168, .8); box-shadow: 6px -6px 0 rgba(232, 214, 184, .75), -6px 6px 0 rgba(190, 170, 142, .7), 6px 6px 0 rgba(214, 196, 168, .6); animation-duration: 1.15s; }
.puff { position: absolute; transform: translate(-50%, -50%); border: 8px solid rgba(240, 224, 196, .85); pointer-events: none; z-index: 2; animation: puff .6s cubic-bezier(.1, .7, .3, 1) forwards; }
@keyframes puff { 0% { transform: translate(-50%, -50%) scale(1); opacity: .9; border-width: 10px; } 100% { transform: translate(-50%, -50%) scale(1.75, 1.5); opacity: 0; border-width: 2px; } }
#anim[aria-pressed="false"] { opacity: .6; }
@media (max-width: 760px) { #anim { display: none; } }

/* ---------- carte profil + flash ---------- */
#flash { position: fixed; inset: 0; background: #fff; opacity: 0; pointer-events: none; z-index: 45; }
#flash.go { animation: flash .38s ease-out; }
@keyframes flash { 0% { opacity: .85; } 100% { opacity: 0; } }
.spr.fine[data-egg]:hover { filter: brightness(1.2); }
#profile { width: min(380px, 92vw); margin-top: 14vh; overflow: visible; }
.pf { padding: 26px 24px 22px; text-align: center; position: relative; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.pf h2 { font-family: var(--pix); font-size: 1.6rem; margin: 0; text-transform: uppercase; }
.pf p { margin: 0; color: #d9c8ad; line-height: 1.5; }
.pf-pp { width: 104px; height: 104px; border-radius: 50%; box-shadow: 0 0 0 4px var(--gold), 0 12px 30px rgba(0, 0, 0, .6); margin-top: -70px; background: #120a07; }
.pf-x { position: absolute; top: 8px; right: 10px; background: none; border: 0; color: #cbb99b; font-size: 1.6rem; cursor: pointer; line-height: 1; }
.pf-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }
.pf-links a { text-decoration: none; font-weight: 700; padding: 11px 10px; border-radius: 12px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); display: flex; align-items: center; justify-content: center; gap: 8px; transition: transform .12s, background .15s; }
.pf-links a::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--n); box-shadow: 0 0 10px var(--n); }
.pf-links a:hover { background: rgba(255, 255, 255, .15); transform: translateY(-2px); }
.pf-links a:last-child:nth-child(odd) { grid-column: 1 / -1; }
form.pf { align-items: stretch; text-align: left; }
form.pf label span { display: block; font-size: .8rem; font-weight: 700; margin-bottom: 3px; color: #cbb99b; }
.pf-act { display: flex; gap: 8px; justify-content: flex-end; }
#profile input, #profile textarea, .home-sec input { width: 100%; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: 10px; padding: 9px 11px; color: #fff; }

/* ---------- accueil : la suite en défilant ---------- */
.cue { margin-top: 26px; background: none; border: 0; color: #e2d5bf; font-weight: 600; cursor: pointer; padding: 0; display: inline-flex; gap: 10px; align-items: center; width: fit-content; }
.cue span { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: #24160c; animation: bob 1.8s ease-in-out infinite; }
body.calm .cue span { animation: none; }
.home-sec { padding: 40px clamp(16px, 5vw, 70px) 90px; display: grid; gap: 22px; background: linear-gradient(transparent, rgba(10, 5, 14, .86) 180px); pointer-events: none; }
body[data-d="0"] .home-sec .panel, body[data-d="0"] .home-sec .hbar { pointer-events: auto; }
.hbar { display: flex; justify-content: flex-end; }
.panel { background: rgba(20, 11, 24, .84); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .1); border-radius: 20px; padding: clamp(16px, 3vw, 28px); box-shadow: 0 24px 50px rgba(0, 0, 0, .45); max-width: 1180px; width: 100%; margin: 0 auto; }
.panel h2 { font-family: var(--pix); font-size: 1.5rem; margin: 0 0 16px; display: flex; align-items: center; gap: 10px; }
.panel h2 i { font: 700 .8rem var(--sans); background: var(--gold); color: #24160c; padding: 2px 9px; border-radius: 99px; }
.plan { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.day { background: rgba(255, 255, 255, .06); border-radius: 14px; padding: 12px 10px; display: flex; flex-direction: column; gap: 6px; min-height: 104px; border: 1px solid transparent; }
.day.today { border-color: var(--gold); background: rgba(233, 196, 106, .12); }
.day b { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); }
.day span { font-size: .85rem; color: #cbb99b; } .day em { color: #7d6f5c; font-style: normal; }
.hgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 14px; }
.hgrid .empty { grid-column: 1 / -1; padding: 14px; text-align: left; }
.hcard { position: relative; display: flex; flex-direction: column; gap: 4px; }
.hcard img, .hcard .ph { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 10px; background: linear-gradient(135deg, #3a2444, #1d1226); box-shadow: 0 10px 20px rgba(0, 0, 0, .45); }
.hcard strong { font-size: .92rem; margin-top: 4px; } .hcard small { color: #bfae92; }
.hrm { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: #a3352a; color: #fff; font-size: 1.1rem; cursor: pointer; }
.hadd { display: grid; grid-template-columns: 1.2fr 1.4fr auto auto; gap: 8px; margin-top: 16px; align-items: center; }
@media (max-width: 760px) { .plan { grid-template-columns: 1fr 1fr; } .hadd { grid-template-columns: 1fr; } .day { min-height: 0; } }
#infos { scroll-margin-top: 76px; }

/* éclat sur le portrait (remplace le flash plein écran) */
#shine { position: absolute; overflow: hidden; pointer-events: none; opacity: 0; }
#shine.go { animation: shineBox .55s ease-out; }
#shine::before { content: ""; position: absolute; inset: -20% -60%; background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .95) 50%, transparent 62%); transform: translateX(-70%); }
#shine.go::before { animation: sweep .5s ease-out; }
@keyframes shineBox { 0% { opacity: 1; box-shadow: 0 0 0 0 rgba(255, 240, 190, .9); } 60% { opacity: 1; box-shadow: 0 0 22px 8px rgba(255, 240, 190, .55); } 100% { opacity: 0; box-shadow: 0 0 30px 12px rgba(255, 240, 190, 0); } }
@keyframes sweep { to { transform: translateX(70%); } }

/* cartes de jeux : l'image et les couleurs du jeu, dans un cadre doré du site */
.hgrid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }
.gcard { position: relative; overflow: hidden; background: var(--tc, #1d1226); box-shadow: 0 0 0 2px #1a0d12, 0 0 0 4px #b08a3a, 0 0 0 6px #5a3d12, 0 14px 26px rgba(0, 0, 0, .5); margin: 6px; transition: transform .18s, box-shadow .18s; }
.gcard::before { content: ""; position: absolute; inset: -20px; background: var(--img, none) center / cover; filter: blur(18px) brightness(.42) saturate(1.3); }
.gcard:hover { transform: translateY(-5px); box-shadow: 0 0 0 2px #1a0d12, 0 0 0 4px var(--ta, #e2c26a), 0 0 0 6px #5a3d12, 0 0 28px var(--ta, #e2c26a), 0 18px 30px rgba(0, 0, 0, .55); }
.gcard .art { position: relative; aspect-ratio: 320 / 176; background: #120a14; }
.gcard .art > img:first-child { width: 100%; height: 100%; object-fit: cover; display: block; }
.gcard .badge { position: absolute; right: 8px; bottom: -14px; width: 34px; image-rendering: pixelated; filter: drop-shadow(0 3px 0 rgba(0, 0, 0, .6)); z-index: 1; }
.gmeta { position: relative; padding: 12px 12px 12px; display: flex; flex-direction: column; gap: 5px; border-top: 3px solid var(--ta, #e2c26a); }
.gmeta strong { font-family: var(--pix); font-size: 1rem; line-height: 1.15; padding-right: 34px; text-shadow: 0 2px 0 rgba(0, 0, 0, .6); }
.gmeta small { color: #e2d5bf; font-size: .74rem; }
.gbar { height: 8px; background: rgba(0, 0, 0, .5); box-shadow: 0 0 0 1px rgba(255, 255, 255, .15); margin-top: 3px; }
.gbar i { display: block; height: 100%; background: var(--ta, #e2c26a); }

/* ---------- en-tête : la photo ouvre le profil ---------- */
.brand a { text-decoration: none; } #brandPP { background: none; border: 0; padding: 0; cursor: pointer; display: grid; border-radius: 50%; transition: transform .15s; }
#brandPP:hover { transform: scale(1.1); }
@media (max-width: 760px) { .brand a:not(.live-badge) { display: none; } }
.pf-stats { display: flex; gap: 8px; width: 100%; } .pf-stats span { flex: 1; background: rgba(255, 255, 255, .06); border-radius: 12px; padding: 8px 4px; font-size: .72rem; color: #cbb99b; }
.pf-stats b { display: block; font-family: var(--pix); font-size: 1.3rem; color: var(--gold); }

/* ---------- cartes de jeux : plus petites, vrai trophée platine ---------- */
.hgrid { grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 12px; }
.gcard { margin: 5px; } .glink { display: block; text-decoration: none; position: relative; }
.gcard .badge { right: 6px; bottom: -11px; width: 20px; image-rendering: auto; }
.gmeta { padding: 8px 9px 9px; gap: 3px; border-top-width: 2px; }
.gmeta strong { font-size: .8rem; padding-right: 22px; } .gmeta small { font-size: .65rem; } .gbar { height: 5px; }
.hrm { z-index: 2; width: 24px; height: 24px; font-size: .95rem; }

/* ---------- planning, dans l'esprit de son visuel violet ---------- */
.panel.planning { background: linear-gradient(160deg, #3a1d78, #2a1458 55%, #1d0d3f); border-color: rgba(190, 150, 255, .3); }
.phead { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 16px; }
.phead small { letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: #cdb8ff; font-size: .72rem; }
.phead h2 { font-family: "Anton", var(--pix); font-weight: 400; font-size: clamp(1.8rem, 5vw, 3.2rem); text-transform: uppercase; margin: 0; line-height: 1; }
.pweek { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; font-family: "Anton", var(--pix); color: #c9adff; }
.pweek b { font-size: clamp(1.6rem, 4vw, 2.6rem); font-weight: 400; } .pweek i { font-style: normal; font-size: 1.4rem; } .pweek small { flex-basis: 100%; text-align: right; font: 700 .7rem var(--sans); color: #cdb8ff; }
.plan { grid-template-columns: repeat(7, 1fr); gap: 8px; }
.pday { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pday header { display: flex; justify-content: space-between; align-items: baseline; font-family: "Anton", var(--pix); color: #b79cff; }
.pday header b { font-size: 1.7rem; font-weight: 400; line-height: 1; } .pday header span { font-size: .8rem; letter-spacing: .1em; }
.pday.live header { color: #fff; } .pday.today header b { color: var(--gold); }
.pcard { aspect-ratio: 2 / 4.2; border-radius: 8px; position: relative; overflow: hidden; display: flex; align-items: flex-end; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 12px) rgba(255, 255, 255, .06) center / cover; }
.pday.live .pcard { background-color: #08060c; background-size: cover; background-position: center; box-shadow: 0 10px 22px rgba(0, 0, 0, .45); }
.pcard em { position: absolute; inset: 0; display: grid; place-items: center; writing-mode: vertical-rl; transform: rotate(180deg); font: 400 clamp(1rem, 2.4vw, 1.7rem) "Anton", var(--pix); font-style: normal; text-transform: uppercase; letter-spacing: .06em; color: #a98aff; }
.pt { padding: 10px 9px; width: 100%; position: relative; } .pt small { display: block; font-size: .68rem; font-weight: 700; color: #d6c4ff; text-transform: uppercase; }
.pt strong { font: 400 clamp(.95rem, 1.9vw, 1.45rem) "Anton", var(--pix); text-transform: uppercase; line-height: 1.05; display: block; overflow-wrap: anywhere; }
.pq { position: absolute; inset: 0; display: grid; place-items: center; font: 400 6rem "Anton", var(--pix); font-style: normal; color: rgba(255, 255, 255, .85); text-shadow: 4px 0 0 #ff3d6e, -4px 0 0 #2ce0d0; }
.ptime { text-align: center; padding: 7px 4px; border-radius: 6px; font: 400 .95rem "Anton", var(--pix); letter-spacing: .06em; border: 1.5px solid rgba(190, 150, 255, .4); color: #b79cff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pday.live .ptime { background: linear-gradient(90deg, #e9dcff, #b892ff, #e9dcff); color: #1d0d3f; border-color: transparent; }
.pday.edit { background: rgba(0, 0, 0, .25); border-radius: 10px; padding: 8px; }
.pfoot { display: flex; justify-content: space-between; margin-top: 14px; font-size: .8rem; color: #cdb8ff; } .pfoot a { font-weight: 700; color: #fff; text-decoration: none; }
.pstart { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; font-size: .85rem; } .pstart input { width: auto; }
@media (max-width: 760px) { .plan { grid-template-columns: repeat(7, minmax(92px, 1fr)); overflow-x: auto; padding-bottom: 6px; } }

/* ---------- fiche d'un jeu ---------- */
.gpage { position: relative; overflow: hidden; border-radius: 18px; background: var(--tc, #1d1226); box-shadow: 0 0 0 2px #1a0d12, 0 0 0 4px #b08a3a, 0 0 0 6px #5a3d12, 0 30px 60px rgba(0, 0, 0, .6); margin: 6px; }
.gpage::before { content: ""; position: absolute; inset: -40px; background: var(--img, none) center / cover; filter: blur(34px) brightness(.34) saturate(1.3); }
.gpage > * { position: relative; }
.gpage header { display: flex; flex-wrap: wrap; gap: 24px; padding: clamp(18px, 4vw, 36px); align-items: center; border-bottom: 3px solid var(--ta, #e2c26a); }
.gpage header img { width: min(360px, 100%); border-radius: 8px; box-shadow: 0 14px 30px rgba(0, 0, 0, .6); }
.gpage header > div { flex: 1 1 280px; } .gpage h1 { font-family: var(--pix); font-size: clamp(1.6rem, 4vw, 2.6rem); margin: 8px 0 6px; line-height: 1.05; }
.gpage header p { margin: 0 0 12px; color: #e2d5bf; } .gbar.big { height: 12px; } .gpage header small { color: #cbb99b; }
.gtags { display: flex; gap: 6px; flex-wrap: wrap; } .gtags span { background: var(--ta, #e2c26a); color: #14090c; font-weight: 800; font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; padding: 3px 9px; border-radius: 99px; }
.glinks { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.gpage section { padding: clamp(18px, 4vw, 36px); } .gpage h2 { font-family: var(--pix); margin: 0; font-size: 1.5rem; }
.gstats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 18px; }
.gstats div { background: rgba(0, 0, 0, .4); border-radius: 12px; padding: 14px; } .gstats b { display: block; font-family: var(--pix); font-size: 1.7rem; color: var(--ta, #e2c26a); } .gstats span { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: #cbb99b; }
.gcomment { background: rgba(0, 0, 0, .4); border-radius: 12px; padding: 16px 18px; line-height: 1.6; } .gcomment p { margin: 0 0 10px; } .gcomment .empty { padding: 6px 0; text-align: left; }
.gform { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; } .gform .wide { grid-column: 1 / -1; }
.gform span { display: block; font-size: .8rem; font-weight: 700; margin-bottom: 4px; color: #e2d5bf; }
.gform input, .gform textarea { width: 100%; background: rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .2); border-radius: 10px; padding: 10px 12px; color: #fff; }

/* ---------- en-tête à six onglets ---------- */
.top { gap: 10px; } .nav-btn { padding: 7px 11px; font-size: .86rem; white-space: nowrap; }
#siteTrophy { background: none; border: 0; padding: 0; cursor: default; } #siteTrophy img { height: 30px; filter: drop-shadow(0 0 8px #7fc4f5); }
@media (max-width: 1320px) { .search-btn .lbl, .search-btn kbd, .role-tag { display: none; } #anim { display: none; } }
@media (max-width: 760px) { .top nav { order: 5; width: 100%; overflow-x: auto; } }
.note { color: #bfae92; font-size: .85rem; text-align: center; margin: 14px 0; }
.lead2 { color: #cbb99b; margin: -8px 0 16px; } .lead2.center { text-align: center; margin: 0 0 24px; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 22px; align-items: start; }

/* ---------- guide : sommaire collant, filtres, vidéos, collectibles, spoilers, commentaires ---------- */
.read { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; align-items: start; }
.toc { position: sticky; top: 76px; max-height: calc(100vh - 96px); overflow: auto; background: rgba(20, 11, 24, .86); border: 1px solid rgba(255, 255, 255, .1); border-radius: 14px; padding: 14px 10px; display: flex; flex-direction: column; gap: 2px; }
.toc b { font-family: var(--pix); padding: 0 8px 8px; color: var(--gold); }
.toc button { background: none; border: 0; color: #e6d9c2; text-align: left; padding: 6px 8px; border-radius: 8px; cursor: pointer; font-weight: 600; font-size: .86rem; }
.toc button:hover { background: rgba(255, 255, 255, .1); }
.toc button.sub { font-weight: 400; font-size: .78rem; padding: 4px 8px 4px 16px; border-left: 3px solid var(--k, #999); border-radius: 0 8px 8px 0; margin-left: 8px; color: #cbb99b; }
.toc .platine { --k: var(--platine); } .toc .or { --k: var(--or); } .toc .argent { --k: var(--silver); } .toc .bronze { --k: var(--bronze); }
@media (max-width: 900px) { .read { grid-template-columns: 1fr; } .toc { display: none; } }
.paper h2[id], .tro { scroll-margin-top: 80px; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 12px 0 14px; }
.filters button { border: 1.5px solid #c9b995; background: #fffaf0; color: var(--ink); border-radius: 99px; padding: 5px 12px; font-weight: 700; font-size: .8rem; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.filters label { margin-left: auto; font-size: .85rem; display: flex; gap: 6px; align-items: center; }
.tag.histoire { background: #5a4a8a; color: #fff; } .tag.collectible { background: #2f7d5f; color: #fff; } .tag.farm { background: #8a6a24; color: #fff; } .tag.difficile { background: #1f1a1a; color: #fff; } .tag.bug { background: #c25a1a; color: #fff; } .tag.cumulatif { background: #6a5a48; color: #fff; }
.vid { display: inline-flex; gap: 8px; align-items: center; margin-top: 8px; background: var(--ink); color: var(--paper) !important; border: 0; border-radius: 10px; padding: 9px 14px; font-weight: 700; cursor: pointer; text-decoration: none; }
.vid:hover { background: #4a3a28; }
.vframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 10px; margin-top: 8px; background: #000; display: block; }
.zone { background: var(--paper-2); border-radius: 12px; padding: 10px 14px; margin-bottom: 10px; }
.zone summary { cursor: pointer; display: flex; justify-content: space-between; gap: 10px; } .zone summary span { font-weight: 700; color: var(--ink-2); }
.col { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; border-top: 1px solid #d9cbb0; margin-top: 7px; cursor: pointer; }
.col input { width: 18px; height: 18px; margin-top: 2px; accent-color: #4f9fe0; flex: none; } .col input:checked + span { text-decoration: line-through; opacity: .55; }
.spoil { background: #2b2118; color: transparent; border-radius: 4px; padding: 0 4px; cursor: pointer; user-select: none; transition: .2s; }
.spoil:hover { background: #4a3a28; } .spoil.show { background: #e9dec4; color: inherit; cursor: auto; user-select: auto; }
.cmt { background: var(--paper-2); border-radius: 12px; padding: 12px 14px; margin-bottom: 8px; } .cmt p { margin: 6px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.cmtform { display: grid; gap: 8px; margin: 14px 0 8px; } .cmtform input, .cmtform textarea { padding: 9px 11px; border: 1.5px solid #c9b995; border-radius: 10px; background: #fffaf0; color: var(--ink); } .cmtform button { justify-self: start; }

/* ---------- communauté ---------- */
.cform { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 8px; margin-bottom: 14px; }
.cform input, .topform input, .topform textarea { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: 10px; padding: 9px 11px; color: #fff; width: 100%; }
.topform { display: grid; gap: 10px; margin-bottom: 22px; }
.crow { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, .08); }
.crow > div { flex: 1; min-width: 0; } .crow strong { display: block; overflow-wrap: anywhere; } .crow small { color: #bfae92; }
.vote { display: grid; place-items: center; width: 46px; padding: 6px 0; border-radius: 10px; border: 1.5px solid rgba(255, 255, 255, .2); background: none; color: #fff; cursor: pointer; font-size: .7rem; }
.vote b { font-size: 1.05rem; } .vote.on { background: var(--gold); color: #24160c; border-color: var(--gold); }
@media (max-width: 600px) { .cform { grid-template-columns: 1fr; } .cols { grid-template-columns: 1fr; } }

/* ---------- salle des trophées rares ---------- */
.rstats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; margin-bottom: 26px; }
.rstats div { background: rgba(20, 11, 24, .84); border: 1px solid rgba(255, 255, 255, .1); border-radius: 14px; padding: 14px; text-align: center; }
.rstats b { display: block; font-family: var(--pix); font-size: 2rem; color: var(--gold); } .rstats span { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: #cbb99b; }
.wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 26px 16px; }
.niche { --k: var(--bronze); position: relative; text-decoration: none; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px 8px 14px;
  background: linear-gradient(#2d2538, #1a1222); border-radius: 90px 90px 10px 10px; box-shadow: inset 0 0 0 3px #5a5266, inset 0 0 0 5px #2a2234, 0 14px 26px rgba(0, 0, 0, .5); transition: transform .2s, box-shadow .2s; animation: rise .5s backwards; animation-delay: calc(var(--i) * 25ms); }
.niche.platine { --k: var(--platine); } .niche.or { --k: var(--or); } .niche.argent { --k: var(--silver); }
.niche:hover { transform: translateY(-8px); box-shadow: inset 0 0 0 3px var(--k), inset 0 0 0 5px #2a2234, 0 0 34px var(--k), 0 18px 30px rgba(0, 0, 0, .6); }
.arch { width: 104px; height: 104px; margin-top: 16px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, color-mix(in srgb, var(--k) 45%, transparent), transparent 70%); }
.arch img { width: 78px; height: 78px; border-radius: 10px; box-shadow: 0 0 0 3px var(--k), 0 8px 18px rgba(0, 0, 0, .6); }
.rank { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); font: 700 .7rem var(--sans); color: #8d8696; }
.pct { font-family: var(--pix); font-size: 1.6rem; color: var(--k); line-height: 1; margin-top: 6px; } .niche em { font-style: normal; font-size: .62rem; text-transform: uppercase; letter-spacing: .1em; color: #bfae92; }
.niche strong { font-size: .92rem; margin-top: 6px; } .niche small { color: var(--gold); font-size: .72rem; } .niche p { font-size: .7rem; color: #a99c8a; margin: 4px 0 0; line-height: 1.35; }
.niche.top { grid-column: span 2; } .niche.top .arch { width: 150px; height: 150px; } .niche.top .arch img { width: 116px; height: 116px; } .niche.top .pct { font-size: 2.4rem; } .niche.top strong { font-size: 1.15rem; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
body.calm .niche { animation: none; }
@media (max-width: 600px) { .niche.top { grid-column: span 1; } .wall { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); } }

/* ---------- classements ---------- */
.tlist { display: grid; gap: 6px; }
.trow { display: grid; grid-template-columns: 34px 86px 1fr auto; gap: 12px; align-items: center; text-decoration: none; padding: 6px 8px; border-radius: 10px; }
.trow:hover { background: rgba(255, 255, 255, .08); }
.trow > b { font-family: var(--pix); font-size: 1.4rem; color: #8d8696; text-align: center; } .trow:nth-child(1) > b { color: #e2c26a; } .trow:nth-child(2) > b { color: #cfd6de; } .trow:nth-child(3) > b { color: #c98a52; }
.trow img { width: 86px; aspect-ratio: 320 / 176; object-fit: cover; border-radius: 5px; } .trow strong { display: block; font-size: .92rem; } .trow small { color: #bfae92; font-size: .72rem; }
.trow em { font-style: normal; font-family: var(--pix); color: var(--gold); white-space: nowrap; font-size: .9rem; }
.plist { margin: 0 0 12px; padding-left: 26px; display: grid; gap: 8px; } .plist li::marker { font-family: var(--pix); color: var(--gold); font-weight: 800; } .plist small { display: block; color: #bfae92; }
.panel.perso { border-color: var(--gold); }

/* ---------- frise ---------- */
.frise { position: relative; max-width: 820px; margin: 0 auto; padding-left: 46px; }
.frise::before { content: ""; position: absolute; left: 21px; top: 0; bottom: 0; width: 4px; background: linear-gradient(var(--gold), #5a3d12); }
.fyear { font-family: var(--pix); font-size: 2rem; color: var(--gold); margin: 22px 0 10px -46px; padding-left: 0; text-shadow: 0 3px 0 rgba(0, 0, 0, .6); position: relative; background: #120a14; display: inline-block; padding: 2px 14px; border-radius: 99px; border: 2px solid var(--gold); }
.fitem { display: block; text-decoration: none; position: relative; margin-bottom: 12px; }
.fdot { position: absolute; left: -41px; top: 18px; width: 36px; height: 36px; border-radius: 50%; background: #120a14; border: 3px solid var(--ta, var(--gold)); display: grid; place-items: center; } .fdot b { font: 700 .75rem var(--sans); }
.fcard { display: grid; grid-template-columns: 150px 1fr auto; gap: 14px; align-items: center; background: rgba(20, 11, 24, .88); border: 1px solid rgba(255, 255, 255, .1); border-left: 4px solid var(--ta, var(--gold)); border-radius: 12px; padding: 10px; transition: transform .15s; }
.fitem:hover .fcard { transform: translateX(6px); background: rgba(40, 24, 48, .95); }
.fcov { width: 150px; aspect-ratio: 320 / 176; object-fit: cover; border-radius: 6px; } .fico { width: 52px; height: 52px; border-radius: 8px; }
.fcard time { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ta, var(--gold)); font-weight: 700; } .fcard strong { display: block; font-family: var(--pix); font-size: 1.05rem; } .fcard small { color: #bfae92; font-size: .76rem; }
.fb { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 5px; } .fb i { font-style: normal; background: var(--gold); color: #24160c; font-weight: 800; font-size: .64rem; text-transform: uppercase; padding: 2px 8px; border-radius: 99px; }
@media (max-width: 600px) { .fcard { grid-template-columns: 1fr auto; } .fcov { display: none; } }

/* ---------- accueil : platine en cours ---------- */
.panel.now { display: flex; gap: 20px; align-items: center; text-decoration: none; position: relative; overflow: hidden; border-color: var(--ta, var(--gold)); pointer-events: auto; }
.panel.now::before { content: ""; position: absolute; inset: -30px; background: var(--img, none) center / cover; filter: blur(26px) brightness(.35) saturate(1.3); }
.panel.now > * { position: relative; } .panel.now img { width: min(260px, 38%); border-radius: 8px; box-shadow: 0 0 0 3px var(--ta, var(--gold)), 0 12px 24px rgba(0, 0, 0, .5); }
.panel.now > div { flex: 1; } .panel.now small { text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--ta, var(--gold)); font-size: .74rem; } .panel.now h2 { font-size: clamp(1.4rem, 3.4vw, 2.2rem); margin: 4px 0 12px; } .panel.now p { margin: 8px 0 0; color: #e2d5bf; } .panel.now p b { font-family: var(--pix); font-size: 1.3rem; color: #fff; }
.live { background: #e0245e; color: #fff; padding: 2px 9px; border-radius: 99px; margin-left: 8px; animation: flick 1.4s infinite; }
#cabinet { height: auto; }

/* ---------- trophée du site ---------- */
#trophy { position: fixed; top: 76px; right: 18px; z-index: 60; display: flex; gap: 14px; align-items: center; background: rgba(18, 18, 24, .96); border: 1px solid rgba(255, 255, 255, .18); border-radius: 16px; padding: 12px 20px 12px 14px; box-shadow: 0 20px 50px rgba(0, 0, 0, .7), 0 0 40px rgba(127, 196, 245, .35); }
#trophy[hidden] { display: none; } #trophy.go { animation: tin 7s both; }
#trophy img { height: 54px; } #trophy small { display: block; font-size: .72rem; color: #cfd6de; } #trophy strong { display: block; font-size: 1.1rem; } #trophy span { font-size: .78rem; color: #a9b0bb; }
@keyframes tin { 0% { transform: translateX(120%); } 6%, 92% { transform: none; opacity: 1; } 100% { transform: translateX(120%); opacity: 0; } }
/* classements : la valeur passe sous le titre, plus de colonnes écrasées */
.cols.tops { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.trow { grid-template-columns: 30px 78px minmax(0, 1fr); gap: 10px; }
.trow img { width: 78px; }
.trow strong { overflow-wrap: anywhere; }
.trow em { display: block; font-size: .82rem; margin-top: 3px; }

/* ---------- compte en ligne ---------- */
#acct { width: min(400px, 92vw); margin-top: 14vh; }
#acct input { width: 100%; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: 10px; padding: 9px 11px; color: #fff; }
.cform.online { grid-template-columns: 1fr auto; }
.login-cta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.crow select { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .2); border-radius: 8px; padding: 6px 8px; } .crow select option { color: #000; }
.vote:disabled { opacity: .55; cursor: default; }
[hidden] { display: none !important; } /* l'attribut hidden gagne toujours sur les display des composants */
/* connexion Discord / Twitch */
.oauth { display: grid; gap: 10px; width: 100%; }
.btn.oa { color: #fff; padding: 12px 16px; font-size: .95rem; }
.btn.oa.discord { background: #5865f2; } .btn.oa.discord:hover { background: #4752c4; }
.btn.oa.twitch { background: #9146ff; } .btn.oa.twitch:hover { background: #772ce8; }
.mailfb { width: 100%; text-align: left; font-size: .85rem; color: #cbb99b; } .mailfb summary { cursor: pointer; margin-bottom: 10px; }
.mailfb label { display: block; margin-bottom: 10px; }

/* ---------- classements : onglets + podium ---------- */
.ttabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 22px; }
.ttabs button { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); color: #e6d9c2; border-radius: 99px; padding: 8px 16px; font-weight: 700; cursor: pointer; }
.ttabs button[aria-selected="true"] { background: var(--gold); color: #24160c; border-color: var(--gold); }
.hall { background: radial-gradient(ellipse 60% 55% at 50% 38%, rgba(233, 196, 106, .14), transparent 70%), rgba(20, 11, 24, .86); border: 1px solid rgba(255, 255, 255, .1); border-radius: 22px; padding: clamp(18px, 4vw, 36px) clamp(12px, 3vw, 30px) 30px; }
.hall h2 { font-family: var(--pix); font-size: clamp(1.5rem, 3.6vw, 2.3rem); text-align: center; margin: 0 0 10px; }
.pf-act.center { justify-content: center; margin-top: 18px; }
.podium { display: grid; grid-template-columns: 1fr 1.18fr 1fr; align-items: end; gap: clamp(8px, 2vw, 22px); max-width: 860px; margin: 18px auto 0; }
.pod { --k: #cd7f32; --k2: #7a4a22; display: flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none; gap: 4px; min-width: 0; }
.pod.p1 { --k: #e9c46a; --k2: #8a6a1c; } .pod.p2 { --k: #cfd6de; --k2: #6c7480; }
.pcov { width: 100%; aspect-ratio: 320 / 176; border-radius: 10px; overflow: hidden; background: #120a14; box-shadow: 0 0 0 3px var(--k), 0 16px 30px rgba(0, 0, 0, .55); display: grid; place-items: center; transition: transform .2s; }
.pcov img { width: 100%; height: 100%; object-fit: cover; } .pcov i { font-style: normal; font-family: var(--pix); padding: 10px; }
.pod:hover .pcov { transform: translateY(-6px) scale(1.03); }
.pod.p1 .pcov { box-shadow: 0 0 0 4px var(--k), 0 0 46px rgba(233, 196, 106, .55), 0 18px 34px rgba(0, 0, 0, .6); }
.pval { font-family: var(--pix); font-size: clamp(1rem, 2.4vw, 1.5rem); color: var(--k); margin-top: 10px; }
.pod strong { font-size: clamp(.82rem, 1.6vw, 1rem); line-height: 1.2; overflow-wrap: anywhere; } .pod small { color: #bfae92; font-size: .72rem; }
.pstep { width: 100%; margin-top: 10px; display: grid; place-items: center; border-radius: 8px 8px 0 0; height: 70px;
  background: linear-gradient(var(--k), var(--k2)); box-shadow: inset 0 4px 0 rgba(255, 255, 255, .35), inset 0 -6px 0 rgba(0, 0, 0, .25); }
.pod.p1 .pstep { height: 120px; } .pod.p2 .pstep { height: 92px; }
.pstep em { font-style: normal; font-family: var(--pix); font-size: clamp(1.8rem, 4.5vw, 3rem); color: rgba(0, 0, 0, .55); text-shadow: 0 2px 0 rgba(255, 255, 255, .35); }
.pod.empty { visibility: hidden; }
.rest { list-style: none; counter-reset: r 3; max-width: 760px; margin: 0 auto; padding: 18px 0 0; border-top: 6px solid rgba(255, 255, 255, .08); display: grid; gap: 6px; }
.rest li { counter-increment: r; } .rest a { display: grid; grid-template-columns: 34px 92px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 10px; border-radius: 12px; text-decoration: none; background: rgba(255, 255, 255, .04); }
.rest a::before { content: counter(r); font-family: var(--pix); font-size: 1.2rem; color: #8d8696; text-align: center; }
.rest a:hover { background: rgba(255, 255, 255, .1); } .rest img, .rest .ph { width: 92px; aspect-ratio: 320 / 176; object-fit: cover; border-radius: 6px; background: #2a1a2e; }
.rest strong { display: block; } .rest small { color: #bfae92; font-size: .74rem; } .rest em { font-style: normal; font-family: var(--pix); color: var(--gold); white-space: nowrap; }
@media (max-width: 600px) { .rest a { grid-template-columns: 26px 70px minmax(0, 1fr); } .rest img, .rest .ph { width: 70px; } .rest em { grid-column: 3; font-size: .8rem; } .pstep { height: 50px; } .pod.p1 .pstep { height: 84px; } .pod.p2 .pstep { height: 66px; } }

/* ---------- auteur d'un guide ---------- */
.byline { display: inline-flex; align-items: center; gap: 6px; }
.byline img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.face.first .byline { font-size: .72rem; text-transform: none; letter-spacing: 0; }
.face.rear footer img { object-fit: cover; }

/* ---------- boîte à suggestions ---------- */
.sugform { display: grid; gap: 10px; } .sugform button { justify-self: start; }
.sugform textarea, .sugedit textarea { width: 100%; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: 12px; padding: 10px 12px; color: #fff; resize: vertical; }
.suglist { display: grid; gap: 8px; margin-top: 16px; }
.sug { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: start; background: rgba(255, 255, 255, .05); border-radius: 14px; padding: 12px; }
.sug img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.sug small { color: #bfae92; margin-left: 6px; } .sug p { margin: 6px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.sugact { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.sugedit { display: grid; gap: 8px; margin-top: 6px; }
@media (max-width: 600px) { .sug { grid-template-columns: 34px minmax(0, 1fr); } .sugact { grid-column: 2; justify-content: flex-start; } .sug img { width: 34px; height: 34px; } }
/* bouton Twitch : logo blanc sur le violet, collé à gauche ; texte centré */
.btn.oa.twitch { position: relative; display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 56px; font-family: var(--sans); font-weight: 600; font-size: 1.02rem; letter-spacing: .01em; border-radius: 12px; }
.btn.oa.twitch .tw-logo { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 24px; height: auto; }
#acct h2 { font-family: var(--pix); font-weight: 700; letter-spacing: .02em; }
#acct p { font-family: var(--sans); }

/* badge EN LIVE (barre du haut, à côté du pseudo) */
.live-badge { display: inline-flex; align-items: center; white-space: nowrap; flex: none; gap: 7px; margin-left: 4px; padding: 4px 11px 4px 9px; border-radius: 99px; background: rgba(224, 36, 36, .14); border: 1.5px solid #e02424;
  color: #ff4d4d; font: 800 .72rem var(--sans); letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.live-badge i { width: 9px; height: 9px; border-radius: 50%; background: #ff2b2b; box-shadow: 0 0 8px #ff2b2b; animation: rec 1.2s ease-in-out infinite; }
.live-badge:hover { background: rgba(224, 36, 36, .28); }
@keyframes rec { 50% { opacity: .25; } }
body.calm .live-badge i { animation: none; }
.live-badge.off { background: rgba(255, 255, 255, .05); border-color: rgba(203, 185, 155, .45); color: #cbb99b; }
.live-badge.off i { background: #7d7468; box-shadow: none; animation: none; }
.live-badge.off:hover { background: rgba(255, 255, 255, .1); color: #f3e9d8; }

/* ---------- avis des chasseurs (page d'un guide) ---------- */
.crowd { margin: 22px 0 6px; padding: 16px; border-radius: 14px; background: linear-gradient(135deg, #f3e7c8, #ead9b0); border: 1.5px solid #d8c08a; }
.crowd-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.crowd-stats div { background: rgba(255, 255, 255, .55); border-radius: 10px; padding: 10px 12px; }
.crowd-stats b { display: block; font-size: 1.35rem; font-weight: 800; color: var(--ink); } .crowd-stats span { font-size: .74rem; color: var(--ink-2); }
.crowd-stats .gold { background: linear-gradient(135deg, #2c4f86, #1d3460); } .crowd-stats .gold b { color: #9fd3ff; } .crowd-stats .gold span { color: #d8e8ff; }
.wall-hunters { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 2px; }
.hunter { position: relative; } .hunter img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #7fc4f5; display: block; }
.hunter button { position: absolute; top: -6px; right: -6px; width: 18px; height: 18px; border-radius: 50%; border: 0; background: #a3352a; color: #fff; font-size: .7rem; cursor: pointer; line-height: 1; }
.more { align-self: center; font-weight: 800; color: var(--ink-2); }
.crowd-form { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: end; margin-top: 14px; }
.crowd-form label span { display: block; font-size: .78rem; font-weight: 700; margin-bottom: 3px; }
.crowd-form select, .crowd-form input[type=number] { padding: 8px 10px; border: 1.5px solid #c9b995; border-radius: 10px; background: #fffaf0; color: var(--ink); width: 110px; }
.crowd-form .platck { display: flex; gap: 8px; align-items: center; font-weight: 700; padding-bottom: 8px; } .platck input { width: 18px; height: 18px; accent-color: #4f9fe0; }
.crowd .login-cta { margin: 12px 0 0; }

/* ---------- statistiques ---------- */
.chartbox { margin-bottom: 22px; } .chartbox h2 { margin-bottom: 8px; }
.chart { width: 100%; height: auto; display: block; }
.chart .grid { stroke: rgba(255, 255, 255, .08); stroke-width: 1; } .chart .base { stroke: rgba(255, 255, 255, .3); stroke-width: 1; }
.chart .ax { fill: #a99c8a; font: 600 11px var(--sans); }
.chart .bar { fill: var(--gold); } .chart .hit { fill: transparent; }
.chart .col:hover .bar, .chart .col:focus .bar { fill: var(--gold-2); } .chart .col:focus { outline: none; }
.chart .col:hover .hit, .chart .col:focus .hit { fill: rgba(255, 255, 255, .05); }
.hb { display: grid; gap: 8px; }
.hb-row { display: grid; grid-template-columns: minmax(110px, 38%) 1fr 30px; gap: 10px; align-items: center; padding: 3px 4px; border-radius: 8px; outline: none; }
.hb-row:hover, .hb-row:focus { background: rgba(255, 255, 255, .06); }
.hb-l { font-size: .82rem; color: #e2d5bf; } .hb-row b { font-family: var(--pix); text-align: right; color: #f3e9d8; }
.hb-track { height: 14px; background: rgba(255, 255, 255, .06); border-radius: 4px; overflow: hidden; }
.hb-track i { display: block; height: 100%; background: var(--c); border-radius: 0 4px 4px 0; min-width: 2px; }
.dtable { margin-top: 12px; font-size: .82rem; color: #cbb99b; } .dtable summary { cursor: pointer; }
.dtable table { width: 100%; border-collapse: collapse; margin-top: 8px; } .dtable th, .dtable td { text-align: left; padding: 5px 8px; border-bottom: 1px solid rgba(255, 255, 255, .08); vertical-align: top; }
.tip { position: fixed; z-index: 70; max-width: 320px; background: #120a14; color: #f3e9d8; border: 1px solid rgba(233, 196, 106, .5); border-radius: 10px; padding: 8px 11px; font-size: .8rem; line-height: 1.4; pointer-events: none; box-shadow: 0 10px 30px rgba(0, 0, 0, .6); }

/* ---------- fiche jeu : vidéos et liste des trophées ---------- */
.gpage h2 small { font: 700 .8rem var(--sans); color: #cbb99b; margin-left: 6px; }
.tvlist { display: grid; gap: 10px; }
.tv { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 14px; align-items: center; background: rgba(0, 0, 0, .35); border-radius: 12px; padding: 10px 12px; }
.tv strong { display: block; overflow-wrap: anywhere; } .tv small { color: #bfae92; font-size: .75rem; }
.tv .vid { margin: 0; background: var(--ta, var(--gold)); color: #14090c !important; }
.tv .vframe { grid-column: 1 / -1; margin: 0; }
.note.left { text-align: left; margin: 10px 0 0; }
.gpage .filters button { background: rgba(0, 0, 0, .35); color: #f3e9d8; border-color: rgba(255, 255, 255, .2); }
.gpage .filters button[aria-pressed="true"] { background: var(--ta, var(--gold)); color: #14090c; border-color: transparent; }
.tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 18px; margin-bottom: 8px; }
.tcard { --k: var(--bronze); position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; min-height: 240px; padding: 20px 14px 14px;
  border-radius: 16px; background: linear-gradient(180deg, color-mix(in srgb, var(--k) 14%, rgba(20, 10, 12, .85)), rgba(0, 0, 0, .45));
  border: 1px solid color-mix(in srgb, var(--k) 40%, transparent); box-shadow: inset 0 3px 0 var(--k), 0 6px 18px rgba(0, 0, 0, .35); opacity: .5; transition: transform .2s, opacity .2s; }
.tcard.got { opacity: 1; } .tcard:hover { transform: translateY(-3px); opacity: 1; }
.tcard.platine { --k: var(--platine); } .tcard.or { --k: var(--or); } .tcard.argent { --k: var(--silver); }
.tcard img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; box-shadow: 0 0 0 2px var(--k), 0 4px 14px rgba(0, 0, 0, .5); }
.tcard:not(.got) img { filter: grayscale(1); }
.tcard strong { line-height: 1.25; overflow-wrap: anywhere; }
.tcard small { color: #cbb99b; font-size: .76rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.tfoot { margin-top: auto; display: flex; gap: 10px; align-items: center; justify-content: center; font-size: .74rem; color: #cbb99b; }
.tfoot .tt { color: var(--k); font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.tcard .tdate, .tcard .tmiss { font-size: .74rem; } .tdate { color: #f3e9d8; } .tmiss { font-style: italic; color: #cbb99b; }
.tgroup { display: flex; align-items: center; gap: 14px; margin: 28px 0 14px; padding: 10px 14px; border-radius: 14px; background: rgba(0, 0, 0, .35); border-left: 4px solid var(--gold); }
.tgroup.dlc { border-left-color: #b98cff; } .tgroup img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; }
.tgroup div { flex: 1; min-width: 0; } .tgroup h3 { margin: 2px 0 0; font-size: 1.05rem; }
.tg-tag { display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; background: var(--gold); color: #14090c; }
.tgroup.dlc .tg-tag { background: #b98cff; } .tgroup > small { color: #f3e9d8; font-weight: 700; }
.agree { margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: rgba(0, 0, 0, .3); }
.agree p { margin: 0 0 10px; font-weight: 700; } .agree-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.agree-btns button[disabled] { cursor: default; opacity: .85; }
.agree-bar { height: 8px; border-radius: 99px; background: #6b2a2a; overflow: hidden; margin-bottom: 4px; } .agree-bar i { display: block; height: 100%; background: #6fcf7a; border-radius: 99px; }
.agree small { color: #cbb99b; font-size: .76rem; }
@media (max-width: 600px) { .tgrid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; } .tcard { min-height: 210px; padding: 16px 10px 12px; } .tcard img { width: 60px; height: 60px; } }

/* ---------- statistiques : registre du chasseur (bois sombre, or, reliures) ---------- */
.grim { display: flex; align-items: center; gap: 18px; max-width: 1180px; margin: 0 auto 22px; padding: 18px 22px; border-radius: 18px;
  background: linear-gradient(135deg, rgba(74, 44, 26, .92), rgba(29, 18, 12, .94)); border: 1px solid rgba(233, 196, 106, .45); box-shadow: inset 0 0 0 4px rgba(0, 0, 0, .25), inset 0 0 0 5px rgba(233, 196, 106, .18), 0 18px 40px rgba(0, 0, 0, .45); }
.grim > img { width: 64px; height: 64px; object-fit: contain; filter: drop-shadow(0 0 12px rgba(127, 196, 245, .55)); }
.grim small { color: var(--gold); text-transform: uppercase; letter-spacing: .18em; font-size: .7rem; font-weight: 800; }
.grim p { margin: 4px 0 0; color: #cbb99b; }
.stiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 12px; max-width: 1180px; margin: 0 auto 24px; }
.stile { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 18px 12px 16px; border-radius: 14px;
  background: radial-gradient(120% 90% at 50% 0%, rgba(233, 196, 106, .14), transparent 60%), linear-gradient(180deg, var(--w3), var(--w1));
  border: 1px solid rgba(233, 196, 106, .55); box-shadow: inset 0 0 0 3px rgba(0, 0, 0, .3), inset 0 0 0 4px rgba(233, 196, 106, .2), 0 10px 24px rgba(0, 0, 0, .4); }
.stile::before, .stile::after { content: "✦"; position: absolute; top: 6px; color: var(--gold); font-size: .6rem; opacity: .8; } .stile::before { left: 9px; } .stile::after { right: 9px; }
.stile > img { width: 34px; height: 34px; object-fit: contain; }
.stile b { font-family: var(--pix); font-size: clamp(1.4rem, 3vw, 1.9rem); line-height: 1.1; color: var(--gold-2); text-shadow: 0 0 14px rgba(233, 196, 106, .45); }
.stile span { white-space: normal; overflow-wrap: anywhere; font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: #d9c9ab; }
.gem { display: block; width: 26px; height: 26px; margin: 4px 0; transform: rotate(45deg); border-radius: 5px; background: linear-gradient(135deg, #fff8, transparent 45%), var(--k); box-shadow: 0 0 12px var(--k); }
.gem.or { --k: var(--or); } .gem.argent { --k: var(--silver); } .gem.bronze { --k: var(--bronze); } .gem.ultra { --k: #b98cff; }
h2.orn { display: flex; align-items: center; gap: 12px; font-family: var(--pix); margin: 0 0 12px; }
h2.orn::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(233, 196, 106, .6), transparent); }
h2.orn span::before { content: "✦ "; color: var(--gold); font-size: .8em; }
.records { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.record { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; text-decoration: none; background: rgba(0, 0, 0, .3); border: 1px solid rgba(233, 196, 106, .2); transition: transform .2s, border-color .2s; }
.record:hover { transform: translateY(-2px); border-color: rgba(233, 196, 106, .6); }
.record img { width: 54px; height: 54px; border-radius: 9px; object-fit: cover; flex: none; }
.record div { min-width: 0; display: flex; flex-direction: column; } .record small { color: var(--gold); font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.record strong { font-size: .88rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .record em { font-style: normal; color: #cbb99b; font-size: .78rem; }
.chart.shelf .plank { fill: #6b4023; } .chart.shelf .plank-sh { fill: #2c1a11; }
.hb-track { height: 14px; background: rgba(0, 0, 0, .35); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .6); border-radius: 99px; }
.hb-track i { background: var(--c, linear-gradient(90deg, #a8772a, var(--gold) 70%, var(--gold-2))); border-radius: 99px; box-shadow: 0 0 10px rgba(233, 196, 106, .35); }
.hb-row b { color: var(--gold-2); }
@media (max-width: 600px) { .grim { padding: 14px; gap: 12px; } .grim > img { width: 46px; height: 46px; } .stiles { grid-template-columns: repeat(2, 1fr); } }

/* ---------- compte à rebours du prochain live ---------- */
.cd { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 14px; margin: 18px 0 0; padding: 8px 16px; border-radius: 99px;
  background: rgba(20, 11, 24, .7); border: 1px solid rgba(190, 150, 255, .45); backdrop-filter: blur(8px); font-size: .9rem; }
.cd-l { color: #e2d5bf; } .cd-l b { color: #fff; } .cd-l small { color: #cdb8ff; }
.cd-t { display: inline-flex; gap: 6px; } .cd-t i { font-style: normal; font-size: .7rem; color: #cdb8ff; display: inline-flex; align-items: baseline; gap: 2px; }
.cd-t b { font: 400 1.15rem "Anton", var(--pix); color: #fff; letter-spacing: .03em; min-width: 1.4ch; text-align: right; }
.cd-t em { font-style: normal; color: #cdb8ff; } .cd-now { color: #ff4d4d !important; font-weight: 800; }
.cd.big { display: flex; justify-content: space-between; border-radius: 14px; margin: 0 0 16px; padding: 12px 18px; background: linear-gradient(90deg, rgba(120, 80, 200, .25), rgba(20, 11, 24, .6)); }
.cd.big .cd-t b { font-size: 1.7rem; } .cd.big .cd-t { gap: 10px; }
.cd.none { display: block; text-align: center; border-radius: 14px; margin: 0 0 16px; color: #cbb99b; }
/* ---------- badge « Nouveau platine ! » ---------- */
.newplat { position: relative; display: flex; align-items: center; gap: 16px; max-width: 1180px; margin: 0 auto 22px; padding: 14px 20px; border-radius: 18px; text-decoration: none; overflow: hidden;
  background: linear-gradient(110deg, rgba(20, 40, 70, .92), rgba(40, 24, 60, .92)); border: 1.5px solid var(--platine); box-shadow: 0 0 26px rgba(127, 196, 245, .35), 0 16px 34px rgba(0, 0, 0, .45); }
.newplat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .18) 50%, transparent 65%); transform: translateX(-100%); animation: shine 3.2s ease-in-out infinite; pointer-events: none; }
@keyframes shine { 60%, 100% { transform: translateX(100%); } }
body.calm .newplat::after { animation: none; display: none; }
.np-cover { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; flex: none; }
.np-logo { width: 42px; height: 42px; object-fit: contain; flex: none; filter: drop-shadow(0 0 10px rgba(127, 196, 245, .8)); animation: npbob 2.4s ease-in-out infinite; }
@keyframes npbob { 50% { transform: translateY(-4px) rotate(-6deg); } } body.calm .np-logo { animation: none; }
.newplat div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.newplat small { color: var(--platine); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: .72rem; }
.newplat strong { font-family: var(--pix); font-size: clamp(1.1rem, 3vw, 1.5rem); color: #fff; }
.newplat span { color: #c9d8ea; font-size: .82rem; } .newplat > i { font-style: normal; font-size: 1.4rem; color: var(--platine); }
.newtag { position: absolute; top: 8px; left: 8px; z-index: 2; padding: 3px 9px; border-radius: 99px; background: var(--platine); color: #0c1a2b; font: 800 .66rem var(--sans); letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 0 12px rgba(127, 196, 245, .8); }
@media (max-width: 600px) { .newplat { padding: 12px; gap: 10px; } .np-cover { width: 48px; height: 48px; } .np-logo { display: none; } .cd.big { flex-direction: column; } }

/* ---------- playlist YouTube, présentée comme sur YouTube ---------- */
.ytpl { display: grid; grid-template-columns: minmax(240px, 300px) minmax(0, 1fr); gap: 20px; align-items: start; }
.ytpl-side { position: sticky; top: 80px; overflow: hidden; border-radius: 16px; padding: 18px; isolation: isolate;
  background: linear-gradient(180deg, rgba(60, 30, 140, .55), rgba(25, 12, 70, .9)); }
.ytpl-side::before { content: ""; position: absolute; inset: -40px; z-index: -1; background: var(--bg) center / cover; filter: blur(40px) saturate(1.6); opacity: .55; }
.ytpl-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; display: block; box-shadow: 0 8px 24px rgba(0, 0, 0, .5); }
.ytpl-side h3 { font-size: 1.45rem; line-height: 1.15; margin: 14px 0 8px; color: #fff; }
.ytpl-ch { margin: 0 0 4px; font-weight: 700; font-size: .85rem; color: #fff; } .ytpl-meta { margin: 0 0 10px; font-size: .78rem; color: #d7cff0; }
.ytpl-desc { margin: 0 0 14px; font-size: .82rem; color: #e6e0f5; line-height: 1.4; }
.ytpl-play { display: inline-flex; align-items: center; gap: 8px; padding: 9px 20px; border-radius: 99px; background: #fff; color: #0f0f0f; font-weight: 800; text-decoration: none; }
.ytpl-play:hover { background: #e5e5e5; }
.ytpl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; max-height: 680px; overflow-y: auto; }
.ytpl-list a { display: grid; grid-template-columns: 26px 168px minmax(0, 1fr); gap: 12px; align-items: center; padding: 6px; border-radius: 12px; text-decoration: none; color: inherit; }
.ytpl-list a:hover, .ytpl-list a:focus-visible { background: rgba(255, 255, 255, .08); }
.ytpl-n { text-align: center; color: #aaa; font-size: .85rem; }
.ytpl-th { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #000; }
.ytpl-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ytpl-th i { position: absolute; right: 5px; bottom: 5px; padding: 1px 5px; border-radius: 4px; background: rgba(0, 0, 0, .8); color: #fff; font: 700 .7rem var(--sans); font-style: normal; }
.ytpl-t { min-width: 0; } .ytpl-t strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .92rem; line-height: 1.3; color: #f1f1f1; }
.ytpl-t small { display: block; margin-top: 4px; color: #aaa; font-size: .76rem; }
@media (max-width: 760px) { .ytpl { grid-template-columns: 1fr; } .ytpl-side { position: static; } .ytpl-list a { grid-template-columns: 20px 120px minmax(0, 1fr); gap: 8px; } }

/* icônes des tuiles de stats */
.stile .ico { width: 38px; height: 38px; filter: drop-shadow(0 0 8px rgba(233, 196, 106, .35)); }
.stile .ico.dia { filter: drop-shadow(0 0 10px rgba(160, 120, 255, .7)); }
.ico .spark { transform-box: fill-box; transform-origin: center; animation: spark 2.2s ease-in-out infinite; } .ico .s2 { animation-delay: .7s; } .ico .s3 { animation-delay: 1.4s; }
@keyframes spark { 0%, 100% { opacity: 0; transform: scale(.3) rotate(0); } 40% { opacity: 1; transform: scale(1.15) rotate(45deg); } 70% { opacity: 0; transform: scale(.3) rotate(90deg); } }
.ico.hg { animation: hgturn 4s ease-in-out infinite; transform-origin: center; } @keyframes hgturn { 0%, 80% { transform: rotate(0); } 92%, 100% { transform: rotate(180deg); } }
.ico .sand-fall { animation: sand .6s linear infinite; } @keyframes sand { to { stroke-dashoffset: -3; } }
body.calm .ico .spark, body.calm .ico.hg, body.calm .ico .sand-fall { animation: none; } body.calm .ico .spark { opacity: 1; }
.chart.shelf .bar { fill: url(#barGold); }
