 

#panel-watch {
   
  align-items: stretch !important;
  justify-content: flex-start !important;
  overflow-y: auto;
   
  margin-left: -18px; margin-right: -18px;
  padding-left: 18px; padding-right: 18px;
}

.wp-wrap { display: flex; flex-direction: column; gap: 10px; padding: 2px; width: 100%; }

 
.wp-load-desc { font-size: 0.85rem; margin-bottom: 8px; }
.wp-load-card .wp-loadrow { display: flex; gap: 8px; margin-bottom: 6px; }
.wp-loadrow input[type=text] { flex: 1; }
 
.wp-load-card .wp-lang-pick-row { align-items: center; margin-top: 6px; margin-bottom: 0; }
.wp-lang-pick-row[hidden] { display: none; }
.wp-lang-pick-label { flex: 0 0 auto; font-size: 0.85rem; }
.wp-lang-pick-row select { flex: 1 1 auto; min-width: 0; }
.wp-lang-pick-row .btn { flex: 0 0 auto; }

 
.wp-status-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.wp-status { min-height: 1.1em; flex: 1 1 auto; }
.wp-status.err { color: var(--accent-2); }
.wp-status-retry { flex: 0 0 auto; padding: 4px 12px; font-size: 0.8rem; }
.wp-status-retry[hidden] { display: none; }

 
.wp-tr-loading {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 6px; padding: 3px 10px;
  font-size: 0.82rem; color: var(--muted);
  background: var(--surface-2, rgba(127, 127, 127, 0.12));
  border-radius: 999px;
}
.wp-tr-loading[hidden] { display: none; }
.wp-tr-loading-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent, currentColor);
  animation: wp-tr-pulse 1s ease-in-out infinite;
}
@keyframes wp-tr-pulse { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }

 
 
.wp-stage[hidden] { display: none; }
.wp-stage { display: flex; gap: 14px; align-items: flex-start; flex-wrap: wrap; }
 
.wp-video-col { flex: 1 1 100%; min-width: 0; }

.wp-player-wrap {
  position: relative;
   
  width: min(100%, calc(var(--wp-avail-h, 60vh) * 16 / 9));
  aspect-ratio: 16 / 9; margin: 0 auto; background: #000;
   
   
  --cap-w: 44px;       
  --cap-h: 38px;       
  --cap-gap: 8px;      
  --cap-edge: 10px;    
   
  --cap-top: calc(var(--seg-prog-tall) + 8px);
   
  --cc-right: calc(var(--cap-edge) + 2 * (var(--cap-w) + var(--cap-gap)));
  --cc-w: var(--cap-w);
   
  border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
}
 
.wp-player-wrap:fullscreen { width: 100vw; height: 100vh; aspect-ratio: auto; border-radius: 0; border: 0; }
.wp-player-wrap:-webkit-full-screen { width: 100vw; height: 100vh; aspect-ratio: auto; border-radius: 0; border: 0; }
#wp-yt-player, .wp-player-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.wp-poster {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: none;
}

 
.wp-load-spin {
  position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px; pointer-events: none;
  color: rgba(255,255,255,0.85); font-size: 0.82rem; font-weight: 600;
}
.wp-load-spin[hidden] { display: none; }
.wp-spinner {
  width: 30px; height: 30px; border-radius: 999px; border: 3px solid rgba(255,255,255,0.22);
  border-top-color: #fff; animation: wp-spin 0.8s linear infinite;
}
@keyframes wp-spin { to { transform: rotate(360deg); } }

 
.wp-gesture { position: absolute; inset: 0; z-index: 2; cursor: default; }

 
 
.wp-cap-overlay {
  position: absolute; left: 50%; bottom: 24%; transform: translateX(-50%);
  width: max-content; max-width: 84%; z-index: 5; pointer-events: none;
  display: none; flex-direction: column; align-items: center; gap: 2px; text-align: center;
}
.wp-cap-overlay.wp-cap-show { display: flex; }
 
.wp-cap-drag-handle {
  position: absolute; top: -20px; left: 50%; transform: translateX(-50%);
  width: 30px; height: 16px; border-radius: 6px;
  background: rgba(10,11,15,0.75); border: 1px solid rgba(255,255,255,0.3);
  color: #fff; font-size: 12px; line-height: 1; letter-spacing: 0.06em;
  display: flex; align-items: center; justify-content: center;
  cursor: grab; opacity: 0; pointer-events: none;
  transition: opacity 160ms ease, background 120ms;
}
.wp-player-wrap.wp-chrome-on .wp-cap-drag-handle { opacity: 0.82; pointer-events: auto; }
.wp-cap-drag-handle:hover,
.wp-cap-drag-handle.wp-cap-drag-active { background: var(--accent); border-color: rgba(255,255,255,0.55); opacity: 1; }
.wp-cap-drag-handle.wp-cap-drag-active { cursor: grabbing; }
 
