/* ---------- (23/11) mode « Sans télé » : l'écran commun au-dessus du jeu (notv.js) ---------- */
body.notv .adm-tv, body.notv .admsub, body.notv .pk-space, body.notv .rdemo-card { display: none !important; }
.notv-card { margin-bottom: 12px; border: 1.5px solid rgba(94, 231, 255, 0.35); }
body.notv .notv-card { background: linear-gradient(135deg, rgba(94, 231, 255, 0.22), rgba(160, 123, 255, 0.16)); }

#notv-area { margin-bottom: 12px; }
#notv-area[hidden] { display: none; }
.nt { border-radius: 22px; padding: 14px; display: flex; flex-direction: column; gap: 12px; animation: nt-in 0.35s var(--ease) both; }
@keyframes nt-in { from { opacity: 0; transform: translateY(-6px); } }
@keyframes nt-pop { from { opacity: 0; transform: scale(0.9) translateY(6px); } }
.nt small { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-2); }
.nt .avatar.mini { --size: 26px; flex: none; }
.nt-empty { color: var(--text-2); font-size: 14px; text-align: center; }
.nt-note { font-size: 15px; text-align: center; color: var(--text-2); }
.nt-note b { color: var(--text); }

/* qui a répondu */
.nt-done { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.nt-dl { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.nt-dl span { position: relative; opacity: 0.45; filter: grayscale(0.7); transition: opacity 0.3s, filter 0.3s, transform 0.3s var(--spring); }
.nt-dl span.ok { opacity: 1; filter: none; transform: scale(1.06); }
.nt-dl .avatar.mini { --size: 34px; box-shadow: 0 0 0 2px var(--c); }
.nt-dl i { position: absolute; right: -4px; bottom: -4px; width: 16px; height: 16px; border-radius: 50%; background: #2fd27a; color: #fff; font: 900 11px/16px 'Inter', sans-serif; text-align: center; font-style: normal; }
.nt-dl span:not(.ok) i { display: none; }

/* question, joueur, réponses */
.nt-q { text-align: center; }
.nt-q b { display: block; font-size: 18px; line-height: 1.3; margin-top: 2px; }
.nt-who { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 3px; border-radius: 99px; background: color-mix(in srgb, var(--c) 22%, transparent); border: 1px solid color-mix(in srgb, var(--c) 55%, transparent); font-size: 14px; max-width: 100%; }
.nt-who b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nt-who em { font-style: normal; font-weight: 800; margin-left: 2px; opacity: 0.8; }
.nt-opts { display: flex; flex-direction: column; gap: 6px; }
.nt-opt { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.07); border: 1.5px solid transparent; animation: nt-pop 0.35s var(--spring) both; }
.nt-opt em { font-style: normal; font-weight: 900; color: var(--text-2); width: 16px; flex: none; }
.nt-opt span { flex: 1; font-weight: 600; font-size: 15px; line-height: 1.25; }
.nt-opt.ok { background: rgba(47, 210, 122, 0.22); border-color: #2fd27a; }
.nt-opt.ko { opacity: 0.55; }
.nt-by { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 2px; max-width: 45%; }
.nt-by .avatar.mini { --size: 22px; }
.nt-big { text-align: center; font-size: 34px; font-weight: 900; letter-spacing: -0.01em; color: #ffd166; animation: nt-pop 0.5s var(--spring) both; }
.nt-big small { font-size: 16px; color: var(--text-2); }

/* lignes classées */
.nt-rows { display: flex; flex-direction: column; gap: 5px; }
.nt-row { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 12px; background: rgba(255, 255, 255, 0.06); border-left: 3px solid var(--c); animation: nt-pop 0.35s var(--ease) both; animation-delay: var(--d, 0s); }
.nt-row b { flex: 1; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nt-row span { font-size: 14px; font-weight: 700; color: var(--text-2); text-align: right; }
.nt-row.win { background: rgba(255, 209, 102, 0.2); }
.nt-row.win span { color: #ffd166; }
.nt-row.over { opacity: 0.6; }
.nt-row.over span { color: #ff7a7a; }
.nt-okb { display: inline-flex; gap: 3px; }
.nt-okb i { width: 12px; height: 12px; border-radius: 3px; background: #ff5d6c; }
.nt-okb i.ok { background: #2fd27a; }

/* Qui de nous : « X, Y ➜ Z » */
.nt-top { text-align: center; display: flex; flex-direction: column; gap: 6px; align-items: center; }
.nt-top > div { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.nt-top .nt-who { font-size: 17px; padding: 4px 14px 4px 4px; }
.nt-top .avatar.mini { --size: 36px; }
.nt-arrows { display: flex; flex-direction: column; gap: 6px; }
.nt-arr { display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); animation: nt-pop 0.35s var(--ease) both; animation-delay: var(--d, 0s); }
.nt-arr.win { background: rgba(255, 209, 102, 0.16); }
.nt-arr > i { font-style: normal; font-weight: 900; color: #ffd166; }
.nt-vs { flex: 1; display: flex; flex-wrap: wrap; gap: 3px; }
.nt-vs .nt-who { font-size: 12px; padding-right: 7px; }
.nt-vs .avatar.mini { --size: 20px; }

/* Je n'ai jamais : deux colonnes */
.nt-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.nt-col { display: flex; flex-direction: column; gap: 5px; align-items: flex-start; padding: 8px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); min-width: 0; }
.nt-col.yes { background: rgba(255, 93, 108, 0.14); }
.nt-col.no { background: rgba(94, 231, 255, 0.1); }

/* Tu préfères */
.nt-tp { display: flex; flex-direction: column; gap: 6px; align-items: stretch; }
.nt-tp > i { text-align: center; font-style: normal; font-weight: 900; font-size: 13px; color: var(--text-2); }
.nt-side { position: relative; overflow: hidden; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.06); display: flex; flex-direction: column; gap: 4px; }
.nt-side::before { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--pct); background: rgba(160, 123, 255, 0.28); animation: nt-bar 0.9s var(--ease) both; z-index: -1; }
@keyframes nt-bar { from { width: 0; } }
.nt-side b { font-size: 15px; line-height: 1.25; }
.nt-side em { font-style: normal; font-weight: 900; font-size: 20px; }
.nt-side.maj { border: 1.5px solid #ffd166; }
.nt-side.maj em { color: #ffd166; }
.nt-side .nt-by { max-width: none; justify-content: flex-start; }

/* Pièce */
.nt-stage { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 6px 0; }
.nt-stage p { font-size: 16px; color: var(--text-2); }
.nt-stage p b { color: var(--text); }
.nt-stage p.ok { color: #2fd27a; font-weight: 800; }
.nt-stage p.bad { color: #ff7a7a; font-weight: 800; }
.nt-pair { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }
.nt-pair > i { font-style: normal; font-weight: 900; }
.nt-coin { --s: 110px; width: var(--s); height: var(--s); position: relative; transform-style: preserve-3d; transform: rotateY(var(--end)); }
.nt-coin.small { --s: 70px; }
.nt-coin > div { position: absolute; inset: 0; border-radius: 50%; font-size: 0; background: center / cover no-repeat; backface-visibility: hidden; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5); }
.nt-coin .pile { background-image: url(/shared/img/piece/pile.webp); }
.nt-coin .face { background-image: url(/shared/img/piece/face.webp); transform: rotateY(180deg); }
/* (comme la télé) la rotation d'un seul tenant, le saut à part : pas d'arrêt au milieu */
.nt-toss { padding-top: 50px; animation: nt-toss 4s linear both; transform-style: preserve-3d; }
.nt-coin.spin { animation: nt-spin 4s cubic-bezier(.15, .7, .3, 1) both; }
@keyframes nt-spin { from { transform: rotateY(0deg); } to { transform: rotateY(calc(2520deg + var(--end))); } }
@keyframes nt-toss {
  0% { transform: translateY(0) scale(1); animation-timing-function: cubic-bezier(.2, .8, .4, 1); }
  42% { transform: translateY(-50px) scale(1.12); animation-timing-function: cubic-bezier(.55, 0, .85, .35); }
  80% { transform: translateY(0) scale(1); animation-timing-function: ease-out; }
  88% { transform: translateY(-8px) scale(1.02); animation-timing-function: ease-in; }
  100% { transform: translateY(0) scale(1); }
}
.nt-reveal { font-size: 19px; font-weight: 800; line-height: 1.35; }
.nt-reveal span { display: inline-block; opacity: 0; animation: nt-word 0.5s ease both; animation-delay: var(--d); }
@keyframes nt-word { from { opacity: 0; filter: blur(6px); transform: translateY(4px); } to { opacity: 1; filter: none; transform: none; } }
.nt-after { opacity: 0; animation: nt-word 0.5s ease both; animation-delay: var(--d); }

/* Priorities */
.nt-pr { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.nt-prc { padding: 8px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); border-top: 3px solid var(--c, #ffd166); min-width: 0; }
.nt-prc.group { grid-column: 1 / -1; background: rgba(255, 209, 102, 0.14); }
.nt-prc ol { margin: 6px 0 0; padding-left: 20px; font-size: 14px; line-height: 1.4; }
.nt-prc.group ol { font-size: 16px; font-weight: 700; }
.nt-prc .nt-who { font-size: 12px; }

/* Juste prix */
.nt-jp { display: flex; flex-direction: column; gap: 6px; }
.nt-prod { display: flex; align-items: center; gap: 10px; }
.nt-prod img { width: 56px; height: 56px; object-fit: contain; border-radius: 10px; background: #fff; flex: none; }
.nt-prod b { display: block; font-size: 15px; line-height: 1.2; }
.nt-prod small { text-transform: none; letter-spacing: 0; font-weight: 500; }

/* Image floue */
.nt-flou { position: relative; border-radius: 16px; overflow: hidden; background: #0b0f1d; }
.nt-flou canvas { display: block; width: 100%; height: auto; }
.nt-flou span { position: absolute; left: 8px; top: 8px; padding: 3px 10px; border-radius: 99px; background: rgba(0, 0, 0, 0.6); font-size: 12px; font-weight: 700; }

/* Chronologie */
.nt-tl { display: flex; flex-direction: column; gap: 4px; position: relative; padding-left: 14px; }
.nt-tl::before { content: ''; position: absolute; left: 4px; top: 6px; bottom: 6px; width: 2px; background: rgba(255, 255, 255, 0.25); }
.nt-tl > div { display: flex; gap: 10px; align-items: baseline; animation: nt-pop 0.4s var(--ease) both; animation-delay: var(--d); }
.nt-tl b { color: #ffd166; font-size: 14px; min-width: 64px; }
.nt-tl span { font-size: 14px; line-height: 1.3; }
.nt-tl.all small { margin-left: -14px; margin-bottom: 4px; }

/* fin de jeu sans télé : le classement complet */
.fin-card.fr { padding: 20px 16px; }
.fr-list { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; text-align: left; }
.fr-row { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.06); border-left: 4px solid var(--c); animation: nt-pop 0.4s var(--ease) both; animation-delay: var(--d); }
.fr-row b { width: 28px; text-align: center; font-size: 20px; }
.fr-row .avatar { --size: 34px; }
.fr-row span { flex: 1; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fr-row em { font-style: normal; font-size: 14px; color: var(--text-2); }
.fr-row.me { background: rgba(255, 255, 255, 0.16); box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.5); }
.fr-row.k1 { background: rgba(255, 209, 102, 0.2); }
.tp-opt .tp-txt { display: block; font: 800 20px/1.25 'Inter', sans-serif; text-shadow: 1px 1px 0 rgba(0,0,0,0.5); }
body.notv .g-rank { display: none !important; }

/* dessin et écriture */
.nt-c { text-align: center; }
.nt-live, .nt-cv { position: relative; border-radius: 14px; overflow: hidden; background: #fbf9ff; }
.nt-live canvas, .nt-cv canvas { display: block; width: 100%; height: auto; }
.nt-live > span { position: absolute; left: 6px; top: 6px; display: flex; align-items: center; gap: 6px; padding: 3px 10px 3px 3px; border-radius: 99px; background: rgba(20, 16, 50, 0.75); font-size: 13px; font-weight: 700; }
.nt-feed { display: flex; flex-direction: column; gap: 3px; font-size: 14px; color: var(--text-2); }
.nt-feed b { color: var(--text); }
.nt-feed .ok { color: #2fd27a; }
.nt-quote { text-align: center; padding: 14px; border-radius: 16px; background: rgba(255, 255, 255, 0.08); animation: nt-pop 0.4s var(--spring) both; }
.nt-quote b { display: block; font-size: 22px; line-height: 1.3; margin-top: 4px; }
.nt-ans { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.06); animation: nt-pop 0.35s var(--ease) both; animation-delay: var(--d, 0s); }
.nt-ans > b { font-size: 16px; line-height: 1.3; }
.nt-ans > span { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.nt-ans em { font-style: normal; font-size: 13px; color: var(--text-2); font-weight: 700; }
.nt-ans.win { background: rgba(255, 209, 102, 0.2); border: 1.5px solid #ffd166; }
.nt-meme { position: relative; border-radius: 14px; overflow: hidden; background: #000; }
.nt-meme img { display: block; width: 100%; height: auto; }
.nt-meme i { position: absolute; left: 4%; right: 4%; text-align: center; font: 900 20px/1.1 Impact, 'Anton', sans-serif; font-style: normal; color: #fff; text-transform: uppercase; -webkit-text-stroke: 1.2px #000; text-shadow: 0 2px 2px #000; }
.nt-meme i.t { top: 4%; } .nt-meme i.b { bottom: 4%; }
.nt-memes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.nt-mm { display: flex; flex-direction: column; gap: 4px; animation: nt-pop 0.35s var(--ease) both; animation-delay: var(--d, 0s); min-width: 0; }
.nt-mm .nt-meme i { font-size: 12px; -webkit-text-stroke: 0.6px #000; }
.nt-mm > div:last-child { display: flex; flex-direction: column; gap: 2px; align-items: flex-start; }
.nt-mm small { text-transform: none; letter-spacing: 0; }
.nt-mm.win .nt-meme { box-shadow: 0 0 0 3px #ffd166; }
.nt-mm:first-child.win { grid-column: 1 / -1; }
.nt-mm:first-child.win .nt-meme i { font-size: 20px; -webkit-text-stroke: 1.2px #000; }
.nt-story { font-size: 17px; line-height: 1.5; }
.nt-story span { color: color-mix(in srgb, var(--c) 45%, #fff); opacity: 0; animation: nt-word 0.6s ease both; animation-delay: var(--d); }
.nt-chain { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.nt-chain span { position: relative; opacity: 0.45; }
.nt-chain span.ok, .nt-chain span.now { opacity: 1; }
.nt-chain span.now .avatar { box-shadow: 0 0 0 3px #ffd166; animation: nt-bob 1s ease-in-out infinite; }
@keyframes nt-bob { 50% { transform: translateY(-3px); } }
.nt-chain .avatar.mini { --size: 36px; }
.nt-chain i { position: absolute; right: -6px; bottom: -6px; font-style: normal; font-size: 14px; }
.nt-teams { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.nt-teams > div { padding: 8px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); text-align: center; }
.nt-teams > div.on { background: rgba(255, 209, 102, 0.18); border: 1.5px solid #ffd166; }
.nt-teams b { font-size: 26px; }
.nt-teams span { display: flex; justify-content: center; flex-wrap: wrap; gap: 2px; }
.nt-words { display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; }
.nt-words span { padding: 4px 10px; border-radius: 99px; font-size: 14px; font-weight: 700; background: rgba(255, 255, 255, 0.08); }
.nt-words .found { background: rgba(47, 210, 122, 0.25); }
.nt-words .skip, .nt-words .taboo { background: rgba(255, 93, 108, 0.22); text-decoration: line-through; }
.nt-chainv { display: flex; flex-direction: column; gap: 8px; max-height: 60vh; overflow-y: auto; }
.nt-ci { display: flex; flex-direction: column; gap: 3px; padding: 8px; border-radius: 14px; background: rgba(255, 255, 255, 0.06); }
.nt-ci > b { font-size: 17px; line-height: 1.3; text-align: center; }
.nt-ci.new { animation: nt-pop 0.5s var(--spring) both; border: 1.5px solid #ffd166; }
.nt-ci small { text-transform: none; letter-spacing: 0; text-align: center; }
.nt-steps { display: flex; justify-content: center; gap: 6px; }
.nt-steps span { padding: 5px 12px; border-radius: 99px; background: rgba(255, 255, 255, 0.06); font-size: 14px; font-weight: 700; color: var(--text-2); }
.nt-steps span.on { background: #ffd166; color: #2a1d00; }
.nt-steps span.ok { color: #2fd27a; }
.nt-beasts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.nt-beasts.one { grid-template-columns: 1fr; padding: 0 26%; }
.nt-beast { position: relative; display: flex; flex-direction: column; border-radius: 12px; overflow: hidden; background: #fbf9ff; }
.nt-beast .nt-cv { border-radius: 0; }
.nt-beast > b { position: absolute; left: 4px; top: 4px; z-index: 1; padding: 1px 7px; border-radius: 99px; background: rgba(20, 16, 50, 0.8); font-size: 12px; }
.nt-beast > em { position: absolute; right: 4px; bottom: 4px; padding: 1px 7px; border-radius: 99px; background: rgba(20, 16, 50, 0.8); font: 700 12px 'Inter', sans-serif; font-style: normal; }
.nt-beast.win { box-shadow: 0 0 0 3px #ffd166; }

/* bluff et déduction */
.nt-uc { display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; }
.nt-uc > span { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px 3px 3px; border-radius: 99px; background: rgba(255, 255, 255, 0.07); border: 1px solid color-mix(in srgb, var(--c) 50%, transparent); font-size: 13px; }
.nt-uc > span.now { background: rgba(255, 209, 102, 0.25); border-color: #ffd166; }
.nt-uc > span.dead { opacity: 0.5; text-decoration: line-through; }
.nt-uc em { font-style: normal; font-size: 11px; color: var(--text-2); text-decoration: none; }
.nt-role { padding: 6px 14px; border-radius: 99px; font-weight: 800; background: rgba(255, 255, 255, 0.1); }
.nt-role.under { background: rgba(255, 93, 108, 0.3); } .nt-role.white { background: rgba(255, 255, 255, 0.3); } .nt-role.civil { background: rgba(94, 231, 255, 0.2); }
.nt-on { padding: 34px 4px 0; }
.nt-onb { position: relative; height: 18px; border-radius: 99px; background: linear-gradient(90deg, #4f9bff, #a07bff 50%, #ff5d8f); }
.nt-onb .z { position: absolute; top: 0; bottom: 0; }
.nt-onb .z.r { background: #ff3b5c; } .nt-onb .z.o { background: #ff9f1a; } .nt-onb .z.b { background: #3fd0ff; }
.nt-onb .bull { position: absolute; top: -6px; bottom: -6px; width: 3px; margin-left: -1.5px; background: #fff; border-radius: 2px; }
.nt-onb .pin { position: absolute; bottom: 100%; transform: translateX(-50%); margin-bottom: 2px; animation: nt-pop 0.4s var(--spring) both; animation-delay: var(--d); }
.nt-onb .pin.l1 { bottom: auto; top: 100%; margin: 2px 0 0; }
.nt-onb .pin .avatar.mini { --size: 24px; box-shadow: 0 0 0 2px var(--c); }
.nt-one { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; font-weight: 700; color: var(--text-2); margin-top: 30px; }
.nt-cnts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.nt-cnt { padding: 8px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); border: 1.5px solid transparent; text-align: center; display: flex; flex-direction: column; gap: 2px; align-items: center; }
.nt-cnt b { color: var(--tc); }
.nt-cnt em { font-style: normal; font-size: 24px; font-weight: 900; }
.nt-cnt span { display: flex; flex-wrap: wrap; justify-content: center; gap: 1px; font-size: 12px; }
.nt-cnt.on { border-color: var(--tc); background: color-mix(in srgb, var(--tc) 18%, transparent); }
.nt-cng { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; }
.nt-cng span { font-size: 9px; font-weight: 800; text-align: center; padding: 6px 1px; border-radius: 6px; background: #d8d2c4; color: #222; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; opacity: 0.6; }
.nt-cng span.up { opacity: 1; }
.nt-cng .k-0 { background: #e5484d; color: #fff; } .nt-cng .k-1 { background: #3e8bff; color: #fff; } .nt-cng .k-3, .nt-cng .k-b, .nt-cng .k-x { background: #111; color: #fff; }
.nt-trs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.nt-trr { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; }
.nt-trr .nt-who { font-size: 12px; max-width: 100%; }
.nt-trr small { font-size: 10px; }
.nt-qes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.nt-qes.one { grid-template-columns: 1fr; padding: 0 22%; }
.nt-qes > div { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); }
.nt-qes > div.win { background: rgba(255, 209, 102, 0.2); border: 1.5px solid #ffd166; }
.nt-qes img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.nt-qec { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; }
.nt-qec i, .nt-qeb { font-style: normal; font-weight: 900; font-size: 12px; padding: 3px 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.1); }
.nt-qec i.oui, .nt-qeb.oui { background: #2fd27a; color: #062; }
.nt-qec i.non, .nt-qeb.non { background: #ff5d6c; color: #fff; }
.nt-qec i.new { animation: nt-pop 0.4s var(--spring) both; }
.nt-qeb { align-self: center; font-size: 28px; padding: 6px 22px; animation: nt-pop 0.4s var(--spring) both; }
.nt-lg { padding: 12px 14px; border-radius: 16px; background: rgba(255, 209, 102, 0.12); font-size: 16px; line-height: 1.4; font-weight: 600; }
.nt-lg.night { background: rgba(60, 70, 160, 0.3); }

/* cartes et plateau */
.nt-seats { display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; }
.nt-seats > div { position: relative; display: flex; align-items: center; gap: 5px; padding: 3px 9px 3px 3px; border-radius: 99px; background: rgba(255, 255, 255, 0.06); border: 1.5px solid transparent; font-size: 13px; }
.nt-seats > div.on { border-color: #ffd166; background: rgba(255, 209, 102, 0.2); animation: nt-bob 1.2s ease-in-out infinite; }
.nt-seats > div.out { opacity: 0.4; }
.nt-seats em { font-style: normal; font-weight: 800; font-size: 12px; }
.nt-seats i { position: absolute; top: -9px; right: -4px; font-style: normal; font-weight: 900; font-size: 10px; padding: 1px 5px; border-radius: 6px; background: #e5293a; color: #fff; }
.nt-uc-r { color: #ff5a5a; } .nt-uc-y { color: #ffd23a; } .nt-uc-g { color: #3cd36e; } .nt-uc-b { color: #4f9bff; }
.nt-skys { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 6px; }
.nt-skg { padding: 6px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); border: 1.5px solid transparent; }
.nt-skg.on { border-color: #ffd166; background: rgba(255, 209, 102, 0.14); }
.nt-skh { display: flex; align-items: center; gap: 5px; font-size: 12px; margin-bottom: 4px; min-width: 0; }
.nt-skh b { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nt-skh em { font-style: normal; font-weight: 900; }
.nt-skh .avatar.mini { --size: 20px; }
.nt-skc { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(3, auto); grid-auto-flow: column; gap: 3px; }
.nt-skc .sky { --cw: 100%; width: 100%; height: auto; aspect-ratio: 1 / 1.4; font-size: 12px; }
.nt-skc i.gone { aspect-ratio: 1 / 1.4; border-radius: 4px; border: 1px dashed rgba(255, 255, 255, 0.15); }
.nt-pcs { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; --pcw: 40px; }
.nt-pcs.sm { --pcw: 26px; }
.nt-pcs .pc { border-width: 2px; box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.4); font-size: calc(var(--pcw) * 0.4); }
.nt-pcs em { font-style: normal; font-weight: 900; margin-left: 4px; }
.nt-bjd { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.nt-bjd > em { font-style: normal; font-weight: 900; font-size: 20px; }
.nt-bjs, .nt-pk { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.nt-bjs > div, .nt-pk > div { position: relative; padding: 6px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); border: 1.5px solid transparent; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.nt-bjs > div.on, .nt-pk > div.on { border-color: #ffd166; background: rgba(255, 209, 102, 0.14); }
.nt-bjs > div.out, .nt-pk > div.out { opacity: 0.45; }
.nt-bjs small { text-transform: none; letter-spacing: 0; font-size: 11px; }
.nt-bjr { font-size: 12px; font-weight: 800; }
.nt-bjr.win, .nt-bjr.bj { color: #2fd27a; } .nt-bjr.lose, .nt-bjr.bust { color: #ff7a7a; }
.nt-pk > div { flex-direction: row; flex-wrap: wrap; align-items: center; font-size: 13px; }
.nt-pk > div b { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nt-pk small { text-transform: none; letter-spacing: 0; font-size: 11px; width: 100%; }
.nt-pk em { font-style: normal; font-weight: 800; color: #ffd166; font-size: 12px; }
.nt-pk i { font-style: normal; font-size: 11px; font-weight: 800; color: #ff7a7a; }
.nt-bomb { display: flex; align-items: center; justify-content: center; gap: 10px; }
.nt-bomb span { font-size: 44px; animation: nt-bob 0.6s ease-in-out infinite; }
.nt-bomb b { font-size: 40px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; color: #ffd166; }
.nt-md { display: flex; flex-direction: column; gap: 6px; align-items: center; padding: 8px; border-radius: 14px; background: rgba(255, 255, 255, 0.04); }
.nt-mdp { display: flex; gap: 4px; align-items: center; justify-content: center; min-height: 64px; font-size: 32px; }
.nt-mdp span { display: grid; place-items: center; width: 40px; height: 56px; border-radius: 8px; background: #fbfaf6; color: #222; font-size: 18px; font-weight: 900; border: 3px solid var(--c); opacity: 0.55; }
.nt-mdp span.top { width: 52px; height: 72px; font-size: 26px; opacity: 1; animation: nt-pop 0.4s var(--spring) both; }
.nt-mdp span.bad { background: #ffd2d6; border-color: #e5293a; }
/* action */
.nt-sy { display: flex; justify-content: center; }
.nt-sy .sy-pc { width: min(52vw, 240px); border-width: 4px; box-shadow: 4px 4px 0 #000, inset 0 0 0 2px #3a4670; pointer-events: none; }
.nt-syc { animation: nt-sycard 0.42s cubic-bezier(.2, 1.3, .4, 1) both; } /* (03/12 : la carte du milieu arrive en tournant) */
@keyframes nt-sycard { from { opacity: 0; transform: scale(0.6) rotate(-40deg); } }
.nt-sy .sy-pc i { font-size: calc(min(8.5vw, 38px) * var(--z)); }
body.notv .sy > .sy-pc { width: min(78vw, 360px); }
.nt-sn { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.nt-sn > div { aspect-ratio: 0.72; border-radius: 10px; border: 1.5px dashed rgba(255, 255, 255, 0.15); }
.nt-snc { position: relative; width: 100%; height: 100%; border-radius: 10px; background: #fbfaf6; border: 3px solid #000; animation: nt-pop 0.3s var(--spring) both; }
.nt-snc i { position: absolute; transform: translate(-50%, -50%); font-style: normal; font-size: 20px; }
.nt-snc { animation: nt-deal 0.38s cubic-bezier(.2, 1.3, .4, 1) both; }
@keyframes nt-deal { from { opacity: 0; transform: translateY(-40%) rotate(-8deg) scale(0.8); } }
.nt-snc.win { box-shadow: 0 0 0 4px #2fd27a, 0 0 22px 6px rgba(255, 220, 90, 0.85); animation: nt-shine 0.5s ease-in-out 4 alternate both; z-index: 1; }
.nt-snc.win::after { content: ''; position: absolute; inset: 0; border-radius: 8px; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.9) 50%, transparent 70%) -150% 0 / 250% 100% no-repeat; animation: nt-sweep 0.9s ease-out 0.1s 2; }
@keyframes nt-shine { from { transform: scale(1); } to { transform: scale(1.08); } }
@keyframes nt-sweep { to { background-position: 150% 0; } }
.nt-snc.dim { opacity: 0.3; filter: grayscale(0.8); transition: opacity 0.3s; animation: none; }
.nt-colv { border-radius: 14px; overflow: hidden; }
.nt-colv canvas { display: block; width: 100%; height: auto; }
.nt-ko { position: relative; width: 100%; aspect-ratio: 1100 / 760; overflow: hidden; border-radius: 14px; background: radial-gradient(circle at 50% 40%, #1a2040, #070912); }
.nt-kos { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; transform-origin: 0 0; }
.nt-kos .ko-tv { position: absolute; inset: 0; }
.nt-kos .ko-cv { position: absolute; inset: 0; width: 100%; height: 100%; }
.nt-kos .ko-hud { display: none; }
.nt-kos .ko-lay { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; transform-origin: 0 0; pointer-events: none; }
.nt-kos .ko-back { z-index: 0; } .nt-kos .ko-cv { z-index: 1; } .nt-kos .ko-front { z-index: 2; }
.nt-kos .ko-s { position: absolute; left: 0; top: 0; width: 0; height: 0; }
.nt-kos .ko-pal { position: absolute; left: -37px; top: -18px; width: 74px; height: 37px; box-sizing: border-box; border-radius: 50%; background: var(--c); border: 4px solid #000; }
.nt-kos .ko-up { position: absolute; left: -75px; bottom: 6px; width: 150px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.nt-kos .ko-imw, .nt-kos .ko-im { width: 150px; display: block; }
.nt-kos .ko-nm { font: 900 44px 'Inter', sans-serif; color: var(--c); white-space: nowrap; text-shadow: -4px -4px 0 #000, 4px -4px 0 #000, -4px 4px 0 #000, 4px 4px 0 #000; }
.nt-kos .ko-ok { display: none; }
.nt-kos .ko-s.fall .ko-nm { display: none; }
.nt-kos .ko-bcv { position: absolute; left: 0; top: 0; pointer-events: none; }
.nt-kos #ko-res { position: absolute; left: 410px; top: 250px; width: 1100px; height: 760px; z-index: 900; display: grid; place-items: center; background: rgba(4, 4, 16, 0.6); }
.nt-kos .ko-res2 { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 34px 70px 40px; border-radius: 36px; background: var(--c); border: 6px solid #000; }
.nt-kos .ko-res2 .avatar { --size: 170px; width: 170px; height: 170px; }
.nt-kos .ko-res2 b { font: 900 96px/1 'Inter', sans-serif; color: #fff; text-shadow: 5px 5px 0 #000; }
.nt-kos .ko-res2 span { font: 900 50px 'Inter', sans-serif; color: #fff; text-transform: uppercase; text-shadow: 3px 3px 0 #000; }
.nt-kos .kr-crown { font-size: 100px; line-height: 1; }

/* sans télé : la sonnette et ma carte de Dobble restent sous l'écran commun (sinon posées au milieu de l'écran, par-dessus) */
body.notv .snb, body.notv .sy { position: static; padding: 6px 0 0; pointer-events: auto; z-index: auto; }

/* ---------- (24/11) accueil, attente, admin ---------- */
.finale.back { z-index: 0; pointer-events: none; }
body:has(.finale.back) #app { position: relative; z-index: 1; }
body:has(.finale.back) .view { background: transparent; }
.nt-welcome { text-align: center; display: flex; flex-direction: column; gap: 10px; align-items: center; margin-bottom: 12px; }
.ntw-h { font-size: 15px; font-weight: 700; color: var(--text-2); }
.ntw-h b { display: block; font-size: 30px; font-weight: 900; color: var(--text); line-height: 1.15; }
.ntw-ppl { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.ntw-ppl span { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px 3px 3px; border-radius: 99px; background: color-mix(in srgb, var(--c) 22%, transparent); border: 1px solid color-mix(in srgb, var(--c) 55%, transparent); font-size: 14px; animation: nt-pop 0.4s var(--spring) both; }
.ntw-ppl .avatar.mini { --size: 26px; }
.pk-qr { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.pk-qr img { width: 120px; height: 120px; border-radius: 10px; background: #fff; padding: 4px; flex: none; }
.pk-qr div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.pk-qr b { font-size: 18px; }
.pk-qr code { font-size: 12px; word-break: break-all; color: #ffd166; }
/* sans télé : pas de « Sans points » (il n'y a pas de points du tout) ni d'outils qui s'affichent sur la télé */
body.notv .gv-np, body.notv .pk-np, body.notv .rd-nopts, body.notv .gx-nopts, body.notv .pk-timer, body.notv [data-act="tool-wheel"] { display: none !important; }
/* sans télé : pas de bulle du chat, les paramètres descendent à sa place */
body.notv .gear-fab { bottom: calc(env(safe-area-inset-bottom) + 16px) !important; }
body.notv.has-react .gear-fab { bottom: calc(env(safe-area-inset-bottom) + 84px) !important; }

/* ---------- (24/11) tenir sur l'écran, gagné en vert / perdu en rouge ---------- */
body.notv #game-area .g-ship, body.notv #game-area .g-rank { display: none !important; }
body.notv #game-area .g-info { padding: 14px 16px; }
body.notv #game-area .g-info h2 { font-size: 21px; }
body.notv #game-area .g-info .g-big { font-size: 34px; line-height: 1.1; }
body.notv #game-area .g-title h2 { font-size: 20px; }
body.notv #game-area .big-sub { font-size: 15px; }
body.notv #game-area.res-win .g-info { background: #12402a !important; box-shadow: inset 0 0 0 2px #2fd27a, var(--hard) !important; }
body.notv #game-area.res-lose .g-info { background: #47161d !important; box-shadow: inset 0 0 0 2px #ff5d6c, var(--hard) !important; }
body.notv #notv-area { margin-bottom: 8px; }
body.notv .nt { padding: 12px; gap: 10px; }
.nt-row.win { background: rgba(47, 210, 122, 0.22); box-shadow: inset 0 0 0 1.5px #2fd27a; }
.nt-row.win span { color: #5dfba0; }
.nt-row.over { opacity: 1; background: rgba(255, 93, 108, 0.16); }
.nt-opt.ko { opacity: 0.6; }
.nt-opt.ko:has(.nt-by .avatar) { opacity: 1; background: rgba(255, 93, 108, 0.16); border-color: rgba(255, 93, 108, 0.6); }
.nt-arr.win, .nt-ans.win { background: rgba(47, 210, 122, 0.2) !important; box-shadow: inset 0 0 0 1.5px #2fd27a; }
.nt-confetti { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 400; pointer-events: none; }
/* réponse donnée (Quiz, Image floue) : tout reste à l'écran, la mienne en vert, on ne change plus */
.g-choices.locked .g-opt, .g-choices.sent .g-opt { opacity: 1 !important; }
.g-choices.locked .g-opt.on, .g-choices.sent .g-opt.on { background: #1d6b43 !important; box-shadow: inset 0 0 0 3px #2fd27a, var(--hard) !important; }
/* Juste prix, Plus ou moins : le prix défile, puis le classement */
.nt-cnt-up b { font-variant-numeric: tabular-nums; }
.nt-cnt-up.land { animation: nt-land 0.5s var(--spring); }
@keyframes nt-land { 40% { transform: scale(1.18); color: #fff; } }
.nt-after-cnt .nt-row { animation-delay: calc(var(--d) + 1.7s); }
/* Petit Bac : la lettre qui tourne */
.nt-reel { height: 80px; overflow: hidden; border-radius: 16px; background: rgba(255, 209, 102, 0.12); box-shadow: inset 0 0 0 2px rgba(255, 209, 102, 0.5); width: 96px; }
.nt-reel > div { display: flex; flex-direction: column; }
.nt-reel b { height: 80px; line-height: 80px; text-align: center; font-size: 56px; font-weight: 900; color: #ffd166; }
.nt-reel.spin > div { animation: nt-reel 3.3s cubic-bezier(0.2, 0.6, 0.2, 1) both; }
@keyframes nt-reel { from { transform: translateY(0); filter: blur(2px); } 85% { filter: none; } to { transform: translateY(calc(-80px * 22)); } }
/* Poker : qui gagne, avec quoi */
.nt-pkw { display: flex; flex-direction: column; gap: 6px; }
.nt-pkw > div { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: rgba(47, 210, 122, 0.2); box-shadow: inset 0 0 0 2px #2fd27a; animation: nt-pop 0.45s var(--spring) both; }
.nt-pkw > div.side { background: rgba(47, 210, 122, 0.1); box-shadow: inset 0 0 0 1px #2fd27a; }
.nt-pkw span { font-size: 30px; }
.nt-pkw b { font-size: 18px; }
.nt-pkw em { font-style: normal; font-weight: 900; color: #ffd166; }
.nt-pkw strong { display: block; font-size: 17px; color: #5dfba0; }
.nt-pk > div.win { border-color: #2fd27a; background: rgba(47, 210, 122, 0.2); opacity: 1; }
.nt-pk > div.lose { background: rgba(255, 93, 108, 0.12); }
.nt-pkh { width: 100%; font-size: 12px; font-weight: 800; color: var(--text-2); }
.nt-pk > div.win .nt-pkh { color: #5dfba0; }
.nt-pcs .pc.hl { transform: translateY(-4px); box-shadow: 0 0 0 2px #2fd27a, 2px 2px 0 rgba(0, 0, 0, 0.4); }
/* The Mind : mes cartes plus petites (la pile au-dessus, les autres dessous) */
body.notv .mdp { gap: 10px; padding-top: 0; }
body.notv .mdp-card { --w: 22vw; width: min(var(--w), 104px); font-size: calc(min(var(--w), 104px) * 0.42); }
body.notv .mdp-hand.n1 .mdp-card { --w: 34vw; width: min(34vw, 150px); font-size: min(15vw, 64px); }
body.notv .mdp-hand.n2 .mdp-card { --w: 28vw; }
#notv-below { margin-top: 10px; }
#notv-below[hidden] { display: none; }
/* Cinq sur cinq : une cloche raisonnable, des cartes plus grandes */
body.notv .snb-btn { width: min(40vw, 170px); font-size: 70px; border-width: 5px; box-shadow: 4px 4px 0 #000; }
.nt-sn { grid-template-columns: 1fr 1fr; gap: 8px; }
.nt-sn > div { aspect-ratio: 1.3; }
.nt-snc i { font-size: 30px; }
/* Je n'ai jamais : les deux boutons côte à côte, tout tient sur l'écran */
body.notv .jm-btns { grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0; }
body.notv .jm-b, body.notv.homescreen .jm-b { min-height: 17dvh; font-size: 20px; }
body.notv .jm-q { padding: 14px; }
body.notv .jm-q b { font-size: 21px; }
body.notv .nt-dl .avatar.mini { --size: 30px; }
body.notv .nt-col .nt-who { font-size: 13px; }
body.notv .nt-col .avatar.mini { --size: 22px; }
.nt-row.me { outline: 2px solid #fff; outline-offset: -2px; }
.nt-row.me b::after { content: ' · toi'; font-weight: 600; color: var(--text-2); }

/* (28/11) moins de texte : pendant le jeu, pas de prénoms dans les listes de joueurs (l'avatar suffit, entouré quand c'est son tour) */
.nt-seats > div > b, .nt-skh b, .nt-bjs .nt-skh b { display: none; }
.nt-seats > div { padding: 2px 8px 2px 2px; gap: 4px; }
.nt-pk > div > b { display: none; }
.nt-pk > div > b + small { width: auto; flex: 1; }
.nt-uno-dir { text-align: center; font-size: 13px; opacity: 0.8; margin: 2px 0 0; }
/* (28/11) sans télé : « Au tour de X » fait doublon avec l'avatar entouré au-dessus */
body.notv .uno-wait { display: none; }

/* (28/11) fin d'un jeu sans télé : juste le gagnant (et mes gorgées), pas de classement */
.fr2 { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 14px; }
.fr2 .fin-emoji { font-size: 54px; line-height: 1; }
.fr2-w { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.fr2-w span { display: flex; align-items: center; gap: 8px; padding: 5px 14px 5px 5px; border-radius: 99px; background: color-mix(in srgb, var(--c) 30%, #12121c); border: 2px solid var(--c); }
.fr2-w b { font-size: 20px; font-weight: 900; }
/* (28/11) The Mind : la carte qui fait perdre, rouge DEDANS ; le tour garde la couleur du joueur */
.nt-mdp span.bad { background: #e5293a; color: #fff; border-color: var(--c); box-shadow: 0 0 0 2px #000; }

/* ===== (28/11) accueil sans télé : Saturne et des nébuleuses derrière, l'heure en grand ===== */
.finale.back { background: radial-gradient(ellipse 60% 40% at 80% 18%, rgba(124, 77, 255, 0.28), transparent 70%), radial-gradient(ellipse 55% 45% at 10% 75%, rgba(40, 160, 255, 0.22), transparent 70%), radial-gradient(ellipse 50% 35% at 70% 95%, rgba(255, 90, 140, 0.16), transparent 70%), #04050d; }
.finale.back::before { content: ''; position: absolute; right: -18vw; top: 6vh; width: 78vw; max-width: 520px; aspect-ratio: 1.6; background: url(/shared/img/saturn.webp) center / contain no-repeat; opacity: 0.9; filter: drop-shadow(0 0 40px rgba(255, 190, 120, 0.25)); }
.finale.back canvas { mix-blend-mode: screen; }
body.notv .nt-welcome { background: none; border: 0; box-shadow: none; padding: 8vh 0 0; gap: 6px; }
.ntw-clock { font: 900 64px/1 'Orbitron', 'JetBrains Mono', monospace; color: #fff; letter-spacing: 2px; text-shadow: 0 0 18px rgba(124, 200, 255, 0.55), 0 4px 0 #000; }
.ntw-since { font-size: 14px; font-weight: 700; color: rgba(255, 255, 255, 0.65); margin-bottom: 18px; }
body.notv .ntw-ppl { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; padding: 4px 6px 8px; scrollbar-width: none; gap: 8px; }
body.notv .ntw-ppl span { position: relative; padding: 0; background: none; border: 0; border-radius: 50%; flex: 0 0 auto; }
body.notv .ntw-ppl .avatar { --size: 46px; box-shadow: 0 0 0 3px var(--c), 0 4px 0 3px #000; }
body.notv .ntw-ppl span.me .avatar { box-shadow: 0 0 0 3px var(--c), 0 0 14px var(--c), 0 4px 0 3px #000; }
body.notv .ntw-ppl span i { position: absolute; right: -1px; bottom: -1px; width: 13px; height: 13px; border-radius: 50%; border: 2.5px solid #000; background: #2fd27a; }
body.notv .ntw-ppl span.off { opacity: 0.45; }
body.notv .ntw-ppl span.off i { background: #777; }
.ntw-go { margin-top: 18px; font-size: 20px; padding: 14px 26px; }
.ntw-wait { margin: 16px 0 0; font-weight: 700; color: rgba(255, 255, 255, 0.7); }
/* ===== (28/11) pendant un jeu sans télé ===== */
/* 21 : plein écran — la barre de l'admin (🏠🎮👥⚙️) disparaît pendant le jeu (⏸ ⏭ ⏹ restent) ; le ⚙️ flottant aussi */
body.notv.nt-ingame .admnav, body.notv.nt-ingame .admsub, body.notv.nt-ingame #gear-fab { display: none !important; }
/* 23 : c'est mon tour → un cadre lumineux autour de tout l'écran */
body.my-turn::after { content: ''; position: fixed; inset: 0; z-index: 60; pointer-events: none; border-radius: 0; box-shadow: inset 0 0 0 4px #ffd166, inset 0 0 28px rgba(255, 209, 102, 0.55); animation: nt-myturn 1.6s ease-in-out infinite; }
@keyframes nt-myturn { 50% { box-shadow: inset 0 0 0 3px rgba(255, 209, 102, 0.6), inset 0 0 14px rgba(255, 209, 102, 0.25); } }
/* 22 / 25 : les avatars sur une seule ligne ; celui dont c'est le tour : juste un contour lumineux autour de son avatar */
.nt-seats { flex-wrap: nowrap; overflow-x: auto; justify-content: safe center; scrollbar-width: none; padding: 6px 2px; }
.nt-seats > div { flex: 0 0 auto; background: none; border: 0; padding: 0 4px 0 0; }
.nt-seats > div.on { background: none; border: 0; animation: none; }
.nt-seats > div.on .avatar { box-shadow: 0 0 0 3px #ffd166, 0 0 14px 2px rgba(255, 209, 102, 0.8); }
/* 18 : The Mind, le niveau n'est écrit qu'une fois (dans l'écran commun) */
body.notv .mdp-h { display: none; }
/* Uno : les cartes posées, de leur couleur */
.nt-uno-dir .nt-ucard { display: inline-grid; place-items: center; min-width: 24px; height: 30px; padding: 0 5px; margin-left: 4px; border-radius: 6px; border: 2px solid #000; background: currentColor; font-weight: 900; font-size: 15px; }
.nt-uno-dir .nt-ucard { color: #fff; }
.nt-uno-dir .nt-ucard.nt-uc-r { background: #e5293a; } .nt-uno-dir .nt-ucard.nt-uc-y { background: #f4c20d; color: #000; } .nt-uno-dir .nt-ucard.nt-uc-g { background: #2bb34a; } .nt-uno-dir .nt-ucard.nt-uc-b { background: #1f6fe0; }
/* Blackjack : jetons, mise à part, total vert / rouge */
.nt-bjh { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; }
.nt-bjh .avatar.mini { --size: 24px; }
.nt-bjh i { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 900; padding: 2px 7px; border-radius: 99px; background: #ffd166; color: #000; }
.nt-bjs .nt-pcs { align-items: center; }
.nt-bjs em, .nt-bjd em { font-style: normal; font-weight: 900; font-size: 20px; margin-left: 6px; }
.nt-bjs em.bad, .nt-bjd em.bad { color: #ff5d6c; }
.nt-bjs em.good { color: #2fd27a; }
.nt-bjd { display: flex; align-items: center; justify-content: center; gap: 6px; }
/* Dessine-moi ça : les propositions avec l'avatar (sans prénom) */
.nt-feed2 { display: flex; flex-direction: column; gap: 4px; align-items: stretch; }
.nt-feed2 span { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; }
.nt-feed2 span.ok { color: #2fd27a; }
.nt-feed2 .avatar.mini { --size: 24px; }
/* (01/12) Rendez-vous orbital */
.nt-rvs { display: flex; flex-direction: column; gap: 6px; }
.nt-rv { display: flex; gap: 8px; align-items: flex-start; padding: 6px 8px; border-radius: 12px; background: #141724; border: 2px solid #000; box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--c) 50%, transparent); }
.nt-rv > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.nt-rv span { font: 700 13px/1.2 'Outfit Variable', sans-serif; color: #fff; padding: 3px 6px; border-radius: 7px; }
.nt-rv span.g { background: #16492a; } .nt-rv span.r { background: #4d1420; }
.nt-rv.out { filter: grayscale(1) brightness(0.55); }
.nt-rv.win { box-shadow: inset 0 0 0 3px #ff5d9a; }
.nt-rvm { display: flex; align-items: center; justify-content: center; gap: 10px; }
.nt-rvm .avatar.mini { --size: 40px; }
.nt-rvm i { font-size: 30px; font-style: normal; }

/* (02/12) file de candidats (Rendez-vous orbital) */
.nt-cmp { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.nt-cmp span { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 99px; background: #1b1d2b; font-size: 16px; }
/* (02/12) Cantine sans télé : les commandes en cours */
.nt-cn { display: flex; flex-direction: column; gap: 6px; }
.nt-cno { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 10px 9px; border-radius: 12px; background: #121522; border: 2px solid #000; overflow: hidden; }
.nt-cno b { font-size: 14px; }
.nt-cno span { display: flex; gap: 3px; }
.nt-cno i img { width: 24px; height: 24px; filter: grayscale(0.9); opacity: 0.5; }
.nt-cno i.ok img { filter: none; opacity: 1; }
.nt-cno em { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: #ffd34d; transform-origin: left; animation: nt-cnb var(--d) linear forwards; }
@keyframes nt-cnb { from { transform: scaleX(var(--f)); } to { transform: scaleX(0); } }
.nt-cno i.pr img { filter: none; opacity: 0.8; }
.nt-cno.rush { background: #4a2414; }
.nt-cno.vip { background: #4a3a10; box-shadow: inset 0 0 0 2px #ffc93d; }
.nt-fire { color: #ff6a4d; font-weight: 900; }

/* (03/12) Simon : qui en est où, qui s'est trompé (✕ rouge) */
.nt-ec { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 8px; }
.nt-ec span { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; width: 58px; transition: transform 0.3s var(--spring); }
.nt-ec .avatar.mini { --size: 38px; box-shadow: 0 0 0 2px var(--c); }
.nt-ec b { max-width: 58px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 700 11px/1 'Outfit Variable', sans-serif; color: #aab; }
.nt-ec i { font: 900 12px/1 'Outfit Variable', sans-serif; font-style: normal; color: #c9cfdc; }
.nt-ec span.ok i { color: #2fd27a; font-size: 16px; }
.nt-ec span.ko { animation: nt-ecko 0.5s ease-out; }
.nt-ec span.ko .avatar { box-shadow: 0 0 0 3px #ff3b4e; filter: grayscale(0.7); }
.nt-ec span.ko i { position: absolute; top: -4px; font-size: 40px; color: #ff3b4e; -webkit-text-stroke: 2px #000; paint-order: stroke fill; }
.nt-ec span.ko b { color: #ff7a88; }
@keyframes nt-ecko { 0%, 100% { transform: none; } 20% { transform: translateX(-8px) scale(1.15); } 45% { transform: translateX(6px) scale(1.15); } 70% { transform: translateX(-3px); } }
.nt-ecko { color: #ff7a88; font-weight: 800; }
