/* Movie watch / player template */
.phim-watch-page {
  background: #171923;
  padding: 20px;
  min-height: 100vh;
}
.phim-watch-player {
  height: 760px;
  position: relative;
  background-image: linear-gradient(90deg, #171923aa, #1c223088),
    var(--watch-backdrop);
  background-size: cover;
  background-position: center;
  border-radius: 2px;
  overflow: hidden;
}
.phim-watch-player__brand {
  position: absolute;
  z-index: 2;
  top: 30px;
  left: 30px;
  font-size: 36px;
  font-weight: 900;
  color: #ef3e32;
  font-style: italic;
  text-shadow: 0 4px 12px #000;
}
.phim-watch-player__brand span {
  display: block;
  font-size: 14px;
  color: #fff;
  text-align: center;
}
.phim-watch-error {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  background: #10131daa;
}
.phim-watch-error i {
  display: grid;
  place-items: center;
  width: 170px;
  height: 170px;
  border-radius: 28px;
  background: linear-gradient(145deg, #d3c39d, #404955);
  font-size: 80px;
  font-style: normal;
  color: #242936;
}
.phim-watch-error div {
  display: flex;
  flex-direction: column;
}
.phim-watch-error strong {
  font-size: 29px;
}
.phim-watch-error span {
  font-size: 25px;
  color: #d4d5da;
}
.phim-watch-toolbar {
  height: 68px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 26px;
  background: #08090e;
}
.phim-watch-toolbar button {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 11px;
}
.phim-watch-toolbar small {
  border: 1px solid #e2c547;
  color: #e2c547;
  padding: 2px 4px;
}
.phim-watch-toolbar > span {
  flex: 1;
}
.phim-watch-toolbar > a {
  padding: 7px 13px;
  border: 1px solid #09a94f;
  border-radius: 7px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}
.phim-watch-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 365px;
  gap: 30px;
  padding: 22px 10px 60px;
}
.phim-watch-content {
  min-width: 0;
}
.phim-watch-info {
  display: grid;
  grid-template-columns: 110px 1.25fr 1.4fr;
  gap: 20px;
  padding-bottom: 28px;
  border-bottom: 1px solid #2b2f3a;
}
.phim-watch-poster {
  height: 155px;
  background-size: cover;
  background-position: center;
  border-radius: 7px;
}
.phim-watch-info h1 {
  font-size: 22px;
  margin: 6px 0;
  color: #fff;
}
.phim-watch-info .phim-detail-original {
  margin: 0;
}
.phim-watch-info .phim-detail-meta,
.phim-watch-info .phim-detail-tags {
  margin: 12px 0;
}
.phim-watch-complete {
  display: inline-block;
  color: #1de47b;
  background: #123a2c;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 10px;
}
.phim-watch-description {
  padding-left: 18px;
  border-left: 1px solid #2b2f3a;
  color: #a4a7b1;
  font-size: 11px;
  line-height: 1.65;
}
.phim-watch-description a {
  display: block;
  margin-top: 20px;
  color: #f0d04d;
}
.phim-watch-episodes {
  padding: 28px 0 0;
}
.phim-watch-section-head {
  display: flex;
  align-items: center;
  gap: 25px;
}
.phim-watch-section-head h2 {
  font-size: 18px;
  color: #fff;
}
.phim-watch-section-head span {
  font-size: 9px;
  color: #aaaeba;
}
.phim-watch-section-head small {
  margin-left: auto;
}
.phim-watch-episode-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.phim-watch-episode-grid a {
  padding: 16px 8px;
  text-align: center;
  background: #282c3d;
  color: #fff;
  border-radius: 5px;
  font-size: 10px;
}
.phim-watch-episode-grid a.is-active {
  background: #ffd45b;
  color: #171923;
}
.phim-watch-sidebar {
  border-left: 1px solid #292d38;
  padding-left: 28px;
}
.phim-watch-sidebar h2 {
  font-size: 19px;
  color: #fff;
  margin: 26px 0 18px;
}
.phim-watch-rating {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 12px 0 24px;
  border-bottom: 1px solid #2d303b;
}
.phim-watch-rating button {
  border: 0;
  background: transparent;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.phim-watch-rating a {
  margin-left: auto;
  background: #5272d5;
  color: #fff;
  padding: 10px 13px;
  border-radius: 20px;
  font-size: 10px;
}
.phim-watch-cast {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px 10px;
  padding-bottom: 22px;
  border-bottom: 1px solid #2d303b;
}
.phim-watch-cast div {
  text-align: center;
}
.phim-watch-cast i {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  margin: auto;
  border-radius: 50%;
  background: linear-gradient(145deg, #c9996d, #383b49);
  font-style: normal;
  font-size: 25px;
}
.phim-watch-cast span {
  display: block;
  font-size: 9px;
  margin-top: 7px;
}
.phim-watch-bookies {
  display: grid;
  gap: 8px;
}
.phim-watch-bookies a {
  display: grid;
  grid-template-columns: 70px 1fr 58px;
  align-items: center;
  gap: 10px;
  background: #202330;
  padding: 9px;
  border-radius: 7px;
  color: #fff;
}
.phim-watch-bookies b {
  font-size: 18px;
  color: #ffd43d;
}
.phim-watch-bookies span {
  font-size: 12px;
  font-weight: 700;
  color: #f1d664;
}
.phim-watch-bookies em {
  background: #ff493f;
  border-radius: 6px;
  padding: 8px 5px;
  text-align: center;
  font-style: normal;
  font-weight: 800;
  font-size: 11px;
}
.phim-watch-suggestions {
  display: grid;
  gap: 12px;
}
.phim-watch-suggestions > a {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  padding: 8px;
  background: #1d202b;
  border-radius: 8px;
  color: #fff;
}
.phim-watch-suggestions > a > span {
  height: 100px;
  background-size: cover;
  background-position: center;
  border-radius: 5px;
}
.phim-watch-suggestions div {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.phim-watch-suggestions b {
  font-size: 12px;
}
.phim-watch-suggestions small {
  color: #a3a7b2;
  margin: 6px 0;
}
.phim-watch-suggestions em {
  font-size: 9px;
  color: #828692;
  font-style: normal;
}
@media screen and (max-width: 768px) {
  .phim-watch-player {
    height: 560px;
  }
  .phim-watch-layout {
    grid-template-columns: 1fr;
  }
  .phim-watch-sidebar {
    border: 0;
    padding: 0;
  }
  .phim-watch-info {
    grid-template-columns: 100px 1fr;
  }
  .phim-watch-description {
    grid-column: 1/-1;
    border-left: 0;
    padding: 15px 0 0;
  }
  .phim-watch-episode-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media screen and (max-width: 768px) {
  .phim-watch-page {
    padding: 0;
  }
  .phim-watch-player {
    height: 320px;
  }
  .phim-watch-error {
    gap: 15px;
  }
  .phim-watch-error i {
    width: 95px;
    height: 95px;
    font-size: 45px;
  }
  .phim-watch-error strong {
    font-size: 19px;
  }
  .phim-watch-error span {
    font-size: 16px;
  }
  .phim-watch-toolbar {
    overflow-x: auto;
    padding: 0 12px;
  }
  .phim-watch-toolbar > * {
    flex: 0 0 auto;
  }
  .phim-watch-layout {
    padding: 15px;
  }
  .phim-watch-info {
    grid-template-columns: 88px 1fr;
  }
  .phim-watch-poster {
    height: 125px;
  }
  .phim-watch-section-head {
    display: block;
  }
  .phim-watch-episode-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .phim-watch-cast {
    grid-template-columns: repeat(3, 1fr);
  }
}

