html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  color: #fff;
  font-size: 14px;
  font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif;
  background-color: #2a2a2a;
  overscroll-behavior-y: none;
  -webkit-overflow-scrolling: touch;
}

body {
  max-width: 1024px;
  margin: auto;
}

.body {
  padding: 20px;
}

.head {
  padding-top: 20px;
}

.head > .logo {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
}

.head > .logo::before {
  content: '📺';
  font-size: 36px;
  margin-right: 5px;
  animation: jumps 1.5s ease-in-out 1;
  display: inline-block;
}

.head > .desc {
  margin: 8px 0;
  text-align: center;
}

.head > .desc::before {
  content: '📀';
  margin-right: 3px;
}


.head > .desc::after {
  margin-left: 3px;
  content: '💿';
}

.head > .you {
  text-align: center;
  margin: 5px 0;
}

.head > .you > a {
  color: #4786c5;
}

input,
textarea,
button {
  border: none;
  outline: none;
  background: none;
  box-sizing: border-box;
  border-radius: 4px;
  -webkit-appearance: none;
  padding: 10px 15px;
  border: 1px solid #212121;
  width: 100%;
  color: #fff;
  background-color: #3b3b3b;
  transition: 0.25s;
}

input:focus,
textarea:focus,
button:hover {
  border: 2px solid #4786c5;
  box-shadow: 0 1px 5px #212121;
}

input:disabled,
button:disabled,
select:disabled,
textarea:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

input[type='checkbox'],
input[type='radio'] {
  appearance: revert;
}

.blue {
  background-color: #007acc;
  color: #fff;
  font-weight: bold;
  border: 1px solid #00548d;
  transition: 0.25s;
}

.blue:hover {
  border: 2px solid #00548d;
}

.green {
  background-color: #0dc140;
  color: #fff;
  font-weight: bold;
  border: 1px solid #0d9c35;
  transition: 0.25s;
}

.green:hover {
  border: 2px solid #0d9c35;
}

.flex {
  display: flex;
}

.flex.ws > div {
  flex: 0 320px;
  position: relative;
}

.flex.ws > div:nth-child(1) {
  margin-right: 10px;
}

.search > form > div {
  margin-top: 15px;
}

.search > form > div.mime {
  flex-wrap: wrap;
}


.mime > label {
  display: inline-block;
  margin: 0 10px 2px 0;
}

.mime > label > input {
  width: auto;
  vertical-align: bottom;
  padding-right: 5px;
}

.count {
  margin-top: 20px;
}

.list {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
}

.item {
  position: relative;
  margin-bottom: 20px;
  cursor: pointer;
  width: calc(20% - 8px);
  margin: 0 10px 10px 0;
}

.item:nth-child(5n) {
  margin-right: 0;
}

.item.ver {
  margin-bottom: 0;
  padding: 15px 0;
  cursor: auto;
  border-bottom: 1px dashed #ddd;
}

.item.ver:nth-child(2) {
  padding-top: 0;
}

.item > .cover {
  display: flex;
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  /* box-shadow: 0px 0px 3px #ccc; */
}

.item > .cover > .bgc {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 2;
  top: 0;
  left: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, #000000 100%);
  opacity: 0.8;
  transition: 0.25s; 
}

.item > .cover > .bgc:hover {
  opacity: 1;
}

.item > .cover.big {
  flex-shrink: 0;
  width: 100px;
  height: fit-content;
}

.item > .cover > a {
  width: 100%;
  display: block;
}

.item > .cover img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.item > .info {
  padding-left: 20px;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
}

.item > .info.big {
  display: block;
  padding: 0 20px 0 0;
  padding-right: 0;
} 

.item > .info > .t1 {
  font-size: 20px;
}

.item > .info > .t1 > .ot {
  display: none;
}

.item > .info > .t2 {
  font-size: 14px;
  margin-top: 5px;
}

.item > .info > .t2 > span {
  margin-right: 5px;
}

.item > .info > .t2 > div a {
  margin-right: 5px;
  word-break: break-all;
}

.item > .info > .t3,
.item > .info > .t4 {
  margin-top: 5px;
}

