/* MoonTik — Devine le Hit (blind test) : design sombre/violet, 9:16 */
.bt-root { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center;
  padding:14px 16px 12px; gap:10px; color:#f4f1ff;
  background:radial-gradient(120% 80% at 50% 0%, #2a1250 0%, #170a30 42%, #0b0618 100%); overflow:hidden; }
.bt-root::before { content:""; position:absolute; inset:0; pointer-events:none; opacity:.35;
  background:radial-gradient(circle at 20% 30%, rgba(167,139,250,.25), transparent 35%),
             radial-gradient(circle at 80% 60%, rgba(236,72,153,.18), transparent 40%); }
.bt-head { position:relative; z-index:2; width:100%; display:flex; align-items:center; justify-content:space-between; gap:8px; }
.bt-live { display:inline-flex; align-items:center; gap:5px; font:800 10px "LI",Segoe UI,sans-serif; letter-spacing:1px;
  color:#ff8ab8; background:rgba(255,61,138,.12); border:1px solid rgba(255,61,138,.4); border-radius:99px; padding:4px 9px; }
.bt-live i { width:7px; height:7px; border-radius:50%; background:#ff3d8b; box-shadow:0 0 9px #ff3d8b; animation:btPulse 1.1s infinite; }
.bt-title { font-family:"LG","Luckiest Guy",Segoe UI,sans-serif; font-size:20px; font-weight:400; letter-spacing:1px;
  color:#fde68a; text-shadow:0 2px 0 #6b21a8, 0 0 22px rgba(192,132,252,.7); white-space:nowrap; }
.bt-round { font:800 10px "PS2",monospace; letter-spacing:1px; color:#c4b5fd;
  background:rgba(124,58,237,.16); border:1px solid rgba(167,139,250,.35); border-radius:8px; padding:5px 8px; white-space:nowrap; }

/* Vinyle + égaliseur */
.bt-vinyl-wrap { position:relative; z-index:2; flex:1; width:100%; min-height:0; display:flex; align-items:center; justify-content:center; gap:6px; }
.bt-vinyl { position:relative; width:min(58vw,300px); aspect-ratio:1; border-radius:50%; flex:none;
  background:repeating-radial-gradient(circle at 50% 50%, #16121f 0 4px, #221b32 5px 7px);
  box-shadow:0 18px 50px rgba(0,0,0,.6), inset 0 0 0 2px rgba(255,255,255,.05), 0 0 40px rgba(167,139,250,.25);
  animation:btSpin 4s linear infinite; display:grid; place-items:center; }
.stage.reveal .bt-vinyl, .bt-root:has(.bt-reveal:not([hidden])) .bt-vinyl { animation-play-state:paused; }
.bt-vinyl::after { content:""; position:absolute; inset:8%; border-radius:50%; border:1px solid rgba(255,255,255,.06); }
.bt-vinyl-label { width:40%; aspect-ratio:1; border-radius:50%; display:grid; place-items:center; font-size:34px;
  color:#f0abfc; background:radial-gradient(circle at 35% 30%, #7c3aed, #4c1d95 70%); background-size:cover; background-position:center;
  box-shadow:inset 0 0 0 3px rgba(255,255,255,.14); }
.bt-vinyl-hole { position:absolute; width:5%; aspect-ratio:1; border-radius:50%; background:#0b0618; box-shadow:0 0 0 2px rgba(255,255,255,.18); }
.bt-eq { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; height:52%; }
.bt-eq i { width:6px; border-radius:6px; background:linear-gradient(180deg,#f472b6,#a78bfa); transform-origin:center;
  animation:btEq .85s ease-in-out infinite alternate; animation-delay:calc(var(--i) * -0.08s); }
.bt-eq i:nth-child(3n) { height:60%; } .bt-eq i:nth-child(3n+1) { height:85%; } .bt-eq i:nth-child(3n+2) { height:45%; }
@keyframes btSpin { to { transform:rotate(360deg); } }
@keyframes btEq { from { transform:scaleY(.35); opacity:.55; } to { transform:scaleY(1); opacity:1; } }
@keyframes btPulse { 50% { opacity:.35; } }

/* Chrono */
.bt-progress { position:relative; z-index:2; width:100%; display:flex; align-items:center; gap:10px; }
.bt-bar { flex:1; height:12px; border-radius:99px; background:rgba(10,6,24,.85); border:1.5px solid rgba(167,139,250,.5); overflow:hidden; }
.bt-bar i { display:block; height:100%; width:100%; border-radius:99px;
  background:linear-gradient(90deg,#f472b6,#a78bfa 55%,#7c3aed); box-shadow:0 0 14px rgba(192,132,252,.8); transition:width .35s linear; }
.bt-time { font:800 12px "PS2",monospace; color:#fde68a; min-width:48px; text-align:right; }

/* Encadré indices / révélation */
.bt-prompt, .bt-reveal { position:relative; z-index:2; width:100%; min-height:96px; border-radius:16px; padding:10px 14px;
  background:linear-gradient(145deg, rgba(46,26,84,.9), rgba(16,10,32,.94)); border:1.5px solid rgba(167,139,250,.45);
  box-shadow:0 8px 26px rgba(0,0,0,.4), inset 0 0 24px rgba(124,58,237,.2); display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; }
.bt-prompt-label { font:800 10px "LI",Segoe UI,sans-serif; letter-spacing:1.5px; color:#c4b5fd; }
.bt-notes { font:800 24px "PS2",monospace; letter-spacing:6px; color:#f0abfc; text-shadow:0 0 16px rgba(240,171,252,.7); }
.bt-hint { font-size:11px; color:#e9d5ff; text-align:center; word-break:break-word; }
.bt-reveal { flex-direction:row; gap:12px; justify-content:flex-start; }
.bt-reveal img { width:64px; height:64px; border-radius:10px; object-fit:cover; box-shadow:0 4px 16px rgba(0,0,0,.5); }
.bt-reveal-t { display:flex; flex-direction:column; gap:3px; min-width:0; }
.bt-reveal-t b { font:800 16px "LI",Segoe UI,sans-serif; color:#fde68a; }
.bt-reveal-t span { font-size:11px; color:#ddd6fe; }

/* Classement */
.bt-board { position:relative; z-index:2; width:100%; border-radius:14px; padding:8px 12px;
  background:rgba(10,6,24,.78); border:1px solid rgba(167,139,250,.28); }
.bt-board-title { font:800 10px "LI",Segoe UI,sans-serif; letter-spacing:2px; color:#a78bfa; text-align:center; margin-bottom:4px; }
.bt-board ol { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:3px; }
.bt-board li { display:flex; align-items:center; gap:8px; font-size:12px; color:#ede9fe; }
.bt-board li .bt-rk { width:18px; text-align:center; color:#f0abfc; font-weight:800; }
.bt-board li .bt-nm { flex:1; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.bt-board li b { color:#fde68a; font-variant-numeric:tabular-nums; }
.bt-board li.bt-empty { opacity:.55; font-size:11px; justify-content:center; }
#stage[data-fmt="f169"] .bt-title { font-size:22px; }
#stage[data-fmt="f169"] .bt-vinyl { width:min(34vh,290px); }


/* t165 — peaux distinctes Nuit / Néon / Violet */
[data-bt-skin="nuit"] .bt-root, .bt-root[data-bt-skin="nuit"] {
  background: radial-gradient(120% 80% at 50% 0%, #2a1250 0%, #170a30 42%, #0b0618 100%);
}
[data-bt-skin="neon"] .bt-root, .bt-root[data-bt-skin="neon"],
#stage[data-bt-skin="neon"] .bt-root {
  background: radial-gradient(120% 80% at 50% 0%, #083344 0%, #041016 55%, #020617 100%);
}
[data-bt-skin="neon"] .bt-title,
#stage[data-bt-skin="neon"] .bt-title { color: #67e8f9; text-shadow: 0 0 18px #22d3ee, 0 2px 0 #0e7490; }
[data-bt-skin="neon"] .bt-live { color: #67e8f9; border-color: #22d3ee; background: rgba(34,211,238,.12); }
[data-bt-skin="neon"] .bt-live i { background: #22d3ee; box-shadow: 0 0 9px #22d3ee; }
[data-bt-skin="neon"] .bt-vinyl { box-shadow: 0 18px 50px rgba(0,0,0,.6), 0 0 40px #22d3ee, 0 0 12px #ff2d6f; }
[data-bt-skin="neon"] .bt-round { color: #67e8f9; border-color: rgba(34,211,238,.45); }

[data-bt-skin="violet"] .bt-root, .bt-root[data-bt-skin="violet"],
#stage[data-bt-skin="violet"] .bt-root {
  background: radial-gradient(120% 80% at 50% 0%, #5b21b6 0%, #2e1065 45%, #0b0514 100%);
}
[data-bt-skin="violet"] .bt-title,
#stage[data-bt-skin="violet"] .bt-title { color: #f5d0fe; text-shadow: 0 0 18px #c026d3, 0 2px 0 #6b21a8; }
[data-bt-skin="violet"] .bt-live { color: #f0abfc; border-color: #e879f9; background: rgba(192,38,211,.16); }
[data-bt-skin="violet"] .bt-vinyl {
  box-shadow: 0 18px 50px rgba(0,0,0,.6), 0 0 48px #c026d3;
  outline: 3px solid #e9d5ff; outline-offset: 4px;
}
[data-bt-skin="violet"] .bt-round { color: #e9d5ff; }

.bt-vinyl.is-frozen,
body.is-preview .bt-vinyl,
#stage[data-preview] .bt-vinyl { animation: none !important; }
.ov-prev-blind { width: 100%; display: flex; justify-content: center; }
.ov-prev-blind .bt-thumb { width: 92%; padding: 8px; border-radius: 12px; position: relative; }
.ov-prev-blind .bt-vinyl { width: 140px; animation: none; }
.ov-prev-blind .bt-mini { list-style: none; margin: 6px 0 0; padding: 0; font: 700 10px Outfit, sans-serif; color: #e9d5ff; }


/* t365a — aperçu Devine le Hit : .bt-root n'est plus absolute dans un parent de hauteur 0. */
.ov-prev-blind {
  position: relative;
  width: 100%;
  min-height: 200px;
  height: 100%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
.ov-prev-blind .bt-root,
.ov-prev-blind .bt-thumb {
  position: relative !important;
  inset: auto !important;
  width: 92%;
  max-width: 360px;
  min-height: 200px;
  height: auto;
  border-radius: 16px;
  overflow: hidden;
}
.ov-prev-blind .bt-vinyl-wrap { flex: none; min-height: 120px; }
.ov-prev-blind .bt-vinyl { width: 120px !important; min-width: 120px; }
#ovPersoLivePreview:has(.ov-prev-blind) {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
#ovPersoLivePreview .ov-prev-blind {
  position: absolute;
  inset: 0;
  min-height: 0;
  height: 100%;
}
#ovPersoLivePreview .ov-prev-blind .bt-root {
  width: min(420px, 70%);
  min-height: 72%;
  height: auto;
}
.ov-cat-preview:has(.ov-prev-blind),
.ov-cat-card.ov-skin-card:has(.ov-prev-blind) .ov-cat-preview {
  aspect-ratio: auto !important;
  min-height: 200px !important;
  height: 220px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
}
