/* ==========================================================================
   MyAsianTv — main stylesheet (assets/css/style.css)

   Selectors are scoped to their component (.movie, .play, .watch-sidebar…)
   instead of the full page path (#content .content-left .movie .right h3).
   Two places keep an ID on purpose, because inline <style> blocks printed
   by templates come after this file and would otherwise win:
     - #content-left .pagination  (beats the pager styles in page.php)
     - the region IDs #header, #content, #footer, #breadcrum, #frmFilter
   The pre-refactor file is kept in _unused/style-before-2026-11-29.css.

   1. Base           5. Episode page (.play)
   2. Header         6. Listings (.list, ul.items, filter, pagination)
   3. Content frame  7. Sidebar (.col-right)
   4. Series page    8. Footer, homepage blocks, misc
   (.movie)          9. Responsive
   ========================================================================== */

/* 1. Base
   ========================================================================== */

* {
  margin: 0;
  padding: 0;
  font-family: Tahoma, Arial, Helvetica, sans-serif;
  font-size: 12px;
  list-style: none;
  border: 0;
  color: #333333;
}

*:focus {
  outline: none;
}

body {
  background: #f0f0f0;
}

a {
  text-decoration: none;
}

.wrapper {
  width: 1008px;
  margin: 0 auto;
}

.clear {
  clear: both;
  display: block;
}

/* 2. Header
   ========================================================================== */

#topbar {
  background: #3c3c3d;
  height: 35px;
  z-index: 9999;
  position: relative;
}

.anna {
  padding-top: 5px;
  text-align: center;
  font-size: 18px;
  color: #fff;
}

#header {
  position: relative;
  z-index: 1;
}

#header .logo a {
  display: block;
  background: url(../img/logo.png) no-repeat;
  width: 277px;
  height: 109px;
  overflow: hidden;
  line-height: 300px;
  float: left;
}

.navbar {
  width: 1002px;
  height: 46px;
  background-color: #f0f0f0;
  color: #d0d0d0;
  border: #d0d0d0;
  border-width: 3px 3px 0 3px;
  border-style: solid;
}

/* Main menu (front/menus.php adds a.m1–m5 and the icons) */
.navbar .menu {
  float: left;
}

.navbar .menu ul {
  padding: 4px;
}

.navbar .menu li {
  float: left;
  height: 41px;
  position: relative;
}

.navbar .menu a {
  display: block;
  overflow: hidden;
  height: 41px;
  padding: 0 20px;
  font-weight: 700;
  font-size: 12px;
  color: #6a6a6a;
  font-family: Tahoma, Arial, Helvetica, sans-serif;
  text-shadow: 0 1px 0 #fff;
  padding-top: 14px;
  padding-right: 22px;
}

.navbar .menu .icon-home,
.navbar .menu .icon-folder,
.navbar .menu .icon-film,
.navbar .menu .icon-forum {
  display: inline-block;
  vertical-align: top;
  width: 12px;
  height: 12px;
  margin-top: 2px;
  margin-right: 6px;
  background: no-repeat;
}

