/* static/shared/hb-video-player.css — o'z boshqaruvli video pleyer (2026-11-01, buyurtmachi: «video oynaga har
   tomonlama to'lib tursin; standart ko'rinishda emas — o'tkazish, ostida vaqt va h.k. boshqaruvni yaxshila»). */
.hbvp{ position:relative; width:100%; height:100%; background:#000; overflow:hidden; color:#fff; user-select:none;
  font-family:inherit; outline:none; }
.hbvp video{ position:absolute; inset:0; width:100%; height:100%; object-fit:contain; background:#000; cursor:pointer; }
.hbvp-big{ position:absolute; left:50%; top:50%; transform:translate(-50%, -50%); width:84px; height:84px; border-radius:50%;
  border:0; background:rgba(0,0,0,.55); color:#fff; display:grid; place-items:center; cursor:pointer; transition:opacity .2s, transform .2s; }
.hbvp-big:hover{ transform:translate(-50%, -50%) scale(1.06); background:color-mix(in srgb, var(--hb-acc, #24c29a) 70%, #000); }
.hbvp.is-playing .hbvp-big{ opacity:0; pointer-events:none; }
.hbvp-unmute{ position:absolute; left:16px; top:16px; display:inline-flex; align-items:center; gap:8px; padding:8px 14px;
  border:0; border-radius:999px; background:rgba(0,0,0,.6); color:#fff; font:inherit; font-size:14px; font-weight:700; cursor:pointer; }
.hbvp-unmute[hidden]{ display:none; }
.hbvp-bar{ position:absolute; left:0; right:0; bottom:0; padding:28px 18px 12px;
  background:linear-gradient(to top, rgba(0,0,0,.78), rgba(0,0,0,0)); transition:opacity .25s; }
.hbvp.is-playing.is-idle .hbvp-bar, .hbvp.is-playing.is-idle .hbvp-unmute{ opacity:0; pointer-events:none; }
.hbvp.is-playing.is-idle{ cursor:none; }
.hbvp-seek{ position:relative; height:16px; display:flex; align-items:center; cursor:pointer; margin-bottom:6px; }
.hbvp-track{ position:relative; width:100%; height:4px; border-radius:4px; background:rgba(255,255,255,.28); transition:height .15s; }
.hbvp-seek:hover .hbvp-track{ height:6px; }
.hbvp-buf{ position:absolute; left:0; top:0; bottom:0; border-radius:4px; background:rgba(255,255,255,.4); }
.hbvp-fill{ position:absolute; left:0; top:0; bottom:0; border-radius:4px; background:var(--hb-acc, #24c29a); }
.hbvp-knob{ position:absolute; top:50%; width:14px; height:14px; margin-left:-7px; border-radius:50%; background:#fff;
  transform:translateY(-50%) scale(0); transition:transform .15s; box-shadow:0 0 0 3px color-mix(in srgb, var(--hb-acc, #24c29a) 45%, transparent); }
.hbvp-seek:hover .hbvp-knob, .hbvp-seek.is-drag .hbvp-knob{ transform:translateY(-50%) scale(1); }
.hbvp-tip{ position:absolute; bottom:18px; transform:translateX(-50%); padding:3px 8px; border-radius:6px; background:rgba(0,0,0,.8);
  font-size:12px; font-weight:700; font-variant-numeric:tabular-nums; pointer-events:none; }
.hbvp-tip[hidden]{ display:none; }
.hbvp-row{ display:flex; align-items:center; gap:6px; }
.hbvp-btn{ display:inline-grid; place-items:center; min-width:38px; height:38px; padding:0 8px; border:0; border-radius:10px;
  background:none; color:#fff; font:inherit; font-size:13.5px; font-weight:800; cursor:pointer; }
.hbvp-btn:hover{ background:rgba(255,255,255,.14); }
.hbvp-btn:focus-visible{ outline:2px solid var(--hb-acc, #24c29a); outline-offset:1px; }
.hbvp-time{ margin-left:6px; font-size:13.5px; font-weight:700; font-variant-numeric:tabular-nums; white-space:nowrap; }
.hbvp-sp{ flex:1; }
.hbvp-vol{ width:0; opacity:0; transition:width .2s, opacity .2s; accent-color:var(--hb-acc, #24c29a); }
.hbvp-volwrap:hover .hbvp-vol, .hbvp-volwrap:focus-within .hbvp-vol{ width:90px; opacity:1; }
.hbvp-volwrap{ display:flex; align-items:center; }
.hbvp-speed{ position:relative; }
.hbvp-menu{ position:absolute; right:0; bottom:44px; min-width:110px; padding:6px; border-radius:10px; background:rgba(20,20,20,.95); }
.hbvp-menu[hidden]{ display:none; }
.hbvp-menu button{ display:block; width:100%; padding:7px 10px; border:0; border-radius:7px; background:none; color:#fff;
  font:inherit; font-size:13.5px; text-align:left; cursor:pointer; }
.hbvp-menu button:hover{ background:rgba(255,255,255,.12); }
.hbvp-menu button.on{ color:var(--hb-acc, #24c29a); font-weight:800; }
@media (max-width:600px){ .hbvp-bar{ padding:22px 8px 6px; } .hbvp-volwrap .hbvp-vol{ display:none; } .hbvp-big{ width:64px; height:64px; } }
