/* Container utama */
#content-embed {
  display: block;
  margin: auto;
  background: #000;
  min-height: 17rem;
  position: relative;
}

/* Overlay umum (subtitles/download) */
#subl, #dlm {
  display: none;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(0,0,0,0.5);
  z-index: 300;
  color: #f8f8f8;
}

#subl .popup-box, #dlm .popup-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 10px;
  width: 300px;
  max-width: 95%;
  max-height: 90%;
  overflow-y: auto;
  background: #000;
  box-shadow: 0 0 2px #f8f8f8;
  z-index: 666;
}

#subl h4, #dlm h4 {
  text-align: center;
  margin: 0 0 10px;
}

.popup-box table {
  border-collapse: collapse;
  border: 1px solid #555;
  color: #f0f0f0;
  font-size: medium;
  width: 100%;
}
.popup-box td {
    display: block;
}

.popup-box td a i {
  cursor: pointer;
}

/* Area media */
#colimedia {
  width: 100%;
  margin: auto;
  background: #000;
}

.image-large {
  position: relative;
}

#indexmvplaybtn iframe,
#poppop iframe {
  width: 0;
  height: 0;
  border: none;
}

/* Server list */

#server-list-contenta {
	right: 0;
	display: none;
	position: absolute;
	top: 0;
	margin-right: 10px;
}
#server-list-close,
#server-list-closea {
  display: block;
  cursor: pointer;
}
#server-list-closea {
	z-index: 555;
	position: absolute;
	right: 0;
	top: 10px;
	background: #c6c6c626;
	padding: 5px;
	border-radius: 5px;
	font-size: 15px;
}
#server-list {
  background: #111;
  color: #eee;
}

#server-list-title {
  padding: 10px;
  font-weight: bold;
}

.server-wrapper {
  margin-bottom: 5px;
}

.server {
  background: #222;
  padding: 5px;
  display: flex;
  align-items: center;
  border-radius: 4px;
}

.server a {
  display: flex;
  align-items: center;
  width: 100%;
  text-decoration: none;
  color: inherit;
}

.server-title {
  display: flex;
  align-items: center;
}

.server-list-icon {
  width: 20px;
  height: 20px;
  margin-right: 5px;
}

.server-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 8px;
}

/* Bar bawah player */
#bar-player {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}
#bar-player .btn {
	cursor: pointer;
	padding: 5px 10px;
	background: var(--sp-elev);
	border-radius: 4px;
	margin: 2px;
	display: flex;
	align-items: center;
	gap: 5px;
	color: var(--color-text);
}
#bar-player .btn:hover {
	background: var(--sp-surface);
}
#server-list-close {
	background: rgba(54, 53, 53, 0.886);
}
#downloadmv{
    flex: 1 1 calc(33% - 9px);
}

/* ------------------------OLD------------------ */

#server-list-content {
    font-size: 0.5em;
    right: 0;
    display: block;
}

.image-large video,
.image-large iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.countdown_e {
    position: absolute;
    z-index: 99;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: xxx-large;
}

.video-slideshow-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    transition: opacity 0.2s ease-in-out;
}

.zoom-slideshow-image {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: auto;
    transform: translate(-50%, -50%) scale(1);
    transition: opacity 1s ease, transform 2s ease-in-out;
    opacity: 0;
}

#scrollingText {
    position: absolute;
    text-align: center;
    white-space: nowrap;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    z-index: 99;
}

#slidepop {
    color: #fff;
    background: #000;
    text-align: center;
    position: absolute;
    z-index: 555;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    padding: 20px;
    border-radius: 10px;
}

#slidepop button {
    color: #000;
}







@media all and (max-width: 540px) {
  #yt-player{
    height: 104%;
    top: -1.2rem;
  }
}

#yt-player{overflow:hidden;
  height:124%;
  top: -5rem;
}

.overlayp {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
  z-index: 444 !important;
  pointer-events: all !important;
  color: #fff;
  font-family: system-ui, sans-serif;
  font-size: 15px;
  padding: 0 10px;
  box-sizing: border-box;
}

.overlaypnext {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  width: 100%;
  justify-content: center;
}

#yt-play-btn,
#yt-next-btn,
#yt-prev-btn,
#yt-mute-btn {
  padding: 4px 10px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 15px;
  transition: background 0.2s, transform 0.1s;
}

#yt-play-btn:hover,
#yt-next-btn:hover,
#yt-prev-btn:hover,
#yt-mute-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

@media (max-width: 600px) {
  .overlayp {
    height: 38px;
    font-size: 13px;
  }
  #yt-play-btn,
  #yt-next-btn,
  #yt-prev-btn,
  #yt-mute-btn {
    padding: 3px 8px;
    font-size: 13px;
  }
}

#yt-player {
  z-index: 199 !important;
  pointer-events: none;
}
#yt-player{overflow:hidden;
  height:124%;
  top: -5rem;
}
@media all and (max-width: 540px) {
  #yt-player{
    height: 114%;
    top: -1.2rem;
  }
}