/* Menu icons: simple inline SVGs (were the navbar-text.png sprite). */
.navbar .menu .icon-home   { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236a6a6a' d='M6 .5 0 6h1.5v6h3.5V8.5h2V12h3.5V6H12z'/%3E%3C/svg%3E"); }
.navbar .menu .icon-folder { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='9' viewBox='0 0 12 9'%3E%3Cpath fill='%236a6a6a' d='M0 0h4.5l1 1.5H12V9H0z'/%3E%3C/svg%3E"); height: 9px; }
.navbar .menu .icon-film   { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='12' viewBox='0 0 11 12'%3E%3Cpath fill='%236a6a6a' fill-rule='evenodd' d='M0 0h11v12H0zM3 1h5v4H3zM3 7h5v4H3zM1 1h1v1H1zM9 1h1v1H9zM1 5h1v1H1zM9 5h1v1H9zM1 10h1v1H1zM9 10h1v1H9z'/%3E%3C/svg%3E"); width: 11px; }
.navbar .menu .icon-forum  { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236a6a6a' d='M2 0h8a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H6l-3.5 3V8H2a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2z'/%3E%3C/svg%3E"); }

.navbar .sub-menu a:hover {
  background-color: #a3434e;
}

/* Search */
.navbar .search {
  float: right;
}

#search-form {
  position: relative;
  width: 288px;
  height: 26px;
  margin-top: 12px;
  margin-right: 11px;
  background-color: #e7e7e7;
  border-radius: 10px;
}

#search-form input {
  margin-top: 6px;
  width: 253px;
  background: 0 0;
}

#search-form button {
  background: 0 0;
  cursor: pointer;
  height: 25px;
  width: 20px;
  margin-left: 5px;
  vertical-align: top;
}

.loader {
  display: none;
  border: 2px solid #000;
  border-radius: 50%;
  border-top: 2px solid #fff;
  width: 10px;
  height: 10px;
  animation: 2s linear infinite spin;
  position: absolute;
  right: 20px;
  top: 6px;
}

@keyframes spin {
  0%   { transform: rotate(0); }
  100% { transform: rotate(360deg); }
}

/* Mobile menu button (shown at ≤1000px) */
.navbar-toggle {
  position: absolute;
  padding: 9px 10px;
  margin-right: 0;
  margin-bottom: 8px;
  border: 1px solid #000;
  border-radius: 4px;
  cursor: pointer;
  display: none;
  left: 15px;
  top: 12px;
  background: linear-gradient(to bottom, rgba(255,255,255,.1), rgba(255,255,255,0));
  background-color: rgba(27,30,33,0);
  box-shadow: 0 1px 0 rgba(255,255,255,.15), inset 0 1px .5px rgba(255,255,255,.2);
}

.navbar-toggle .icon-bar {
  display: block;
  width: 18px;
  height: 3px;
  border-radius: 1px;
  background-color: #fff;
}

.navbar-toggle .icon-bar + .icon-bar {
  margin-top: 3px;
}

/* 3. Content frame
   ========================================================================== */

#content {
  background: #fbfbfb;
  width: 1002px;
  border: #d0d0d0;
  border-width: 3px 3px 3px 3px;
  border-style: solid;
}

.content-line {
  border: #d0d0d0;
  border-width: 0 0 3px 0;
  border-style: solid;
}

.content-left {
  float: left;
  width: 700px;
  overflow: hidden;
}

.content-line-bottom {
  /* 1px grey line centred in a 3px box (was content-line-2.png). */
  background: linear-gradient(90deg, #fff 1px, #c9c9c9 1px, #c9c9c9 2px, #fff 2px);
  width: 3px;
  height: 3px;
  margin-right: 305px;
  float: right;
}

h1.title {
  margin-top: 8px;
  font-size: 21px;
  font-weight: 400;
  color: #b1b5b8;
  margin-left: 13px;
  display: inline-block;
  position: relative;
  width: 100%;
}

.block {
  margin: 0 13px;
}

#breadcrum {
  margin: 10px 13px;
  display: inline-block;
  padding: 0 5px;
  height: 17px;
  cursor: pointer;
  background: linear-gradient(180deg, #f8f8f8 0%, #f0f0f0 100%);
  border: 1px solid;
  border-top-color: #e3e3e3;
  border-left-color: #d2d2d2;
  border-right-color: #d2d2d2;
  border-bottom-color: #afafaf;
  border-radius: 3px;
  box-shadow: 0 1px 0 #dedede;
  position: relative;
  vertical-align: top;
  padding-top: 5px;
  padding-right: 9px;
  color: #6a6a6a;
  text-shadow: 0 1px 0 #fff;
}

#breadcrum div {
  display: inline;
  text-transform: uppercase;
  font-weight: 700;
}

/* Simple inline SVG (was the icon.png sprite). */
#breadcrum .icon-play {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='13' viewBox='0 0 12 13'%3E%3Cpath fill='%236a6a6a' d='M2 0h8v13L6 9.5 2 13z'/%3E%3C/svg%3E") no-repeat;
  display: inline-block;
  width: 12px;
  height: 13px;
  vertical-align: top;
  margin-left: 5px;
}

/* 4. Series page — .movie (front/template-functions.php, myasiantv_get_series_html)
   ========================================================================== */

.movie h1 {
  margin-top: 13px;
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 13px;
  color: #b94057;
  text-shadow: 0 1px 0 #fff;
}

