/* Private lesson player (see assets/js/player.js) */
.lp [hidden], .lp-big[hidden] { display: none !important; }
.lp { position: relative; aspect-ratio: 16 / 9; width: 100%; overflow: hidden; background: #0b0f0d; border-radius: 12px; color: #fff; outline: none; isolation: isolate; -webkit-user-select: none; user-select: none; }
.lp:focus-visible { box-shadow: 0 0 0 3px rgba(255,255,255,.9), 0 0 0 5px #1f4d3f; }
.lp-stage { position: absolute; inset: 0; overflow: hidden; }
/* The iframe is taller than the frame: YouTube's title bar and logo fall outside the visible area. */
.lp-stage iframe { position: absolute; left: 0; width: 100%; top: -72px; height: calc(100% + 144px); border: 0; pointer-events: none; }
.lp-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; transition: opacity .3s; }
.lp-on:not(.lp-loading) .lp-poster { opacity: 0; pointer-events: none; }
.lp-shield { position: absolute; inset: 0; z-index: 2; cursor: pointer; background: transparent; }
.lp.lp-paused .lp-shield, .lp:not(.lp-on) .lp-shield { background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.55)); }
.lp-big { position: absolute; left: 50%; top: 50%; z-index: 3; width: 74px; height: 74px; transform: translate(-50%, -50%); border-radius: 50%; border: 0; background: rgba(255,255,255,.95); display: grid; place-items: center; cursor: pointer; box-shadow: 0 8px 30px rgba(0,0,0,.35); transition: transform .15s; }
.lp-big:hover { transform: translate(-50%, -50%) scale(1.06); }
.lp-big svg { width: 30px; height: 30px; fill: #1f4d3f; margin-left: 4px; }
.lp-hint { display: none; position: absolute; left: 50%; bottom: 64px; transform: translateX(-50%); z-index: 4; background: rgba(0,0,0,.7); padding: 6px 12px; border-radius: 99px; font-size: 13px; pointer-events: none; }
.lp.lp-tap .lp-shield { pointer-events: none; background: none; }
.lp.lp-tap .lp-stage iframe { pointer-events: auto; }
.lp.lp-tap .lp-poster { opacity: 0; pointer-events: none; }
.lp.lp-tap .lp-hint { display: block; }
.lp-bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; display: flex; align-items: center; gap: 4px; padding: 22px 10px 8px; background: linear-gradient(180deg, transparent, rgba(0,0,0,.72)); transition: opacity .25s; }
.lp.lp-playing:not(:hover):not(:focus-within) .lp-bar { opacity: 0; }
@media (hover: none) { .lp.lp-playing .lp-bar { opacity: 1; } }
.lp-b { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border: 0; background: none; color: #fff; border-radius: 8px; cursor: pointer; font: 600 12.5px/1 system-ui, sans-serif; }
.lp-b:hover, .lp-b:focus-visible { background: rgba(255,255,255,.16); outline: none; }
.lp-b svg { width: 22px; height: 22px; fill: currentColor; }
.lp-rate { width: auto; padding: 0 8px; }
.lp-time { font: 500 12.5px/1 system-ui, sans-serif; font-variant-numeric: tabular-nums; white-space: nowrap; padding: 0 4px; opacity: .92; }
.lp-seek { flex: 1; min-width: 40px; height: 22px; margin: 0 4px; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; --p: 0%; }
.lp-seek::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, #fff var(--p), rgba(255,255,255,.3) var(--p)); }
.lp-seek::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(255,255,255,.3); }
.lp-seek::-moz-range-progress { height: 4px; border-radius: 4px; background: #fff; }
.lp-seek::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: #fff; margin-top: -5px; }
.lp-seek::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 0; }
.lp-end { position: absolute; inset: 0; z-index: 6; background: #0b0f0d; display: grid; place-items: center; text-align: center; }
.lp-end b { display: block; font-size: 17px; margin-bottom: 12px; }
.lp-btn-t { display: inline-flex; align-items: center; gap: 8px; border: 0; background: #fff; color: #17221e; padding: 10px 16px; border-radius: 10px; font: 600 14px/1 system-ui, sans-serif; cursor: pointer; }
.lp-btn-t svg { width: 18px; height: 18px; fill: currentColor; }
.lp:fullscreen, .lp:-webkit-full-screen { border-radius: 0; aspect-ratio: auto; width: 100%; height: 100%; }
.lp.lp-pseudo { position: fixed; inset: 0; z-index: 9999; border-radius: 0; aspect-ratio: auto; width: 100vw; height: 100vh; height: 100dvh; }
body.lp-lock { overflow: hidden; }
@media (max-width: 560px) {
  .lp-b[data-act="back"], .lp-rate { display: none; }
  .lp-time { font-size: 11.5px; }
  .lp-big { width: 60px; height: 60px; }
}
