/* Live player (shared by watch page and embed) */
.lp { position: relative; background: #000; overflow: hidden; aspect-ratio: 16 / 9; width: 100%; color: #fff;
  font-family: var(--font, system-ui, sans-serif); user-select: none; -webkit-user-select: none; }
.lp-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; display: block; }
.lp:not(.lp-on) .lp-bar, .lp:not(.lp-on) .lp-video { visibility: hidden; }
.lp-bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 4px;
  padding: 28px 10px 8px; background: linear-gradient(transparent, rgba(0,0,0,.72));
  opacity: 0; transition: opacity .25s; }
.lp.lp-awake .lp-bar, .lp:focus-within .lp-bar, .lp video:paused ~ .lp-bar { opacity: 1; }
@media (hover: none) { .lp-bar { opacity: 1; } }
.lp-btn { display: grid; place-items: center; height: 36px; min-width: 36px; padding: 0 6px; border: 0; border-radius: 8px;
  background: transparent; color: #fff; cursor: pointer; gap: 6px; grid-auto-flow: column; font: 600 12px/1 var(--font, system-ui); }
.lp-btn:hover, .lp-btn:focus-visible { background: rgba(255,255,255,.14); outline: none; }
.lp-btn em { font-style: normal; opacity: .9; }
.lp-volume { width: 84px; accent-color: #fff; }
@media (max-width: 560px) { .lp-volume { display: none; } .lp-qlabel { display: none; } }
.lp-grow { flex: 1; }
.lp-live { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 10px; margin-left: 6px; border: 0;
  border-radius: 6px; background: rgba(255,255,255,.12); color: #fff; font: 700 11px/1 var(--font, system-ui); letter-spacing: .08em; cursor: pointer; }
.lp-live i { width: 8px; height: 8px; border-radius: 50%; background: #ff3b30; box-shadow: 0 0 0 3px rgba(255,59,48,.25); }
.lp-live.lp-behind i { background: #9aa0a6; box-shadow: none; }
.lp-q { position: relative; }
.lp-qmenu { position: absolute; right: 0; bottom: 44px; min-width: 132px; padding: 6px; border-radius: 10px;
  background: rgba(20,20,24,.96); box-shadow: 0 10px 30px rgba(0,0,0,.5); display: grid; }
.lp-qmenu[hidden] { display: none; }
.lp-qmenu button { text-align: left; padding: 9px 12px; border: 0; border-radius: 6px; background: none; color: #fff; font: 500 13px var(--font, system-ui); cursor: pointer; }
.lp-qmenu button:hover { background: rgba(255,255,255,.1); }
.lp-qmenu button[aria-checked="true"]::after { content: "✓"; float: right; opacity: .8; }
.lp-unmute { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px;
  border: 0; border-radius: 999px; background: rgba(255,255,255,.95); color: #111; font: 600 13px var(--font, system-ui);
  cursor: pointer; box-shadow: 0 6px 20px rgba(0,0,0,.35); z-index: 3; }
.lp-unmute[hidden], .lp-spinner[hidden] { display: none; }
.lp-spinner { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.lp-spinner span { width: 44px; height: 44px; border-radius: 50%; border: 3px solid rgba(255,255,255,.25); border-top-color: #fff; animation: lp-spin .9s linear infinite; }
@keyframes lp-spin { to { transform: rotate(360deg); } }
.lp-msg { position: absolute; inset: 0; display: grid; place-items: center; font: 500 15px var(--font, system-ui); color: #ddd; }
.lp:fullscreen { aspect-ratio: auto; }