.movie .left {
  float: left;
  width: 220px;
}

.movie .left:before {
  content: "";
  display: block;
  position: absolute;
  margin-top: 312px;
  width: 220px;
  height: 13px;
}

.movie .poster {
  width: 220px;
  height: 312px;
  border-radius: 2px;
  margin-left: 1px;
  margin-bottom: 13px;
}

.movie .left p {
  margin-top: 4px;
  margin-left: 1px;
}

.movie .left hr {
  border-bottom: 1px solid #fff;
  border-top: 1px solid #f0f0f0;
  margin: 7px auto 9px;
}

.movie .right {
  float: left;
  margin-left: 9px;
  margin-right: 0;
  width: 450px;
}

.movie .right .box-title {
  width: 443px;
  background: #9a3949;
  height: 24px;
  border: 1px solid #9a3949;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  overflow: hidden;
  line-height: 24px;
  color: #fff;
  padding-left: 5px;
}

.movie .info {
  padding: 9px;
  color: #444;
  border-left: 1px solid #b1b5b8;
  border-right: 1px solid #b1b5b8;
  border-bottom: 1px solid #b1b5b8;
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
  background: linear-gradient(180deg, #fff 0, #f1f1f1 100%);
  box-shadow: 0 1px 0 #e4e4e4;
  margin-bottom: 9px;
}

/* Generated intro above the plot: the .info box, closed on top too */
.movie .series-intro {
  border-top: 1px solid #b1b5b8;
  border-radius: 4px;
  line-height: 1.6;
}

/* Episode list on the series page */
.movie .list-episode {
  background: linear-gradient(180deg, #fff 0, #f3f3f3 100%);
  margin-bottom: 9px;
  color: #444;
  border-left: 1px solid #b1b5b8;
  border-right: 1px solid #b1b5b8;
  border-bottom: 1px solid #b1b5b8;
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 0 #e4e4e4;
}

.movie .list-episode li {
  border-bottom: 1px solid #b9babb;
  height: 26px;
  overflow: hidden;
}

.movie .list-episode h3 {
  margin-left: 3px;
}

.movie .list-episode h3 a {
  display: block;
  color: #444;
  transition: .2s ease-in-out;
  padding-top: 6px;
  margin-left: 2px;
  white-space: nowrap;
}

.movie .list-episode li:hover > h3 a {
  color: #963748;
}

/* SUB / RAW badge (padded here, hidden at ≤1000px — see section 9) */
.movie .list-episode li span {
  float: right;
  margin-top: 5px;
  margin-right: 5px;
  padding: 2px;
}

/* 5. Episode page — .play (front/template-functions.php, myasiantv_get_post_html)
   The page has two .play blocks: the episode itself, and one holding
   div.list-episode > ul.list-episode. ".play ul/li/a" styles the
   Prev / Episode / Next buttons; the ".play .list-episode …" rules are one
   class stronger so they undo those button styles inside the list.
   ========================================================================== */

.play {
  margin-left: 13px;
  padding-right: 10px;
}

.play h1 {
  margin-top: 7px;
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 3px;
  color: #b94057;
  text-shadow: 0 1px 0 #fff;
  float: left;
  display: block;
  width: 100%;
}

.play h2 a {
  font-weight: 700;
  color: #444;
  margin-left: 3px;
  text-shadow: 0 1px 0 #fff;
}

/* Prev / Episode N / Next buttons */
.play ul {
  display: block;
  height: 24px;
  float: right;
  margin-top: 0;
  margin-right: 7px;
}

.play li {
  float: left;
}

.play li a {
  display: block;
  float: left;
  height: 22px;
  cursor: pointer;
  background: linear-gradient(180deg, #f8f8f8 0%, #f0f0f0 100%);
  border: 1px solid;
  border-top-color: #e3e3e3;
  border-left-color: #d2d2d2;
  border-right-color: #d2d2d2;
  border-bottom-color: #afafaf;
  border-radius: 3px;
  box-shadow: 0 1px 0 #dedede;
}

.play li a:before {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  border-top: 1px solid #fff;
}

.play a.m1 {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: 0;
}

.play a.m1:before {
  border-top-left-radius: 2px;
}

.play a.m1 > b,
.play a.m3 > b {
  display: inline-block;
  vertical-align: top;
  margin-top: 1px;
  font-weight: 700;
  text-shadow: 0 1px 0 #fff;
}

.play a.m1 > b { margin-left: 6px; margin-right: 9px; }
.play a.m3 > b { margin-left: 9px; margin-right: 6px; }

.play a.m2 {
  border-radius: 0;
  border-left: 0;
}

.play a.m2 strong {
  color: #fff;
  font-size: 11px;
  text-shadow: 0 -1px 0 #813743;
  margin-right: 9px;
  margin-top: 1px;
  display: inline-block;
  margin-left: 6px;
}

.play a.m3 {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-left: 0;
}

.play a.m3:before {
  border-top-right-radius: 2px;
}

/* Must follow .m1–.m3: its full border replaces their removed sides. */
.play a.current {
  background: linear-gradient(180deg, #c33e55 0%, #b2394b 100%);
  border: 1px solid;
  border-top-color: #a63d48;
  border-left-color: #a23744;
  border-right-color: #a23744;
  border-bottom-color: #9d303f;
  box-shadow: 0 1px 0 #dedede;
}

.play a.current:before {
  border-top: 1px solid #d37f86;
}

.play .icon-arrow-b,
.play .icon-arrow {
  display: inline-block;
  width: 6px;
  height: 10px;
  margin-top: 3px;
}

/* Simple inline SVGs (were the icon.png sprite). */
.play .icon-arrow-b { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='10' viewBox='0 0 6 10'%3E%3Cpath fill='%236a6a6a' d='M6 0 0 5l6 5z'/%3E%3C/svg%3E") no-repeat; margin-left: 9px; }
.play .icon-arrow   { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='10' viewBox='0 0 6 10'%3E%3Cpath fill='%236a6a6a' d='M0 0l6 5-6 5z'/%3E%3C/svg%3E") no-repeat; margin-right: 9px; }

.play a .icon-play {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='13' viewBox='0 0 12 13'%3E%3Ccircle cx='6' cy='6.5' r='5.5' fill='%23fff' stroke='%238c333a'/%3E%3Cpath fill='%238c333a' d='M4.5 4v5l4.5-2.5z'/%3E%3C/svg%3E") no-repeat;
  display: inline-block;
  width: 12px;
  height: 13px;
  vertical-align: top;
  margin-top: 1px;
  margin-left: 9px;
}

/* Player */
.anime_video_body_watch_items {
  position: relative;
  z-index: 100;
  margin: 10px 0;
}

.play-video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  width: 100%;
  background-color: #000;
}

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

/* Covers the player until it is pressed (loader in footer-single.php). */
.play-btn {
  position: absolute;
  opacity: .3;
  cursor: pointer;
  transition: all .3s;
  width: 100%;
  height: 100%;
  display: flex;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
}

.play-btn:hover,
.play-btn:focus-visible {
  opacity: 1;
}

/* Text around the player (they replace <br> spacers and inline styles). */
.play .episode-intro {
  margin-top: 14px;
}

.play .episode-intro p + p {
  margin-top: 8px;
}

.play h2.play-heading {
  margin-top: 14px;
  text-align: center;
  font-size: 16px;
}

.play .player-note {
  text-align: center;
  color: #777;
}

.play .episode-download {
  text-align: center;
  margin: 12px 0;
}

/* A <button> drawn as the theme's red button (.play a.current). */
.play .episode-download button.download-btn {
  display: inline-block;
  padding: 7px 18px;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: normal;
  cursor: pointer;
  text-shadow: 0 -1px 0 #813743;
  background: linear-gradient(180deg, #c33e55 0%, #b2394b 100%);
  border: 1px solid;
  border-color: #a63d48 #a23744 #9d303f;
  border-radius: 3px;
  box-shadow: 0 1px 0 #dedede, inset 0 1px 0 #d37f86;
}

.play .episode-download button.download-btn:hover,
.play .episode-download button.download-btn:focus-visible {
  background: linear-gradient(180deg, #b2394b 0%, #9a3749 100%);
}

/* "Coming soon" panel on an upcoming episode (was coming.jpg, 727x453).
   Sizes are in cqw so the text scales with the panel like the image did. */
.play .episode-coming {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 727px;
  max-width: 100%;
  aspect-ratio: 727 / 453;
  margin-top: 14px;
  background: #000;
  container-type: inline-size;
  line-height: 1;
  text-align: center;
}

.play .episode-coming span { display: block; }

/* Fonts go on the spans themselves: the theme's `* { font-family }` rule
   stops them inheriting from the panel. */
.play .episode-coming-1,
.play .episode-coming-2 {
  /* Thin strokes like the old artwork: light faces first (Windows, Apple, Android). */
  font-family: "Segoe UI Light", "Helvetica Neue", Roboto, "Segoe UI", sans-serif;
  font-weight: 200;
  text-transform: uppercase;
  font-size: 11cqw;
  letter-spacing: .12em;
  margin-right: -.12em; /* the trailing letter-spacing, so the word stays centred */
}

.play .episode-coming-1 { color: #f9b21b; }
.play .episode-coming-2 { color: #1fb3c4; margin-top: 1cqw; }

.play .episode-coming-3 {
  font-size: 1.75cqw;
  font-family: "Segoe UI", "Helvetica Neue", Roboto, Arial, sans-serif;
  letter-spacing: .02em;
}

.play .episode-coming-3 { color: #8a8a8a; margin-top: 6.5cqw; }

.play .episode-more {
  margin: 14px 0;
}

.play .episode-more a {
  color: #9a3749;
  font-weight: 700;
}

/* Episode list on the episode page */
.play .box-title {
  width: 678px;
  background: #9a3949;
  height: 24px;
  border: 1px solid #9a3949;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  overflow: hidden;
  line-height: 24px;
  color: #fff;
  padding-left: 10px;
}

.play .box-title:before {
  content: '';
  display: block;
  width: 678px;
  height: 10px;
  border-top: 1px solid #e65b6a;
  border-radius: 4px;
  position: absolute;
}

.play .list-episode {
  background: linear-gradient(180deg, #ffffff 0%, #f3f3f3 100%);
  margin-bottom: 9px;
  color: #444;
  border-left: 1px solid #b1b5b8;
  border-right: 1px solid #b1b5b8;
  border-bottom: 1px solid #b1b5b8;
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 0 #e4e4e4;
  width: 678px;
  height: auto;
  margin-top: 0;
  margin-right: 0;
  display: list-item;
  float: none;
}

.play .list-episode li {
  border-bottom: 1px solid #fff;
  height: 26px;
  float: none;
}

.play .list-episode li:nth-child(2n+0) {
  background: rgba(229,229,229,.1);
}

.play .list-episode li:before {
  border-bottom: 1px solid #b9babb;
  content: "";
  display: block;
}

.play .list-episode li:after {
  border-bottom: 1px solid #fff;
  content: "";
  display: block;
}

.play .list-episode li a {
  border: none;
  height: auto;
  width: auto;
  background: 0 0;
  box-shadow: none;
  float: none;
}

.play .list-episode h3 {
  float: left;
  margin-left: 3px;
}

.play .list-episode h3 a {
  display: block;
  font-weight: 700;              /* was inherited from .play h2 a */
  text-shadow: 0 1px 0 #fff;     /* was inherited from .play h2 a */
  color: #444;
  transition: all .2s ease-in-out;
  padding-top: 3px;
  margin-left: 2px;
}

.play .list-episode li:hover > h3 a {
  color: #963748;
}

.play .list-episode li span {
  float: right;
  margin-top: 5px;
  margin-right: 5px;
}

/* SUB / RAW badges, both pages. The .play variants are one class stronger
   than ".play .list-episode li span" so the badge keeps its own box (and,
   unlike on the series page, stays visible at ≤1000px). */
.list-episode span.raw,
.list-episode span.sub,
.play .list-episode span.raw,
.play .list-episode span.sub {
  display: inline-block;
  float: left !important;
  margin-top: 5px;
  margin-left: 5px;
  text-align: center;
  width: 32px;
  height: 16px;
  line-height: 16px;
  color: #fff;
}

.list-episode span.raw,
.play .list-episode span.raw {
  background: #333;
}

.list-episode span.sub,
.play .list-episode span.sub {
  background: #9a3749;
}

/* 6. Listings — [drama_list], archives, search (front/shortcodes.php, myasiantv_card_html)
   ========================================================================== */

#frmFilter {
  margin: 10px 13px;
  text-align: center;
}

#frmFilter select,
#frmFilter input {
  border: 1px solid #b1b5b8;
  width: 90px;
  margin: 0 5px;
}

.list {
  margin-left: 13px;
  margin-top: 17px;
}

.list div {
  float: none;
  margin: 0 !important;
  position: relative !important;
}

.list h2 a {
  display: block;
  padding-top: 7px;
  padding-bottom: 3px;
  color: #963748;
  width: 120px;
  text-shadow: 0 1px 0 #fff;
}

.list img {
  width: 100%;
  height: auto;
  border-radius: 2px;
}

.list .pic {
  position: absolute !important;
  float: none;
}

/* Poster grid: 5 per row, 2 per row at ≤479px */
ul.items {
  padding-right: 8px;
}

ul.items li {
  float: left;
  position: relative;
  margin-left: 3%;
  width: 17.6%;
  list-style: none;
  margin-bottom: 20px;
  vertical-align: top;
}

ul.items li:nth-child(5n+1) {
  margin-left: 0;
}

ul.items .cover {
  overflow: hidden;
  position: relative !important;
}

ul.items .cover:before {
  content: "";
  display: block;
  padding-top: 125%;
}

ul.items .cover img {
  width: 100%;
  height: auto;
  max-width: 100%;
}

ul.items .pic {
  position: absolute !important;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

ul.items h2,
ul.items h3 {                    /* h3: homepage TOP DRAMAS cards */
  height: 38px;
  overflow: hidden;
  line-height: 14px;
}

/* SUB / RAW label on a card. A dark-red brush stroke drawn in CSS (was
   status.png): rows 3-22 of the 83x30 box, square on the left, ragged
   taper on the right. */
.status {
  background:
    repeating-linear-gradient(rgba(255, 255, 255, .07) 0 1px, transparent 1px 3px) 0 3px / 80px 20px no-repeat,
    linear-gradient(90deg, transparent 72px, rgba(255, 255, 255, .18) 80px) 0 3px / 80px 20px no-repeat,
    linear-gradient(#9a3d45, #82313a 50%, #642429) 0 3px / 80px 20px no-repeat;
  clip-path: polygon(0 3px, 48px 3px, 62px 5px, 70px 8px, 75px 12px, 79px 17px, 81px 22px, 78px 23px, 0 23px);
  color: #fff;
  font-size: 12px;
  height: 24px;
  padding-top: 6px;
  position: absolute;
  left: 1px;
  bottom: 35px;
  top: inherit;
  z-index: 999;
  text-align: center;
  width: 83px;
  font-family: Tahoma, Arial, sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size-adjust: none;
  line-height: 12px;
}

/* Pager. Keeps the #content-left ID so it beats the .pagination /
   .page-numbers styles page.php prints inline after this file. */
#content-left .pagination {
  display: block;
  float: right;
  margin-right: 8px;
  height: 26px;
  margin-bottom: 6px;
}

#content-left .pagination li {
  float: left;
  margin-left: 9px;
  height: 23px;
}

#content-left .pagination li a,
#content-left .pagination li span {
  color: #666;
  display: block;
  margin-top: 5px;
  font-size: 12px;
  transition: all .2s ease-in-out;
  text-shadow: 0 1px 0 #fff;
}

#content-left .pagination li a:hover {
  color: #963748;
}

/* 7. Sidebar — .col-right (sidebar.php, myasiantv_generate_latest_dramas_html)
   ========================================================================== */

.col-right {
  float: right;
  width: 300px;
}

.watch-sidebar {
  margin-top: 9px;
}

.watch-sidebar ul {
  display: block;
  height: 24px;
  margin-bottom: 9px;
}

.watch-sidebar div {
  clear: both;
  margin-bottom: 9px;
  margin-left: 5px;
}

.watch-sidebar a {
  color: #444;
  display: block;
  text-shadow: 0 1px 0 #fff;
  padding: 10px 5px;
}

/* "Latest DRAMAS" heading and the round rank numbers */
p.m1.current {
  padding: 5px;
  background: #9a3749;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  font-size: 16px;
}

span.numbers {
  display: inline-block;
  float: left;
  padding: 5px;
  border-radius: 52px;
  background-color: #9a3749;
  color: #fff;
  margin: 5px;
  width: 14px;
  height: 14px;
  text-align: center;
}

/* 8. Footer, homepage blocks, misc
   ========================================================================== */

#footer {
  padding: 24px 0 20px;
  margin-top: 32px;
  background: #3c3c3d;
  z-index: 9999;
  position: relative;
}

#footer .wrapper {
  width: 1002px;
}

#footer ul {
  display: block;
  float: left;
  height: 1%;
  width: 145px;
}

#footer li {
  display: block;
  float: left;
  padding: 0 0 3px;
  width: 130px;
}

#footer .title {
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
}

#footer .address {
  color: #6f6f6f;
  float: right;
  line-height: 17px;
  position: relative;
  text-align: right;
}

#footer .link {
  font-weight: 700;
  text-align: right;
}