.item > .info > .t4 > div.evaluate {
  background-color: #212121;
  padding: 10px 20px;
  font-weight: bold;
  margin: 10px 0;
} 

.bt > .btdon > a {
  display: block;
  cursor: pointer;
  padding: 0 20px;
  padding: 10px 15px;
  text-decoration: none;
  text-align: center;
  border-radius: 4px;
  transition: 0.25s;
}

.bt > .btdon > a > img {
  width: 15px;
}

/* .bt > .btdon > a:hover {
  border: 1px solid #0d9c35;
  background-color: #0dc140;
} */

.bt > .btdon {
  margin-top: 20px;
}

.bt > .note {
  font-size: 12px;
  margin-top: 10px;
}

.item > .info > .t3 > .pers,
.item > .info > .t3 > .bytitle {
  color: #555;
}

.item > .info > .t5 {
  margin-top: 10px;
}

.item > .info.big > .t5 > span {
  margin-right: 5px;
}

.item > .info > .t5 > span > img {
  width: 16px;
  padding-bottom: 1px;
  margin-right: 3px;
  vertical-align: sub;
}

.item > .info.vera {
  position: absolute;
  bottom: 20px;
  z-index: 3;
  word-break: break-word;
  padding-left: 0;
}

.item > .info.vera > div {
  padding: 0 15px;
}

.item > .info.vera > div > span {
  text-shadow: 0 1px 5px #212121;
}

.item > .info.vera > div.t1 {
  font-weight: bold;
}

.item > .info.vera > .t1 {
  font-size: 16px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav {
  display: flex;
  margin-top: 40px;
  justify-content: center;
}

.nav a {
  display: block;
  padding: 10px 15px;
  border: 1px solid #ddd;
  text-decoration: none;
  border-radius: 4px;
  color: inherit;
  margin: 0 5px;
  font-size: 12px;
  transition: 0.25s;
}

.nav a.choice:hover {
  border: 2px solid #507192;
  box-shadow: 0 1px 5px #ddd;
}

.nav a.disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

/* .mes {
  margin-top: 20px;;
} */

.mes {
  margin-bottom: 10px;
}

.mes:nth-last-child(1) {
  margin-bottom: 0;
}

.mes > .title {
  font-size: 16px;
}

.mes > .content {
  font-size: 14px;
  margin-top: 8px;
}

.mes > .reply {
  font-size: 14px;
  margin-top: 8px;
  background-color: #3b3b3b;
  padding: 8px 12px;
  display: inline-block;
  word-break:break-all; 
}

.mes > .reply::before {
  content: '💬 ';
}

.mes > .date {
  font-size: 12px;
  color: #999;
  margin-top: 5px;
}

.onmes {
  margin-top: 20px;
  text-align: right;
}

.onmes button {
  margin-top: 10px;
  max-width: 120px;
  cursor: pointer;
}

@keyframes rightto {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

#loading {
  text-align: center;
  margin-top: 20px;
  transition: 0.25s;
  /* animation: rightto 0.35s forwards; */
}

#loading > img {
  width: 16px;
}

.pan {
  cursor: pointer;
  text-decoration: underline;
  /* color: #2457b3; */
  color: #4786c5;
}

.search {
  margin-top: 20px;
  text-align: center;
}

.search input {
  width: auto;
}

@keyframes show_formbox {
  0% {
    opacity: 0;
    bottom: -150px;
  }

  100% {
    opacity: 1;
    bottom: 0;
  }
}

#iframes,
.iframes {
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 3;
}

#iframes > iframe,
.iframes > iframe  {
  width: 1024px;
  height: 95%;
  position: fixed;
  left: calc(50% - 512px);
  bottom: 0;
  z-index: 4;
  border: none;
  border-radius: 4px 4px 0 0;
  /* box-shadow: 0 1px 5px #777; */
  animation: show_formbox 0.3s forwards;
}

#iframes > .bags,
.iframes > .bags {
  position: fixed;
  z-index: 3;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-color: rgba(0,0,0,0.5);
}

.bags.cotxt {
  background-color: #007acc;
}

