/* Homepage-style Video.js v8 skin. Native playback/components stay intact. */
.proxy-videojs-shell {
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 10px;
  overflow: hidden;
  background: #08090c;
}
.vjs-javhd.video-js {
  --proxy-player-accent: #f02a39;
  --proxy-player-control-surface: rgba(255, 255, 255, .1);
  --proxy-player-inset: 12px;
  --proxy-player-bar-height: 44px;
  --proxy-player-button-size: 36px;
  --proxy-player-secondary-width: 73px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border-radius: 10px;
  overflow: hidden;
  isolation: isolate;
  container: javhd-player / inline-size;
  background: #08090c;
  color: #fff;
  font-family: "Inter Variable", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}
.vjs-javhd .vjs-tech { object-fit: contain; }
.vjs-javhd .vjs-poster { background-color: #08090c; background-size: cover; background-position: center; }
.vjs-javhd .vjs-poster img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
/* Decorative SVG stays inside the fullscreen player and never intercepts input. */
.vjs-javhd .proxy-videojs-brand {
  position: absolute;
  z-index: 5;
  top: 20px;
  left: 20px;
  display: block;
  box-sizing: content-box;
  width: 10%;
  line-height: 0;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  pointer-events: none;
  user-select: none;
  filter: none;
}
/* Keep the glass behind the sharp logo. Refraction is a separate enhancement
   so browsers without SVG backdrop filters retain the clear glass layer. */
.vjs-javhd .proxy-videojs-brand::before,
.vjs-javhd .proxy-videojs-brand::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
}
.vjs-javhd .proxy-videojs-brand::before {
  background: linear-gradient(135deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .012));
  -webkit-backdrop-filter: blur(1.5px) saturate(1.08);
  backdrop-filter: blur(1.5px) saturate(1.08);
}
.vjs-javhd .proxy-videojs-brand::after {
  -webkit-backdrop-filter: url("#proxy-player-logo-glass-filter");
  backdrop-filter: url("#proxy-player-logo-glass-filter");
}
.vjs-javhd .proxy-videojs-brand > svg {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .55));
}
/* A source refresh keeps terminal playback errors hidden until retry settles. */
.vjs-javhd.proxy-source-refreshing .vjs-error-display { display: none !important; }
/* Paint loading in the Play event, including the metadata request before the
   media element can emit waiting. Do not inherit Video.js's 300ms reveal delay. */
