html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  color: #333;
  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: #fff;
  overscroll-behavior-y: none;
  -webkit-overflow-scrolling: touch;
}

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

.body {
  padding: 20px;
}

.head {
  padding-top: 20px;
}

.head > .logo {
  font-size: 24px;
}

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

.head > .desc {
  margin: 8px 0;
}

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

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

.head > .you {
  margin: 5px 0;
}

.head > .you > a {
  color: purple;
}

.search {
  margin-top: 20px;
}

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 #ddd;
  width: 100%;
  color: #333;
  background-color: #fff;
  transition: 0.25s;
}

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

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 {
  display: flex;
  margin-top: 20px;
  cursor: pointer;
}

.item > .cover {
  display: flex;
  flex-shrink: 0;
  width: 75px;
  height: 105px;
  box-shadow: 0px 0px 3px #ccc;
}

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

.item > .cover > a {
  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.big > .info {
  display: block;
  padding: 20px;
  padding-right: 0;
} 

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

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

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

/* .item.big > .info > .t2 > .author {
  color: #007acc;
  cursor: pointer;
  text-decoration: underline;
} */

.item > .info > .t3 {
  font-size: 12px;
  color: #999;
  margin-top: 5px;
}

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

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

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

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

.item > .info > .t4 > .btdon > a:hover {
  box-shadow: 0 1px 5px #ddd;
}

.item > .info > .t4 > .btdon {
  margin-top: 20px;
}

.item > .info > .t4 > .note {
  font-size: 12px;
}

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

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

.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: #eee;
  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;
}

@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: 720px;
  height: 85%;
  position: fixed;
  left: calc(50% - 360px);
  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);
}

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

.icode {
  padding: 10px;
}

.icode > img {
  width: 160px;
}

.pan {
  margin-top: 20px;
}

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

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

.pan > .btdon {
  /* margin-top: 20px; */
}

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

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

#panox > .stem {
  padding: 10px 20px;
  background-color: #eee;
  display: inline-block;
  margin-top: 10px;
}

#panox > .ma {
  padding: 10px 20px;
  color: #fff;
  background-color: #007acc;
  display: inline-block;
  margin: 10px 10px 0 0;
  text-decoration: none;
  cursor: pointer;
  word-break: break-all;
  transition: 0.35s;
}

#panox > .ma:hover {
  background-color: #0dc140;
}

#copy_text {
  margin-top: 10px;
}

.sename {
  margin-top: 20px;
}

.sename > span {
  display: inline-block;
  padding: 5px 10px;
  background-color: #eee;
  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;
}

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

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

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

.random > .item > .cover { 
  display: flex;
  flex-shrink: 0;
  width: 100%;
  height: 100%;
}

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

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

.random > .item > .info.vera > div {
  padding: 0 15px;
  color: #fff;
}

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

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

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

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

#ads9y {
  background-color: #e9e9e9;
}

#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: #333;
  text-decoration: none;
}

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

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

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

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

.twan {
  padding: 10px 15px;
  background-color: #e15e5e;
  font-weight: bold;
  border-radius: 3px;
  color: #fff;
}

@media screen and (max-width:640px) {
  .body {
    /* padding-top: 0; */
  }

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

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

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

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

  .item > .info > .t3,
  .item > .info > .t4 > .note,
  .mes > .date,
  .pan > .note,
  .count {
    font-size: 14px;
  }

  .pan > .btdon,
  #panox {
    font-size: 16px;
  }

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

  .icode > img {
    width: 100%;
  }

  .item.big {
    display: block;
  }

  .item.big > .cover {
    margin: auto;
  }

  .item.big > .info {
    padding-left: 0;
  }

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

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

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

  .random > .item:nth-child(19),
  .random > .item:nth-child(20) {
    display: none;
  }

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

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

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