/* Homepage FAQ (template-parts/home/faq.php) */
.faqs {
  padding: 5px;
  margin: 5px;
  font-size: 18px;
  border: 1px solid #d0d0d0;
}

.faqs h3 {
  margin: 10px 0;
}

/* Overlay + popup toggled by the footer script */
.mask {
  position: fixed;
  display: none;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.7);
  z-index: 998;
}

.div-poup {
  position: fixed;
  display: none;
  background: #e0e0e0;
  max-width: 100%;
  width: 400px;
  z-index: 9999;
  left: 0;
  right: 0;
  top: 50px;
  margin: auto;
  border-radius: 10px;
}

/* 9. Responsive
   ========================================================================== */

@media only screen and (max-width: 1000px) {
  #topbar,
  #footer,
  ul.menu_hoz,
  .content-line,
  .content-bottom,
  .play .box-title:before,
  .movie .list-episode li span,
  .play .list-episode li span {
    display: none;
  }

  .wrapper,
  #content,
  .navbar,
  .content-line,
  .content-left,
  .content-bottom,
  .col-right,
  .movie .left,
  .movie .right,
  .movie .right .box-title,
  .play .box-title,
  .play .box-title:before,
  .play .list-episode,
  #footer .wrapper {
    width: 100%;
  }

  #header {
    background-color: #3c3c3d;
  }

  #content,
  .navbar {
    background-size: 100% 100%;
  }

  #header .logo {
    float: right;
    padding: 10px 0;
  }

  #header .logo a {
    background-size: 100% auto;
    width: 200px;
    height: 40px;
  }

  .navbar-toggle {
    display: block;
  }

  .navbar .menu ul {
    position: absolute;
    left: 0;
    /* Same stops as the old navbar-bg-m.png strip (41px, white to #d9d9d9). */
    background: linear-gradient(#fff, #fafafa 10%, #e9e9e9 87.5%, #d9d9d9) #d9d9d9;
  }

  .navbar .menu li {
    width: 100%;
    border-bottom: 1px solid #e5e5e5;
    background-image: none;
  }

  .navbar .menu li:last-child {
    border: 0;
  }

  #breadcrum {
    background: 0 0;
    border: 0;
    box-shadow: 0 0 0 transparent;
  }

  .movie {
    margin-left: 0;
    padding: 0 12px;
  }

  .movie .poster {
    height: auto !important;
  }

  .movie .right {
    margin-left: 0;
  }

  .play ul {
    width: 100%;
    margin-top: 0;
    margin-right: 0;
    margin-bottom: 10px;
  }

  .col-right {
    margin-right: 0;
  }

  .watch-sidebar ul {
    padding-left: 10px;
  }

  #frmFilter {
    text-align: right;
  }

  #frmFilter span {
    display: block;
    padding: 5px 0;
  }

  #frmFilter input,
  #frmFilter select {
    width: 150px;
  }
}

@media only screen and (max-width: 479px) {
  ul.items li {
    width: 48.5%;
  }

  ul.items li:nth-child(5n+1) {
    margin-left: 3%;
  }

  ul.items li:nth-child(odd) {
    margin-left: 0;
  }

  .play-video {
    min-height: 260px;
    padding: 0;
  }
}
