/* ---------- HOCKEY D'ASTÉROÏDES (téléphone) ---------- */
.hkp { display: flex; flex-direction: column; gap: 10px; align-items: center; width: 100%; touch-action: none; user-select: none; -webkit-user-select: none; padding-bottom: 40px; }
.hkp-top { width: 100%; max-width: 520px; display: flex; justify-content: space-between; align-items: center; }
.hkp-st { font: 800 20px/1.1 'Outfit Variable', sans-serif; color: #fff; }
.hkp-lv { display: inline-block; font-size: 22px; letter-spacing: -1px; }
.hkp-w { position: relative; width: 100%; max-width: 520px; display: grid; place-items: center; }
.hkp-hit { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; opacity: 0; font: 900 64px/1 'Outfit Variable', sans-serif; color: #ff5a4a; -webkit-text-stroke: 3px #000; paint-order: stroke fill; }
.hkp-hit.on { animation: hkp-hit 1.2s ease-out; }
@keyframes hkp-hit { 0% { opacity: 0; transform: scale(0.5); } 12% { opacity: 1; transform: scale(1.25); } 70% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }
.hkp-lv.hit { animation: hkp-lv 0.9s ease-out; }
@keyframes hkp-lv { 0%, 100% { transform: none; } 15% { transform: scale(1.5) rotate(-6deg); } 30% { transform: scale(1.3) rotate(6deg); } 45% { transform: scale(1.4) rotate(-4deg); } }
.hkp-cv { display: block; touch-action: none; }
.hkp-win { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(6, 8, 16, 0.6); border-radius: 18px; animation: nt-fade 0.3s both; }
.hkp-win[hidden] { display: none; }
.hkp-wc { display: flex; flex-direction: column; align-items: center; gap: 8px; max-width: 82%; padding: 16px 22px 18px; border-radius: 22px; background: #141a2c; border: 4px solid #000; box-shadow: 0 0 0 3px var(--c), 6px 6px 0 #000; animation: hkp-wc 0.5s cubic-bezier(.2, 1.4, .4, 1) both; }
.hkp-wc i { font-style: normal; font-size: 40px; line-height: 1; }
.hkp-wc .avatar { width: 92px; height: 92px; }
.hkp-wc b { font: 900 24px/1.1 'Outfit Variable', sans-serif; color: #fff; text-align: center; }
@keyframes hkp-wc { from { opacity: 0; transform: scale(0.5); } }
@keyframes nt-fade { from { opacity: 0; } }
.hkp-tip { font: 700 15px/1.2 'Outfit Variable', sans-serif; color: #aaa; text-align: center; }

/* ---------- RENDEZ-VOUS ORBITAL (refait le 02/12) ---------- */
.rvp { display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 480px; margin: 0 auto; }
.rvp-h { display: flex; flex-direction: column; gap: 6px; text-align: center; }
.rvp-h b { font: 900 25px/1.15 'Outfit Variable', sans-serif; color: #fff; }
.rvp-h span { font: 700 16px/1.35 'Outfit Variable', sans-serif; color: #aab; }
.rvp-big { font-size: 80px; text-align: center; line-height: 1; margin-top: 14px; }
.rvp-who { display: flex; align-items: center; justify-content: center; gap: 10px; font: 900 22px/1 'Outfit Variable', sans-serif; color: #fff; }
.rvp .avatar { --size: 40px; }
.rvp-q { display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 18px; background: #141724; border: 4px solid #000; box-shadow: inset 0 0 0 2px #ff5d9a55; text-align: center; }
.rvp-q small { font: 800 14px/1 'Outfit Variable', sans-serif; color: #ff8fb7; }
.rvp-q b { font: 900 22px/1.25 'Outfit Variable', sans-serif; color: #fff; }
.rvp-btns { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.rvp-b { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 6px; border-radius: 18px; border: 4px solid #000; box-shadow: 0 5px 0 #000; font-size: 52px; color: #fff; }
.rvp-b b { font: 900 16px/1 'Outfit Variable', sans-serif; }
.rvp-b.red { background: #8a1a2a; } .rvp-b.ok { background: #2a3150; } .rvp-b.green { background: #1d6b3a; }
.rvp-b.on { transform: translateY(3px); box-shadow: 0 2px 0 #000, 0 0 0 4px #ffd34d; }
.rvp-b:disabled:not(.on) { opacity: 0.4; }
.rvp-fl { display: flex; flex-direction: column; gap: 6px; padding: 10px; border-radius: 14px; background: #0f1220; }

.rvp-fl span { padding: 7px 10px; border-radius: 10px; font: 700 15px/1.25 'Outfit Variable', sans-serif; color: #fff; }
.rvp-fl .r { background: #4d1420; } .rvp-fl .g { background: #16492a; }
.rvp-go { padding: 16px; font-size: 20px; }

/* ===== OÙ EST-CE ? (01/12) ===== */
.geo-map { display: block; width: 100%; height: 100%; touch-action: none; }
.geo-sea { fill: #0b1220; } .geo-land { fill: #34405f; stroke: #0b1220; stroke-width: 0.8px; stroke-linejoin: round; }
.geo-line { stroke: #fff; stroke-width: 2px; stroke-dasharray: 5 5; opacity: 0.8; }
.geo-pin { stroke: #000; stroke-width: 2.5px; } .geo-pin.me { fill: #ffd34d; } .geo-dot { fill: #000; }
.geo-target { fill: #ff3b4e; stroke: #fff; stroke-width: 3px; }
.gop { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 560px; margin: 0 auto; height: calc(100dvh - 190px); min-height: 380px; }
.gop.m-reveal { height: auto; } .gop.m-reveal .gop-mapw { flex: none; aspect-ratio: 1; }
.gop-top { display: flex; flex-direction: column; gap: 4px; align-items: center; text-align: center; }
.gop-top b { font: 900 22px/1.15 'Outfit Variable', sans-serif; color: #fff; }
.gop-top span { font: 800 15px/1.2 'Outfit Variable', sans-serif; color: #ffd34d; }
.gop-photo { width: 100%; max-height: 26vh; object-fit: cover; border-radius: 14px; border: 3px solid #000; flex: 0 0 auto; }
.gop-photo.big { position: fixed; inset: 0; z-index: 50; max-height: none; height: 100%; object-fit: contain; background: rgba(0, 0, 0, 0.92); border: 0; border-radius: 0; }
.gop-mapw { position: relative; flex: 1; min-height: 200px; border-radius: 16px; border: 4px solid #000; overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; }
.gop-zoom { position: absolute; right: 8px; top: 8px; display: flex; flex-direction: column; gap: 8px; }
.gop-zoom button { width: 46px; height: 46px; border-radius: 12px; border: 3px solid #000; background: #1b1d2b; color: #fff; font: 900 26px/1 'Outfit Variable', sans-serif; box-shadow: 0 3px 0 #000; }
.gop-go { padding: 16px; font-size: 19px; flex: 0 0 auto; margin-right: 76px; }

/* ===== LE PLUS CHERCHÉ (01/12) ===== */
.chp { display: flex; flex-direction: column; gap: 16px; width: 100%; max-width: 480px; margin: 0 auto; }
.chp-q { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.chp-q b { font: 900 24px/1.15 'Outfit Variable', sans-serif; color: #fff; }
.chp-q span { font: 700 16px/1.3 'Outfit Variable', sans-serif; color: #aab; }
.chp-q em { font: 800 16px/1 'Outfit Variable', sans-serif; font-style: normal; color: #ffd34d; }
.chp-btns { display: grid; grid-template-rows: 1fr 1fr; gap: 14px; min-height: 46vh; }
.chp-b { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border-radius: 24px; border: 5px solid #000; box-shadow: 0 7px 0 #000; font-size: 54px; color: #fff; }
.chp-b b { font: 900 30px/1 'Outfit Variable', sans-serif; }
.chp-b.more { background: #1d6b3a; } .chp-b.less { background: #7a1f2b; }
.chp-b.on { transform: translateY(4px); box-shadow: 0 3px 0 #000, 0 0 0 5px #ffd34d; }
.chp-b:disabled:not(.on) { opacity: 0.35; }
.chp-n { margin: 0; text-align: center; font: 700 15px/1 'Outfit Variable', sans-serif; color: #9aa3b5; }
.chp-big { font-size: 90px; text-align: center; line-height: 1; margin-top: 24px; }

/* ===== NE BOUGE PLUS ! (01/12) ===== */
.slp { display: flex; flex-direction: column; gap: 14px; width: 100%; max-width: 480px; margin: 0 auto; height: calc(100dvh - 150px); min-height: 360px; }
.slp-top { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.slp-top b { font: 900 22px/1 'Outfit Variable', sans-serif; color: #fff; }
.slp-g i { display: none; padding: 10px 18px; border-radius: 99px; font: 900 18px/1 'Outfit Variable', sans-serif; font-style: normal; color: #fff; border: 3px solid #000; }
.slp-g .ok { display: block; background: #1d6b3a; }
.slp.watch .slp-g .ok { display: none; } .slp.watch .slp-g .ko { display: block; background: #b0182a; }
.slp-lanes { display: flex; flex-direction: column; gap: 6px; }
.slp-l { display: flex; align-items: center; gap: 8px; } .slp-l .avatar { --size: 26px; }
.slp-l .slp-bar { flex: 1; height: 10px; border-radius: 99px; background: #1b1d2b; overflow: hidden; }
.slp-bar i, .slp-prog i { display: block; height: 100%; background: var(--c, #ffd34d); transform-origin: left; transform: scaleX(0); transition: transform 0.1s linear; }
.slp-prog { height: 22px; border-radius: 99px; background: #1b1d2b; border: 3px solid #000; overflow: hidden; }
.slp-prog i { background: linear-gradient(90deg, #2fd16a, #ffd34d); }
.slp-tap { flex: 1; border-radius: 32px; border: 6px solid #000; background: radial-gradient(circle at 50% 40%, #3bd47a, #1d8a4a); box-shadow: 0 9px 0 #000; font: 900 54px/1 'Outfit Variable', sans-serif; color: #fff; -webkit-text-stroke: 2px #000; paint-order: stroke fill; touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.slp-tap.p { animation: slp-p 0.12s ease-out; }
@keyframes slp-p { 50% { transform: scale(0.96) translateY(4px); } }
.slp.watch .slp-tap { background: radial-gradient(circle at 50% 40%, #ff5d6e, #a3142a); }
.slp.hit { animation: slp-hit 0.6s ease-out; }
@keyframes slp-hit { 0%, 100% { background: transparent; } 20% { background: rgba(255, 40, 60, 0.6); } }
/* (03/12) sans télé : la course entière sur le téléphone */
.slp.notv { gap: 10px; }
.slp.notv::before { content: ''; position: fixed; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 40%, transparent 40%, rgba(255, 30, 50, 0.55)); opacity: 0; transition: opacity 0.12s; z-index: -1; }
.slp.notv.watch::before { opacity: 1; }
.slp-scene { position: relative; display: flex; align-items: stretch; gap: 4px; padding: 10px 8px 10px 8px; border-radius: 22px; background: radial-gradient(ellipse at 80% 50%, #241426, #0d1020 70%); border: 4px solid #000; box-shadow: 0 6px 0 #000; transition: box-shadow 0.12s; }
.slp.watch .slp-scene { box-shadow: 0 6px 0 #000, inset 0 0 0 3px #ff3b4e; }
.slp.notv .slp-lanes { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.slp.notv .slp-l { display: flex; align-items: center; gap: 6px; height: 40px; }
.slp-who { position: relative; flex: none; display: flex; flex-direction: column; align-items: center; }
.slp-who .avatar { --size: 30px; box-shadow: 0 0 0 2px var(--c); }
.slp-who em { position: absolute; bottom: -7px; padding: 1px 4px; border-radius: 99px; background: #3a0d14; border: 1.5px solid #000; font: 900 10px/1.1 'Outfit Variable', sans-serif; font-style: normal; color: #fff; white-space: nowrap; }
.slp-who em[hidden] { display: none; }
.slp-l.me .slp-track { background: rgba(255, 255, 255, 0.09); box-shadow: inset 0 0 0 2px var(--c); }
.slp-track { position: relative; flex: 1; height: 100%; border-radius: 12px; background: rgba(255, 255, 255, 0.04); }
.slp-fin { position: absolute; right: 2px; top: 3px; bottom: 3px; width: 6px; background: repeating-linear-gradient(#fff 0 5px, #000 5px 10px); opacity: 0.7; border-radius: 2px; }
.slp-ship { position: absolute; top: 50%; width: 46px; height: 40px; transform: translateY(-50%); transition: left 0.09s linear; }
.slp-ship img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 0 3px var(--c)); }
.slp-ship.dead img { animation: slp-dead 1.1s ease-in forwards; }
@keyframes slp-dead { 0% { transform: none; } 100% { transform: translateY(14px) rotate(70deg) scale(0.6); opacity: 0; } }
.slp-l.win .slp-ship img { filter: drop-shadow(0 0 6px #ffd34d); }
.slp-l.win .slp-ship::after { content: '🏁'; position: absolute; right: -4px; top: -12px; font-size: 16px; }
.slp-mv { position: absolute; left: 50%; bottom: 80%; transform: translateX(-50%); font-size: 22px; line-height: 1; animation: slp-mv 0.3s cubic-bezier(.2, 1.6, .4, 1) both; z-index: 2; }
@keyframes slp-mv { from { transform: translateX(-50%) scale(0.2); } }
.slp-boom { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 40px; line-height: 1; animation: slp-boom 0.9s ease-out forwards; z-index: 2; pointer-events: none; }
@keyframes slp-boom { 0% { transform: translate(-50%, -50%) scale(0.3); opacity: 1; } 40% { transform: translate(-50%, -50%) scale(1.3); opacity: 1; } 100% { transform: translate(-50%, -50%) scale(1.6); opacity: 0; } }
.slp-squad { flex: none; width: 54px; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.slp-squad img { width: 54px; height: 44px; object-fit: contain; transform: scaleX(1); transition: transform 0.15s, filter 0.15s; }
.slp.watch .slp-squad img { transform: scaleX(-1); filter: drop-shadow(0 0 3px #ff2e43) drop-shadow(0 0 2px #ff2e43); }
.slp-squad.tw img { animation: slp-tw 0.25s ease-in-out 2; }
@keyframes slp-tw { 50% { transform: translateX(-3px) rotate(-6deg); } }
.slp-squad.down img { animation: slp-down 0.9s ease-in forwards; }
.slp-squad.down img:nth-child(2) { animation-delay: 0.25s; } .slp-squad.down img:nth-child(3) { animation-delay: 0.5s; }
@keyframes slp-down { 30% { filter: brightness(3); } 100% { transform: translateY(30px) rotate(90deg) scale(0.4); opacity: 0; } }
.slp.notv .slp-g { display: flex; justify-content: center; }
.slp.notv .slp-g i { padding: 10px 22px; font-size: 22px; }
.slp.notv.watch .slp-g .ko { animation: slp-ko 0.3s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes slp-ko { from { transform: scale(1.3); } }
.slp-big { font-size: 90px; text-align: center; line-height: 1; margin-top: 30px; }
.slp-h { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.slp-h b { font: 900 40px/1 'Outfit Variable', sans-serif; color: #fff; } .slp-h span { font: 700 17px/1.3 'Outfit Variable', sans-serif; color: #aab; }
/* ===== ÉCHO (02/12) ===== */
.ecp { display: flex; flex-direction: column; align-items: center; gap: 14px; width: 100%; max-width: 480px; margin: 0 auto; }
.ecp-h { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.ecp-h b { font: 900 26px/1.1 'Outfit Variable', sans-serif; color: #fff; }
.ecp-h span { font: 700 16px/1.3 'Outfit Variable', sans-serif; color: #aab; }
.ecp-big { font-size: 90px; line-height: 1; margin-top: 24px; }
.ecp-top { display: flex; justify-content: space-between; width: 100%; padding: 0 6px; font: 800 16px/1 'Outfit Variable', sans-serif; color: #aab; }
.ecp-top b { font-family: 'Orbitron', 'Outfit Variable', sans-serif; color: #ffd34d; }
.ecp-h b.sp { color: #ffd34d; }
.ecp-grid.mirror { direction: rtl; }
.ecp-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; max-width: 90%; }
.ecp-dots i { width: 14px; height: 14px; border-radius: 50%; background: #2a3148; border: 2px solid #000; }
.ecp-dots i.on { background: #ffd34d; }
.ecp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: 100%; aspect-ratio: 3 / 2; }
.ecp-b { position: relative; display: grid; place-items: center; padding: 0; border: 0; background: none; opacity: 0.5; touch-action: none; -webkit-tap-highlight-color: transparent; transition: transform 0.12s, opacity 0.12s; }
.ecp-grid.on .ecp-b { opacity: 0.9; }
.ecp-b img { position: relative; width: 94%; height: 94%; object-fit: contain; pointer-events: none; }
.ecp-halo { position: absolute; inset: -4%; border-radius: 50%; background: radial-gradient(circle, var(--c) 0%, transparent 68%); opacity: 0; transition: opacity 0.15s; pointer-events: none; }
.ecp-b.lit { opacity: 1; transform: scale(1.16); transition-duration: 0.03s; }
/* (02/12) appui bien visible : la planète grossit, un anneau blanc s'élargit autour */
.ecp-b::after { content: ''; position: absolute; inset: 2%; border-radius: 50%; border: 5px solid #fff; opacity: 0; pointer-events: none; }
.ecp-b.lit::after { animation: ecp-ring 0.35s ease-out; }
@keyframes ecp-ring { from { opacity: 1; transform: scale(0.85); } to { opacity: 0; transform: scale(1.3); } }
.ecp-b.lit .ecp-halo { opacity: 1; transition-duration: 0.03s; }
.ecp-b:disabled { pointer-events: none; }
/* (03/12) raté : l'écran tremble en rouge, la planète touchée barrée, la bonne entourée en vert */
.ecp { position: relative; }
.ecp.m-miss { animation: ecp-shake 0.5s ease-out; }
.ecp.m-miss::before { content: ''; position: absolute; inset: -10px -8px; border-radius: 26px; background: radial-gradient(circle, rgba(255, 40, 60, 0.15), rgba(255, 40, 60, 0.55)); pointer-events: none; animation: ecp-red 1.4s ease-out forwards; z-index: -1; }
@keyframes ecp-red { 0% { opacity: 1; } 100% { opacity: 0.35; } }
@keyframes ecp-shake { 0%, 100% { transform: none; } 15% { transform: translateX(-14px); } 30% { transform: translateX(12px); } 45% { transform: translateX(-8px); } 60% { transform: translateX(5px); } }
.ecp.m-miss .ecp-h b { color: #ff5a6a; font-size: 34px; }
.ecp-b.bad { opacity: 1; }
.ecp-b.bad::before { content: '✕'; position: absolute; inset: 0; display: grid; place-items: center; z-index: 2; font: 900 64px/1 'Outfit Variable', sans-serif; color: #ff3b4e; -webkit-text-stroke: 3px #000; paint-order: stroke fill; }
.ecp-b.want { opacity: 1; animation: ecp-want 0.6s ease-in-out infinite alternate; }
.ecp-b.want::after { opacity: 1; border-color: #2ed47a; border-width: 6px; animation: none; }
@keyframes ecp-want { to { transform: scale(1.12); } }
.ecp-toast { position: absolute; left: 50%; top: 26px; width: max-content; max-width: 96vw; z-index: 5; display: flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; background: #3a0d14; border: 3px solid #000; box-shadow: 0 0 0 2px #ff3b4e, 4px 4px 0 #000; white-space: nowrap; transform: translateX(-50%); animation: ecp-toast 2.2s ease-out forwards; pointer-events: none; }
.ecp-toast .avatar { --size: 34px; box-shadow: 0 0 0 2px var(--c); }
.ecp-toast b { font: 900 17px/1 'Outfit Variable', sans-serif; color: #fff; }
.ecp-toast span { font: 700 15px/1 'Outfit Variable', sans-serif; color: #ffb3bb; }
@keyframes ecp-toast { 0% { opacity: 0; transform: translate(-50%, -12px) scale(0.8); } 10% { opacity: 1; transform: translate(-50%, 0) scale(1.05); } 18% { transform: translate(-50%, 0) scale(1); } 85% { opacity: 1; } 100% { opacity: 0; } }

/* ===== CANTINE (02/12, refaite) ===== */
.cnp { display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 520px; margin: 0 auto; }
.cnp-h { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.cnp-h b { font: 900 22px/1.1 'Outfit Variable', sans-serif; color: #fff; }
.cnp-h span { font: 700 15px/1.3 'Outfit Variable', sans-serif; color: #aab; }
.cnp-post { display: flex; flex-direction: column; gap: 8px; padding: 10px; border-radius: 20px; background: #2a1d12; border: 4px solid #000; box-shadow: inset 0 0 0 3px #ffb020; }
.cnp-post.cook { background: #241414; box-shadow: inset 0 0 0 3px #ff6a3d; }
.cnp-post small { font: 900 15px/1 'Outfit Variable', sans-serif; color: #ffd34d; text-align: center; }
.cnp-wl { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; min-height: 104px; align-items: center; touch-action: manipulation; }
.cnp-empty { margin: 0; font: 700 14px/1 'Outfit Variable', sans-serif; color: #8a93a8; }
.cnp-w { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; width: 104px; padding: 8px 4px; border-radius: 16px; background: #121522; border: 3px solid #000; color: #fff; -webkit-tap-highlight-color: transparent; }
.cnp-w > img { width: 50px; height: 50px; pointer-events: none; }
.cnp-w b { font: 900 13px/1 'Outfit Variable', sans-serif; pointer-events: none; }
.cnp-w em { font: 800 11px/1 'Outfit Variable', sans-serif; font-style: normal; color: #aab; pointer-events: none; }
.cnp-w.cut { background: #8a5a32; }
.cnp-w.cut.hit > img { animation: cnp-chop 0.18s ease-out; }
@keyframes cnp-chop { 0% { transform: scale(0.8) rotate(-8deg); } 100% { transform: none; } }
.cnp-chops { display: flex; gap: 3px; pointer-events: none; }
.cnp-chops i { width: 14px; height: 8px; border-radius: 3px; background: #3a2a1c; border: 2px solid #000; }
.cnp-chops i.on { background: #ffd34d; }
.cnp-cook { display: block; width: 80px; height: 9px; border-radius: 5px; background: #3a4258; border: 2px solid #000; overflow: hidden; pointer-events: none; }
.cnp-cook i { display: block; height: 100%; background: #ffb020; transform-origin: left; transform: scaleX(0); }
.cnp-w.cook:not(.on) { opacity: 0.55; }
.cnp-w.on > img { animation: cn-sizzle-p 0.2s linear infinite alternate; }
@keyframes cn-sizzle-p { from { transform: translateY(-1px); } to { transform: translateY(1px); } }
.cnp-w.done { background: #1d6b3a; box-shadow: 0 0 0 4px #2ed47a; }
.cnp-w.done em { color: #fff; }
.cnp-w.danger { background: #3a1010; box-shadow: 0 0 0 4px #ff4d5e; }
.cnp-w.danger em { color: #ff4d5e; }
.cnp-w.no { animation: cnp-ko 0.4s ease-out; }
.cnp-grid { display: grid; grid-template-columns: repeat(var(--cols), 1fr); gap: 8px; }
.cnp-b { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 84px; padding: 8px 4px 16px; border-radius: 18px; background: #121522; border: 4px solid #000; box-shadow: 0 5px 0 #000; color: #fff; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.cnp-b > img { width: 44px; height: 44px; pointer-events: none; }
.cnp-b b { font: 900 14px/1 'Outfit Variable', sans-serif; pointer-events: none; }
.cnp-prep { position: absolute; right: 5px; top: 5px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: #000; font-size: 12px; font-style: normal; pointer-events: none; }
.cnp-prep img { width: 15px; height: 15px; }
.cnp-b em { position: absolute; left: 4px; right: 4px; bottom: 4px; font: 800 11px/1.1 'Outfit Variable', sans-serif; font-style: normal; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; pointer-events: none; }
.cnp-b:active { transform: translateY(3px); box-shadow: 0 2px 0 #000; }
.cnp-b.ok { animation: cnp-ok 0.9s ease-out; }
.cnp-b.ok em { color: #2ed47a; animation: cnp-txt 1.4s ease-out; }
.cnp-b.ko { animation: cnp-ko 0.5s ease-out; }
.cnp-b.ko em { color: #ff4d5e; animation: cnp-txt 1.4s ease-out; }
@keyframes cnp-ok { 0% { background: #1d6b3a; } 100% { background: #121522; } }
@keyframes cnp-ko { 0%, 100% { transform: none; } 20% { transform: translateX(-6px); background: #7a1f2b; } 60% { transform: translateX(6px); } }
@keyframes cnp-txt { 0%, 70% { opacity: 1; } 100% { opacity: 0; } }
.cnp-b:disabled { opacity: 0.75; }
.cnp-ok { width: 100%; padding: 16px; font-size: 22px; }
.cnp-h.memo b { color: #ffd34d; font-size: 28px; }
.cnp-cd { font: 900 22px/1 'Orbitron', 'Outfit Variable', sans-serif; font-style: normal; color: #fff; }
.cnp.memo .cnp-b { opacity: 1; box-shadow: 0 5px 0 #000, inset 0 0 0 3px #ffd34d; }
.cnp-b > img { width: 56px; height: 56px; }
.cnp-b { min-height: 100px; }
.cnp-b b { font-size: 16px; }

/* ===== COLORIAGE (02/12) ===== */
.clp { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 520px; margin: 0 auto; height: calc(100dvh - 150px); min-height: 360px; }
.clp-top { display: flex; align-items: center; justify-content: space-between; padding: 0 6px; }
.clp-top b { font: 900 20px/1 'Outfit Variable', sans-serif; color: #fff; }
.clp-pct { font: 900 28px/1 'Orbitron', 'Outfit Variable', sans-serif; color: var(--pc); }
.clp-pad { position: relative; flex: 1; border-radius: 26px; background: #121522; border: 4px solid #000; box-shadow: inset 0 0 0 3px var(--pc); overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; }
.clp-pad p { position: absolute; left: 0; right: 0; top: 50%; margin: 0; transform: translateY(-50%); text-align: center; font: 800 18px/1.3 'Outfit Variable', sans-serif; color: #8a93a8; pointer-events: none; }
.clp-pad.on p { opacity: 0; }
.clp-base, .clp-knob { position: absolute; left: 0; top: 0; width: 0; height: 0; opacity: 0; pointer-events: none; }
.clp-base::before { content: ''; position: absolute; left: -70px; top: -70px; width: 140px; height: 140px; border-radius: 50%; border: 4px solid var(--pc); background: rgba(0, 0, 0, 0.3); }
.clp-knob::before { content: ''; position: absolute; left: -34px; top: -34px; width: 68px; height: 68px; border-radius: 50%; background: var(--pc); border: 4px solid #000; }
.clp-pad.on .clp-base, .clp-pad.on .clp-knob { opacity: 1; }
.clp-pad.fixed .clp-base, .clp-pad.fixed .clp-knob { opacity: 1; }
.clp-pad.fixed .clp-knob::before { left: -44px; top: -44px; width: 88px; height: 88px; }
.clp-pad.fixed.on .clp-knob::before { background: #fff; box-shadow: 0 0 0 6px var(--pc); }
.clp.turbo .clp-pad { box-shadow: inset 0 0 0 6px #ffd34d; }
.clp.turbo .clp-knob::before { background: #ffd34d; }



/* ===== LANCE-PIERRE : Pétanque, Curling (02/12) ===== */
.sgp { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 520px; margin: 0 auto; height: calc(100dvh - 150px); min-height: 380px; }
.sgp-top { display: flex; align-items: center; justify-content: space-between; padding: 0 6px; }
.sgp-top b { font: 900 18px/1 'Outfit Variable', sans-serif; color: #fff; }
.sgp-team { padding: 5px 12px; border-radius: 99px; background: var(--c); border: 3px solid #000; font: 900 14px/1 'Outfit Variable', sans-serif; color: #000; }
.sgp-h { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.sgp-h b { font: 900 24px/1.1 'Outfit Variable', sans-serif; color: #fff; }
.sgp-h span { font: 700 15px/1.3 'Outfit Variable', sans-serif; color: #aab; }
.sgp-pad { position: relative; flex: 1; border-radius: 26px; background: #121522; border: 4px solid #000; box-shadow: inset 0 0 0 3px var(--pc); overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; }
.sgp-pad p { position: absolute; left: 20px; right: 20px; top: 50%; margin: 0; transform: translateY(-50%); text-align: center; font: 800 18px/1.3 'Outfit Variable', sans-serif; color: #8a93a8; pointer-events: none; }
.sgp-pad.on p, .sgp.fired .sgp-pad p { opacity: 0; }
.sgp-o, .sgp-dir, .sgp-pull { position: absolute; left: 0; top: 0; width: 0; height: 0; opacity: 0; pointer-events: none; }
.sgp-pad.on .sgp-o, .sgp-pad.on .sgp-dir, .sgp-pad.on .sgp-pull { opacity: 1; }
.sgp-o::before { content: ''; position: absolute; left: -14px; top: -14px; width: 28px; height: 28px; border-radius: 50%; background: var(--pc); border: 3px solid #000; }
.sgp-pull::before { content: ''; position: absolute; left: -26px; top: -26px; width: 52px; height: 52px; border-radius: 50%; border: 4px solid var(--pc); background: rgba(0, 0, 0, 0.3); }
.sgp-dir { transform-origin: 0 0; }
.sgp-dir b { position: absolute; left: 0; top: -5px; width: 150px; height: 10px; border-radius: 5px; background: var(--pc); border: 2px solid #000; }
.sgp-dir b::after { content: ''; position: absolute; right: -16px; top: -10px; border-left: 18px solid var(--pc); border-top: 13px solid transparent; border-bottom: 13px solid transparent; }
.sgp-dir.max b { background: #ffd34d; } .sgp-dir.max b::after { border-left-color: #ffd34d; }
.sgp-pad p small { font-size: 13px; color: #6f7890; }
.sgp-pad p.sgp-up { font-size: 90px; color: #3a4258; }
.sgp-msg { position: absolute; left: 0; right: 0; bottom: 40px; text-align: center; font: 900 18px/1 'Outfit Variable', sans-serif; font-style: normal; color: #ff4d5e; pointer-events: none; }
.sgp-pw { position: absolute; left: 16px; right: 16px; bottom: 14px; height: 10px; border-radius: 5px; background: #0b0e18; overflow: hidden; }
.sgp-pw i { display: block; height: 100%; background: linear-gradient(90deg, #2ed47a, #ffd34d, #ff4d5e); transform-origin: left; transform: scaleX(0); }
.sgp.fired .sgp-pad { opacity: 0.5; }
.sgp-wait { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; }
.sgp-wait b { font: 900 26px/1.1 'Outfit Variable', sans-serif; color: #fff; }
.sgp-wait span { font: 700 16px/1.3 'Outfit Variable', sans-serif; color: #aab; }
.sgp-big { font-size: 80px; line-height: 1; }
.sgp-sweep { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; border-radius: 30px; background: var(--pc); border: 6px solid #000; box-shadow: 0 8px 0 #000; font: 900 54px/1 'Outfit Variable', sans-serif; color: #000; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.sgp-sweep small { font: 800 16px/1 'Outfit Variable', sans-serif; }
.sgp-sweep.p { animation: sgp-p 0.12s ease-out; }
@keyframes sgp-p { from { transform: scale(0.96) translateY(4px); } to { transform: none; } }


/* (02/12) Pétanque sans télé : le petit terrain */
.sgp-mini { width: 100%; }
.sgp-field { position: relative; width: 100%; aspect-ratio: 1000 / 560; border-radius: 16px; border: 3px solid #000; background: radial-gradient(ellipse at 30% 30%, #b9b3a8, #8f897e 55%, #6f6a61); overflow: hidden; }
.sgp-circle { position: absolute; width: 9%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 2px dashed #fff; opacity: 0.7; }
.sgp-ball, .sgp-coch { position: absolute; transform: translate(-50%, -50%); border-radius: 50%; transition: left 0.07s linear, top 0.07s linear; z-index: 2; }
.sgp-ball { width: 6.5%; aspect-ratio: 1; box-shadow: 0 0 0 2px var(--c), 0 0 0 3.5px #000, 2px 3px 0 3px rgba(0, 0, 0, 0.3); }
.sgp-ball img { display: block; width: 100%; height: 100%; border-radius: 50%; pointer-events: none; }
.sgp-ball.fly { transition: none; z-index: 4; }
.sgp-coch { width: 3.4%; aspect-ratio: 1; background: radial-gradient(circle at 35% 30%, #fff, #ffe9a8 45%, #c9a040); border: 2px solid #000; }
.sgp-sh { position: absolute; width: 6%; aspect-ratio: 1; border-radius: 50%; background: rgba(0, 0, 0, 0.35); z-index: 1; }
.sgp-dust { position: absolute; width: 14%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(230, 225, 215, 0.9), rgba(230, 225, 215, 0) 70%); animation: sgp-dust 0.7s ease-out forwards; z-index: 1; pointer-events: none; }
@keyframes sgp-dust { from { opacity: 1; transform: translate(-50%, -50%) scale(0.4); } to { opacity: 0; transform: translate(-50%, -50%) scale(1.4); } }
.sgp-pt { position: absolute; width: 11%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 2px dashed var(--c, #ffd34d); opacity: 0; transition: opacity 0.2s, left 0.3s, top 0.3s; z-index: 1; pointer-events: none; }
.sgp-pt.on { opacity: 1; animation: sgp-pt 3s linear infinite; }
@keyframes sgp-pt { to { transform: translate(-50%, -50%) rotate(360deg); } }
/* (02/12) RDV orbital : le duo en cours, les 5 questions, la réponse en grand, le match */
.rvp-duo { display: flex; align-items: center; justify-content: center; gap: 10px; }
.rvp-duo span { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; flex: 1; }
.rvp-duo span b { font: 900 18px/1.1 'Outfit Variable', sans-serif; color: var(--c); text-align: center; overflow-wrap: anywhere; }
.rvp-duo .avatar { --size: 64px; }
.rvp-duo i { font-style: normal; font-size: 40px; animation: rvp-beat 1s ease-in-out infinite; }
.rvp-duo.big .avatar { --size: 84px; }
.rvp-duo.pop span:last-child { animation: rvp-pop .6s ease-out forwards; }
@keyframes rvp-beat { 50% { transform: scale(1.18); } }
@keyframes rvp-pop { 30% { transform: scale(1.15); } 100% { transform: scale(.85); opacity: .35; filter: grayscale(1); } }
.rvp-steps { display: flex; justify-content: center; gap: 8px; }
.rvp-steps i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 900 17px/1 'Outfit Variable', sans-serif; font-style: normal; color: #8890a6; background: #141724; border: 3px solid #000; }
.rvp-steps i.ok { background: #1d6b3a; color: #fff; }
.rvp-steps i.cur { background: #2a3150; color: #fff; box-shadow: 0 0 0 3px #ff8fb7; }
.rvp-steps i.red { background: #8a1a2a; font-size: 19px; }
.rvp-v { align-self: center; padding: 10px 22px; border-radius: 16px; border: 4px solid #000; font: 900 26px/1 'Outfit Variable', sans-serif; color: #fff; animation: rvp-in .45s cubic-bezier(.2,1.6,.4,1) both; }
.rvp-v.ok { background: #2a3150; } .rvp-v.red { background: #b01e35; }
@keyframes rvp-in { from { transform: scale(.3); opacity: 0; } }
.rvp-me { text-align: center; font: 800 16px/1.3 'Outfit Variable', sans-serif; color: #aab; }
.rvp-me.out { color: #ff7a8a; }
.rvp-match { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 16px 10px; border-radius: 20px; background: #1a1424; border: 4px solid #000; box-shadow: inset 0 0 0 2px #ff5d9a66; animation: rvp-in .5s cubic-bezier(.2,1.6,.4,1) both; }
.rvp-match > b { font: 900 30px/1.1 'Outfit Variable', sans-serif; color: #ff8fb7; }
.rvp-match > span { font: 700 15px/1.3 'Outfit Variable', sans-serif; color: #cfd3e0; }
.rvp-fls { text-align: center; font: 800 14px/1 'Outfit Variable', sans-serif; color: #9aa3b5; margin-bottom: -6px; }
/* (02/12) Wikisearch sans télé : les deux images côte à côte */
.chp-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.chp-c { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 6px 10px; border-radius: 18px; background: #141724; border: 4px solid #000; text-align: center; min-width: 0; }
.chp-c img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; background: #0b0d16; }
.chp-c b { font: 900 16px/1.15 'Outfit Variable', sans-serif; color: #fff; overflow-wrap: anywhere; }
.chp-c em { font: 900 17px/1 'Outfit Variable', sans-serif; font-style: normal; color: #ffd34d; }
.chp-c.ok { box-shadow: 0 0 0 4px #2ed47a; } .chp-c.ko { box-shadow: 0 0 0 4px #ff4d5e; }
.chp-c.ok em, .chp-c.ko em { animation: rvp-in .45s cubic-bezier(.2,1.6,.4,1) both; }
.chp-btns.row { grid-template-rows: none; grid-template-columns: 1fr 1fr; min-height: 0; }
.chp-btns.row .chp-b { padding: 16px 6px; font-size: 40px; }
.chp-btns.row .chp-b b { font-size: 24px; }
/* (03/12) Cantine : coup de feu, le téléphone rougeoie */
.cnp.fire .cnp-b { box-shadow: 0 0 0 3px #ff5a3d, 0 0 18px rgba(255, 90, 61, 0.6); }