.bags.cotxt::before {
  content: '点击关闭';
  color: #fff;
  width: 100%;
  text-align: center;
  position: absolute;
  padding-top: 10px;
  font-weight: bold;
}

.iframes[name="douban"] > .bags.cotxt::before {
  content: '点击此处关闭豆瓣窗口';
}

.iframes[name="imdb"] > .bags.cotxt::before {
  content: '点击此处IMDb豆瓣窗口';
}

.home {
  color: #999;
  margin-bottom: 10px;
}

.home > span:nth-child(1) > a {
  color: #4786c5;
  font-weight: bold;
  text-decoration: underline;
  cursor: pointer;
}

.video {
  background-color: #000;
  position: relative;
}

.video > .wan {
  width: 100%;
  height: 100%;
  position: absolute;
  display: flex;
  z-index: 2;
  justify-content: center;
  align-items: center;
  font-size: 34px;
  font-weight: bold;
  background-color: rgba(0,0,0,0.7);
  cursor: pointer;
}

.video > video {
  display: block;
  margin: auto;
  width: 100%;
}

.icode {
  padding: 10px 0;
}

.icode > img {
  width: 160px;
}

.wanc {
  color: #007acc;
  cursor: pointer;
  font-weight: bold;
  padding: 0 3px;
}

.sename {
  margin-top: 20px;
}

.sename > span {
  display: inline-block;
  padding: 5px 10px;
  background-color: #3b3b3b;
  margin: 0 5px 10px 0;
  cursor: pointer;
}

.sename > span.check {
  background-color: #007acc;
  color: #fff;
  cursor: not-allowed;
}

.sename > span:nth-child(1) {
  margin-left: 0;
}

.item.sign {
  margin-top: 15px;
  display: flex;
  width: 100%;
  cursor: auto;
}

.item.sign > .cover {
  width: 188px;
  height: 285px;
  position: relative;
}

.vnum {
  /* padding: 10px 0; */
  padding-bottom: 10px;
}

.vnum > div {
  display: inline-block;
  padding: 10px 15px;
  background-color: #212121;
  cursor: pointer;
  margin: 0 5px 10px 0;
}

.vnum > div.check {
  background-color: #007acc;
  cursor: auto;
}

#btox {
  /* margin-top: 10px; */
}

#btox > .stem {
  padding: 10px 20px;
  background-color: #3e3e3e;
  display: inline-block;
  margin-top: 10px;
  cursor: pointer;
  transition: 0.35s;
}

#btox > .ma {
  padding: 10px 20px;
  background-color: #212121;
  display: inline-block;
  margin: 10px 10px 0 0;
  cursor: pointer;
  word-break: break-all;
  transition: 0.35s;
}

#btox > .stem:hover,
#btox > .ma:hover {
  background-color: #0dc140;
}

.item > .info > .t6 {
  margin: 15px 0 5px;
  font-size: 12px;
}

.item > .info > .t6 > a {
  padding: 8px 16px; 
  font-weight: bold;
  display: inline-block;
  cursor: pointer;
  text-decoration: none;
}

.item > .info > .t6 > a.douban {
  background-color: #008a38;
  color: #fff;
  margin-right: 5px;
}

.item > .info > .t6 > a.imdb {
  background-color: #fac539;
  color: #222;
}

#copy_text {
  margin-top: 10px;
}

.rname {
  margin-top: 20px;
  font-weight: bold;
}

.random {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
}

.random > .item {
  position: relative;
  cursor: pointer;
  width: calc(16% - 2px);
  margin: 0 10px 10px 0;
}

.random > .item:nth-child(6n) {
  margin-right: 0;
}

.random > .item > .info.vera > div.t2 > span:nth-last-child(1),
.random > .item > .info.vera > div.t3 > span:nth-last-child(1) {
  margin-right: 0;
}

#ads9y {
  background-color: #3b3b3b;
}

#ads9y > div:nth-child(1) > video {
  width: 100%;
  display: block;
}

#ads9y > div:nth-child(2) > a {
  display: block;
  text-align: center;
  padding: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  background-color: #007acc;
  font-weight: bold;
}

a.item {
  color: #fff;
}

