/* =====================================================================
   LESSON VIDEO PLAYER (2026-08-18) — lesson-player.js
   hero (in flow, top of the lesson column) · dock (pinned while you read:
   bottom-right on desktop, top on mobile) · fullscreen · end-of-byte check
   overlay. Chrome is dark-on-video (white glyphs on a gradient); the check
   overlay is the site's cream card so it reads as the same lesson.
   ===================================================================== */
.lp-anchor { margin: 0 0 1.15rem; }
.lp { position: relative; outline: none; --lp-dark: #17100e; --lp-r: 14px; }
.lp:focus-visible .lp-stage { box-shadow: 0 0 0 3px var(--accent-wash), 0 0 0 1.5px var(--accent); }
.lp-stage {
  position: relative; aspect-ratio: 16 / 9; width: 100%; background: var(--lp-dark);
  border-radius: var(--lp-r); overflow: hidden;
  box-shadow: 0 1px 2px rgba(20, 8, 4, 0.10), 0 12px 32px -14px rgba(50, 20, 10, 0.45);
}
.lp-video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: contain; background: var(--lp-dark); }
.lp-tap { position: absolute; inset: 0; cursor: pointer; }

/* idle: poster + one big brick play + what you're about to watch */
.lp-idle {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  background: linear-gradient(180deg, rgba(24, 14, 10, 0.34) 0%, rgba(24, 14, 10, 0.50) 55%, rgba(24, 14, 10, 0.72) 100%);
  color: #fff; text-align: center; padding: 1rem; pointer-events: none;
}
.lp[data-state="idle"] .lp-idle { pointer-events: auto; }
.lp:not([data-state="idle"]) .lp-idle { display: none; }
.lp-bigplay {
  width: 86px; height: 86px; border-radius: 50%; border: 0; background: var(--accent); color: #fff; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 34px -10px rgba(0, 0, 0, 0.55), 0 0 0 10px rgba(255, 255, 255, 0.10);
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.lp-bigplay svg { width: 40px; height: 40px; margin-left: 5px; }
.lp[data-state="idle"]:hover .lp-bigplay, .lp-bigplay:focus-visible { transform: scale(1.06); box-shadow: 0 18px 40px -10px rgba(0, 0, 0, 0.6), 0 0 0 14px rgba(255, 255, 255, 0.14); outline: none; }
.lp-idle-text { display: flex; flex-direction: column; gap: 5px; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55); max-width: 92%; }
.lp-idle-kicker { font: 500 11.5px/1 "Archivo", system-ui, sans-serif; letter-spacing: 0.15em; text-transform: uppercase; opacity: 0.9; }
.lp-idle-title { font-size: 23px; font-weight: 600; line-height: 1.2; }
.lp-idle-cta { font: 500 13px/1 "Archivo", system-ui, sans-serif; opacity: 0.92; margin-top: 3px; }
.lp-idle-dur { font-variant-numeric: tabular-nums; }