.wp-cap-lines {
  position: relative; display: flex; flex-direction: column; align-items: center;
  gap: 2px; max-width: 100%; min-width: 0;
}
 
.wp-cap-live-row {
  position: relative; display: flex; justify-content: center;
  max-width: 100%; min-width: 0;
   
}
.wp-player-wrap.is-fs .wp-cap-overlay,
.wp-player-wrap:fullscreen .wp-cap-overlay,
.wp-player-wrap:-webkit-full-screen .wp-cap-overlay { bottom: 16.6%; }
 
.wp-stage.wp-localaudio .wp-cap-overlay { bottom: auto; top: 50%; transform: translate(-50%, -50%); }
.wp-cap-line {
  display: inline-block; max-width: 100%; padding: 2px 12px; border-radius: 8px;
  background: rgba(8,9,12,0.68); color: #fff; line-height: 1.32; font-weight: 600;
  text-shadow: 0 1px 4px rgba(0,0,0,0.9);
   
  font-family: "Noto Sans Armenian", Mshtakan, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.wp-cap-orig-line { font-size: clamp(15px, 2.4vw, 26px); }
.wp-cap-roman-line { font-size: clamp(12px, 1.9vw, 19px); font-weight: 500; opacity: 0.88; color: #eef1fa; }
.wp-cap-line.wp-cap-hidden { display: none; }
 
.wp-cap-lines.wp-tr-zone { pointer-events: auto; cursor: text; }

 
.wp-cap-ctx {
  position: absolute; top: 0; bottom: 0;
  display: flex; align-items: center;
  width: max-content; max-width: none; white-space: nowrap;
  padding: 0 12px;
  font-size: clamp(13px, 2vw, 21px); font-weight: 600;
  color: rgba(255,255,255,0.82); background: rgba(8,9,12,0.6);
  visibility: hidden; opacity: 0;
  transition: opacity 120ms ease, visibility 0s linear 120ms;
}
 
.wp-cap-ctx-text { white-space: nowrap; }
.wp-cap-ctx-prev { right: 100%; border-radius: 8px 0 0 8px; }
.wp-cap-ctx-next { left: 100%; border-radius: 0 8px 8px 0; }
 
.wp-cap-line.wp-cap-nofit { display: none; }
.wp-cap-lines.wp-cap-ctx-on .wp-cap-ctx {
  visibility: visible; opacity: 1; transition: opacity 120ms ease, visibility 0s;
}

 
.wp-play-over {
  position: absolute; inset: 0; z-index: 6; display: none; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px;
  background: rgba(10,14,24,0.45); cursor: pointer; outline: none;
}
.wp-play-over.wp-on { display: flex; }
.wp-pbtn {
  width: 68px; height: 68px; border-radius: 999px; background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 26px; padding-left: 4px;
  box-shadow: 0 6px 22px rgba(0,0,0,0.4); transition: transform 90ms ease;
}
.wp-play-over:hover .wp-pbtn { transform: scale(1.06); }
.wp-phint {
  color: #fff; font-size: 13.5px; font-weight: 600; text-align: center; padding: 0 18px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.85); max-width: 80%; line-height: 1.4;
}

 
 
 
.wp-cap-btn {
  position: absolute; top: var(--cap-top); right: var(--cc-right); z-index: 8;
  appearance: none; cursor: pointer; font-family: inherit; line-height: 1;
  height: var(--cap-h); min-width: var(--cap-w); padding: 0 8px; display: flex; align-items: center; justify-content: center;
  background: rgba(10,11,15,0.75); color: #fff; border: 1px solid rgba(255,255,255,0.3);
  border-radius: 8px; font-size: 14px; font-weight: 800; letter-spacing: 0.03em;
  opacity: 0; pointer-events: none;
   
  transition: opacity 160ms ease, background 120ms, top 160ms ease;
}
.wp-player-wrap.wp-chrome-on .wp-cap-btn { opacity: 0.88; pointer-events: auto; }
 
.wp-player-wrap.wp-chrome-on .wp-cap-btn:hover,
.wp-player-wrap.wp-chrome-on .wp-cap-btn.wp-on { background: var(--accent); border-color: var(--accent); opacity: 1; }
.wp-cap-btn[hidden] { display: none; }
.wp-cap-pop {
   
  position: absolute; top: calc(var(--cap-top) + var(--cap-h) + 6px); right: var(--cc-right); z-index: 9; display: none;
  min-width: 180px; background: rgba(20,24,36,0.97); border: 1px solid rgba(255,255,255,0.16);
  border-radius: 10px; padding: 9px 11px; box-shadow: 0 8px 26px rgba(0,0,0,0.5);
}
.wp-cap-pop.wp-on { display: block; }
.wp-cap-pop-h {
  font-size: 10.5px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
  color: #aab2c5; margin: 0 0 7px;
}
.wp-cap-row { display: flex; align-items: center; gap: 8px; padding: 3px 0; cursor: pointer; user-select: none; color: #fff; }
.wp-cap-row input { width: 15px; height: 15px; accent-color: var(--accent); cursor: pointer; }
.wp-cap-row span { font-size: 12.5px; font-weight: 600; }
.wp-cap-row.wp-row-disabled { opacity: 0.45; cursor: default; }
.wp-cap-row.wp-row-disabled input { cursor: default; }

 
.wp-fs-btn svg { width: 18px; height: 18px; display: block; }
 
.wp-fs-btn.wp-fs-unsupported { display: none; }

 
.wp-meta { margin-top: 8px; max-width: min(100%, calc(var(--wp-avail-h, 60vh) * 16 / 9)); margin-left: auto; margin-right: auto; }
.wp-title { font-weight: 700; font-size: 0.95rem; }
 
.wp-meta-sub { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; margin-top: 1px; }
.wp-channel { font-size: 0.82rem; margin-top: 0; }
.wp-date { font-size: 0.82rem; }
.wp-date:not([hidden])::before { content: '·'; margin-right: 6px; opacity: 0.6; }
 
.wp-meta-link { color: inherit; text-decoration: none; }
.wp-meta-link:hover, .wp-meta-link:focus-visible { text-decoration: underline; }
 
 

 
 
.wp-footer-row {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px;
  width: min(100%, calc(var(--wp-avail-h, 60vh) * 16 / 9)); margin: 0 auto 8px;
  padding: 8px 12px;
  background: var(--card); border: 1px solid var(--border); border-radius: 10px;
}

 
.wp-sw { display: flex; align-items: center; gap: 7px; font-size: 0.98rem; }
 
.wp-sw[hidden] { display: none; }
.wp-sw b { color: var(--accent); font-variant-numeric: tabular-nums; cursor: pointer; font-size: 1.08em; font-weight: 800; }
.wp-sw b:hover { text-decoration: underline dotted; }
 
.wp-sw-edit {
  width: 5.5em; font: inherit; font-variant-numeric: tabular-nums; color: var(--accent);
  padding: 0 4px; border: 1px solid var(--accent); border-radius: 5px; background: #fff;
}
.wp-sw-btn {
  appearance: none; cursor: pointer; font-family: inherit; font-size: 0.82rem; font-weight: 700;
  color: var(--muted); background: transparent; border: 1px solid var(--border); border-radius: 6px;
  padding: 4px 9px; line-height: 1.4; transition: background 120ms, color 120ms, border-color 120ms;
}
.wp-sw-btn:hover { color: var(--accent); border-color: var(--accent); }
.wp-sw-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
 
.wp-sw-btn.wp-on { background: var(--accent); color: #fff; border-color: var(--accent); }

 
.wp-pos-noun { color: #1a66d6; }    
.wp-pos-adj  { color: #0e8a46; }    
.wp-pos-verb { color: #d42a37; }    

 
.wp-al-stat-line { display: flex; gap: 16px; flex-wrap: wrap; margin: 8px 0; font-size: 0.85rem; }
.wp-al-stat-line b { color: var(--accent); }
.wp-al-dupe {
  color: var(--warn); background: #fbf1de; border: 1px solid #f0dfb8; border-radius: 8px;
  padding: 6px 10px; font-size: 0.8rem; margin: 6px 0; font-weight: 600;
}
 
.wp-al-capfail-note {
  color: var(--muted); background: var(--bg-soft, #f2f2f2); border-radius: 8px;
  padding: 6px 10px; font-size: 0.8rem; margin: 0 0 8px;
}
.wp-autolog .wp-al-btns { display: flex; gap: 8px; align-items: center; margin-top: 8px; }
 
.wp-al-actualmin-row { max-width: 200px; margin: 4px 0 8px; }
.wp-al-actualmin-hint { font-size: 0.74rem; margin-top: -4px; }

 

 
.wp-seg-ratio { font-size: 0.68rem; color: var(--muted); white-space: nowrap; }
 
.wp-bnd2-summary.generating { animation: wp-gen-pulse 1.6s ease-in-out infinite; }
@keyframes wp-gen-pulse { 0%, 100% { opacity: 0.65; } 50% { opacity: 1; } }
.wp-seg-expand {
  appearance: none; border: 1px solid var(--border); background: transparent; color: var(--accent);
  border-radius: 7px; padding: 3px 9px; font-size: 0.74rem; font-weight: 600; margin-top: 7px; cursor: pointer;
}
.wp-seg-expand:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.wp-seg-expand:disabled { opacity: 0.6; cursor: default; }

 
 
.wp-play-over.wp-boundary { align-items: stretch; justify-content: center; bottom: auto; height: auto; min-height: 100%; }
.wp-player-wrap:has(> .wp-play-over.wp-on.wp-boundary) { overflow: visible; }
.wp-play-over.wp-boundary .wp-pbtn,
.wp-play-over.wp-boundary .wp-phint { display: none; }
.wp-bnd2 {
  display: none; width: 100%; min-height: 100%; box-sizing: border-box;
  align-items: center; align-content: center; justify-content: center;
   
  align-items: safe center; align-content: safe center;
  flex-wrap: wrap; gap: 14px; padding: 16px;
}
.wp-play-over.wp-boundary .wp-bnd2 { display: flex; }
.wp-bnd2-card {
  background: rgba(16,18,26,0.92); border: 1px solid rgba(255,255,255,0.14); border-radius: 12px;
  padding: 14px 16px; max-width: 320px; color: #fff; text-align: left;
  flex: 1 1 300px; min-width: 0;
  display: flex; flex-direction: column; box-sizing: border-box;
}
.wp-bnd2-body { flex: 0 0 auto; }
.wp-play-over.wp-solo .wp-bnd2-left { display: none; }
.wp-play-over.wp-solo .wp-bnd2 { justify-content: center; }
.wp-play-over.wp-solo .wp-bnd2-card { max-width: 380px; flex: 0 1 380px; }
 
.wp-bnd2-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.04em; color: #aab2c5; margin-bottom: 4px; }
.wp-bnd2-left { background: rgba(14,16,22,0.88); border-left: 3px solid rgba(255,255,255,0.28); }
.wp-bnd2-left .wp-bnd2-label { color: #98a0b4; }
.wp-bnd2-right { border-left: 3px solid var(--accent); }
.wp-bnd2-right .wp-bnd2-label { color: var(--accent); }
.wp-bnd2-chapter { font-weight: 700; font-size: 0.95rem; margin-bottom: 4px; }
 
.wp-bnd2-ratio { display: block; color: #b8bdc9; margin-bottom: 4px; }
.wp-bnd2-summary { font-size: 0.85rem; line-height: 1.4; }
.wp-bnd2-summary.empty { color: #b8bdc9; font-style: italic; }
.wp-bnd2-detail { margin-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.wp-bnd2-detail-row { font-size: 0.78rem; line-height: 1.35; }
.wp-bnd2-detail-num { font-weight: 700; color: #cdd3e6; }
 
.wp-bnd2-btns { margin-top: 10px; flex: 0 0 auto; display: flex; flex-direction: column; align-items: stretch; gap: 6px; }
.wp-bnd2-btn {
  appearance: none; border: 1px solid rgba(255,255,255,0.25); background: rgba(255,255,255,0.08); color: #fff;
  border-radius: 8px; padding: 7px 12px; font-size: 0.82rem; font-weight: 600; cursor: pointer;
  text-align: center;
}
.wp-bnd2-btn:hover { background: rgba(255,255,255,0.18); }
.wp-bnd2-btn.wp-bnd2-start { background: var(--accent); border-color: var(--accent); }
.wp-bnd2-btn.wp-bnd2-start:hover { filter: brightness(1.08); }
 
.wp-bnd2-btn:disabled { opacity: 0.5; cursor: not-allowed; filter: none; }
.wp-bnd2-btn.wp-bnd2-start:disabled:hover { filter: none; }
 
.wp-bnd2-lang { display: none; flex: 0 0 100%; justify-content: center; align-items: center; gap: 7px; font-size: 11.5px; color: #b8bdc9; }
.wp-bnd2-lang.wp-on { display: flex; }
.wp-bnd2-lang-lbl { font-weight: 700; }
.wp-bnd2-lang-seg { display: inline-flex; border: 1px solid rgba(255,255,255,0.28); border-radius: 7px; overflow: hidden; }
.wp-bnd2-lang-btn {
  appearance: none; cursor: pointer; font-family: inherit; font-size: 11.5px; font-weight: 700;
  color: #cdd3e6; background: transparent; border: 0; padding: 4px 9px; transition: background 120ms, color 120ms;
}
.wp-bnd2-lang-btn + .wp-bnd2-lang-btn { border-left: 1px solid rgba(255,255,255,0.28); }
.wp-bnd2-lang-btn.wp-on { background: var(--accent); color: #fff; }
.wp-bnd2-lang-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
 
.wp-bnd2-summary, .wp-bnd2-detail-row, .wp-bnd2-chapter {
  font-family: "Noto Sans Armenian", Mshtakan, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

 
.wp-peek {
  position: absolute; inset: 0; z-index: 10; display: none;
  align-items: flex-start; justify-content: center; padding: 40px 16px 16px;
  box-sizing: border-box;
}
.wp-peek.wp-on { display: flex; }
.wp-peek-backdrop { position: absolute; inset: 0; background: rgba(10,14,24,0.45); cursor: pointer; }
.wp-peek-card {
  position: relative; z-index: 1; width: 100%; max-width: 380px; flex: 0 1 380px;
  max-height: 100%; cursor: default;
   
  overflow: hidden;
}
 
.wp-peek-card .wp-bnd2-body {
  padding-right: 22px;
  flex: 1 1 auto; min-height: 0;
  display: flex; flex-direction: column; overflow: hidden;
}
 
 
.wp-peek-card #wp-peek-summary,
.wp-peek-card #wp-help-body {
  flex: 1 1 auto; min-width: 0; min-height: 0;
  overflow-y: auto; overflow-x: hidden; overflow-wrap: anywhere;
}
.wp-peek-close {
  position: absolute; top: 6px; right: 8px; z-index: 2;
  appearance: none; border: 0; background: rgba(255,255,255,0.14); color: #fff;
  width: 26px; height: 26px; border-radius: 999px; cursor: pointer;
  font-size: 13px; line-height: 1; display: flex; align-items: center; justify-content: center;
}
.wp-peek-close:hover { background: rgba(255,255,255,0.28); }
.wp-peek-close:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
 
.wp-peek-card .wp-bnd2-lang { flex: 0 0 auto; justify-content: flex-start; margin-bottom: 8px; }

 
.wp-peek-card.wp-peek-gated .wp-bnd2-body {
  filter: blur(7px); pointer-events: none; user-select: none;
}
.wp-peek-begin {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 3;
  appearance: none; border: 0; cursor: pointer;
  background: var(--accent, #4f7cff); color: #fff;
  font-size: 15px; font-weight: 700; line-height: 1;
  padding: 12px 26px; border-radius: 999px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.45);
}
.wp-peek-begin:hover { filter: brightness(1.08); }
.wp-peek-begin:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.wp-peek-begin[hidden] { display: none; }

 
.wp-clock-gate {
  position: absolute; inset: 0; z-index: 9; display: none;
  align-items: center; justify-content: center;
  background: rgba(10,14,24,0.45); cursor: pointer;
  -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px);
}
.wp-clock-gate.wp-on { display: flex; }
.wp-clock-gate-btn {
  appearance: none; border: 0; cursor: pointer;
  background: var(--accent, #4f7cff); color: #fff;
  font-size: 15px; font-weight: 700; line-height: 1;
  padding: 12px 26px; border-radius: 999px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.45);
}
.wp-clock-gate-btn:hover { filter: brightness(1.08); }
.wp-clock-gate-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

 
.wp-segbar-block { pointer-events: auto; cursor: pointer; }
.wp-segbar-block:hover { background: rgba(255,255,255,0.32); }

 
 
.wp-skip-break {
  position: absolute; top: var(--cap-top); right: calc(var(--cc-right) + var(--cc-w) + 10px);
  z-index: 8; display: none; align-items: center; gap: 4px;
  appearance: none; cursor: pointer; font-family: inherit; height: 30px; padding: 0 10px;
  background: rgba(10,11,15,0.75); color: #fff; border: 1px solid rgba(255,255,255,0.3); border-radius: 7px;
  font-size: 12px; font-weight: 700;
  max-width: calc(100% - (var(--cc-right) + var(--cc-w) + 20px));
  overflow: hidden;
}
.wp-skip-break.wp-on { display: flex; }
.wp-skip-break:hover { background: var(--accent); border-color: var(--accent); }
.wp-skip-break > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wp-skip-break .wp-go { font-size: 13px; flex: 0 0 auto; }

 
.wp-rate-chip {
  position: absolute; top: 14px; left: 50%; z-index: 9;
  transform: translateX(-50%) translateY(-4px); pointer-events: none;
  appearance: none; font-family: inherit; padding: 5px 12px;
  background: rgba(10,11,15,0.78); color: #fff; border: 1px solid rgba(255,255,255,0.3); border-radius: 7px;
  font-size: 13px; font-weight: 700; white-space: nowrap;
  opacity: 0; transition: opacity 220ms ease, transform 220ms ease;
}
.wp-rate-chip.wp-on { opacity: 1; transform: translateX(-50%) translateY(0); }

 
 
.wp-player-wrap { --seg-prog-tall: 40px; }
.wp-seg-prog {
  position: absolute; top: 0; left: 0; right: 0; height: 8px; z-index: 7;
  pointer-events: none; opacity: 0; transition: height 160ms ease, opacity 160ms ease;
}
 
.wp-seg-prog[hidden] { display: none; }
.wp-player-wrap.wp-chrome-on .wp-seg-prog { height: var(--seg-prog-tall); opacity: 1; }
 
.wp-player-wrap.wp-preplay .wp-seg-prog { height: var(--seg-prog-tall); opacity: 1; }
.wp-segbar-row { position: absolute; inset: 0; display: flex; gap: 2px; }
 
.wp-segbar-block {
  flex: 1 1 0; min-width: 0; height: 100%; border-radius: 2px; position: relative;
  overflow: hidden; background: rgba(255,255,255,0.16);
}
 
.wp-segbar-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--accent); transition: width 100ms linear; }
 
.wp-segbar-block.cur { box-shadow: 0 0 0 1px rgba(255,255,255,0.6) inset; }

 
.wp-chapter-thin {
  position: absolute; top: 0; left: 0; right: 0; height: 3px; z-index: 7;
  pointer-events: none; opacity: 1; transition: opacity 160ms ease;
}
.wp-player-wrap.wp-chrome-on .wp-chapter-thin { opacity: 0; }
 
.wp-player-wrap.wp-preplay .wp-chapter-thin { opacity: 0; }
 
.wp-chapter-thin-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--accent); transition: background 160ms ease; }
.wp-chapter-thin-fill.is-last { background: var(--good); }

 

 
.wp-blackbar {
  position: absolute; background: #000; z-index: 5;
  box-sizing: border-box; cursor: move; touch-action: none;
}
.wp-blackbar[hidden] { display: none; }
.wp-blackbar:hover, .wp-blackbar.wp-bb-active {
  outline: 1px dashed rgba(255,255,255,0.55); outline-offset: 1px;
}
.wp-bbh { position: absolute; background: rgba(255,255,255,0.4); border-radius: 3px; opacity: 0; touch-action: none; }
.wp-blackbar:hover .wp-bbh, .wp-blackbar.wp-bb-active .wp-bbh { opacity: 1; }
 
.wp-bbh-nw, .wp-bbh-ne, .wp-bbh-sw, .wp-bbh-se { width: 12px; height: 12px; }
.wp-bbh-nw { top: -6px; left: -6px; cursor: nwse-resize; }
.wp-bbh-se { bottom: -6px; right: -6px; cursor: nwse-resize; }
.wp-bbh-ne { top: -6px; right: -6px; cursor: nesw-resize; }
.wp-bbh-sw { bottom: -6px; left: -6px; cursor: nesw-resize; }
 
.wp-bbh-n, .wp-bbh-s { left: 14px; right: 14px; height: 8px; }
.wp-bbh-n { top: -4px; cursor: ns-resize; }
.wp-bbh-s { bottom: -4px; cursor: ns-resize; }
.wp-bbh-e, .wp-bbh-w { top: 14px; bottom: 14px; width: 8px; }
.wp-bbh-e { right: -4px; cursor: ew-resize; }
.wp-bbh-w { left: -4px; cursor: ew-resize; }

 
.wp-ctrl {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 5;
  display: flex; flex-direction: column; gap: 6px;
  padding: 22px 10px 8px; box-sizing: border-box;
   
  background: linear-gradient(to top, rgba(8,10,16,0.94) 0%, rgba(8,10,16,0.94) 62%, rgba(8,10,16,0.82) 100%);
  opacity: 0; transform: translateY(6px); pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}
.wp-player-wrap.wp-chrome-on .wp-ctrl { opacity: 1; transform: none; pointer-events: auto; }
 
.wp-ctrl-row { background: rgba(8,10,16,0.94); border-radius: 8px; margin: 0 -4px; padding: 4px; }

 
.wp-scrub {
  position: relative; width: 100%; padding: 7px 0; cursor: pointer;
  touch-action: none;    
}
.wp-scrub:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wp-scrub-rail {
  position: relative; width: 100%; height: 5px; border-radius: 3px;
  background: rgba(255,255,255,0.24); overflow: visible;
}
.wp-scrub:hover .wp-scrub-rail { height: 7px; }
.wp-scrub-buf { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: rgba(255,255,255,0.34); border-radius: 3px; }
.wp-scrub-played { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--accent); border-radius: 3px; }
.wp-scrub-handle {
  position: absolute; top: 50%; left: 0; width: 13px; height: 13px; margin-left: -6.5px;
  transform: translateY(-50%); border-radius: 999px; background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.5); pointer-events: none;
}
 
.wp-chap-ticks { position: absolute; left: 0; right: 0; top: 0; bottom: 0; pointer-events: none; }
.wp-chap-ticks i {
  position: absolute; top: 50%; transform: translate(-50%, -50%);
  width: 2px; height: 11px; background: rgba(255,255,255,0.9); border-radius: 1px;
  cursor: pointer; pointer-events: auto;
}
.wp-chap-ticks i.wp-brk { background: rgba(255,214,120,0.95); }
.wp-chap-ticks i.past { background: #fff; }
.wp-chap-band {
  position: absolute; top: 50%; transform: translateY(-50%); height: 5px; pointer-events: none; border-radius: 3px;
  background: repeating-linear-gradient(45deg, rgba(255,214,120,0.4) 0 3px, transparent 3px 6px);
}

 
.wp-scrub-prev {
  position: absolute; bottom: 22px; z-index: 3; display: none;
  flex-direction: column; align-items: center; gap: 3px; pointer-events: none;
  padding: 4px; background: rgba(12,14,20,0.95); border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px; box-shadow: 0 6px 20px rgba(0,0,0,0.5);
}
.wp-scrub-prev.wp-on { display: flex; }
.wp-scrub-prev-thumb {
  width: 160px; height: 90px; max-width: 40vw; border-radius: 4px;
  background-repeat: no-repeat; background-color: #000;
}
.wp-scrub-prev.wp-noimg .wp-scrub-prev-thumb { display: none; }
.wp-scrub-prev-time { font-size: 12px; font-weight: 700; color: #fff; }

 
.wp-ctrl-row { display: flex; align-items: center; gap: 8px; min-width: 0; }
.wp-ctrl-spacer { flex: 1 1 auto; }
.wp-ctrl-btn {
  appearance: none; cursor: pointer; font-family: inherit; line-height: 1;
  height: 30px; min-width: 30px; padding: 0 7px; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.22);
  border-radius: 7px; font-size: 13px; font-weight: 700; transition: background 120ms, border-color 120ms;
}
.wp-ctrl-btn:hover { background: var(--accent); border-color: var(--accent); }
.wp-ctrl-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wp-ctrl-play { font-size: 12px; }
.wp-ctrl-time { color: #fff; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.wp-speed-wrap { position: relative; }
.wp-speed-btn { min-width: 40px; }
.wp-speed-menu {
  position: absolute; bottom: 38px; right: 0; z-index: 9; display: none;
  flex-direction: column; min-width: 66px; padding: 4px;
  background: rgba(20,24,36,0.98); border: 1px solid rgba(255,255,255,0.16);
  border-radius: 9px; box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}
.wp-speed-menu.wp-on { display: flex; }
.wp-speed-opt {
  appearance: none; cursor: pointer; font-family: inherit; text-align: center;
  background: transparent; color: #dbe0ee; border: 0; border-radius: 6px;
  padding: 6px 10px; font-size: 12.5px; font-weight: 600;
}
.wp-speed-opt:hover { background: rgba(255,255,255,0.12); color: #fff; }
.wp-speed-opt.wp-on { background: var(--accent); color: #fff; }
 
.wp-chap-tip {
  position: absolute; z-index: 9; display: none; min-width: 160px; max-width: 240px;
  background: rgba(20,24,36,0.97); border: 1px solid rgba(255,255,255,0.16); border-radius: 8px;
  padding: 7px 9px; box-shadow: 0 8px 22px rgba(0,0,0,0.45); pointer-events: none;
}
.wp-chap-tip.wp-on { display: block; }
.wp-ct-h { display: flex; justify-content: space-between; gap: 10px; font-size: 11px; font-weight: 700; color: #fff; margin-bottom: 3px; }
.wp-ct-t { color: #aab2c5; font-weight: 500; }
.wp-ct-s { font-size: 11.5px; color: #dbe0ee; line-height: 1.3; }
.wp-ct-s.empty { color: #8890a3; font-style: italic; }

 
.wp-tr-word {
  cursor: pointer;
  border-radius: 3px;
  padding: 0 1px;
  margin: 0 -1px;
  text-decoration-line: underline;
  text-decoration-style: dotted;
  text-decoration-color: color-mix(in srgb, var(--accent) 55%, transparent);
  text-underline-offset: 2px;
  transition: background-color 80ms ease;
}
.wp-tr-word:hover {
  background: color-mix(in srgb, var(--accent) 28%, transparent);
  text-decoration-color: var(--accent);
}
 
.wp-cap-line .wp-tr-word { text-decoration: none; }
.wp-cap-line .wp-tr-word:hover { text-decoration: none; }
 
.wp-tr-bubble {
  position: fixed; z-index: 3000; display: none; max-width: 280px;
  background: rgba(38,38,40,0.97); color: #f2f2f5;
  border: 1px solid rgba(255,255,255,0.14); border-radius: 8px;
  padding: 7px 10px; font-size: 12.5px; line-height: 1.35;
  box-shadow: 0 8px 22px rgba(0,0,0,0.4); pointer-events: none;
  word-break: break-word;
}
.wp-tr-bubble.wp-on { display: block; }
 
.wp-tr-bubble-word.wp-tr-loading { color: #b8bdc9; font-style: italic; }
.wp-tr-bubble-word.wp-tr-error { color: #ffb4b0; }
 
.wp-tr-sentence-row:not(:empty) { margin-top: 6px; padding-top: 6px; border-top: 1px solid rgba(255,255,255,0.16); }
.wp-tr-sentence-btn {
  pointer-events: auto; cursor: pointer;
  display: inline-block; font: inherit; font-size: 11.5px; font-weight: 600;
  color: #dfe3ea; background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.24); border-radius: 5px;
  padding: 3px 8px; line-height: 1.2;
}
.wp-tr-sentence-btn:hover { background: rgba(255,255,255,0.18); }
.wp-tr-sentence-btn:active { background: rgba(255,255,255,0.26); }
.wp-tr-sentence-loading { color: #b8bdc9; font-style: italic; }
.wp-tr-sentence-error { color: #ffb4b0; }

 
.wp-history { margin-top: 14px; }
.wp-history-list {
  display: flex; flex-direction: column; gap: 6px;
  max-height: 420px; overflow-y: auto; padding-right: 2px;
}
.wp-history-row {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--border); border-radius: 10px; padding: 6px;
  cursor: pointer; background: var(--card);
  transition: border-color 120ms, background 120ms;
}
.wp-history-row:hover { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 6%, var(--card)); }
.wp-history-thumb {
  width: 120px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px;
  flex: 0 0 auto; background: #eef1f6;
}
.wp-history-text { min-width: 0; }
.wp-history-title {
  font-weight: 700; font-size: 0.86rem; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.wp-history-channel { font-size: 0.76rem; margin-top: 3px; }

 
.wp-summaries { position: relative; display: flex; flex-direction: column; min-height: 0; flex: 1 1 auto; }

 
.wp-video-sum-flash {
  box-shadow: 0 0 0 3px var(--accent);
  transition: box-shadow 400ms ease;
}

 
.wp-help-body { display: flex; flex-direction: column; gap: 14px; margin-top: 4px; }
.wp-help-body[hidden] { display: none; }
.wp-help-tier[hidden] { display: none; }
.wp-help-tier-h {
  font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 5px;
}
.wp-help-verbatim {
  font-size: 1.02rem; line-height: 1.55; font-weight: 600;
  border-left: 3px solid var(--accent); padding-left: 10px;
}
 
.wp-help-live-now { color: var(--accent); font-weight: 800; }
 
.wp-help-verbatim.wp-help-verbatim-none {
  font-size: 0.9rem; font-weight: 600; font-style: italic; color: var(--muted);
  border-left-color: var(--border);
}
.wp-help-verbatim-en {
  margin-top: 6px; padding-left: 13px;
  font-size: 0.88rem; line-height: 1.5; color: var(--muted); font-style: italic;
}
.wp-help-verbatim-en[hidden] { display: none; }
 
 
.wp-help-btn { right: var(--cap-edge); }
.wp-player-wrap.wp-chrome-on .wp-help-btn.wp-on {
  background: rgba(79,126,248,0.92); border-color: rgba(255,255,255,0.55); opacity: 1;
}

 

 
 
.wp-local-audio { display: none; }
 
.wp-stage.wp-localaudio .wp-poster { display: none !important; }

 
.wp-local-text {
  margin-top: 12px;
  max-height: 46vh;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--card);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
}
.wp-local-text[hidden] { display: none; }

 
#wp-url.wp-droptarget {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79,126,248,0.22);
  background: rgba(79,126,248,0.06);
}
.wp-load-card.wp-droptarget-card {
  outline: 2px dashed var(--accent);
  outline-offset: 3px;
}
