/* =============================================================
   BONUS HUNTS EN VIDÉO
   ============================================================= */
/* vignette de machine (image ou tuile dégradée) */
.vh-art { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 90% at 20% 10%, hsl(var(--h) 70% 55% / .55), transparent 60%), linear-gradient(150deg, hsl(var(--h) 55% 28%), hsl(calc(var(--h) + 60) 50% 14%)); }
.vh-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.vh-art.noimg img { display: none; }
.vh-ini { position: absolute; inset: 0; display: grid; place-items: center; font-family: "Unbounded", sans-serif; font-weight: 900; font-size: clamp(18px, 3vw, 30px); color: rgba(255, 255, 255, .85); letter-spacing: -.02em; text-shadow: 0 4px 18px rgba(0, 0, 0, .4); }
.vh-art:not(.noimg) .vh-ini { opacity: 0; }

/* ---------- archive ---------- */
.vh-arch { margin-bottom: 38px; }
.vh-sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.vh-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.vh-card { display: block; border-radius: 20px; overflow: hidden; background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line-2); transition: transform .2s, border-color .2s, box-shadow .2s; }
.vh-card:hover { transform: translateY(-3px); border-color: rgba(46, 230, 140, .45); box-shadow: 0 22px 50px -24px rgba(46, 230, 140, .45); }
.vh-card-cov { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--bg); }
.vh-card-cov .vh-art { border-radius: 0; }
.vh-card-cov .vh-ini { font-size: 14px; }
.vh-card-num { position: absolute; left: 10px; bottom: -14px; z-index: 2; padding: 5px 11px; border-radius: 999px; font: 900 13px "Unbounded", sans-serif; color: #04160c; background: linear-gradient(180deg, #8affc6, #22d47e); box-shadow: 0 6px 18px -6px rgba(46, 230, 140, .8); }
.vh-card-b { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 24px 16px 12px; }
.vh-card-t { min-width: 0; }
.vh-card-t b { display: block; font-weight: 800; font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vh-card-t small { color: var(--muted); font-size: 12.5px; font-weight: 600; }
.vh-card-res { text-align: right; font: 900 19px "Unbounded", sans-serif; white-space: nowrap; }
.vh-card-res small { display: block; font: 700 11px "Manrope", sans-serif; color: var(--dim); text-transform: uppercase; letter-spacing: .1em; }
.vh-card-res.win { color: var(--mint); } .vh-card-res.loss { color: #ff8090; }
.vh-card-best { display: flex; align-items: center; gap: 7px; margin: 0 16px 16px; padding: 8px 12px; border-radius: 12px; font-size: 13px; font-weight: 700; color: var(--muted); background: rgba(255, 201, 74, .06); border: 1px solid rgba(255, 201, 74, .2); }
.vh-card-best svg { color: var(--gold); flex-shrink: 0; } .vh-card-best b { margin-left: auto; color: var(--gold); font-family: "Unbounded", sans-serif; }

/* ---------- page d'un hunt ---------- */
.vh-back { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--muted); margin-bottom: 16px; }
.vh-back svg { transform: rotate(180deg); } .vh-back:hover { color: var(--text); }
.vh-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(20px, 4vw, 48px); align-items: center; padding: clamp(22px, 4vw, 44px); border-radius: 28px; overflow: hidden; isolation: isolate;
  background: linear-gradient(135deg, rgba(46, 230, 140, .12), rgba(154, 92, 255, .16) 60%, rgba(12, 9, 19, .9)), var(--card); border: 1px solid var(--line-2); }
.vh-hero-bg { position: absolute; inset: -40px; z-index: -1; display: grid; grid-template-columns: repeat(3, 1fr); opacity: .22; filter: blur(38px) saturate(1.3); }
.vh-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.vh-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(9, 7, 14, .82) 30%, rgba(9, 7, 14, .35)); }
.vh-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.vh-date { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--muted); margin-left: 4px; }
.vh-title { margin: 16px 0 20px; font-size: clamp(30px, 4.6vw, 56px); }
.vh-res { display: inline-flex; flex-direction: column; gap: 2px; padding: 16px 22px; border-radius: 20px; background: rgba(0, 0, 0, .3); border: 1px solid var(--line-2); }
.vh-res span { font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.vh-res b { font: 900 clamp(36px, 5.6vw, 60px)/1.05 "Unbounded", sans-serif; letter-spacing: -.03em; }
.vh-res small { font-size: 13px; color: var(--muted); font-weight: 600; }
.vh-res.win { border-color: rgba(46, 230, 140, .45); background: linear-gradient(135deg, rgba(46, 230, 140, .14), rgba(0, 0, 0, .25)); }
.vh-res.win b { background: linear-gradient(180deg, #f1fff7 10%, #8affc6 55%, #22d47e); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 6px 24px rgba(46, 230, 140, .3)); }
.vh-res.loss b { color: #ff8090; } .vh-res.wait b { color: var(--lilac); }
.vh-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.vh-hero-best { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 18px; border-radius: 24px; background: rgba(12, 9, 19, .7); border: 1px solid rgba(255, 201, 74, .35); box-shadow: 0 30px 60px -30px rgba(255, 201, 74, .35); }
.vh-hb-k { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.vh-hero-best .vh-art { width: 100%; max-width: 230px; border-radius: 18px; box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .8); }
.vh-hero-best b { font-weight: 800; font-size: 16px; margin-top: 6px; }
.vh-hb-x { font: 900 38px/1 "Unbounded", sans-serif; color: var(--gold); letter-spacing: -.03em; }
.vh-hero-best small { color: var(--muted); font-size: 12.5px; font-weight: 600; }

.vh-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 18px 0 8px; }
.vh-tile { position: relative; display: grid; gap: 2px; padding: 16px 18px; border-radius: 18px; background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line); }
.vh-tile-ic { position: absolute; right: 14px; top: 14px; color: var(--violet); opacity: .8; }
.vh-tile-k { font-size: 12px; font-weight: 800; color: var(--muted); letter-spacing: .04em; }
.vh-tile b { font: 900 26px/1.2 "Unbounded", sans-serif; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.vh-tile small { font-size: 12.5px; color: var(--dim); font-weight: 600; }

.vh-sec { margin-top: 34px; }
.vh-podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: end; }
.vh-pod { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 16px 16px 18px; border-radius: 22px; background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line-2); }
.vh-pod .vh-art { width: 100%; max-width: 200px; border-radius: 16px; margin-bottom: 8px; }
.vh-pod.p1 { padding-top: 22px; border-color: rgba(255, 201, 74, .5); box-shadow: 0 30px 60px -30px rgba(255, 201, 74, .4); transform: translateY(-10px); }
.vh-pod.p1 .vh-art { max-width: 240px; }
.vh-pod-r { position: absolute; top: 10px; left: 10px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 900 15px "Unbounded", sans-serif; color: #1a1205; }
.p1 .vh-pod-r { background: linear-gradient(135deg, #fff3b0, #ffc94a 50%, #b8860b); }
.p2 .vh-pod-r { background: linear-gradient(135deg, #fff, #c9d3e3 50%, #7d8798); }
.p3 .vh-pod-r { background: linear-gradient(135deg, #ffd2a8, #d0894f 50%, #7a4a22); }
.vh-pod b { font-weight: 800; font-size: 15px; }
.vh-pod-x { font: 900 28px/1.1 "Unbounded", sans-serif; color: var(--mint); }
.p1 .vh-pod-x { color: var(--gold); font-size: 34px; }
.vh-pod small { color: var(--muted); font-size: 12.5px; font-weight: 600; }

/* graphique */
.vh-chart { padding: 20px 20px 16px; }
.vh-ch-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.vh-ch-head b { font-weight: 800; font-size: 16px; } .vh-ch-head small { display: block; font-size: 12.5px; color: var(--dim); font-weight: 600; }
.vh-legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.vh-legend span { display: inline-flex; align-items: center; gap: 7px; }
.vh-legend i { width: 10px; height: 10px; border-radius: 3px; } .vh-legend i.up { background: #16a864; } .vh-legend i.down { background: #8f6be0; }
.vh-ch-wrap { position: relative; padding-left: 46px; }
.vh-ch-svg { display: block; width: 100%; height: 280px; overflow: visible; }
.vh-ch-grid { stroke: rgba(255, 255, 255, .06); stroke-width: 1; vector-effect: non-scaling-stroke; }
.vh-ch-bar.up { fill: #16a864; } .vh-ch-bar.down { fill: #8f6be0; }
.vh-ch-wait { fill: rgba(255, 255, 255, .12); }
.vh-ch-be { stroke: var(--gold); stroke-width: 2; stroke-dasharray: 6 5; vector-effect: non-scaling-stroke; }
.vh-ch-hit { fill: transparent; cursor: pointer; } .vh-ch-hit.on { fill: rgba(255, 255, 255, .05); }
.vh-ch-y span { position: absolute; left: 0; transform: translateY(-50%); font-size: 11px; font-weight: 700; color: var(--dim); font-variant-numeric: tabular-nums; }
.vh-ch-bel { position: absolute; right: 12px; transform: translateY(-120%); font-size: 11.5px; font-weight: 800; color: var(--gold); background: rgba(9, 7, 14, .8); padding: 2px 7px; border-radius: 6px; pointer-events: none; }
.vh-ch-best { max-width: 100%; overflow: hidden; text-overflow: ellipsis; position: absolute; transform: translate(-50%, -130%); white-space: nowrap; font-size: 12px; font-weight: 700; color: var(--text); background: rgba(9, 7, 14, .85); border: 1px solid var(--line-2); padding: 3px 8px; border-radius: 8px; pointer-events: none; }
.vh-ch-best.start { transform: translate(-6px, -130%); } .vh-ch-best.end { transform: translate(calc(-100% + 6px), -130%); }
.vh-ch-best b { color: var(--mint); font-family: "Unbounded", sans-serif; }
.vh-tip { position: absolute; top: 4px; transform: translateX(-50%); display: grid; gap: 2px; min-width: 170px; padding: 9px 12px; border-radius: 12px; background: #1a1428; border: 1px solid var(--line-2); box-shadow: var(--shadow); font-size: 12.5px; color: var(--muted); pointer-events: none; z-index: 3; }
.vh-tip b { color: var(--text); }
.vh-tip[hidden] { display: none; }

/* toutes les machines */
.vh-sort { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.vh-sort button { height: 32px; padding: 0 13px; border-radius: 9px; font-size: 13px; font-weight: 800; color: var(--muted); background: none; border: 0; cursor: pointer; }
.vh-sort button.on { color: #fff; background: linear-gradient(180deg, #ad7bff, #7a3cf0); }
.vh-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 12px; }
.vh-slot { border-radius: 18px; overflow: hidden; background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line); transition: transform .15s, border-color .2s; }
.vh-slot:hover { transform: translateY(-2px); }
.vh-slot-art { position: relative; }
.vh-slot-art .vh-art { border-radius: 0; }
.vh-slot-n { position: absolute; left: 8px; top: 8px; z-index: 2; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 999px; display: grid; place-items: center; font-size: 12px; font-weight: 900; background: rgba(9, 7, 14, .78); border: 1px solid var(--line-2); }
.vh-note { position: absolute; right: 8px; top: 8px; z-index: 2; padding: 3px 8px; border-radius: 999px; font-size: 10px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: var(--lilac); background: rgba(9, 7, 14, .8); border: 1px solid rgba(154, 92, 255, .4); max-width: 60%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vh-slot-x { position: absolute; right: 8px; bottom: 8px; z-index: 2; padding: 4px 10px; border-radius: 10px; font: 900 16px "Unbounded", sans-serif; background: rgba(9, 7, 14, .85); border: 1px solid var(--line-2); color: var(--muted); }
.vh-slot-b { padding: 10px 12px 12px; }
.vh-slot-b > b { display: block; font-weight: 800; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vh-slot-b > small { display: block; font-size: 11.5px; color: var(--dim); font-weight: 700; margin-top: 1px; }
.vh-slot-row { display: flex; justify-content: space-between; gap: 8px; margin-top: 8px; }
.vh-slot-row span { display: grid; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.vh-slot-row span:last-child { text-align: right; }
.vh-slot-row b { font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--text); font-variant-numeric: tabular-nums; }
.vh-slot.win { border-color: rgba(46, 230, 140, .35); } .vh-slot.win .vh-slot-x { color: var(--mint); border-color: rgba(46, 230, 140, .45); } .vh-slot.win .g { color: var(--mint); }
.vh-slot.big { border-color: rgba(255, 201, 74, .55); box-shadow: 0 18px 40px -24px rgba(255, 201, 74, .6); } .vh-slot.big .vh-slot-x { color: var(--gold); border-color: rgba(255, 201, 74, .55); } .vh-slot.big .g { color: var(--gold); }
.vh-slot.low .vh-slot-x { color: #b9a6e8; }
.vh-slot.wait { opacity: .6; }

.vh-legal { margin-top: 36px; text-align: center; font-size: 12.5px; color: var(--dim); } .vh-legal b { color: var(--muted); }

/* admin */
.vh-adm-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.vh-adm-top small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.vh-adm summary { cursor: pointer; font-weight: 800; color: var(--lilac); }
.vh-adm-ms { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; margin-top: 12px; }
.vh-adm-m { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; align-items: center; padding: 8px; border-radius: 14px; background: rgba(255, 255, 255, .02); border: 1px solid var(--line); }
.vh-adm-m .vh-art { border-radius: 10px; } .vh-adm-m .vh-ini { font-size: 14px; }
.vh-adm-m > div:last-child { display: grid; gap: 6px; } .vh-adm-m small { color: var(--muted); font-size: 12px; font-weight: 700; }
.vh-adm-m .input { height: 34px; font-size: 13px; padding: 0 10px; }

@media (max-width: 900px) {
  .vh-hero { grid-template-columns: 1fr; }
  .vh-hero-best { max-width: 340px; width: 100%; justify-self: center; }
  .vh-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .vh-podium { gap: 8px; }
  .vh-pod { padding: 10px 8px 12px; border-radius: 16px; }
  .vh-pod.p1 { transform: translateY(-6px); }
  .vh-pod b { font-size: 12.5px; } .vh-pod-x, .p1 .vh-pod-x { font-size: 18px; } .vh-pod small { display: none; }
  .vh-pod-r { width: 26px; height: 26px; font-size: 12px; top: 6px; left: 6px; }
  .vh-tile b { font-size: 21px; }
  .vh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .vh-ch-svg { height: 220px; }
}
