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: 860px;
  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;
}

.item {
  margin-top: 20px;
  display: flex;
  width: 100%;
  cursor: auto;
  align-items: center;
  cursor: pointer;
}

.item > .cover {
  position: relative;
}

.item > .cover img {
  max-width: 110px;
  max-height: 163px;
  display: block;
  object-fit: cover;
  box-shadow: 0px 0px 3px #111;
}

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

.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;
} 

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

.item > .info > .t3 > .pers {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  position: relative;
  word-break: break-word;
}

#loading {
  text-align: center;
  margin-top: 20px;
  transition: 0.25s;
}

#loading > img {
  width: 16px;
}

.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 {
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 3;
}

#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 {
  position: fixed;
  z-index: 3;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-color: rgba(0,0,0,0.5);
}

.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;
}

#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;
}

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

.item > .info > .t2 > .tag {
  color: #555;
}

.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 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);
  }
}

@media screen and (max-width:640px) {
  .item > .info > .t1 {
    font-size: 20px;
  }

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

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

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

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

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

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

  .item > .info > .t3 {
    display: none;
  }
  
  #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%;
  } 
}