/* centre flash on tap (play/pause/speed) */
.lp-flash { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: rgba(15, 9, 7, 0.55); color: #fff; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; }
.lp-flash svg { width: 38px; height: 38px; }
.lp-flash-text { font: 700 20px "Archivo", system-ui, sans-serif; }
.lp-flash.is-on { animation: lp-flash 620ms ease-out forwards; }
@keyframes lp-flash { 0% { opacity: 0.95; transform: scale(0.8); } 100% { opacity: 0; transform: scale(1.35); } }

/* controls */
.lp-controls {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 8px 6px; color: #fff; z-index: 2;
  background: linear-gradient(180deg, rgba(15, 9, 7, 0) 0%, rgba(15, 9, 7, 0.55) 40%, rgba(15, 9, 7, 0.86) 100%);
  transition: opacity 200ms ease;
}
.lp.is-hidectl .lp-controls, .lp.is-hidectl .lp-dockbar { opacity: 0; pointer-events: none; }
.lp.is-hidectl .lp-tap { cursor: none; }
.lp[data-state="idle"] .lp-seekrow { visibility: hidden; }
.lp-seekrow { padding: 0 6px 4px; }
.lp-seek {
  -webkit-appearance: none; appearance: none; width: 100%; height: 18px; margin: 0; background: transparent; cursor: pointer; display: block; --played: 0%;
}
.lp-seek::-webkit-slider-runnable-track { height: 4px; border-radius: 999px; background: linear-gradient(90deg, var(--accent) 0 var(--played), rgba(255, 255, 255, 0.28) var(--played) 100%); }
.lp-seek::-moz-range-track { height: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.28); }
.lp-seek::-moz-range-progress { height: 4px; border-radius: 999px; background: var(--accent); }
.lp-seek::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 0; margin-top: -5px; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5); transform: scale(0.85); transition: transform 120ms ease; }
.lp-seek::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5); }
.lp-seek:hover::-webkit-slider-thumb, .lp-seek:focus-visible::-webkit-slider-thumb { transform: scale(1.1); }
.lp-seek:focus-visible { outline: none; }
.lp-bar { display: flex; align-items: center; gap: 1px; min-width: 0; }
.lp-btn {
  width: 36px; height: 36px; border: 0; background: transparent; color: #fff; border-radius: 9px; cursor: pointer; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center; opacity: 0.94; font-family: "Archivo", system-ui, sans-serif;
  transition: background 120ms ease, opacity 120ms ease;
}
.lp-btn svg { width: 22px; height: 22px; }
.lp-btn:hover, .lp-btn:focus-visible { background: rgba(255, 255, 255, 0.14); opacity: 1; outline: none; }
.lp-btn:disabled { opacity: 0.32; cursor: default; background: transparent; }
.lp-btn-play svg { width: 26px; height: 26px; }
.lp-btn-rate { width: auto; min-width: 40px; padding: 0 8px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.02em; }
.lp-btn-list { width: auto; padding: 0 8px 0 7px; gap: 5px; font-size: 12px; font-weight: 500; font-variant-numeric: tabular-nums; }
.lp-btn-list svg { width: 20px; height: 20px; }
.lp-btn[aria-expanded="true"] { background: rgba(255, 255, 255, 0.18); }
.lp-time { font: 500 12.5px/1 "Archivo", system-ui, sans-serif; font-variant-numeric: tabular-nums; margin: 0 8px 0 5px; white-space: nowrap; flex: 0 0 auto; }
.lp-time-sep { margin: 0 4px; opacity: 0.55; }
.lp-nowtitle { font: 500 12.5px/1.2 "Archivo", system-ui, sans-serif; opacity: 0.82; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 0 1 auto; padding-left: 4px; }
.lp-spacer { flex: 1 1 auto; min-width: 4px; }

