/* UYURE - ორიგინალი ფლეიერის ლოგიკა, განახლებული ვიზუალი */
#uyureFilmPlayer {
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  flex:0 0 100% !important;
  grid-column:1/-1;
  clear:both;
  background:#000;
}
#uyureFilmPlayer, #uyureFilmPlayer * {box-sizing:border-box}
#uyureFilmPlayer .series-header {
  background:#000;
  padding:16px;
  border-bottom:1px solid #1e1e1e;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}
#uyureFilmPlayer .series-header label {
  color:#fff;
  font-size:18px;
  font-weight:600;
  margin-bottom:10px;
  text-align:center;
}
#uyureFilmPlayer .series-header select {
  width:100%;
  max-width:320px;
  padding:10px 14px;
  font-size:15px;
  background:#1a1a1a;
  color:#fff;
  border:1px solid #2a2a2a;
  border-radius:8px;
  cursor:pointer;
  text-align:center;
}
#uyureFilmPlayer .player-wrap {
  position:relative;
  display:block;
  width:100% !important;
  max-width:100% !important;
  aspect-ratio:16/9;
  background:#000;
  overflow:hidden;
}
#uyureFilmPlayer .player-wrap iframe,
#uyureFilmPlayer .player-wrap video {
  position:absolute;
  inset:0;
  width:100% !important;
  height:100% !important;
  border:0;
  display:block;
}
#uyureFilmPlayer .player-wrap video {object-fit:contain}

/* პოსტერი: ვიდეო/iframe უკვე იტვირთება მის უკან */
#uyureFilmPlayer .film-preview {
  position:absolute;
  inset:0;
  z-index:5;
  display:flex;
  justify-content:center;
  align-items:center;
  overflow:hidden;
  cursor:pointer;
  background:#080808;
}
#uyureFilmPlayer .film-preview::before {
  content:"";
  position:absolute;
  inset:-20px;
  background-image:var(--film-poster);
  background-size:cover;
  background-position:center;
  filter:blur(20px) brightness(.45);
}
#uyureFilmPlayer .film-preview::after {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,.06),rgba(0,0,0,.27));
}
#uyureFilmPlayer .film-preview > img {
  position:relative;
  z-index:1;
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}
#uyureFilmPlayer .film-play,
#uyureFilmPlayer .film-pause-play {
  position:absolute;
  z-index:3;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  width:104px !important;
  height:104px !important;
  min-width:104px !important;
  min-height:104px !important;
  max-width:104px !important;
  max-height:104px !important;
  flex:none !important;
  aspect-ratio:1/1;
  padding:0 !important;
  margin:0 !important;
  display:flex !important;
  align-items:center;
  justify-content:center;
  border:3px solid rgba(255,255,255,.9) !important;
  border-radius:50% !important;
  background:linear-gradient(145deg,#22c9bc,#087e86) !important;
  box-shadow:0 10px 35px rgba(0,0,0,.65),0 0 30px rgba(26,171,162,.35);
  cursor:pointer;
  transition:transform .2s;
}
#uyureFilmPlayer .film-play::before,
#uyureFilmPlayer .film-pause-play::before {
  content:"";
  display:block;
  width:0;
  height:0;
  margin-left:7px;
  border-top:21px solid transparent;
  border-bottom:21px solid transparent;
  border-left:30px solid white;
}
#uyureFilmPlayer .film-preview:hover .film-play,
#uyureFilmPlayer .film-pause-play:hover {
  transform:translate(-50%,-50%) scale(1.06);
}
#uyureFilmPlayer .film-preview-label {
  position:absolute;
  z-index:3;
  top:calc(50% + 69px);
  left:0;
  width:100%;
  color:#fff;
  text-align:center;
  font-size:16px;
  font-weight:700;
  text-shadow:0 2px 7px #000;
  pointer-events:none;
}
#uyureFilmPlayer .film-video-tap {
  position:absolute;
  z-index:2;
  top:0;
  left:0;
  right:0;
  bottom:58px; /* ვიდეოს სტანდარტული კონტროლები არ დაიფაროს */
  background:transparent;
  border:0;
  cursor:pointer;
}
#uyureFilmPlayer .film-pause-play {z-index:3;pointer-events:none}
#uyureFilmPlayer .film-video-tap[hidden],
#uyureFilmPlayer .film-pause-play[hidden] {display:none !important}
@media(max-width:600px){
  #uyureFilmPlayer .film-play,
  #uyureFilmPlayer .film-pause-play {
    width:80px !important;height:80px !important;
    min-width:80px !important;min-height:80px !important;
    max-width:80px !important;max-height:80px !important;
  }
  #uyureFilmPlayer .film-play::before,
  #uyureFilmPlayer .film-pause-play::before {
    border-top-width:16px;
    border-bottom-width:16px;
    border-left-width:24px;
  }
  #uyureFilmPlayer .film-preview-label {top:calc(50% + 54px);font-size:14px}
  #uyureFilmPlayer .film-video-tap {bottom:48px}
}
/* Native ვიდეოს კონტროლები მუდმივად ხილულია; ზედა ღილაკი მათ არ ფარავს */
#uyureFilmPlayer .film-video-tap {
  bottom:64px !important;
  z-index:2;
}
#uyureFilmPlayer .film-native-label {
  z-index:3;
}
#uyureFilmPlayer .film-native-label[hidden] {display:none !important}
@media(max-width:600px) {
  #uyureFilmPlayer .film-video-tap {bottom:54px !important}
}

