* {
  box-sizing: border-box;
}

*,
*:before,
*:after {
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  /* FIXME: At the risk of sounding like Carly Rae Jepsen, this is crazy but I think this was working until yesterday after I updated my iOS to 10.3.3:*/
  /* Add cursor: pointer to fix */
  ;
}

body {
  margin: 0;
  padding: 0;
  background: #f2f4f8;
  font-size: 26px;
  font-family: '-webkit-body';
}

.bridge-category {
  margin: 10px 0;
  padding: 10px;
  background: #169fe6;
  color: #fff;
  font-weight: 500;
}

.left {
  text-align: left;
}

.bridge-methods {
  margin: 0 0 20px;
  padding: 10px;
  border: 1PX solid #ccc;
  background: #fff;
  ul {
    margin: 0;
    padding: 0;
    &:last-child {
      border-bottom: 1PX solid silver;
    }
  }
  li {
    padding: 15px;
    border: 1PX solid silver;
    border-bottom: 0;
    list-style: none;
    &:active {
      background: #eee;
    }
  }
}

.text-area {
  display: block;
  overflow-y: auto;
  margin: 5px 0;
  padding: 10px;
  height: 400px;
  width: 100%;
  border: 1PX solid #888;
  word-wrap: break-word;
  background-size: cover;
  >div {
    margin: 5px 0;
    border-bottom: 1PX solid #ccc;
  }
}

h2 {
  margin: 20px 0;
  padding: 20px;
  background: #000;
  color: #fff;
  font-size: 32px;
}

h4 {
  margin: 20px 0;
  color: red;
  font-weight: 500;
  font-size: 24px;
}

h3 {
  padding: 20px;
  background: #fff;
  font-size: 28px;
}

.layout {
  overflow: hidden;
  padding: 0 20px;
}

.plugin-page {
  padding: 0 20px;
  line-height: 1.5;
  .short-desc {
    padding: 10px 20px;
    background: #169fe6;
    color: #fff;
    font-size: 28px;
  }
  .full-desc {
    margin: 20px 0;
    padding: 20px;
    background: #fff;
    color: #333;
    white-space: pre-wrap;
    font-size: 24px;
    p {
      margin: 0;
      margin-bottom: 20px;
    }
  }
  .play-body-item {
    overflow: hidden;
    margin-bottom: 20px;
    width: 100%;
  }
  button {
    padding: 20px;
    width: 100%;
    outline: none;
    border: 1PX solid #c7c7c7;
    border-radius: 0;
    background: #fff;
    font-size: 24px;
    cursor: pointer;
    &.exec {
      float: left;
      width: 75%;
      text-align: left;
    }
    &.view {
      float: right;
      width: 25%;
      border-left: 0;
    }
    &:active {
      background: #eee;
    }
  }
}

.copy-wrap {
  padding: 20px;
  padding-bottom: 0;
  border-top: 1PX solid #f0f0f0;
}

.copy {
  margin: 0 auto;
  width: 200px;
  height: 64px;
  border-radius: 64px;
  background: #169fe6;
  color: #fff;
  text-align: center;
  font-weight: bold;
  font-size: 26px;
  line-height: 62px;
}

.scroll-content {
  position: relative;
  padding-bottom: 30px; // min-height: 400px;
  max-height: 800px;
  code {
    // white-space: pre-wrap;
    display: block;
  }
}

.content-fill {
  margin-top: 20px;
  padding: 10px;
  background: #fff;
}

.body {
  display: block;
  overflow: hidden;
}

.ps__rail-y {
  z-index: 1;
}

.ps__rail-x,
.ps__rail-y {
  display: none !important;
}

pre {
  font-size: 28px !important;
  margin: 0;
}