.vjs-javhd.video-js.proxy-play-loading:not(.proxy-resume-open) .vjs-loading-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: visible;
  opacity: 1;
  animation: none;
  transition: none;
  pointer-events: none;
}
.vjs-javhd.video-js.proxy-play-loading:not(.proxy-resume-open) .vjs-loading-spinner::before,
.vjs-javhd.video-js.proxy-play-loading:not(.proxy-resume-open) .vjs-loading-spinner::after {
  animation: vjs-spinner-spin 1.1s cubic-bezier(.6,.2,0,.8) infinite, vjs-spinner-fade 1.1s linear infinite;
  animation-delay: 0s;
}
.vjs-javhd.video-js.proxy-play-loading:not(.proxy-resume-open) .vjs-big-play-button { display: none; }
.vjs-javhd.video-js .vjs-control-bar,
.vjs-javhd.video-js .vjs-big-play-button {
  border: 0;
  background: var(--proxy-player-control-surface);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  backdrop-filter: blur(16px) saturate(1.1);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .1), 0 1px 3px rgba(0, 0, 0, .15), 0 1px 2px -1px rgba(0, 0, 0, .15);
}
.vjs-javhd.video-js .vjs-control-bar {
  display: flex;
  left: var(--proxy-player-inset);
  right: var(--proxy-player-inset);
  bottom: var(--proxy-player-inset);
  width: auto;
  height: var(--proxy-player-bar-height);
  min-height: var(--proxy-player-bar-height);
  padding: 4px;
  padding-right: calc(var(--proxy-player-secondary-width) + 4px);
  border-radius: 99px;
  overflow: visible;
}
.vjs-javhd .proxy-videojs-primary-controls,
.vjs-javhd .proxy-videojs-secondary-controls {
  display: flex;
  align-items: center;
  gap: 1px;
  min-width: 0;
}
.vjs-javhd .proxy-videojs-primary-controls { flex: 1 1 auto; }
.vjs-javhd .proxy-videojs-secondary-controls {
  position: absolute;
  z-index: 4;
  right: calc(var(--proxy-player-inset) + 4px);
  bottom: calc(var(--proxy-player-inset) + 4px);
  height: 36px;
  width: max-content;
}
.vjs-javhd .vjs-control {
  height: var(--proxy-player-button-size);
  min-height: 0;
  font: inherit;
}
.vjs-javhd .vjs-button,
.vjs-javhd .vjs-volume-panel {
  flex: 0 0 var(--proxy-player-button-size);
  width: var(--proxy-player-button-size);
  min-width: var(--proxy-player-button-size);
}
.vjs-javhd .vjs-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 99px;
  color: #fff;
  cursor: pointer;
  transition: background-color 150ms cubic-bezier(0, 0, .2, 1);
}
.vjs-javhd .vjs-button:hover,
.vjs-javhd .vjs-button:focus-visible { background: rgba(255, 255, 255, .12); }
.vjs-javhd .proxy-videojs-skip-button:disabled {
  opacity: .4;
  cursor: default;
  background: transparent;
}
.vjs-javhd .proxy-videojs-skip-button:active:not(:disabled) { background: rgba(240, 42, 57, .2); }
.vjs-javhd .vjs-button > .vjs-icon-placeholder::before {
  font-size: 18px;
  line-height: var(--proxy-player-button-size);
}
.vjs-javhd .proxy-videojs-settings-button .vjs-icon-placeholder::before { display: none; }
.vjs-javhd .proxy-videojs-settings-button svg { display: block; width: 18px; height: 18px; }
.vjs-javhd .vjs-button:focus-visible,
.vjs-javhd .vjs-progress-control:focus-visible {
  outline: 2px solid rgba(255, 255, 255, .9);
  outline-offset: 2px;
}
.vjs-javhd .proxy-videojs-settings-row select:focus-visible { outline: 2px solid var(--proxy-player-accent); outline-offset: -2px; }
.vjs-javhd .proxy-videojs-settings-button[aria-expanded="true"] {
  background: rgba(240, 42, 57, .2);
  color: #fff;
}
.vjs-javhd.video-js .vjs-current-time,
.vjs-javhd.video-js .vjs-remaining-time {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
  width: auto;
  padding: 0 10px;
  line-height: 36px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.vjs-javhd.video-js .vjs-current-time { padding-left: 12px; }
.vjs-javhd.video-js .vjs-remaining-time { padding-right: 12px; }
.vjs-javhd.video-js:not(.vjs-live) .vjs-control-bar .vjs-progress-control {
  display: flex !important;
  align-items: center;
  flex: 1 1 auto;
  min-width: 28px;
  width: auto;
  height: 32px;
}
.vjs-javhd .vjs-progress-holder {
  height: 4px;
  margin: 0;
  border-radius: 9999px;
  background: rgba(255, 255, 255, .2);
}
.vjs-javhd .vjs-play-progress,
.vjs-javhd .vjs-volume-level { background: var(--proxy-player-accent); border-radius: 9999px; }
.vjs-javhd .vjs-play-progress::before {
  top: -4px;
  right: -6px;
  font-size: 12px;
  line-height: 12px;
  color: #fff;
  opacity: 0;
  transform: scale(.8);
  transition: opacity 100ms cubic-bezier(0, 0, .2, 1), transform 100ms cubic-bezier(0, 0, .2, 1);
}
.vjs-javhd .vjs-progress-control:hover .vjs-play-progress::before,
.vjs-javhd .vjs-progress-control:focus-within .vjs-play-progress::before { opacity: 1; transform: scale(1); }
.vjs-javhd .vjs-load-progress,
.vjs-javhd .vjs-load-progress div { background: rgba(255, 255, 255, .2); border-radius: 9999px; }
.vjs-javhd .vjs-slider-bar,
.vjs-javhd .vjs-volume-bar { border-radius: 9999px; }
.vjs-javhd .vjs-volume-control.vjs-volume-vertical {
  border-radius: 12px;
  background: rgba(24, 26, 32, .94);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.vjs-javhd.video-js .vjs-big-play-button {
  display: none;
  top: 50%;
  left: 50%;
  width: 64px;
  height: 64px;
  margin: 0;
  transform: translate(-50%, -50%);
  border-radius: 99px;
  color: #fff;
  cursor: pointer;
  transition: background-color 150ms cubic-bezier(0, 0, .2, 1);
}
.vjs-javhd .vjs-big-play-button .vjs-icon-placeholder::before {
  font-size: 36px;
  line-height: 64px;
}
.vjs-javhd.video-js .vjs-big-play-button:hover,
.vjs-javhd.video-js .vjs-big-play-button:focus-visible { background: rgba(255, 255, 255, .12); }
.vjs-javhd.video-js .vjs-big-play-button:focus-visible { outline: 2px solid rgba(255, 255, 255, .9); outline-offset: 2px; }
.vjs-javhd.proxy-awaiting-first-play:not(.proxy-resume-open) .vjs-big-play-button { display: block; }
/* display:none also removes these controls from keyboard navigation. */
.vjs-javhd.proxy-awaiting-first-play .vjs-control-bar,
.vjs-javhd.proxy-awaiting-first-play .proxy-videojs-secondary-controls,
.vjs-javhd.proxy-awaiting-first-play .proxy-videojs-settings-panel { display: none; }
.vjs-javhd.video-js:not(.vjs-has-started) .vjs-control-bar,
.vjs-javhd.proxy-settings-open .vjs-control-bar,
.vjs-javhd.proxy-settings-open .proxy-videojs-secondary-controls {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.vjs-javhd.vjs-user-inactive.vjs-playing:not(.proxy-settings-open) .proxy-videojs-secondary-controls {
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s;
}
.vjs-javhd .proxy-videojs-settings-panel {
  position: absolute;
  z-index: 8;
  box-sizing: border-box;
  min-width: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
  background: rgba(24, 26, 32, .94);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  backdrop-filter: blur(16px) saturate(1.1);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .1), 0 1px 3px rgba(0, 0, 0, .15), 0 1px 2px -1px rgba(0, 0, 0, .15);
}
.vjs-javhd .proxy-videojs-settings-panel[hidden] { display: none; }
.vjs-javhd .proxy-videojs-settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 32px;
  margin: 0;
  padding: 2px 6px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 19.5px;
}
.vjs-javhd .proxy-videojs-settings-row > span { min-width: 0; }
.vjs-javhd .proxy-videojs-settings-row:hover { background: rgba(255, 255, 255, .06); }
.vjs-javhd .proxy-videojs-settings-row select {
  box-sizing: border-box;
  flex: 0 1 126px;
  min-width: 0;
  width: 126px;
  min-height: 28px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 7px;
  padding: 2px 4px;
  background: #292c34;
  color: #fff;
  font: inherit;
  cursor: pointer;
}
.vjs-javhd .proxy-videojs-settings-row option { background: #292c34; color: #fff; }
.vjs-javhd .proxy-videojs-settings-row option:checked { background: var(--proxy-player-accent); }
.vjs-javhd .proxy-videojs-resume-overlay {
  position: absolute;
  z-index: 12;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 12px;
  background: rgba(8, 9, 12, .72);
}
.vjs-javhd .proxy-videojs-resume-overlay[hidden] { display: none; }
.vjs-javhd .proxy-videojs-resume-card {
  box-sizing: border-box;
  width: min(100%, 380px);
  max-height: 100%;
  overflow: auto;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 16px;
  background: rgba(24, 26, 32, .96);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  color: #fff;
  text-align: left;
}
.vjs-javhd .proxy-videojs-resume-card h3 {
  margin: 0 0 6px;
  font-family: inherit;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 600;
}
.vjs-javhd .proxy-videojs-resume-card p { margin: 0 0 14px; font-size: 13px; line-height: 1.5; color: #d9dae0; }
.vjs-javhd .proxy-videojs-resume-actions { display: flex; gap: 8px; }
.vjs-javhd .proxy-videojs-resume-actions button {
  flex: 1 1 0;
  min-width: 0;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 10px;
  background: #30333c;
  color: #fff;
  font: inherit;
  line-height: 1.3;
  cursor: pointer;
}
.vjs-javhd .proxy-videojs-resume-actions [data-proxy-player-continue] { background: var(--proxy-player-accent); border-color: var(--proxy-player-accent); }
.vjs-javhd .proxy-videojs-resume-actions button:hover { filter: brightness(1.12); }
.vjs-javhd .proxy-videojs-resume-actions button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.proxy-videojs-message {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #6b2730;
  border-radius: 0 0 6px 6px;
  background: #261217;
  color: #ffdfe3;
  font-size: 13px;
  line-height: 1.5;
}
.proxy-videojs-message[hidden] { display: none; }
@container javhd-player (width < 672px) {
  .vjs-javhd .vjs-control-bar,
  .vjs-javhd .proxy-videojs-secondary-controls { --proxy-player-inset: 8px; }
}
@container javhd-player (width < 512px) {
  .vjs-javhd .proxy-videojs-resume-card { padding: 12px; }
  .vjs-javhd .proxy-videojs-resume-card h3 { font-size: 16px; }
  .vjs-javhd.video-js .vjs-control-bar {
    --proxy-player-bar-height: 40px;
    padding: 2px;
  }
  .vjs-javhd .proxy-videojs-secondary-controls {
    top: 8px;
    right: 8px;
    bottom: auto;
    height: 40px;
    padding: 2px;
    border-radius: 99px;
    background: rgba(255, 255, 255, .1);
    -webkit-backdrop-filter: blur(16px) saturate(1.1);
    backdrop-filter: blur(16px) saturate(1.1);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .1), 0 1px 3px rgba(0, 0, 0, .15), 0 1px 2px -1px rgba(0, 0, 0, .15);
  }
  .vjs-javhd.video-js .vjs-current-time,
  .vjs-javhd.video-js .vjs-remaining-time { display: none !important; }
  .vjs-javhd .vjs-progress-control { margin: 0 10px; }
  .vjs-javhd .vjs-volume-control { display: none; }
  .vjs-javhd.vjs-user-inactive.vjs-playing:not(.proxy-settings-open) .proxy-videojs-secondary-controls {
    opacity: 1;
    pointer-events: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .vjs-javhd .vjs-button,
  .vjs-javhd .vjs-big-play-button,
  .vjs-javhd .proxy-videojs-secondary-controls { transition: none; }
  .vjs-javhd.video-js.proxy-play-loading:not(.proxy-resume-open) .vjs-loading-spinner::before,
  .vjs-javhd.video-js.proxy-play-loading:not(.proxy-resume-open) .vjs-loading-spinner::after { animation: none; }
}

/* Root-mounted seek frames stay outside the control bar's backdrop context.
   The controller clamps left/bottom to the current player/fullscreen bounds. */
.vjs-javhd .proxy-videojs-seek-preview {
  position: absolute;
  z-index: 7;
  box-sizing: border-box;
  width: 192px;
  max-width: calc(100% - 24px);
  min-width: 0;
  padding: 4px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 12px;
  background: var(--proxy-player-control-surface, rgba(17, 18, 21, .9));
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  backdrop-filter: blur(16px) saturate(1.1);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .1), 0 4px 16px rgba(0, 0, 0, .28);
  font: inherit;
  line-height: 1.4;
  pointer-events: none;
  user-select: none;
}
.vjs-javhd .proxy-videojs-seek-preview[hidden],
.vjs-javhd .proxy-videojs-seek-preview [hidden],
.vjs-javhd.proxy-awaiting-first-play .proxy-videojs-seek-preview,
.vjs-javhd.proxy-resume-open .proxy-videojs-seek-preview,
.vjs-javhd.vjs-user-inactive.vjs-playing:not(.proxy-settings-open) .proxy-videojs-seek-preview {
  display: none !important;
}
.vjs-javhd .proxy-videojs-seek-picture {
  position: relative;
  width: 100%;
  min-width: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  background: #08090c;
  contain: layout paint;
}
.vjs-javhd .proxy-videojs-seek-picture > canvas[data-proxy-seek-canvas] {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
}
.vjs-javhd .proxy-videojs-seek-state {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px;
  background: rgba(8, 9, 12, .86);
  color: #e4e5e8;
  text-align: center;
}
.vjs-javhd .proxy-videojs-seek-state [data-proxy-seek-spinner] {
  display: block;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  box-sizing: border-box;
  border: 2px solid rgba(255, 255, 255, .24);
  border-top-color: var(--proxy-player-accent, #de1722);
  border-radius: 50%;
  animation: proxy-videojs-seek-spin .8s linear infinite;
}
.vjs-javhd .proxy-videojs-seek-state [data-proxy-seek-message] {
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: 11px;
  line-height: 1.35;
}
.vjs-javhd .proxy-videojs-seek-caption {
  padding: 4px 4px 1px;
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  line-height: 16px;
  font-variant-numeric: tabular-nums;
  text-align: center;
}
.vjs-javhd .proxy-videojs-seek-caption time { font: inherit; }
/* The canvas caption replaces Video.js's overlapping hover/current-time boxes
   while this preview is open; native slider behavior remains untouched. */
.vjs-javhd.proxy-seek-preview-open .vjs-progress-control .vjs-mouse-display,
.vjs-javhd.proxy-seek-preview-open .vjs-progress-control .vjs-time-tooltip {
  display: none !important;
}
@container javhd-player (width < 512px) {
  .vjs-javhd .proxy-videojs-seek-preview { width: 160px; border-radius: 10px; }
  .vjs-javhd .proxy-videojs-seek-picture { border-radius: 6px; }
}
@container javhd-player (width < 360px) {
  .vjs-javhd .proxy-videojs-seek-preview { width: 144px; }
  .vjs-javhd .proxy-videojs-seek-state { gap: 5px; padding: 7px; }
}
@keyframes proxy-videojs-seek-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .vjs-javhd .proxy-videojs-seek-state [data-proxy-seek-spinner] { animation: none; }
}

/* End screens belong to the player root, including native fullscreen. They
   fetch catalog metadata only after playback ends and never start a video. */
.vjs-javhd .proxy-videojs-ended {
  position: absolute;
  inset: 0;
  z-index: 12;
  display: flex;
  align-items: center;
  padding: clamp(12px, 2.8cqw, 40px) 100px;
  overflow: auto;
  overscroll-behavior: contain;
  background: #000;
  color: #fff;
  cursor: default;
  text-align: left;
  scrollbar-width: thin;
  scrollbar-color: #41434a #000;
}
.vjs-javhd .proxy-videojs-ended[hidden] { display: none !important; }
.vjs-javhd .proxy-videojs-ended-content {
  flex: 0 0 auto;
  width: 100%;
  min-width: 0;
  margin: 0 auto;
}
.vjs-javhd .proxy-videojs-ended-header {
  position: absolute;
  top: clamp(10px, 1.8cqw, 24px);
  left: clamp(12px, 2.8cqw, 40px);
  right: clamp(12px, 2.8cqw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
}
.vjs-javhd .proxy-videojs-ended-header h3 {
  margin: 0;
  min-width: 0;
  color: #fff;
  font: inherit;
  font-size: clamp(14px, 1.7cqw, 23px);
  font-weight: 600;
  line-height: 1.3;
}
.vjs-javhd .proxy-videojs-ended-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 6px; }
.vjs-javhd .proxy-videojs-ended-replay,
.vjs-javhd .proxy-videojs-ended-exit {
  flex: 0 0 auto;
  padding: 7px 13px;
  min-height: 32px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 99px;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font: inherit;
  font-size: clamp(11px, 1.1cqw, 14px);
  line-height: 1.3;
  cursor: pointer;
}
.vjs-javhd .proxy-videojs-ended-replay::before { content: "↻"; display: inline-block; margin-right: 6px; font-size: 1.2em; }
.vjs-javhd .proxy-videojs-ended-replay:hover,
.vjs-javhd .proxy-videojs-ended-exit:hover { background: rgba(255, 255, 255, .2); }
.vjs-javhd .proxy-videojs-ended-exit { display: flex; align-items: center; justify-content: center; width: 32px; padding: 6px; }
.vjs-javhd .proxy-videojs-ended-exit[hidden] { display: none !important; }
.vjs-javhd .proxy-videojs-ended-exit svg { display: block; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.vjs-javhd .proxy-videojs-ended-message {
  padding: 24px 0;
  margin: 0;
  color: #acadb3;
  font-size: clamp(12px, 1.2cqw, 16px);
  text-align: center;
}
.vjs-javhd .proxy-videojs-ended-message[hidden] { display: none; }
.vjs-javhd .proxy-videojs-ended-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.8cqw, 26px);
  width: 100%;
  margin: 0 auto;
}
.vjs-javhd .proxy-videojs-ended-grid[data-count="1"] { grid-template-columns: minmax(0, 1fr); }
.vjs-javhd .proxy-videojs-ended-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  color: #fff;
  text-decoration: none;
}
.vjs-javhd .proxy-videojs-ended-picture {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 7px;
  background: #131418;
  isolation: isolate;
}
.vjs-javhd .proxy-videojs-ended-picture::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid rgba(255, 255, 255, .7);
  transform: translate(-40%, -50%);
}
.vjs-javhd .proxy-videojs-ended-picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #131418;
  opacity: 0;
}
.vjs-javhd .proxy-videojs-ended-picture img.is-loaded { opacity: 1; }
.vjs-javhd .proxy-videojs-ended-duration {
  position: absolute;
  right: 5px;
  bottom: 5px;
  z-index: 1;
  padding: 1px 4px;
  border-radius: 3px;
  background: rgba(0, 0, 0, .8);
  color: #fff;
  font-size: clamp(10px, 1.1cqw, 14px);
  font-variant-numeric: tabular-nums;
  line-height: 1.4;
}
.vjs-javhd .proxy-videojs-ended-title {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: clamp(12px, 1.35cqw, 18px);
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.vjs-javhd .proxy-videojs-ended-meta {
  overflow: hidden;
  color: #9d9fa6;
  font-size: clamp(10px, 1.05cqw, 14px);
  line-height: 1.35;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.vjs-javhd .proxy-videojs-ended-card:hover .proxy-videojs-ended-title { color: #ff727d; }
.vjs-javhd .proxy-videojs-ended-card:hover .proxy-videojs-ended-picture { border-color: rgba(255, 255, 255, .5); }
.vjs-javhd.proxy-recommendations-open .vjs-control-bar,
.vjs-javhd.proxy-recommendations-open .proxy-videojs-secondary-controls,
.vjs-javhd.proxy-recommendations-open .proxy-videojs-brand,
.vjs-javhd.proxy-recommendations-open .proxy-videojs-settings-panel,
.vjs-javhd.proxy-recommendations-open .proxy-videojs-seek-preview,
.vjs-javhd.proxy-recommendations-open .vjs-loading-spinner { visibility: hidden !important; pointer-events: none !important; }
@container javhd-player (width < 672px) {
  .vjs-javhd .proxy-videojs-ended { padding: 12px; }
  .vjs-javhd .proxy-videojs-ended-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .vjs-javhd .proxy-videojs-ended-header { gap: 8px; }
  .vjs-javhd .proxy-videojs-ended-card { gap: 4px; }
  .vjs-javhd .proxy-videojs-ended-title { font-size: 12px; }
}
.vjs-javhd .proxy-videojs-ended-compact { padding-block: 12px; }
.vjs-javhd .proxy-videojs-ended-compact .proxy-videojs-ended-header { top: 6px; left: 10px; right: 10px; gap: 6px; }
.vjs-javhd .proxy-videojs-ended-compact .proxy-videojs-ended-header h3 { font-size: 12px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.vjs-javhd .proxy-videojs-ended-compact .proxy-videojs-ended-replay { min-height: 26px; padding: 4px 9px; font-size: 10px; }
.vjs-javhd .proxy-videojs-ended-compact .proxy-videojs-ended-exit { width: 26px; min-height: 26px; padding: 4px; }
.vjs-javhd .proxy-videojs-ended-compact .proxy-videojs-ended-grid { gap: 10px; }
.vjs-javhd .proxy-videojs-ended-compact .proxy-videojs-ended-card { gap: 4px; }
.vjs-javhd .proxy-videojs-ended-compact .proxy-videojs-ended-title { font-size: 11px; line-height: 1.25; -webkit-line-clamp: 1; }
.vjs-javhd .proxy-videojs-ended-compact .proxy-videojs-ended-meta { display: none; }
