/* code made by kasan | dibuat oleh: kasanvx
   Gaya pemutar kustom /anime (dipasang oleh anime-player.js) */
.kx-player { position: relative; background: #000; overflow: hidden; user-select: none; -webkit-user-select: none; }
.kx-player video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; display: block; }

.kx-player .kxp-bar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; align-items: center; gap: 10px;
  padding: 36px 14px 10px;
  background: linear-gradient(to top, rgba(0, 0, 0, .85), rgba(0, 0, 0, 0));
  color: #fff;
  transition: opacity .25s ease, transform .25s ease;
}
.kx-player.is-idle .kxp-bar { opacity: 0; transform: translateY(10px); pointer-events: none; }
.kx-player.is-idle.is-fs, .kx-player.is-idle.is-fs video { cursor: none; }

.kx-player .kxp-btn {
  flex: none; background: none; border: 0; color: #fff; font: inherit; font-size: 1rem; line-height: 1;
  min-width: 36px; height: 34px; padding: 0 8px; border-radius: 8px; cursor: pointer;
}
.kx-player .kxp-btn:hover, .kx-player .kxp-btn:focus-visible { background: rgba(255, 255, 255, .16); outline: none; }

.kx-player .kxp-time { flex: none; font-size: .82rem; font-variant-numeric: tabular-nums; white-space: nowrap; }

.kx-player .kxp-prog { position: relative; flex: 1; height: 26px; cursor: pointer; touch-action: none; outline: none; min-width: 60px; }
.kx-player .kxp-prog:focus-visible { box-shadow: 0 0 0 2px rgba(255, 255, 255, .6); border-radius: 6px; }
.kx-player .kxp-track, .kx-player .kxp-buf, .kx-player .kxp-fill {
  position: absolute; left: 0; top: 50%; height: 4px; border-radius: 4px; transform: translateY(-50%);
}
.kx-player .kxp-track { right: 0; background: rgba(255, 255, 255, .28); }
.kx-player .kxp-buf { background: rgba(255, 255, 255, .45); width: 0; }
.kx-player .kxp-fill { background: #ff7a1a; width: 0; }
.kx-player .kxp-knob {
  position: absolute; top: 50%; width: 13px; height: 13px; border-radius: 50%; background: #fff;
  transform: translate(-50%, -50%); opacity: 0; transition: opacity .15s;
}
.kx-player .kxp-prog:hover .kxp-knob, .kx-player .kxp-prog:focus-visible .kxp-knob { opacity: 1; }

.kx-player .kxp-vol { flex: none; width: 80px; accent-color: #ff7a1a; cursor: pointer; }

.kx-player .kxp-spin {
  display: none; position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px;
  border: 4px solid rgba(255, 255, 255, .25); border-top-color: #fff; border-radius: 50%;
  animation: kxp-spin .8s linear infinite; pointer-events: none; z-index: 1;
}
.kx-player.is-buffering .kxp-spin { display: block; }
@keyframes kxp-spin { to { transform: rotate(360deg); } }

.kx-player:fullscreen, .kx-player:-webkit-full-screen { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; max-height: none; }
.kx-player:fullscreen video, .kx-player:-webkit-full-screen video { object-fit: contain; }

@media (max-width: 560px) {
  .kx-player .kxp-vol { display: none; }
  .kx-player .kxp-bar { gap: 6px; padding: 30px 8px 8px; }
  .kx-player .kxp-time { font-size: .72rem; }
}
