/* Le Ping-pong de table — direction artistique vraie table de ping-pong — Sebdesign Studio */
body[data-jeu="pingpong"] { background: #0E3B5C radial-gradient(120% 70% at 50% 0%, #1F6FA3, #0E3B5C 65%) fixed; color: #FFF; }
body[data-jeu="pingpong"] #scene { display: none; }
.pp-page { --bleu: #1C5E8E; --orange: #FF8A1F; --rouge: #D8342C; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; gap: 10px; padding-bottom: calc(14px + env(safe-area-inset-bottom)); }
.pp-entete { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.pp-titre { margin: 0; font-weight: 800; font-size: clamp(22px, 6.6vw, 28px); letter-spacing: -.01em; }
.pp-entete-d { display: flex; gap: 5px; flex: none; }
.pp-badge, .pp-mini { padding: 5px 9px; white-space: nowrap; border: 2px solid rgba(255, 255, 255, .8); border-radius: 8px; background: transparent; color: #FFF; font-family: inherit; font-weight: 700; font-size: 12px; }
.pp-vies { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 12px; font-size: 12px; }
.pp-vies span { display: inline-flex; align-items: center; gap: 4px; }
.pp-vies span.out { opacity: .35; text-decoration: line-through; }
.pp-vies i { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--orange); }
.pp-vies i.plein { background: var(--orange); }
.pp-vies span.moi b { color: var(--orange); }
.pp-terrain { position: relative; flex: 1 1 auto; min-height: 300px; border-radius: 18px; overflow: hidden; touch-action: none; user-select: none;
  background: linear-gradient(180deg, #164E78, var(--bleu) 40%, #2272A8); box-shadow: inset 0 0 0 4px #0A2E47, 0 10px 20px rgba(0, 0, 0, .3); transition: box-shadow .15s; }
.pp-terrain.actif { box-shadow: inset 0 0 0 6px var(--orange), 0 0 30px rgba(255, 138, 31, .6); }
.pp-lignes { position: absolute; inset: 14px 14px 22px; border: 3px solid rgba(255, 255, 255, .9); border-top: 0; border-radius: 4px; pointer-events: none; }
.pp-lignes::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; border-left: 2px solid rgba(255, 255, 255, .55); }
.pp-lignes::after { content: ''; position: absolute; left: -16px; right: -16px; top: 0; height: 10px; background: repeating-linear-gradient(90deg, #F4F4F4 0 4px, transparent 4px 8px); opacity: .8; }
.pp-message { position: absolute; left: 8%; right: 8%; top: 30%; padding: 8px; border-radius: 10px; background: rgba(10, 46, 71, .55); margin: 0; text-align: center; font-size: 16px; line-height: 1.4; opacity: .9; pointer-events: none; }
.pp-message b { color: var(--orange); font-size: 22px; }
.pp-balle { position: absolute; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; opacity: 0; --s: 1; }
.pp-balle span { position: absolute; left: -18px; top: -18px; width: 36px; height: 36px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FFD9B0, var(--orange) 55%, #C45E00);
  transform: scale(var(--s)); box-shadow: 0 14px 10px rgba(0, 0, 0, .35); }
.pp-aide { margin: 0; text-align: center; font-size: 12px; opacity: .7; }
.pp-chrono { height: 8px; border-radius: 9px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.pp-chrono span { display: block; height: 100%; width: 100%; background: #FFF; }
.pp-chrono.moi span { background: var(--orange); }
.pp-alerte { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px; border-radius: 14px; background: var(--orange); color: #1B1B1B; font-weight: 900; font-size: 24px; text-align: center; animation: pp-pulse .45s ease-in-out infinite alternate; }
.pp-alerte small { font-weight: 700; font-size: 13px; }
.pp-info { margin: 0; text-align: center; font-size: 15px; line-height: 1.4; }
.pp-panneau { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px; border-radius: 16px; background: var(--bleu); border: 3px solid #FFF; text-align: center; }
.pp-sur { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; opacity: .85; }
.pp-gagnant { margin: 0; font-weight: 900; font-size: 28px; }
.pp-podium { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.pp-podium li { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, .1); }
.pp-podium li:first-child { background: var(--orange); color: #1B1B1B; }
.pp-podium span { font-weight: 900; } .pp-podium em { font-style: normal; font-weight: 800; }
.pp-btn { width: 100%; min-height: 54px; border: 0; border-radius: 14px; background: var(--orange); color: #1B1B1B; font-family: inherit; font-weight: 800; font-size: 16px; box-shadow: 0 4px 0 #A65200; }
.pp-btn.clair { background: #FFF; box-shadow: 0 4px 0 #9DB4C6; }
.pp-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pp-signature { margin: 4px 0 0; text-align: center; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; opacity: .5; }
.pp-terrain.actif:not(.service) .pp-message { opacity: 0; }
