/* Le Curseur — direction artistique table de mixage — Sebdesign Studio */
body[data-jeu="curseur"] {
  background-color: #17191C;
  background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 3px), linear-gradient(180deg, #24272C, #121315);
  background-attachment: fixed; color: #E6E8EB;
}
body[data-jeu="curseur"] #scene { display: none; }
.cur-page { --led: #3DFF7A; --ambre: #FFB238; --metal: #2C3036; --metal-c: #3A3F47;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif; gap: 14px; padding-bottom: calc(18px + env(safe-area-inset-bottom)); }
.cur-entete { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.cur-titre { margin: 0; white-space: nowrap; font-family: 'Share Tech Mono', monospace; font-weight: 400; font-size: clamp(22px, 7vw, 30px); letter-spacing: .12em; color: var(--led); text-shadow: 0 0 10px rgba(61, 255, 122, .55); }
.cur-entete-d { display: flex; gap: 5px; flex: none; }
.cur-badge, .cur-mini { padding: 5px 9px; white-space: nowrap; border: 1px solid #4A5059; border-radius: 6px; background: linear-gradient(180deg, #3A3F47, #24272C); color: #CDD2D8; font-family: 'Share Tech Mono', monospace; font-size: 13px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1); }
.cur-lbl { font-family: 'Share Tech Mono', monospace; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #8C949E; }
.cur-ecran { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border-radius: 10px; background: #0B0F0C; border: 2px solid #3A3F47; box-shadow: inset 0 0 22px rgba(61, 255, 122, .12); }
.cur-theme { margin: 0; font-family: 'Share Tech Mono', monospace; font-size: 21px; line-height: 1.3; color: var(--led); text-shadow: 0 0 8px rgba(61, 255, 122, .45); }
.cur-bornes { display: flex; justify-content: space-between; gap: 10px; font-family: 'Share Tech Mono', monospace; font-size: 12px; }
.cur-bornes span:first-child { color: #59E38A; } .cur-bornes span:last-child { color: #FF6B5B; text-align: right; }
.cur-secret { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px; border-radius: 12px; background: linear-gradient(180deg, var(--metal-c), var(--metal)); border: 1px solid #4A5059; text-align: center; }
.cur-cran { font-family: 'Share Tech Mono', monospace; font-size: 54px; line-height: 1; color: var(--c); text-shadow: 0 0 16px var(--c); }
.cur-cran small { font-size: 20px; color: #8C949E; text-shadow: none; }
.cur-aide { margin: 0; text-align: center; font-size: 14px; line-height: 1.4; color: #B5BCC5; }
.cur-attente { margin: 0; text-align: center; color: #B5BCC5; font-style: italic; }
.cur-vu { display: flex; gap: 4px; padding: 8px; border-radius: 8px; background: #0B0D0F; border: 1px solid #333; }
.cur-vu span { flex: 1; height: 26px; display: grid; place-items: center; border-radius: 3px; background: color-mix(in srgb, var(--c) 22%, #111); }
.cur-vu span b { font-family: 'Share Tech Mono', monospace; font-size: 11px; color: rgba(255, 255, 255, .5); font-weight: 400; }
.cur-vu span.actif { background: var(--c); box-shadow: 0 0 12px var(--c); }
.cur-vu span.actif b { color: #111; }
.cur-jetons { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; min-height: 40px; }
.cur-jeton { padding: 9px 14px; border-radius: 8px; border: 1px solid #5A616B; background: linear-gradient(180deg, #4A5059, #33373E); color: #F1F3F5; font-family: inherit; font-weight: 800; font-size: 15px; box-shadow: 0 3px 0 #15171A; }
.cur-jeton.sel { background: var(--ambre); color: #1A1305; border-color: var(--ambre); box-shadow: 0 0 14px rgba(255, 178, 56, .6); }
.cur-pistes { display: flex; flex-direction: column; gap: 6px; }
.cur-piste { display: grid; grid-template-columns: 34px 1fr 1.2fr; align-items: center; gap: 10px; min-height: 50px; padding: 6px 12px; border-radius: 8px; border: 1px solid #3A3F47; background: #1E2125; color: #E6E8EB; font-family: inherit; text-align: left; }
.cur-piste:active { background: #262A2F; }
.cur-num { font-family: 'Share Tech Mono', monospace; font-size: 20px; color: var(--c); text-align: center; }
.cur-fader { position: relative; height: 6px; border-radius: 3px; background: #0B0D0F; }
.cur-fader i { position: absolute; top: 50%; left: 50%; width: 22px; height: 22px; transform: translate(-50%, -50%); border-radius: 4px; background: linear-gradient(180deg, #9AA1AA, #5C626A); border: 1px solid #111; }
.cur-piste.pleine .cur-fader i { background: var(--c); box-shadow: 0 0 10px var(--c); }
.cur-nom { font-weight: 800; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #8C949E; }
.cur-piste.pleine .cur-nom { color: #FFF; }
.cur-piste.moi { border-color: var(--c); }
.cur-btn { width: 100%; min-height: 56px; border: 0; border-radius: 10px; background: linear-gradient(180deg, #5BFF94, #23C45A); color: #06210F; font-family: 'Share Tech Mono', monospace; font-size: 18px; letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 4px 0 #136B31, 0 0 18px rgba(61, 255, 122, .25); }
.cur-btn:disabled { opacity: .35; }
.cur-btn:active:not(:disabled) { transform: translateY(3px); box-shadow: 0 1px 0 #136B31; }
.cur-btn.clair { background: linear-gradient(180deg, #4A5059, #33373E); color: #E6E8EB; box-shadow: 0 4px 0 #15171A; }
.cur-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cur-duo .cur-btn { font-size: 14px; }
.cur-lien { align-self: center; border: 0; background: none; color: #8C949E; font-family: inherit; font-size: 13px; text-decoration: underline; }
.cur-pastilles { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; font-family: 'Share Tech Mono', monospace; font-size: 12px; color: #8C949E; }
.cur-pastilles i { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #4A5059; font-style: normal; opacity: .4; }
.cur-pastilles i.oui { opacity: 1; background: var(--led); color: #06210F; box-shadow: 0 0 8px var(--led); }
.cur-compare { display: flex; flex-direction: column; gap: 5px; }
.cur-compare > div:first-child { display: grid; grid-template-columns: 34px 1fr 1fr; gap: 10px; padding: 0 10px; }
.cur-compare > div:first-child span:first-child { grid-column: 2; }
.cur-ligne { display: grid; grid-template-columns: 34px 1fr 1fr; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; background: #1E2125; border-left: 4px solid var(--c); font-weight: 800; font-size: 14px; }
.cur-vrai { color: #FFF; }
.cur-prono { display: flex; justify-content: space-between; gap: 6px; color: #8C949E; }
.cur-prono.ok { color: var(--led); } .cur-prono.ko { color: #FF6B5B; }
.cur-scores { width: 100%; border-collapse: collapse; font-size: 14px; }
.cur-scores th { font-family: 'Share Tech Mono', monospace; font-weight: 400; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #8C949E; text-align: left; padding: 6px 8px; border-bottom: 1px solid #3A3F47; }
.cur-scores td { padding: 8px; border-bottom: 1px solid #2A2E33; font-weight: 700; }
.cur-scores td:nth-child(2) { color: var(--led); } .cur-scores td:nth-child(3) { color: var(--ambre); }
.cur-scores th:not(:first-child), .cur-scores td:not(:first-child) { text-align: right; }
.cur-signature { margin: 6px 0 0; text-align: center; font-family: 'Share Tech Mono', monospace; font-size: 11px; letter-spacing: .2em; color: #5C626A; }
.cur-lbl.centre { display: block; margin: 0 0 -6px; text-align: center; }
.cur-secret { flex-direction: row; justify-content: center; flex-wrap: wrap; gap: 4px 14px; padding: 10px 14px; }
.cur-secret .cur-aide { flex-basis: 100%; }
.cur-cran { font-size: 40px; }
.cur-barre { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 4px; padding: 6px; border-radius: 10px; background: #0B0D0F; border: 1px solid #333; }
.cur-col { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; padding: 0; border: 0; background: none; color: #E6E8EB; font-family: inherit; }
.cur-led { width: 100%; height: 30px; display: grid; place-items: center; border-radius: 4px; background: color-mix(in srgb, var(--c) 22%, #111); font-family: 'Share Tech Mono', monospace; font-size: 13px; color: rgba(255, 255, 255, .55); }
.cur-col.pleine .cur-led, .cur-col.moi .cur-led { background: var(--c); color: #111; box-shadow: 0 0 10px var(--c); }
.cur-col.cible .cur-led { outline: 2px dashed var(--ambre); outline-offset: 1px; }
.cur-col.ko .cur-led { background: #3A1715; color: #FF6B5B; box-shadow: none; }
.cur-col-nom { height: 86px; max-height: 86px; writing-mode: vertical-rl; transform: rotate(180deg); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 800; font-size: 14px; color: #8C949E; }
.cur-col.pleine .cur-col-nom, .cur-col.moi .cur-col-nom { color: #FFF; }
.cur-col.ko .cur-col-nom { color: #FF6B5B; }
.cur-col.cible .cur-col-nom { color: var(--ambre); font-size: 18px; }
.cur-marque { font-style: normal; font-weight: 900; font-size: 15px; color: var(--led); }
.cur-col.ko .cur-marque { color: #FF6B5B; }
.cur-ecran { padding: 16px 14px; align-items: center; text-align: center; gap: 10px; border-color: #3DFF7A; box-shadow: inset 0 0 30px rgba(61, 255, 122, .18), 0 0 22px rgba(61, 255, 122, .2); }
.cur-theme { font-size: clamp(24px, 7.4vw, 30px); line-height: 1.2; }
.cur-bornes { width: 100%; font-size: 14px; }
.cur-scores td { padding: 6px 8px; }
