/* « Tu préfères… ? » — direction artistique arcade versus — Sebdesign Studio */
body[data-jeu="tp"] {
  background-color: #0A0620;
  background-image: linear-gradient(rgba(255, 46, 136, .10) 1px, transparent 1px), linear-gradient(90deg, rgba(25, 227, 255, .08) 1px, transparent 1px), radial-gradient(120% 60% at 50% 0%, #2A0F55, #0A0620 60%);
  background-size: 26px 26px, 26px 26px, 100% 100%; background-attachment: fixed; color: #F4F0FF;
}
body[data-jeu="tp"] #scene { display: none; }
.tp-page { --rose: #FF2E88; --cyan: #19E3FF; --jaune: #FFE600; --nuit: #0A0620;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif; gap: 14px; padding-bottom: calc(18px + env(safe-area-inset-bottom)); }
.tp-entete { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.tp-titre { margin: 0; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: 'Press Start 2P', monospace; font-weight: 400; font-size: clamp(13px, 4.2vw, 18px); line-height: 1.3; color: var(--jaune);
  text-shadow: 2px 2px 0 var(--rose), 4px 4px 0 rgba(25, 227, 255, .6); }
.tp-entete-d { display: flex; gap: 5px; flex: none; }
.tp-badge, .tp-mini { padding: 5px 8px; white-space: nowrap; border: 2px solid var(--cyan); border-radius: 0; background: rgba(25, 227, 255, .08); color: var(--cyan); font-family: 'Press Start 2P', monospace; font-size: 9px; }
.tp-sur { margin: 0; font-family: 'Press Start 2P', monospace; font-size: 11px; line-height: 1.6; letter-spacing: .08em; text-transform: uppercase; color: var(--jaune); }
.tp-sur.centre { text-align: center; animation: tp-clignote 1.2s steps(2) infinite; }
@keyframes tp-clignote { 50% { opacity: .55; } }
.tp-duel { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.tp-choix { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; min-height: 132px; padding: 16px; text-align: left;
  border: 3px solid currentColor; border-radius: 0; background: rgba(10, 6, 32, .7); font-family: inherit; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%); }
.tp-choix.a { color: var(--rose); box-shadow: inset 0 0 24px rgba(255, 46, 136, .25); }
.tp-choix.b { color: var(--cyan); box-shadow: inset 0 0 24px rgba(25, 227, 255, .25); }
.tp-choix.choisi.a { background: var(--rose); }
.tp-choix.choisi.b { background: var(--cyan); }
.tp-choix.choisi .tp-txt, .tp-choix.choisi .tp-joueur { color: var(--nuit); }
.tp-choix:active:not(:disabled) { transform: scale(.98); }
.tp-joueur { font-family: 'Press Start 2P', monospace; font-size: 10px; }
.tp-txt { font-weight: 800; font-size: 20px; line-height: 1.25; color: #FFF; }
.tp-vs { align-self: center; font-family: 'Press Start 2P', monospace; font-size: 26px; color: var(--jaune); text-shadow: 3px 3px 0 var(--rose); margin: -4px 0; animation: tp-pulse .9s ease-in-out infinite alternate; }
@keyframes tp-pulse { to { transform: scale(1.15); } }
.tp-aide { margin: 0; text-align: center; font-size: 14px; line-height: 1.4; color: rgba(244, 240, 255, .75); }
.tp-attente { margin: 0; text-align: center; color: rgba(244, 240, 255, .75); }
.tp-barre { display: flex; flex-direction: column; gap: 6px; padding: 12px; border: 2px solid currentColor; background: rgba(10, 6, 32, .7); }
.tp-barre.a { color: var(--rose); } .tp-barre.b { color: var(--cyan); }
.tp-barre.mino { opacity: .75; }
.tp-barre-haut { display: flex; align-items: center; gap: 10px; }
.tp-barre-txt { flex: 1; font-weight: 800; font-size: 15px; line-height: 1.3; color: #FFF; }
.tp-barre-haut b { font-family: 'Press Start 2P', monospace; font-size: 15px; }
.tp-vie { height: 18px; border: 2px solid #FFF; padding: 2px; background: #000; }
.tp-vie i { display: block; height: 100%; width: var(--w); background: repeating-linear-gradient(90deg, currentColor 0 8px, transparent 8px 10px); animation: tp-remplit 1s steps(12) both; }
@keyframes tp-remplit { from { width: 0; } }
.tp-barre-bas { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 700; color: rgba(244, 240, 255, .7); }
.tp-badge-mino { font-style: normal; font-family: 'Press Start 2P', monospace; font-size: 9px; padding: 5px 7px; background: var(--jaune); color: var(--nuit); animation: tp-clignote .8s steps(2) infinite; }
.tp-btn { width: 100%; min-height: 56px; padding: 0 14px; border: 3px solid var(--jaune); border-radius: 0; background: var(--jaune); color: var(--nuit); font-family: 'Press Start 2P', monospace; font-size: 12px; line-height: 1.5; box-shadow: 5px 5px 0 var(--rose); }
.tp-btn:active { transform: translate(4px, 4px); box-shadow: 1px 1px 0 var(--rose); }
.tp-btn.sombre { background: transparent; color: var(--jaune); }
.tp-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tp-duo .tp-btn { font-size: 10px; }
.tp-lien { align-self: center; border: 0; background: none; color: var(--cyan); font-family: inherit; font-size: 13px; text-decoration: underline; }
.tp-auto { height: 4px; background: rgba(255, 230, 0, .15); margin-top: -4px; }
.tp-auto span { display: block; height: 100%; width: 100%; background: var(--jaune); transition: width .25s linear; }
.tp-pastilles { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: rgba(244, 240, 255, .7); }
.tp-pastilles i { width: 26px; height: 26px; display: grid; place-items: center; border: 2px solid var(--cyan); font-style: normal; opacity: .35; }
.tp-pastilles i.oui { opacity: 1; background: var(--cyan); color: var(--nuit); }
.tp-roue { width: min(84vw, 320px); align-self: center; }
.tp-roue svg { width: 100%; height: auto; display: block; overflow: visible; }
.tp-roue-bord { fill: #000; stroke: var(--jaune); stroke-width: 4; }
.tp-seg { stroke: #000; stroke-width: 2; }
.tp-seg.s0 { fill: var(--rose); } .tp-seg.s1 { fill: #3A1D8F; } .tp-seg.s2 { fill: #0FA9C4; }
.tp-seg-nom { text-anchor: middle; dominant-baseline: middle; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 11px; fill: #FFF; }
.tp-roue-moyeu { fill: var(--jaune); stroke: #000; stroke-width: 3; }
.tp-aiguille { fill: var(--jaune); stroke: #000; stroke-width: 2; }
.tp-corbeau-nom { margin: 0; text-align: center; font-family: 'Press Start 2P', monospace; font-size: 20px; color: var(--rose); text-shadow: 2px 2px 0 var(--cyan); }
.tp-secret { display: flex; flex-direction: column; gap: 10px; padding: 14px; border: 2px dashed var(--jaune); background: rgba(0, 0, 0, .4); }
.tp-camps { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tp-camps > div { display: flex; flex-direction: column; gap: 6px; padding: 10px; border: 2px solid currentColor; }
.tp-camps .a { color: var(--rose); } .tp-camps .b { color: var(--cyan); }
.tp-camps small { font-size: 12px; font-weight: 700; color: rgba(244, 240, 255, .8); line-height: 1.3; }
.tp-camps ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.tp-camps li { font-weight: 800; font-size: 15px; color: #FFF; }
.tp-camps li.vide { color: rgba(244, 240, 255, .5); font-weight: 600; }
.tp-panneau { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 20px; border: 3px solid var(--jaune); text-align: center; }
.tp-gros { margin: 0; font-family: 'Press Start 2P', monospace; font-size: 14px; line-height: 1.6; color: #FFF; }
.tp-points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.tp-points li { display: flex; justify-content: space-between; padding: 10px 14px; border: 2px solid var(--cyan); font-weight: 800; }
.tp-points li:first-child { border-color: var(--jaune); color: var(--jaune); }
.tp-points b { font-family: 'Press Start 2P', monospace; font-size: 11px; }
.tp-signature { margin: 6px 0 0; text-align: center; font-family: 'Press Start 2P', monospace; font-size: 8px; letter-spacing: .1em; color: rgba(255, 230, 0, .5); }