@keyframes quake {
  3%,
  6%,
  9%,
  12%,
  15%,
  18%,
  21%,
  24%,
  27%,
  30% {
    transform: rotate(8deg);
  }
  1%,
  4%,
  7%,
  10%,
  13%,
  16%,
  19%,
  22%,
  25%,
  28% {
    transform: rotate(-8deg);
  }
}

.tads {
  padding-top: 10px;
  margin-top: 15px;
  border-top: 1px solid #3b3b3b;
}

.tads > .icon {
  display: inline-block;
  animation: quake 3s ease-in-out infinite;
}

.tads > span {
  padding-right: 5px;
}

.tads a {
  color: #4786c5;
}

@keyframes jumps {
  0% {
      transform: translate(0);
  }

  10% {
      transform: translateY(8px) scaleX(1.2) scaleY(0.8);
  }

  30% {
      transform: translateY(-5px) scaleX(1) scaleY(1) rotate(5deg);
  }

  50% {
      transform: translateY(3px) scale(1) rotate(0);
  }

  55% {
      transform: translateY(0) scaleX(1.1) scaleY(0.9) rotate(0);
  }

  70% {
      transform: translateY(-5px) scaleX(1) scaleY(1) rotate(-2deg);
  }

  80% {
      transform: translateY(0) scaleX(1) scaleY(1) rotate(0);
  }

  85% {
      transform: translateY(0) scaleX(1.05) scaleY(0.95) rotate(0);
  }

  to {
      transform: translateY(0) scaleX(1) scaleY(1);
  }
}

.vcode {
  margin-top: 10px;
}

.pcode {
  margin-bottom: 10px;
}

.vcode > img,
.pcode > img {
  max-width: 150px;
  display: block;
}

.vcode > video,
.pcode > video {
  display: block;
  background-color: #000;
  width: 100%;
  max-height: 200px;
}

.bw {
  opacity: 0.5;
  filter: grayscale(1);
}

@media screen and (max-width:640px) {
  .item {
    position: relative;
    margin-bottom: 20px;
    cursor: pointer;
    width: calc(50% - 5px);
    margin: 0 10px 10px 0;
  }

  .item:nth-child(5n) {
    margin-right: 10px;
  }

  .item:nth-child(2n) {
    margin-right: 0;
  }

  .item > .info > .t1 {
    font-size: 20px;
  }

  .item > .info > .t2,
  .item > .info > .t3,
  .item > .info > .t4,
  .vnum > div,
  input, textarea, button,
  .mes > .content,
  .mes > .reply,
  .search > form > div,
  .head > .desc,
  .search form input,
  .tads {
    font-size: 16px;
  }

  .search form > div:nth-child(1) > div {
    width: 100%;
  }

  .mes > .title {
    font-size: 18px;
  }

  .mes > .date,
  .count,
  .bt > .note,
  .item > .info > .t6 {
    font-size: 14px;
  }

  .bt > .btdon,
  #btox {
    font-size: 16px;
  }

  #iframes > iframe {
    width: 100%;
    left: 0;
    height: 90%;
  }

  .icode > img {
    width: 100%;
  }

  .item.sign {
    display: block;
  }

  .item.sign > .cover {
    width: 100%;
    height: auto;
  }

  .item > .info {
    padding-left: 0;
    margin-top: 10px;
  }

  .random > .item {
    position: relative;
    cursor: pointer;
    width: calc(32.24% - 3px);
    margin: 0 10px 10px 0;
  }

  .random > .item:nth-child(6n) {
    margin-right: 10px;
  }

  .random > .item:nth-child(3n) {
    margin-right: 0;
  }

  .random > .item > .info.vera > div.t1 {
    font-size: 14px;
  }
  
  .random > .item > .info.vera > div.t2,
  .random > .item > .info.vera > div.t3 {
    font-size: 12px;
  }

  #ads9y {
    padding: 10px;
    margin: 15px 0;
  }

  #ads9y > div:nth-child(2) > a {
    font-size: 16px;
  }
}

@media screen and (max-width:1024px) {
  #iframes > iframe {
    width: 100%;
    left: 0;
    height: 90%;
  } 
}