/* menus (speed · bytes) */
.lp-menu {
  position: absolute; right: 12px; bottom: 60px; z-index: 5; min-width: 168px; max-width: calc(100% - 24px);
  background: rgba(24, 15, 12, 0.96); color: #fff; border-radius: 12px; padding: 6px;
  box-shadow: 0 16px 40px -14px rgba(0, 0, 0, 0.7); font-family: "Archivo", system-ui, sans-serif;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.lp-menu-h { font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.6; padding: 6px 10px 5px; }
.lp-menu-item { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 8px 10px; border: 0; border-radius: 8px; background: transparent; color: #fff; font: 500 13.5px/1.25 "Archivo", system-ui, sans-serif; cursor: pointer; }
.lp-menu-item:hover, .lp-menu-item:focus-visible { background: rgba(255, 255, 255, 0.11); outline: none; }
.lp-menu-item.is-on { color: #fff; }
.lp-menu-rate .lp-menu-item { justify-content: space-between; }
.lp-menu-rate .lp-menu-item svg { width: 16px; height: 16px; color: #f0b3ad; }
.lp-menu-list { width: min(380px, calc(100% - 24px)); }
.lp-menu-scroll { max-height: min(56vh, 300px); overflow: auto; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.25) transparent; }
.lp-menu-byte.is-on { background: rgba(255, 255, 255, 0.10); }
.lp-menu-byte.is-on .lp-menu-n { background: var(--accent); color: #fff; }
.lp-menu-n { width: 24px; height: 24px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.35); display: inline-flex; align-items: center; justify-content: center; font-size: 11.5px; font-weight: 700; flex: 0 0 24px; }
.lp-menu-byte.is-done .lp-menu-n { border-color: rgba(255, 255, 255, 0.7); }
.lp-menu-t { flex: 1 1 auto; min-width: 0; }
.lp-menu-d { font-size: 11.5px; opacity: 0.7; font-variant-numeric: tabular-nums; flex: 0 0 auto; display: inline-flex; }
.lp-menu-d svg { width: 15px; height: 15px; color: #a9dcb0; }

/* dock bar (pinned mode only) */
.lp-dockbar {
  display: none; position: absolute; top: 0; left: 0; right: 0; z-index: 3; align-items: center; gap: 6px; padding: 8px 8px 26px 12px; color: #fff;
  background: linear-gradient(180deg, rgba(15, 9, 7, 0.78), rgba(15, 9, 7, 0)); transition: opacity 200ms ease;
}
.lp.is-docked .lp-dockbar { display: flex; }
.lp-dockbar-title { flex: 1 1 auto; min-width: 0; font: 500 12px/1.2 "Archivo", system-ui, sans-serif; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-dockbtn { width: 30px; height: 30px; border: 0; border-radius: 8px; background: rgba(255, 255, 255, 0.14); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex: 0 0 auto; }
.lp-dockbtn svg { width: 18px; height: 18px; }
.lp-dockbtn:hover { background: rgba(255, 255, 255, 0.26); }

/* caption under the hero */
.lp-caption { display: flex; align-items: baseline; gap: 10px; padding: 9px 4px 0; font-family: "Archivo", system-ui, sans-serif; font-size: 12.5px; color: var(--muted); }
.lp-caption-kicker { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; flex: 0 0 auto; }
.lp-caption-title { flex: 1 1 auto; min-width: 0; color: var(--ink-soft); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-caption-meta { font-variant-numeric: tabular-nums; flex: 0 0 auto; }
.lp[data-state="nomedia"] .lp-caption { display: none; }

/* DOCK: fixed, bottom-right (desktop) — the hero's space is held by .lp-anchor */
.lp.is-docked { position: fixed; z-index: 60; right: 22px; bottom: 22px; width: min(430px, calc(100vw - 44px)); }
.lp.is-docked .lp-caption { display: none; }
.lp.is-docked .lp-stage { border-radius: 12px; box-shadow: 0 22px 60px -18px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.06); }
.lp.is-docked .lp-nowtitle, .lp.is-docked .lp-btn-mute, .lp.is-docked .lp-btn-list .lp-list-count { display: none; }
.lp.is-docked .lp-idle-title { font-size: 17px; }
.lp.is-docked .lp-bigplay { width: 60px; height: 60px; }
.lp.is-docked .lp-bigplay svg { width: 28px; height: 28px; }
.lp.is-docked .lp-quiz-card { padding: 12px 14px 12px; }
.lp.is-docked .lp-quiz-q { font-size: 14.5px; margin-bottom: 8px; }
.lp.is-docked .lp-quiz-opt { padding: 7px 10px; font-size: 13.5px; min-height: 0; }
.lp.is-docked .lp-quiz-read { display: none; }

/* FULLSCREEN */
.lp.is-fs, .lp:fullscreen { background: #000; width: 100vw; height: 100vh; display: flex; align-items: center; justify-content: center; }
.lp.is-fs .lp-stage, .lp:fullscreen .lp-stage { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; box-shadow: none; }
.lp.is-fs .lp-caption, .lp:fullscreen .lp-caption { display: none; }
.lp.is-fs .lp-controls { padding: 34px 16px 10px; }
.lp.is-fs .lp-quiz-card { width: min(760px, 92%); }
.lp.is-fs .lp-quiz-q { font-size: 20px; }
.lp.is-fs .lp-quiz-opt { font-size: 17px; }

/* NO VIDEO for this step (review bytes): a slim bar with the byte walk still on it */
.lp[data-state="nomedia"] .lp-stage { aspect-ratio: auto; height: auto; }
.lp[data-state="nomedia"] .lp-video, .lp[data-state="nomedia"] .lp-idle, .lp[data-state="nomedia"] .lp-tap, .lp[data-state="nomedia"] .lp-seekrow,
.lp[data-state="nomedia"] .lp-time, .lp[data-state="nomedia"] .lp-btn-play, .lp[data-state="nomedia"] .lp-btn-mute, .lp[data-state="nomedia"] .lp-btn-rate,
.lp[data-state="nomedia"] .lp-btn-fs, .lp[data-state="nomedia"] .lp-btn-dock, .lp[data-state="nomedia"] .lp-quiz, .lp[data-state="nomedia"] .lp-flash { display: none; }
.lp[data-state="nomedia"] .lp-controls { position: static; padding: 4px 8px; background: none; }
.lp[data-state="nomedia"] .lp-nowtitle { opacity: 0.7; }

/* END-OF-BYTE CHECK — over the video, the site's cream card */
.lp-quiz { position: absolute; inset: 0; z-index: 4; display: flex; align-items: center; justify-content: center; padding: 12px; background: rgba(20, 12, 10, 0.58); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.lp-quiz-card {
  width: min(560px, 100%); max-height: 100%; overflow: auto; background: var(--surface); color: var(--ink);
  border-radius: 14px; padding: 16px 20px 14px; box-shadow: 0 24px 60px -22px rgba(0, 0, 0, 0.7);
  scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent;
}
.lp-quiz-kicker { font: 500 11px/1 "Archivo", system-ui, sans-serif; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); margin: 0 0 9px; }
.lp-quiz-q { font-size: 17px; line-height: 1.42; margin: 0 0 12px; color: var(--ink); }
.lp-quiz-msg { font-size: 16px; line-height: 1.45; margin: 0; color: var(--ink-soft); }
.lp-quiz-opts { display: grid; gap: 8px; }
.lp-quiz-opt {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 9px 12px; min-height: 46px;
  border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink-soft); font-family: inherit; font-size: 15.5px; line-height: 1.4; cursor: pointer;
  transition: border-color 140ms ease, background 140ms ease;
}
.lp-quiz-opt:hover:not(:disabled), .lp-quiz-opt:focus-visible { border-color: var(--accent); outline: none; }
.lp-quiz-opt:disabled { cursor: default; }
.lp-quiz-key { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: inline-flex; align-items: center; justify-content: center; font: 700 12px/1 "Archivo", system-ui, sans-serif; color: var(--muted); background: var(--surface); }
.lp-quiz-txt { flex: 1 1 auto; min-width: 0; }
.lp-quiz-opt.is-correct { border-color: var(--good, #2f6b3f); background: color-mix(in srgb, var(--good, #2f6b3f) 10%, var(--surface)); color: var(--ink); }
.lp-quiz-opt.is-correct .lp-quiz-key { background: var(--good, #2f6b3f); border-color: var(--good, #2f6b3f); color: var(--on-good, #f4faf2); }
.lp-quiz-opt.is-wrong { border-color: color-mix(in srgb, var(--muted) 55%, transparent); background: var(--surface-soft); color: var(--muted); opacity: 0.7; }
.lp-quiz.is-solved .lp-quiz-opt:not(.is-correct) { opacity: 0.55; }
@supports not (color: color-mix(in srgb, red, blue)) {
  .lp-quiz-opt.is-correct { background: var(--soft-good, #e4efe4); }
  .lp-quiz-opt.is-wrong { border-color: var(--line-strong); }
}
.lp-quiz-type { display: flex; gap: 8px; flex-wrap: wrap; }
.lp-quiz-input { flex: 1 1 180px; min-width: 0; padding: 9px 12px; border: 1.5px solid var(--line-strong); border-radius: 10px; background: var(--bg); color: var(--ink); font: inherit; font-size: 15px; }
.lp-quiz-input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.lp-quiz-fb { margin: 11px 0 0; font-size: 14.5px; line-height: 1.45; }
.lp-quiz-fb.is-ok { color: var(--good, #2f6b3f); }
.lp-quiz-fb.is-bad { color: var(--accent); }
.lp-quiz-fb .loop-byte-fb-mark { font-weight: 700; margin-right: 4px; }
.lp-quiz-actions { display: flex; align-items: center; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.lp-quiz-btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink-soft); border-radius: 999px; padding: 7px 12px; font: 500 12.5px/1 "Archivo", system-ui, sans-serif; cursor: pointer; white-space: nowrap; }
.lp-quiz-btn svg { width: 15px; height: 15px; }
.lp-quiz-btn:hover { border-color: var(--accent); color: var(--accent); }
.lp-quiz-btn.primary-button { border: 0; padding: 9px 16px; font-size: 13px; }
.lp-quiz.is-solved .lp-quiz-next { animation: lp-nudge 700ms ease 1; }
@keyframes lp-nudge { 0% { transform: scale(1); } 40% { transform: scale(1.06); } 100% { transform: scale(1); } }

/* MOBILE: dock = pinned to the top of the screen, full width (the YouTube-app model) */
@media (max-width: 1040px) {
  .lp-anchor { margin: 0 0 0.9rem; }
  .lp-stage { border-radius: 10px; }
  .lp-idle-title { font-size: 17px; }
  .lp-bigplay { width: 64px; height: 64px; }
  .lp-bigplay svg { width: 30px; height: 30px; }
  .lp-idle-cta { font-size: 12px; }
  .lp-nowtitle { display: none; }
  .lp-btn { width: 34px; height: 34px; }
  .lp-btn-mute { display: none; }
  .lp-time { margin: 0 4px 0 2px; font-size: 12px; }
  .lp-menu { right: 8px; bottom: 54px; }
  .lp-quiz { padding: 8px; align-items: stretch; }
  .lp-quiz-card { padding: 12px 14px 12px; border-radius: 12px; }
  .lp-quiz-q { font-size: 15px; margin-bottom: 8px; }
  .lp-quiz-opt { font-size: 14px; padding: 7px 10px; min-height: 40px; gap: 9px; }
  .lp-quiz-key { width: 22px; height: 22px; font-size: 11px; }
  .lp-quiz-actions { margin-top: 10px; }
  .lp-quiz-read { display: none; }
  .lp.is-docked { top: 0; left: 0; right: 0; bottom: auto; width: 100%; z-index: 70; }
  .lp.is-docked .lp-stage { border-radius: 0; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6); }
  .lp.is-docked .lp-bigplay { width: 52px; height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-bigplay, .lp-controls, .lp-btn, .lp-quiz-opt, .lp-quiz-btn, .lp-dockbar { transition: none; }
  .lp-flash.is-on, .lp-quiz.is-solved .lp-quiz-next { animation: none; }
}

/* ---- v1.1 fixes from the first smoke (2026-08-18) ---- */
/* the check overlay: the stage GROWS to fit the card (min 16:9) instead of the card scrolling inside 16:9;
   the video stays behind (contain). Not in fullscreen, where the stage is the screen. */
.lp.is-quiz:not(.is-fs) .lp-stage { aspect-ratio: auto; }
.lp.is-quiz:not(.is-fs) .lp-quiz { position: relative; inset: auto; aspect-ratio: 16 / 9; }
.lp.is-quiz:not(.is-fs) .lp-quiz-card { max-height: none; overflow: visible; }
.lp.is-quiz .lp-idle { display: none; }
/* menus never clip: on mobile they are bottom sheets over the page */
@media (max-width: 1040px) {
  .lp-menu { position: fixed; left: 0; right: 0; bottom: 0; top: auto; width: 100%; max-width: none; border-radius: 16px 16px 0 0; padding: 8px 10px calc(10px + env(safe-area-inset-bottom)); z-index: 90; }
  .lp-menu-list { width: 100%; }
  .lp-menu-scroll { max-height: 58vh; }
  .lp-menu-item { padding: 11px 10px; font-size: 15px; }
  /* idle on a small stage: the big play + the title only — no bar under them */
  .lp[data-state="idle"] .lp-controls { display: none; }
  .lp-idle { gap: 10px; }
  .lp-idle-cta { display: none; }
  .lp-idle-title { font-size: 16px; }
  .lp.is-docked .lp-idle-title { font-size: 14px; }
}
/* the check card, a touch tighter everywhere so three options + feedback + actions sit in one view */
.lp-quiz-card { padding: 14px 18px 12px; }
.lp-quiz-q { font-size: 16.5px; margin-bottom: 10px; }
.lp-quiz-opt { min-height: 42px; padding: 8px 12px; }
.lp-quiz-opts { gap: 7px; }

/* ---- v1.2 MINIMAL PASS (Raghu: "too much going on") ----
   idle = the poster, one play button, a small duration chip. No text on the poster, no caption row, no
   controls until it plays. Bar = prev · play · next · time · speed · bytes · fullscreen. Softer chrome. */
.lp-stage { border-radius: 12px; box-shadow: 0 1px 2px rgba(20, 8, 4, 0.08), 0 8px 24px -16px rgba(50, 20, 10, 0.35); }
.lp-idle { background: rgba(24, 14, 10, 0.16); gap: 0; padding: 0; }
.lp:not([data-state="idle"]) .lp-idle { display: none; }
.lp[data-state="idle"] .lp-controls { display: none; }
.lp-bigplay { width: 66px; height: 66px; box-shadow: 0 8px 22px -8px rgba(0, 0, 0, 0.45); }
.lp-bigplay svg { width: 30px; height: 30px; margin-left: 4px; }
.lp[data-state="idle"]:hover .lp-bigplay, .lp-bigplay:focus-visible { transform: scale(1.05); box-shadow: 0 10px 26px -8px rgba(0, 0, 0, 0.5); }
.lp-idle-dur { position: absolute; right: 12px; bottom: 10px; font: 500 11.5px/1 "Archivo", system-ui, sans-serif; letter-spacing: 0.02em; color: #fff; background: rgba(15, 9, 7, 0.55); padding: 5px 7px; border-radius: 6px; font-variant-numeric: tabular-nums; }
.lp-idle-dur:empty { display: none; }
.lp-controls { padding: 22px 6px 4px; background: linear-gradient(180deg, rgba(15, 9, 7, 0) 0%, rgba(15, 9, 7, 0.42) 45%, rgba(15, 9, 7, 0.72) 100%); }
.lp-seekrow { padding: 0 6px 2px; }
.lp-seek { height: 14px; }
.lp-seek::-webkit-slider-runnable-track { height: 3px; }
.lp-seek::-moz-range-track, .lp-seek::-moz-range-progress { height: 3px; }
.lp-seek::-webkit-slider-thumb { width: 12px; height: 12px; margin-top: -4.5px; transform: scale(0); }
.lp-seek:hover::-webkit-slider-thumb, .lp-seek:focus-visible::-webkit-slider-thumb, .lp-seekrow:hover .lp-seek::-webkit-slider-thumb { transform: scale(1); }
.lp-btn { width: 32px; height: 32px; opacity: 0.85; border-radius: 7px; }
.lp-btn svg { width: 19px; height: 19px; }
.lp-btn-play svg { width: 22px; height: 22px; }
.lp-btn-rate { font-size: 12px; min-width: 36px; }
.lp-btn-list { font-size: 11.5px; }
.lp-btn-list svg { width: 18px; height: 18px; }
.lp-time { font-size: 12px; opacity: 0.9; }
.lp-nowtitle { display: none; }
.lp[data-state="nomedia"] .lp-nowtitle { display: inline; }
.lp-flash { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(15, 9, 7, 0.45); }
.lp-flash svg { width: 30px; height: 30px; }
/* dock: no title bar text — just the two small buttons on hover */
.lp-dockbar { padding: 6px 6px 22px; background: linear-gradient(180deg, rgba(15, 9, 7, 0.55), rgba(15, 9, 7, 0)); justify-content: flex-end; }
.lp-dockbar-title { display: none; }
.lp-dockbtn { width: 28px; height: 28px; background: rgba(255, 255, 255, 0.10); }
.lp.is-docked .lp-stage { box-shadow: 0 16px 44px -16px rgba(0, 0, 0, 0.5); }
/* end-of-byte card: lighter chrome */
.lp-quiz { background: rgba(20, 12, 10, 0.5); -webkit-backdrop-filter: none; backdrop-filter: none; }
.lp-quiz-card { box-shadow: 0 16px 40px -20px rgba(0, 0, 0, 0.55); }
.lp-quiz.is-solved .lp-quiz-next { animation: none; }
@media (max-width: 1040px) { .lp-bigplay { width: 56px; height: 56px; } .lp-bigplay svg { width: 26px; height: 26px; } }
/* the site's global input skin (border/padding/background) must not touch the seek range */
.lp-seek, .lp-seek:focus, .lp-seek:hover { background: transparent !important; border: 0 !important; padding: 0 !important; box-shadow: none !important; border-radius: 0 !important; outline: none !important; width: 100% !important; min-height: 0 !important; height: 14px !important; }