/* დახვეწილი კონტროლები მხოლოდ HTML5 ვიდეოზე; iframe უცვლელია */
#uyureFilmPlayer .film-video-tap {bottom:76px !important}
#uyureFilmPlayer .film-pause-play {transition:transform .2s,box-shadow .2s;pointer-events:none}
#uyureFilmPlayer .film-video-tap:hover ~ .film-pause-play,
#uyureFilmPlayer .film-video-tap:focus-visible ~ .film-pause-play {
 transform:translate(-50%,-50%) scale(1.13);
 box-shadow:0 14px 40px rgba(0,0,0,.7),0 0 35px rgba(26,171,162,.55);
}
#uyureFilmPlayer .film-controls {
 position:absolute;bottom:0;left:0;right:0;z-index:4;
 display:flex;align-items:center;gap:12px;min-height:64px;
 padding:16px 18px 12px;color:white;
 background:linear-gradient(transparent,rgba(0,0,0,.85));
 font:500 13px/1.2 Arial,sans-serif;
}
#uyureFilmPlayer .film-controls button {
 border:0;background:transparent;color:#fff;cursor:pointer;
 font-size:22px;min-width:34px;min-height:36px;padding:4px;
 display:flex;align-items:center;justify-content:center;
 transition:color .2s,transform .2s;
}
#uyureFilmPlayer .film-controls button:hover {color:#23d0c3;transform:scale(1.1)}
#uyureFilmPlayer .film-controls button:focus-visible,
#uyureFilmPlayer .film-controls input:focus-visible {outline:2px solid #23d0c3;outline-offset:3px}
#uyureFilmPlayer .film-controls input[type=range] {accent-color:#20bdb1;cursor:pointer;min-width:0}
#uyureFilmPlayer .film-seek {flex:1;width:100%;height:18px}
#uyureFilmPlayer .film-volume {width:78px}
#uyureFilmPlayer .film-clock {white-space:nowrap;font-variant-numeric:tabular-nums}
@media(max-width:600px) {
 #uyureFilmPlayer .film-controls {gap:6px;padding:12px 8px 8px;font-size:11px}
 #uyureFilmPlayer .film-volume {display:none}
 #uyureFilmPlayer .film-video-tap {bottom:60px !important}
}
#uyureFilmPlayer .player-wrap.film-clickable-video {cursor:pointer}
#uyureFilmPlayer .player-wrap.film-clickable-video .film-controls,
#uyureFilmPlayer .player-wrap.film-clickable-video .film-controls * {cursor:auto}
#uyureFilmPlayer .player-wrap.film-clickable-video .film-controls button,
#uyureFilmPlayer .player-wrap.film-clickable-video .film-controls input {cursor:pointer}
/* დამატებითი ღილაკები: მხოლოდ კონტროლების ვიზუალი */
#uyureFilmPlayer .film-controls .film-skip {font-size:16px;min-width:36px;white-space:nowrap}
#uyureFilmPlayer .film-controls .film-speed {font-size:14px;min-width:40px;white-space:nowrap;font-weight:700}
@media(max-width:600px){
  #uyureFilmPlayer .film-controls {gap:3px;padding-left:5px;padding-right:5px}
  #uyureFilmPlayer .film-controls button {min-width:24px;padding:2px;font-size:18px}
  #uyureFilmPlayer .film-controls .film-skip {min-width:28px;font-size:12px}
  #uyureFilmPlayer .film-controls .film-speed {min-width:30px;font-size:11px}
  #uyureFilmPlayer .film-controls .film-clock {font-size:10px}
}

/* Mobile: remove browser tap highlight without changing Play/Pause behavior */
#uyureFilmPlayer .player-wrap,
#uyureFilmPlayer .player-wrap * {
  -webkit-tap-highlight-color: transparent;
}

/* UYURE.NET - ლოგო მხოლოდ ვიდეოს საწყის პოსტერზე */
#uyureFilmPlayer .uyure-poster-logo {
  position:absolute;
  top:18px;
  right:20px;
  z-index:6;
  padding:8px 13px;
  border-radius:9px;
  background:rgba(9,14,23,.78);
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 4px 18px rgba(0,0,0,.3);
  color:#fff;
  font:800 22px/1 Arial,sans-serif;
  letter-spacing:-.7px;
  pointer-events:none;
  user-select:none;
}
#uyureFilmPlayer .uyure-poster-logo .uyure-logo-net {color:#ffd126}
#uyureFilmPlayer .uyure-poster-logo[hidden] {display:none !important}
@media(max-width:600px) {
  #uyureFilmPlayer .uyure-poster-logo {top:10px;right:10px;padding:6px 9px;font-size:15px}
}

