@charset "UTF-8";
body {
  margin: 0;
  padding: 0;
  width: 100%;
  color: #222128;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  background-color: #222128;
  overflow-x: hidden;
  word-break: break-word;
}
@media screen and (max-width: 576px) {
  body {
    font-size: 14px;
  }
}

.wrapper {
  padding: constant(44px) constant(15px) constant(44px) constant(15px);
}

* {
  box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5 {
  margin-top: 0;
  font-weight: bold;
  margin-bottom: 20px;
}

h1 {
  font-size: 32px;
  line-height: 1.4;
}
@media screen and (max-width: 576px) {
  h1 {
    font-size: 24px;
  }
}
h1.title {
  color: #2595ec;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

h2 {
  font-size: 28px;
  line-height: 1.4;
}
@media screen and (max-width: 576px) {
  h2 {
    font-size: 24px;
  }
}

h3 {
  font-size: 24px;
  line-height: 1.4;
}
@media screen and (max-width: 576px) {
  h3 {
    font-size: 20px;
  }
}

h4 {
  font-size: 20px;
  line-height: 1.4;
}
@media screen and (max-width: 576px) {
  h4 {
    font-size: 18px;
  }
}

h5 {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 10px;
}
@media screen and (max-width: 576px) {
  h5 {
    font-size: 16px;
  }
}

p {
  font-size: 16px;
  line-height: 1.5;
  margin-top: 0;
  margin-bottom: 20px;
}
@media screen and (max-width: 576px) {
  p {
    font-size: 14px;
  }
}

a {
  color: #fff;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

ul,
ol {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}
ul li,
ol li {
  margin: 0 0 10px;
  padding: 0;
}
ul li ul,
ul li ol,
ol li ul,
ol li ol {
  margin-top: 10px;
}

ul.list {
  margin-left: 25px;
  list-style: disc;
}

ol.list {
  margin-left: 25px;
  list-style: decimal;
}

input,
.input {
  display: block;
  width: 100%;
  padding: 16px;
  margin: 16px 0;
  border: 1px solid #222128;
  border-radius: 8px;
}
input:focus,
.input:focus {
  outline: none;
}
input.disabled,
input[disabled],
input[disabled="disabled"],
.input.disabled,
.input[disabled],
.input[disabled="disabled"] {
  background-color: rgba(0, 0, 0, 0.1);
  color: rgba(0, 0, 0, 0.6);
  cursor: not-allowed;
}

button,
.btn {
  margin: 0 0 1em;
  display: inline-block;
  padding: 1em;
  font-weight: bold;
  border: 0;
  border-radius: 8px;
  background-color: #fff;
  cursor: pointer;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  outline: none;
}
button:focus,
button:hover,
.btn:focus,
.btn:hover {
  outline: none;
  text-decoration: none;
}
button.disabled,
button[disabled="disabled"],
.btn.disabled,
.btn[disabled="disabled"] {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-default {
  background-color: #eee;
  color: #2f2e36 !important;
}
.btn-default:hover {
  background-color: #ddd;
}

.btn-primary {
  background-color: #2595ec;
  color: #fff !important;
}
.btn-primary:hover {
  background-color: #127bcc;
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

.apple-pay-button {
  -webkit-appearance: -apple-pay-button;
  position: relative;
  z-index: 1;
  width: 100%;
  height: 32px;
  background-image: -webkit-named-image(apple-pay-logo-black);
  background-size: 100% calc(60% + 2px);
  background-repeat: no-repeat;
  background-position: 50% 50%;
  transition: background-color 0.15s;
}

.apple-pay-button.buy {
  /* plain, buy, set-up, donate */
  -apple-pay-button-type: buy;
}

.apple-pay-button.set-up {
  -apple-pay-button-type: set-up;
}

.btn-applepay {
  position: relative;
  width: 100%;
  height: 48px;
  padding: 8px;
  margin: 0;
  background-color: black;
  overflow: hidden;
}

.loader,
.loader:after {
  border-radius: 50%;
  width: 24px;
  height: 24px;
}

.loader {
  position: absolute;
  z-index: 0;
  top: 12px;
  left: 50%;
  margin-left: -12px;
  border-top: 4px solid rgba(255, 255, 255, 0.2);
  border-right: 4px solid rgba(255, 255, 255, 0.2);
  border-bottom: 4px solid rgba(255, 255, 255, 0.2);
  border-left: 4px solid #ffffff;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation: load8 1.1s infinite linear;
  animation: load8 1.1s infinite linear;
}

@-webkit-keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
.hide-text {
  white-space: nowrap;
  overflow: hidden;
  text-indent: 200%;
}

.blue {
  color: #2595ec;
}

.divider {
  margin: 20px 0;
  width: 100%;
  height: 0px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.hide {
  display: none !important;
}

.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

.container {
  position: relative;
  width: 96%;
  max-width: 1140px;
  margin: 0 auto;
}
@media screen and (max-width: 992px) {
  .container {
    width: 100%;
    padding: 0 30px;
  }
}
@media screen and (max-width: 992px) {
  .container {
    padding: 0 20px;
  }
}

.header {
  position: relative;
  width: 100%;
  height: 80px;
  margin-bottom: 20px;
}
@media screen and (max-width: 768px) {
  .header {
    margin-bottom: 0;
  }
}
@media screen and (max-width: 640px) {
  .header {
    display: flex;
    align-items: center;
  }
}
.header .logo {
  display: inline-block;
  margin-top: 22px;
  width: 200px;
  height: 36px;
  background: url(https://goodnight.io/images/goodnight-logo.png);
  background-image: url(https://goodnight.io/images/goodnight-logo.svg);
  background-size: cover;
  background-repeat: no-repeat;
}
@media screen and (max-width: 640px) {
  .header .logo {
    margin: 0 auto;
    width: 134px;
    height: 24px;
  }
}
@media screen and (max-width: 640px) {
  .header.payment-header .logo {
    margin: 22px 0;
  }
}
.header .icon {
  width: 30px;
  height: 30px;
}
.header .btn-icon {
  width: 30px;
  height: 30px;
  display: none;
}
@media screen and (max-width: 640px) {
  .header .btn-icon {
    display: block;
  }
}
.header .btn-icon:hover {
  opacity: 0.8s;
}
.header .btn-icon .icon {
  width: 30px;
  height: 30px;
  fill: #fff;
}
.header .btn-menu {
  position: absolute;
  left: 0;
}
.header > .btn-deposit {
  display: none;
}
@media screen and (max-width: 640px) {
  .header > .btn-deposit {
    display: block;
    position: absolute;
    right: 0;
  }
}
@media screen and (max-width: 640px) {
  .header .btn-fb {
    display: none;
  }
}
.header .btn-ig img {
  width: 100%;
}
.header .links {
  float: right;
  margin-top: 22px;
  display: flex;
  align-items: center;
}
@media screen and (max-width: 640px) {
  .header .links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    margin: 0;
    display: none;
    z-index: 999;
  }
}
.header .links.show {
  display: block;
}
.header .links.show:after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: -1;
}
.header .links li {
  margin-left: 1em;
  margin-bottom: 0;
}
@media screen and (max-width: 640px) {
  .header .links li {
    width: 100%;
    margin-left: 0;
    background-color: #222128;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
}
.header .links li.close {
  display: none;
  padding: 25px 20px;
  height: 80px;
  text-align: left;
}
@media screen and (max-width: 640px) {
  .header .links li.close {
    display: block;
  }
}
.header .links li.close .btn-close {
  display: inline-block;
  padding: 0;
  width: 30px;
  height: 30px;
  font-size: 30px;
  line-height: 1;
}
.header .links li.close .btn-close:hover {
  background-color: transparent;
}
.header .links li.fanpage .btn-fb {
  display: block;
}
@media screen and (max-width: 640px) {
  .header .links li.fanpage {
    display: none;
  }
}
@media screen and (max-width: 640px) {
  .header .links li.deposit {
    display: none;
  }
}
.header .links li.deposit .btn-deposit {
  margin-bottom: 0;
}
@media screen and (max-width: 640px) {
  .header .links li.deposit .btn-deposit {
    margin: 0;
    padding: 10px 0;
  }
}
@media screen and (max-width: 640px) {
  .header .links li a {
    display: block;
    width: 100%;
    padding: 20px 10px;
    text-align: center;
  }
  .header .links li a:hover {
    text-decoration: none;
    background-color: #3a3844;
  }
}
.header .btn-deposit,
.header .btn-login {
  border: 1px solid #fff;
  padding: 0.5em 1em;
  margin-bottom: 0;
  background-color: transparent;
}
.header .btn-deposit:hover,
.header .btn-login:hover {
  border-color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}
.header .btn-login {
  position: absolute;
  right: 0;
  top: 24px;
  margin: 0;
}
.header .account {
  position: absolute;
  right: 0;
  top: 29px;
  width: 50%;
  max-width: 240px;
  padding-right: 48px;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: right;
}
@media screen and (max-width: 576px) {
  .header .account {
    max-width: 180px;
  }
}
@media screen and (max-width: 320px) {
  .header .account {
    max-width: 120px;
  }
}
.header .account a {
  position: absolute;
  right: 0;
  color: #2595ec;
}

.main {
  width: 100%;
  margin: 0 auto 40px;
  padding: 50px 5%;
  background-color: #fff;
  border-radius: 10px;
}
@media screen and (max-width: 576px) {
  .main {
    padding: 30px 5% 150px;
    margin-bottom: 20px;
  }
}

.cat {
  position: absolute;
  bottom: -30px;
  right: 30px;
  width: 200px;
  height: 172px;
}
@media screen and (max-width: 992px) {
  .cat {
    bottom: -50px;
    transform: scale(0.8);
  }
}
@media screen and (max-width: 576px) {
  .cat {
    display: none;
  }
}
.cat img {
  display: block;
  width: 100%;
}

.heart {
  position: absolute;
  background: url(https://goodnight.io/images/heart.png);
  background-image: url(https://goodnight.io/images/heart.svg);
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  -moz-animation-name: flyup;
  -webkit-animation-name: flyup;
  animation-name: flyup;
  -moz-animation-duration: 2s;
  -webkit-animation-duration: 2s;
  animation-duration: 2s;
  -moz-animation-iteration-count: infinite;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -moz-animation-timing-function: ease-in;
  -webkit-animation-timing-function: ease-in;
  animation-timing-function: ease-in;
}
@keyframes flyup {
  0% {
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  75% {
    opacity: 1;
  }
  100% {
    margin-top: -80px;
  }
}
.heart.ht1 {
  width: 72px;
  height: 62px;
  top: 30px;
  left: -55px;
}
.heart.ht2 {
  width: 36px;
  height: 31px;
  top: -20px;
  left: 120px;
  -moz-animation-duration: 2.5s;
  -webkit-animation-duration: 2.5s;
  animation-duration: 2.5s;
  -moz-animation-delay: 0.5s;
  -webkit-animation-delay: 0.5s;
  animation-delay: 0.5s;
}
.heart.ht3 {
  width: 55px;
  height: 47px;
  top: 40px;
  right: -50px;
  -moz-animation-duration: 3.5s;
  -webkit-animation-duration: 3.5s;
  animation-duration: 3.5s;
  -moz-animation-delay: 1s;
  -webkit-animation-delay: 1s;
  animation-delay: 1s;
}

.footer {
  padding-bottom: 30px;
  font-size: 14px;
  color: #fff;
}
@media screen and (max-width: 576px) {
  .footer {
    text-align: center;
    font-size: 12px;
  }
}
.footer .copyright {
  font-size: 14px;
  margin-bottom: 0;
}
@media screen and (max-width: 576px) {
  .footer .copyright {
    font-size: 12px;
  }
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: row;
  flex-direction: row;
}
@media screen and (max-width: 576px) {
  .footer-links {
    -webkit-justify-content: center;
    justify-content: center;
  }
}
.footer-links li {
  position: relative;
  margin-right: 30px;
}
.footer-links li:last-child {
  margin-right: 0;
}

.home {
  padding-bottom: 80px 5% 70px;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: row;
  flex-direction: row;
  -webkit-justify-content: space-evenly;
  justify-content: space-evenly;
  -webkit-align-items: center;
  align-items: center;
  color: #fff;
  background-color: #2595ec;
}
@media screen and (max-width: 992px) {
  .home {
    -webkit-flex-direction: column-reverse;
    flex-direction: column-reverse;
  }
}
@media screen and (max-width: 576px) {
  .home {
    padding: 30px 5%;
  }
}

.preview {
  width: 40%;
  max-width: 370px;
  margin-right: 5%;
}
@media screen and (max-width: 992px) {
  .preview {
    text-align: center;
    width: 80%;
    margin-right: 0;
  }
}
.preview img {
  width: 100%;
  height: auto;
}

.summary {
  width: 55%;
}
@media screen and (max-width: 992px) {
  .summary {
    width: 100%;
    max-width: 600px;
  }
}
.summary h1 {
  font-size: 40px;
  margin-bottom: 20px;
}
@media screen and (max-width: 992px) {
  .summary h1 {
    text-align: center;
  }
}
@media screen and (max-width: 576px) {
  .summary h1 {
    font-size: 28px;
  }
}
@media screen and (max-width: 480px) {
  .summary h1 {
    font-size: 24px;
  }
}

.download {
  margin-top: 50px;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: row;
  flex-direction: row;
}
@media screen and (max-width: 992px) {
  .download {
    -webkit-justify-content: center;
    justify-content: center;
    margin-bottom: 80px;
  }
}
@media screen and (max-width: 576px) {
  .download {
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-align-items: center;
    align-items: center;
    margin-top: 30px;
    margin-bottom: 60px;
  }
}
.download .btn {
  display: inline-block;
  width: 200px;
  height: 60px;
  margin: 0;
  background-color: black;
  background-image: url(https://goodnight.io/images/btn-store.png);
  background-position: 0 0;
  background-size: 200%;
  background-repeat: no-repeat;
}
.download .btn-appstore {
  background-position: 0 0;
  margin-right: 30px;
}
.download .btn-appstore:hover {
  background-position: 0 -60px;
}
@media screen and (max-width: 576px) {
  .download .btn-appstore {
    margin-right: 0;
    margin-bottom: 20px;
  }
}
.download .btn-googleplay {
  background-position: -200px 0;
}
.download .btn-googleplay:hover {
  background-position: -200px -60px;
}
.download .btn-apk {
  padding: 6px;
  background-image: none;
  background-color: #000;
  color: #fff;
  text-align: center;
}
.download .btn-apk:hover {
  background-color: #444;
  text-decoration: none;
}
@media screen and (max-width: 576px) {
  .download .btn-apk {
    padding: 10px;
  }
}

@media screen and (max-width: 576px) {
  .page {
    padding-bottom: 30px;
  }
}
.page a {
  color: #2595ec;
}
.page .section {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 20px;
  margin-bottom: 30px;
}
.page ~ .cat {
  display: none;
}

.faq-list,
.friendship-safety-list {
  position: relative;
}
.faq-list:after,
.friendship-safety-list:after {
  content: "";
  position: absolute;
  bottom: -25px;
  left: 0;
  width: 100%;
  height: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.faq-list li {
  margin-bottom: 30px;
  padding-left: 25px;
}
.faq-list li:last-child,
.friendship-safety-list li:last-child {
  margin-bottom: 0;
}
.faq-list li .question,
.friendship-safety-list li .question {
  position: relative;
  margin-bottom: 10px;
  font-size: 16px;
}
.faq-list li .question:before,
.friendship-safety-list li .question:before {
  content: "Q:";
  position: absolute;
  top: 0;
  left: -25px;
  color: #2595ec;
  font-weight: bold;
}
.faq-list li .answer,
.friendship-safety-list li .answer {
  padding: 10px 15px;
  background-color: #ecf0f7;
  border-radius: 5px;
}
@media screen and (max-width: 576px) {
  .faq-list li .answer {
    margin-left: -25px;
  }
}
.faq-list li .answer p:last-child,
.friendship-safety-list .answer p:last-child {
  margin-bottom: 0;
}
.faq-list li .answer h5,
.friendship-safety-list .answer h5 {
  margin-bottom: 0;
}

.friendship-safety-list li {
  margin-bottom: 30px;
}
.friendship-safety-content .section:last-child {
  border: 0;
}

.terms-content h5 {
  margin-top: 30px;
}
.terms-content ul > li {
  margin-left: 25px;
  list-style: disc;
}

.forum {
  position: relative;
  padding: 0;
  background: none;
  color: #fff;
}
@media screen and (max-width: 992px) {
  .forum {
    max-width: 640px;
  }
}
.forum ~ .cat {
  display: none;
}
.forum .title {
  margin-bottom: 0;
  font-size: 28px;
}
@media screen and (max-width: 640px) {
  .forum .title {
    font-size: 24px;
  }
}
@media screen and (max-width: 640px) {
  .forum .title {
    padding-top: 4px;
    font-size: 20px;
  }
}

.top {
  position: relative;
  width: 70%;
}
@media screen and (max-width: 992px) {
  .top {
    width: 100%;
  }
}
.top .back {
  display: inline-block;
  margin-bottom: 16px;
  font-weight: bold;
}
.top .back:hover {
  color: #2595ec;
  text-decoration: none;
}

.left {
  float: left;
  width: 70%;
}
@media screen and (max-width: 992px) {
  .left {
    width: 100%;
  }
}
@media screen and (max-width: 640px) {
  .left {
    width: calc(100% + 40px);
    margin-top: 0;
    margin-left: -20px;
  }
}

.right {
  float: left;
  width: 30%;
  padding-left: 2em;
}
@media screen and (max-width: 992px) {
  .right {
    width: 100%;
    padding-left: 0;
    margin-top: 24px;
  }
}
@media screen and (max-width: 640px) {
  .right {
    width: calc(100% + 40px);
    margin-left: -20px;
  }
}

.single-post .right {
  top: 0;
}
.single-post .post:hover {
  background-color: #2f2e36;
  cursor: default;
}
.single-post .post-article {
  max-height: none;
  display: block;
  padding-right: 0;
  font-size: 18px;
}
@media screen and (max-width: 640px) {
  .single-post .post-article {
    font-size: 16px;
  }
}
.single-post .post-photo {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 320px;
  height: auto;
  margin-bottom: 24px;
}
.single-post .post-photo:after {
  content: "";
  display: block;
  width: 1px;
  margin-left: -1px;
  padding-top: 100%;
}
.single-post .post-photo a {
  width: 100%;
  height: auto;
  position: absolute;
}
.single-post .post-photo a:hover {
  opacity: 0.8;
}
.single-post.can-not-access .post {
  text-align: center;
}
@media screen and (max-width: 640px) {
  .single-post.can-not-access .post {
    width: calc(100% + 40px);
    margin-left: -20px;
  }
}
.single-post.can-not-access .post h1 {
  font-size: 24px;
}
@media screen and (max-width: 640px) {
  .single-post.can-not-access .post h1 {
    font-size: 20px;
  }
}
.single-post.can-not-access .post a {
  color: #2595ec;
}
.single-post.can-not-access .download {
  display: inline-block;
  margin-top: 0;
}
@media screen and (max-width: 992px) {
  .single-post.can-not-access .download {
    margin-bottom: 0;
    height: 48px;
  }
}
.single-post.can-not-access .download .btn {
  margin-right: 16px;
}
@media screen and (max-width: 992px) {
  .single-post.can-not-access .download .btn {
    width: 160px;
    height: 48px;
  }
}
@media screen and (max-width: 576px) {
  .single-post.can-not-access .download .btn {
    display: block;
  }
}
@media screen and (max-width: 992px) {
  .single-post.can-not-access .download .btn-appstore:hover {
    background-position: 0 -48px;
  }
}
@media screen and (max-width: 576px) {
  .single-post.can-not-access .download .btn-appstore {
    margin-bottom: 1em;
  }
}
@media screen and (max-width: 992px) {
  .single-post.can-not-access .download .btn-googleplay {
    background-position: -160px 0px;
  }
  .single-post.can-not-access .download .btn-googleplay:hover {
    background-position: -160px -48px;
  }
}

.post-filter {
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
}
.post-filter:after {
  position: absolute;
  content: "";
  top: 16px;
  right: 12px;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-color: rgba(255, 255, 255, 0.6) transparent transparent transparent;
}
@media screen and (max-width: 640px) {
  .post-filter:after {
    top: 12px;
  }
}
.post-filter select {
  position: relative;
  width: 120px;
  padding: 12px 16px;
  background-color: #2f2e36;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  color: #fff;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: none;
}
.post-filter select:hover {
  background-color: #464550;
  cursor: pointer;
}
@media screen and (max-width: 640px) {
  .post-filter select {
    padding: 8px 12px;
  }
}

.post-list {
  width: 100%;
}
@media screen and (max-width: 640px) {
  .post-list {
    border-radius: 0;
  }
}

.post {
  position: relative;
  padding: 24px;
  margin-bottom: 16px;
  background-color: #2f2e36;
  border-radius: 8px;
  overflow: hidden;
}
@media screen and (max-width: 640px) {
  .post {
    border-radius: 0;
  }
}
@media screen and (max-width: 576px) {
  .post {
    padding: 16px;
  }
}
.post:last-child {
  margin-bottom: 0;
}
.post:hover {
  background-color: #36353e;
}

.post-link {
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 0;
}

.post-header {
  position: relative;
  margin-bottom: 24px;
  z-index: 1;
}
@media screen and (max-width: 576px) {
  .post-header {
    margin-bottom: 16px;
  }
}
.post-header .avatar {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  background-color: #000;
  background-image: url(https://goodnight.io/images/avatar_default.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 32px;
  overflow: hidden;
}
.post-header .avatar:hover {
  opacity: 0.8;
  cursor: pointer;
}
.post-header .avatar img {
  width: 100%;
}
.post-header .user-info {
  position: absolute;
  top: 0px;
  left: 64px;
  right: 24px;
}
.post-header .username {
  display: block;
  margin: 0 0 2px;
  font-size: 1em;
  color: #fff;
  font-weight: bold;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media screen and (max-width: 576px) {
  .post-header .username {
    margin-bottom: 4px;
  }
}
.post-header .username a:hover {
  color: #2595ec;
  text-decoration: none;
  cursor: pointer;
}
.post-header .time {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}
@media screen and (max-width: 640px) {
  .post-header .time {
    font-size: 12px;
  }
}
.post-header .label {
  display: inline-block;
  padding: 4px;
  margin-right: 0.5em;
  border-radius: 4px;
  background: #464550;
  font-size: 12px;
  line-height: 12px;
  color: #fff;
}
.post-header .label.blue {
  background: #2595ec;
}
.post-header .label.green {
  background: #14936c;
}

.post-content {
  position: relative;
  margin-bottom: 24px;
  color: #fff;
}
@media screen and (max-width: 576px) {
  .post-content {
    margin-bottom: 16px;
  }
}
.post-content.has-photo {
  min-height: 72px;
}
.post-content.has-photo .post-article {
  padding-right: 96px;
}

.post-article {
  max-height: 72px;
  margin-bottom: 16px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.more {
  display: inline-block;
  color: #2595ec;
}
.more:before {
  content: "⋯⋯";
  margin-right: 4px;
  display: inline-block;
  color: #fff;
}

.post-audio,
.intro-audio {
  display: none;
}

.post-photo {
  position: absolute;
  top: 0;
  right: 0;
  width: 72px;
  height: 72px;
  background-color: #000;
  background-image: url(https://goodnight.io/images/post_photo_default.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}
.post-photo .mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
}
.post-photo .mask .icon-lock {
  font-size: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.post-photo img {
  width: 100%;
  height: auto;
}

.comment-list {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0 0 8px 8px;
  background-color: #2f2e36;
  padding: 24px;
  margin-top: -24px;
  z-index: 1;
}
@media screen and (max-width: 640px) {
  .comment-list {
    border-radius: 0;
  }
}
@media screen and (max-width: 576px) {
  .comment-list {
    margin-top: -16px;
    padding: 16px;
  }
}

.extend {
  display: none;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 8px;
  text-align: center;
  background-color: #2f2e36;
  z-index: 99;
}
.extend:before {
  content: "";
  position: absolute;
  top: -24px;
  left: 0;
  width: 100%;
  height: 24px;
  background-image: linear-gradient(0, #2f2e36, rgba(0, 0, 0, 0));
}

.btn-extend {
  margin: 0;
  background-color: transparent;
  color: #fff;
  font-weight: normal;
}
.btn-extend:hover {
  color: #2595ec;
}

@media screen and (max-width: 992px) {
  .collapse {
    max-height: 500px;
    overflow-y: hidden;
  }
  .collapse .extend {
    display: block;
  }
}

.comment {
  margin-bottom: 24px;
}
.comment:last-child {
  margin-bottom: 0;
}

.comment-header {
  position: relative;
  margin-bottom: 8px;
}
@media screen and (max-width: 576px) {
  .comment-header {
    margin-bottom: 0;
  }
}
.comment-header .avatar {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  border-radius: 16px;
  background-color: #000;
  background-image: url(https://goodnight.io/images/avatar_default.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.comment-header .avatar:hover {
  opacity: 0.8;
  cursor: pointer;
}
.comment-header .avatar img {
  width: 100%;
}
.comment-header .user-info {
  position: absolute;
  top: 6px;
  left: 48px;
  right: 0;
}
.comment-header .username {
  display: block;
  margin: 0;
  padding-right: 160px;
  font-size: 1em;
  color: #fff;
  font-weight: bold;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media screen and (max-width: 576px) {
  .comment-header .username {
    margin-bottom: 4px;
  }
}
.comment-header .username a:hover {
  color: #2595ec;
  text-decoration: none;
  cursor: pointer;
}
.comment-header .time {
  position: absolute;
  top: 0;
  right: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}
@media screen and (max-width: 640px) {
  .comment-header .time {
    font-size: 12px;
  }
}

.comment-content {
  padding-left: 48px;
}
.comment-content .comment-article {
  margin: 0;
}
.comment-content .audio-player {
  margin: 4px 0 0;
}

.leave-comment {
  margin-bottom: 24px;
}

.btn-comment {
  width: 100%;
  margin: 0;
  background-color: #000;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  text-align: left;
  font-weight: normal;
}
.btn-comment:hover {
  color: #fff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
  cursor: text;
}

.post-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  padding: 16px 0 0;
}
.post-footer .count {
  min-width: 80px;
  display: inline-block;
  margin-right: 2em;
  font-size: 16px;
}
.post-footer .count [class*="gn_"] {
  display: inline-block;
  margin-right: 4px;
}

.pagination {
  margin-top: 1em;
  text-align: center;
}
.pagination .btn {
  background-color: #2f2e36;
  color: #fff;
}
.pagination .btn:hover {
  background-color: #36353e;
}
.pagination .btn.prev {
  border-radius: 8px 0 0 8px;
}
.pagination .btn.next {
  border-radius: 0 8px 8px 0;
  margin-left: -4px;
}
.pagination .btn.disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.pagination .btn.disabled:hover {
  background-color: #2f2e36;
}

.side {
  padding: 24px;
  border-radius: 8px;
  background-color: #2f2e36;
  overflow: hidden;
}
@media screen and (max-width: 640px) {
  .side {
    padding: 16px;
    border-radius: 0;
  }
}
.side h2 {
  padding-bottom: 16px;
  font-size: 18px;
  font-weight: normal;
  color: rgba(255, 255, 255, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
@media screen and (max-width: 640px) {
  .side h2 {
    font-size: 16px;
  }
}
.side h3 {
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: normal;
}
.side p {
  margin-bottom: 8px;
}
.side.trendy ul {
  margin: 0;
}
.side.trendy li {
  position: relative;
  padding-left: 24px;
  width: 100%;
  overflow-x: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.side.trendy li:before {
  content: "";
  position: absolute;
  top: 6px;
  left: 4px;
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background-color: #2595ec;
}
.side.trendy li:last-child {
  margin-bottom: 0;
}
.side.download-wrap {
  margin-top: 24px;
}
@media screen and (max-width: 640px) {
  .side.download-wrap {
    display: none;
  }
}
.side .download {
  display: block;
  margin-top: 0;
}
@media screen and (max-width: 992px) {
  .side .download {
    margin-bottom: 0;
  }
}
.side .download .btn {
  margin-right: 16px;
}
@media screen and (max-width: 992px) {
  .side .download .btn {
    width: 160px;
    height: 48px;
  }
}
.side .download .btn-appstore {
  margin-bottom: 8px;
}
@media screen and (max-width: 992px) {
  .side .download .btn-appstore {
    margin-bottom: 0;
  }
  .side .download .btn-appstore:hover {
    background-position: 0 -48px;
  }
}
@media screen and (max-width: 992px) {
  .side .download .btn-googleplay {
    background-position: -160px 0px;
  }
  .side .download .btn-googleplay:hover {
    background-position: -160px -48px;
  }
}

.profile ~ .footer {
  padding-bottom: 70px;
}

.profile-content {
  padding: 24px;
  margin-bottom: 32px;
  background-color: #2f2e36;
  border-radius: 8px;
}
@media screen and (max-width: 640px) {
  .profile-content {
    border-radius: 0px;
    margin-bottom: 24px;
  }
}
@media screen and (max-width: 576px) {
  .profile-content {
    padding: 16px;
  }
}
.profile-content .username {
  font-size: 24px;
  margin-bottom: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media screen and (max-width: 992px) {
  .profile-content .username {
    text-align: center;
  }
}
@media screen and (max-width: 640px) {
  .profile-content .username {
    font-size: 18px;
  }
}
.profile-content .label {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  background: #464550;
  font-size: 14px;
  color: #fff;
}
@media screen and (max-width: 640px) {
  .profile-content .label {
    padding: 2px 6px;
    font-size: 12px;
  }
}
.profile-content .label.female {
  background: #c42c6e;
}
.profile-content .label.male {
  background: #1159a8;
}
.profile-content .intro {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.profile-content .intro.empty p {
  color: rgba(255, 255, 255, 0.6);
}
@media screen and (max-width: 992px) {
  .profile-content .intro {
    text-align: left;
  }
}
@media screen and (max-width: 640px) {
  .profile-content .intro {
    margin-top: 16px;
    padding-top: 16px;
  }
}
.profile-content .intro .audio-player {
  margin: 0;
}

.profile-photo {
  float: left;
  margin-right: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 160px;
  height: 160px;
  background-color: #000;
  background-image: url(https://goodnight.io/images/avatar_default.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 80px;
  overflow: hidden;
  cursor: pointer;
}
.profile-photo img {
  width: 100%;
}
@media screen and (max-width: 992px) {
  .profile-photo {
    width: 120px;
    height: 120px;
    float: none;
    display: block;
    margin: 0 auto 16px;
  }
}
@media screen and (max-width: 640px) {
  .profile-photo {
    width: 96px;
    height: 96px;
  }
}
.profile-photo:hover {
  opacity: 0.8;
}

.profile-info {
  float: left;
  width: calc(100% - 184px);
}
@media screen and (max-width: 992px) {
  .profile-info {
    width: 100%;
    text-align: center;
  }
}

.section-title {
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: normal;
  color: rgba(255, 255, 255, 0.6);
}
@media screen and (max-width: 640px) {
  .section-title {
    padding: 0 16px;
  }
}
@media screen and (max-width: 576px) {
  .section-title {
    font-size: 16px;
  }
}

.btn-wrap {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #000;
  z-index: 999;
}

.btn-call {
  display: none;
  width: 100%;
  margin: 0;
  padding: 16px;
  border: none;
  border-radius: 0;
  background: #2595ec;
  text-align: center;
  text-decoration: none;
  font-size: 1em;
  color: #fff;
  line-height: 1;
  font-weight: bold;
}
@media screen and (max-width: 640px) {
  .btn-call {
    display: block;
  }
}

.blank {
  margin-bottom: constant(safe-area-inset-bottom);
  margin-bottom: env(safe-area-inset-bottom);
  /*margin-bottom: 34px;*/
}

.modal {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  text-align: center;
}
.modal.show {
  display: flex;
}
.modal h2 {
  color: #2595ec;
}
.modal h3 {
  margin-bottom: 0.5em;
}
.modal .mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: -1;
}
.modal .btn-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 56px;
  height: 56px;
  padding: 16px;
  margin: 0;
  z-index: 1;
  background-color: transparent;
  font-size: 24px;
  line-height: 1;
  color: #fff;
  text-align: center;
}
.modal .btn-close:hover {
  color: rgba(255, 255, 255, 0.6);
}
.modal .download {
  margin-top: 0;
}
@media screen and (max-width: 992px) {
  .modal .download {
    margin-bottom: 0;
  }
}

.modal-body {
  max-width: 640px;
  padding: 24px;
  background-color: #fff;
  border-radius: 8px;
}
@media screen and (max-width: 640px) {
  .modal-body {
    width: 90%;
  }
}

@keyframes bounceIn {
  from,
  to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  0% {
    opacity: 0;
    -webkit-transform: scale3d(0.5, 0.5, 0.5);
    transform: scale3d(0.5, 0.5, 0.5);
  }
  to {
    opacity: 1;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}
.bounceIn {
  -webkit-animation-duration: 0.2s;
  animation-duration: 0.2s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-name: bounceIn;
  animation-name: bounceIn;
}

@keyframes pulse {
  from {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
  5% {
    -webkit-transform: scale3d(1.05, 1.05, 1.05);
    transform: scale3d(1.05, 1.05, 1.05);
  }
  10% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
  15% {
    -webkit-transform: scale3d(1.05, 1.05, 1.05);
    transform: scale3d(1.05, 1.05, 1.05);
  }
  20% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
  25% {
    -webkit-transform: scale3d(1.05, 1.05, 1.05);
    transform: scale3d(1.05, 1.05, 1.05);
  }
  30% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}
.pulse {
  -webkit-animation-name: pulse;
  animation-name: pulse;
  -webkit-animation-duration: 5s;
  animation-duration: 5s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-delay: 2s;
  animation-delay: 2s;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}

.audio-player {
  position: relative;
  margin: 16px 0;
  width: 100%;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  z-index: 1;
}
@media screen and (max-width: 640px) {
  .audio-player {
    height: 48px;
  }
}
.audio-player:hover .player-bar {
  background-color: #4d4c58;
}
.audio-player .gn_icon_pause {
  display: none;
}
.audio-player.player-playing .gn_icon_play {
  display: none;
}
.audio-player.player-playing .gn_icon_pause {
  display: block;
}
.audio-player.player-pause .gn_icon_play {
  display: block;
}
.audio-player.player-pause .gn_icon_pause {
  display: none;
}

.play-btn {
  position: relative;
  width: 56px;
  height: 56px;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  z-index: 1;
}
@media screen and (max-width: 640px) {
  .play-btn {
    width: 48px;
    height: 48px;
  }
}

.pause-btn {
  display: none;
}

.player-time {
  position: absolute;
  top: 16px;
  right: 16px;
  text-align: right;
  z-index: 1;
}
@media screen and (max-width: 640px) {
  .player-time {
    top: 14px;
  }
}
.player-time span {
  display: inline-block;
}

.player-time-duration {
  position: relative;
  padding-left: 16px;
}
.player-time-duration:before {
  content: "/";
  position: absolute;
  top: 0;
  left: 2px;
}

.player-bar {
  position: absolute;
  overflow: hidden;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background-color: #464550;
  z-index: 0;
}
.player-bar .player-bar-loaded {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
}
.player-bar .player-bar-played {
  width: 0;
  height: 100%;
  background: #1159a8;
}

.error {
  text-align: center;
}
.error h1 {
  color: #2595ec;
}

.alert {
  padding: 1em;
  margin-bottom: 2em;
  background-color: #ff64a7;
  border-radius: 0.5em;
}
@media screen and (max-width: 576px) {
  .alert {
    margin-bottom: 1em;
  }
}
.alert:hover {
  cursor: pointer;
  opacity: 0.9;
}
.alert a {
  color: #fff;
  cursor: pointer;
}

.dropdown {
  position: relative;
  display: inline-block;
  padding-right: 1em;
}
.dropdown:after {
  content: "";
  position: absolute;
  top: 12px;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 4px 0 4px;
  border-color: rgba(255, 255, 255, 0.3) transparent transparent transparent;
}
.dropdown:hover .dropdown-list {
  display: block;
}
.dropdown .toggle {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dropdown .toggle:hover {
  text-decoration: none;
}

.dropdown-list {
  display: none;
  position: absolute;
  top: 2em;
  right: 0;
  min-width: 160px;
  text-align: left;
  background-color: #2f2e36;
  box-shadow: 0 8px 8px rgba(0, 0, 0, 0.3);
  z-index: 1;
}
.dropdown-list li {
  margin-bottom: 0;
}
.dropdown-list li a {
  display: block;
  padding: 0.5em 1em;
}
.dropdown-list li a:hover {
  text-decoration: none;
  background-color: #464550;
}

.dropdown-account {
  position: absolute;
  right: 0;
  top: 25px;
  width: 50%;
  max-width: 240px;
  height: 2em;
  line-height: 2em;
  text-align: right;
}

.payment {
  position: relative;
  padding: 0;
  background: none;
  color: #fff;
}
.payment .title {
  margin-bottom: 0;
  font-size: 28px;
}
@media screen and (max-width: 640px) {
  .payment .title {
    font-size: 24px;
  }
}
@media screen and (max-width: 640px) {
  .payment .title {
    padding-top: 4px;
    font-size: 20px;
  }
}

.plan-wrap {
  width: calc(100% + 40px);
  margin-left: -20px;
  padding-right: 20px;
}

.plan-list {
  width: 100%;
  margin: 0;
  padding: 0;
}

.plan-list li {
  float: left;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  width: 20%;
  padding: 0 0 0 20px;
}
@media screen and (max-width: 992px) {
  .plan-list li {
    width: 33%;
  }
}
@media screen and (max-width: 768px) {
  .plan-list li {
    width: 50%;
  }
}
@media screen and (max-width: 576px) {
  .plan-list li {
    width: 100%;
    margin-bottom: 1em;
  }
}

.plan-item,
.plan-autoload {
  position: relative;
  display: block;
  width: 100%;
  padding: 3em 1em 2em;
  text-align: center;
  border-radius: 0.5em;
  background-color: transparent;
  overflow: hidden;
}
@media screen and (max-width: 768px) {
  .plan-item,
  .plan-autoload {
    padding: 2em 1em 1em;
  }
}
@media screen and (max-width: 576px) {
  .plan-item,
  .plan-autoload {
    padding: 1em;
    text-align: left;
  }
}
.plan-item:hover,
.plan-autoload:hover {
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 0 2px #fff;
}
.plan-item:before,
.plan-autoload:before {
  content: "";
  position: absolute;
  top: 50%;
  left: -50%;
  width: 200%;
  height: 100%;
  border-radius: 100%;
  background-color: rgba(70, 69, 80, 0.5);
  z-index: -1;
}
@media screen and (max-width: 576px) {
  .plan-item:before,
  .plan-autoload:before {
    display: none;
  }
}
.plan-item:after,
.plan-autoload:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #2f2e36;
  z-index: -2;
}
.plan-item h2,
.plan-autoload h2 {
  margin-bottom: 0;
  font-size: 1.8em;
}
@media screen and (max-width: 768px) {
  .plan-item h2,
  .plan-autoload h2 {
    display: inline-block;
    font-size: 1.5em;
    line-height: 32px;
    margin-bottom: 0;
  }
}
@media screen and (max-width: 576px) {
  .plan-item h2,
  .plan-autoload h2 {
    font-size: 1.2em;
    margin-bottom: 4px;
  }
}
@media screen and (max-width: 320px) {
  .plan-item h2,
  .plan-autoload h2 {
    font-size: 1em;
  }
}
.plan-item .cat-can,
.plan-autoload .cat-can {
  font-size: 1em;
  margin-bottom: 0.5em;
}
.plan-item .cat-can .icon,
.plan-autoload .cat-can .icon {
  display: none;
}
@media screen and (max-width: 576px) {
  .plan-item .cat-can,
  .plan-autoload .cat-can {
    display: inline-block;
    margin-bottom: 0;
    font-size: 1em;
  }
  .plan-item .cat-can .icon,
  .plan-autoload .cat-can .icon {
    display: inline-block;
  }
}
.plan-item .original,
.plan-autoload .original {
  display: block;
  margin-bottom: 0.5em;
  height: 24px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1em;
  text-decoration: line-through;
  font-weight: normal;
}
@media screen and (max-width: 576px) {
  .plan-item .original,
  .plan-autoload .original {
    display: none;
  }
}
.plan-item .extra,
.plan-autoload .extra {
  width: 100%;
  height: 24px;
  font-weight: bold;
  color: #ff64a7;
}
@media screen and (max-width: 576px) {
  .plan-item .extra,
  .plan-autoload .extra {
    height: auto;
    font-size: 12px;
  }
}
.plan-item .percent,
.plan-autoload .percent {
  display: inline-block;
  margin-right: 8px;
  padding: 0 4px;
  background-color: #ff64a7;
  color: #fff;
  font-size: 0.8em;
  border-radius: 4px;
  vertical-align: middle;
}
@media screen and (max-width: 576px) {
  .plan-item.popular,
  .plan-item.new,
  .plan-autoload.popular,
  .plan-autoload.new {
    padding: 2.5em 1em 1em;
  }
}
@media screen and (max-width: 320px) {
  .plan-item.popular,
  .plan-item.new,
  .plan-autoload.popular,
  .plan-autoload.new {
    padding-top: 2em;
  }
}
.plan-item.popular h2:before,
.plan-item.new h2:before,
.plan-autoload.popular h2:before,
.plan-autoload.new h2:before {
  content: "最熱賣 👍";
  position: absolute;
  top: 0;
  left: 0;
  padding: 0 0.5em 0 1em;
  line-height: 2em;
  border-radius: 0 0 0.5em 0;
  font-size: 14px;
  text-align: center;
  color: #fff;
  background-color: #ff64a7;
}
@media screen and (max-width: 320px) {
  .plan-item.popular h2:before,
  .plan-item.new h2:before,
  .plan-autoload.popular h2:before,
  .plan-autoload.new h2:before {
    font-size: 12px;
  }
}
@media screen and (max-width: 576px) {
  .plan-item.popular .price,
  .plan-item.new .price,
  .plan-autoload.popular .price,
  .plan-autoload.new .price {
    top: 2.5em;
  }
}
.plan-item.new h2:before,
.plan-autoload.new h2:before {
  content: "新推出 ⭐️";
  background-color: #a666eb;
}
.plan-item .price,
.plan-autoload .price {
  margin: 1em 0 0;
  padding: 0.8em 1em;
  width: 100%;
  font-weight: bold;
  color: #fff;
  text-align: center;
  background-color: #2595ec;
  border-radius: 0.5em;
}
@media screen and (max-width: 576px) {
  .plan-item .price,
  .plan-autoload .price {
    position: absolute;
    top: 1em;
    right: 1em;
    padding: 0;
    margin-top: 0;
    width: 112px;
    height: 32px;
    line-height: 32px;
    font-size: 1em;
  }
}
@media screen and (max-width: 320px) {
  .plan-item .price,
  .plan-autoload .price {
    top: 14px;
    width: 96px;
    font-size: 0.8em;
  }
}

.modal-payment .modal-body,
.modal-autoload .modal-body {
  width: 90%;
  max-width: 480px;
  text-align: left;
}
.modal-payment .modal-body *:last-child,
.modal-autoload .modal-body *:last-child {
  margin-bottom: 0;
}
.modal-payment table,
.modal-autoload table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid rgba(0, 0, 0, 0.1);
}
.modal-payment td,
.modal-autoload td {
  padding: 0.5em 1em;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.modal-payment td.username,
.modal-autoload td.username {
  background-color: rgba(0, 0, 0, 0.1);
}
.modal-payment td.title,
.modal-autoload td.title {
  width: 120px;
}
.modal-payment td.amount,
.modal-autoload td.amount {
  color: #2595ec;
  font-weight: bold;
}
.modal-payment td.payment-info .btn-cancel,
.modal-autoload td.payment-info .btn-cancel {
  float: right;
  color: inherit;
}
.modal-payment .agreement,
.modal-autoload .agreement {
  margin: 1.5em 0;
}
.modal-payment .agreement label,
.modal-autoload .agreement label {
  font-weight: normal;
}
.modal-payment .agreement a,
.modal-autoload .agreement a {
  color: #2595ec;
}

input[type="radio"],
input[type="checkbox"] {
  display: none;
}

input[type="radio"] + label,
input[type="checkbox"] + label {
  position: relative;
  display: block;
  width: 100%;
  padding-left: 1.5em;
}

input[type="radio"] + label .icon-radio,
input[type="checkbox"] + label .icon-checkbox {
  position: absolute;
  top: 2px;
  left: 0;
  display: block;
  width: 16px;
  height: 16px;
  border: 2px solid #ccc;
}

input[type="checkbox"] + label .icon-radio {
  border-radius: 50%;
}

input[type="checkbox"] + label .icon-checkbox {
  border-radius: 2px;
}

input[type="radio"]:checked + label .icon-radio {
  background-color: #fff;
}

input[type="checkbox"]:checked + label .icon-checkbox {
  background-color: #fff;
  border-color: #2595ec;
}

input[type="radio"]:checked + label .icon-radio:before {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  display: block;
  width: 8px;
  height: 8px;
  background-color: #fff;
  border-radius: 50%;
}

input[type="checkbox"]:checked + label .icon-checkbox:before {
  content: "\e907";
  position: absolute;
  top: -2px;
  left: -2px;
  display: block;
  width: 16px;
  height: 16px;
  font-family: "goodnight_icon" !important;
  font-size: 14px;
  line-height: 16px;
  color: #2595ec;
  text-align: center;
}

.modal-event .modal-body {
  text-align: left;
}
.modal-event .modal-body h2 {
  padding: 1em 0.5em;
  color: #fff;
  text-align: center;
  font-size: 24px;
  border-radius: 0.25em;
  background: #ff64a7;
}
@media screen and (max-width: 576px) {
  .modal-event .modal-body h2 {
    font-size: 18px;
  }
}
.modal-event .modal-body h2 p {
  margin: 0.5em 0 0;
  font-size: 20px;
}
@media screen and (max-width: 576px) {
  .modal-event .modal-body h2 p {
    font-size: 16px;
  }
}
.modal-event .modal-body h3 {
  font-size: 20px;
  color: #2595ec;
}
@media screen and (max-width: 576px) {
  .modal-event .modal-body h3 {
    font-size: 16px;
  }
}
.modal-event .modal-body .btn-deposit {
  margin-bottom: 0;
}

.form-payment .input-group {
  margin-bottom: 1em;
}
.form-payment label {
  display: block;
  margin-bottom: 0.5em;
  font-weight: bold;
}
.form-payment input[type="text"],
.form-payment .form-control {
  display: block;
  width: 100%;
  height: 48px;
  margin: 0;
  padding: 0 1em;
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}
.form-payment input[type="text"]:focus,
.form-payment .form-control:focus {
  border-color: #2595ec;
  outline: 0;
}
.form-payment .btn-submit {
  margin: 1em 1em 0 0;
  width: 10em;
}
@media screen and (max-width: 576px) {
  .form-payment .btn-submit {
    width: 100%;
  }
}
.form-payment .btn-cancel {
  margin: 1em 0 0 0;
  width: 10em;
}
@media screen and (max-width: 576px) {
  .form-payment .btn-cancel {
    margin-left: 0;
    width: 100%;
  }
}
.form-payment .btn-delete {
  float: right;
  margin-top: 1em;
  margin-bottom: 0;
  background: none;
  color: red;
}
@media screen and (max-width: 576px) {
  .form-payment .btn-delete {
    width: 100%;
  }
}
.form-payment .tappay-field-focus {
  border-color: #2595ec;
  outline: 0;
}
.form-payment .has-error .tappay-field-focus {
  border-color: #843534;
}
.form-payment .has-success .tappay-field-focus {
  border-color: #2b542c;
}
.form-payment .agreement {
  margin: 1.5em 0;
}
.form-payment .agreement label {
  font-weight: normal;
}

.btn-create {
  width: 10em;
}
@media screen and (max-width: 576px) {
  .btn-create {
    width: 100%;
  }
}

.angel-list {
  margin-bottom: 0;
}

.angel {
  position: relative;
  padding: 1em;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.angel:nth-child(odd) {
  background-color: #f3f3f3;
}
.angel .profile-photo {
  display: inline-block;
  width: 64px;
  height: 64px;
  margin: 0;
}
@media screen and (max-width: 576px) {
  .angel .profile-photo {
    width: 48px;
    height: 48px;
  }
}
.angel .profile-photo:hover {
  cursor: default;
  opacity: 1;
}
.angel .username {
  display: inline-block;
  width: calc(100% - 10em - 96px);
  padding: 0 1em;
  margin: 0;
  font-size: 1em;
  word-break: break-all;
}
@media screen and (max-width: 576px) {
  .angel .username {
    width: calc(100% - 112px);
  }
}
.angel .btn-send {
  width: 10em;
  margin-bottom: 0;
}
@media screen and (max-width: 576px) {
  .angel .btn-send {
    width: 64px;
  }
}

.login-container {
  width: 90%;
  max-width: 640px;
  min-width: 320px;
  margin: 3em auto;
  padding: 3em 2em 2em;
  border-radius: 8px;
  background-color: #2f2e36;
  color: #fff;
}
.login-container h1 {
  margin-bottom: 1em;
  font-size: 1.5em;
  color: #fff;
  text-align: center;
}
.login-container .btn {
  margin-top: 0;
  width: 100%;
}
.login-container .divider {
  position: relative;
  margin: 1.5em 0;
  border-bottom-color: rgba(255, 255, 255, 0.1);
  text-align: center;
}
.login-container .divider:before {
  content: "或使用電子信箱登入";
  position: relative;
  top: -11px;
  display: inline-block;
  padding: 0 1em;
  background-color: #2f2e36;
}

:lang(ja) .login-container .divider:before {
  content: "メールアドレスでログイン";
  position: relative;
  top: -11px;
  display: inline-block;
  padding: 0 1em;
  background-color: #2f2e36;
}

.login-container .alert {
  margin-bottom: 1em;
  color: red;
  background: none;
  padding: 0;
  cursor: default;
}
.login-container .alert:hover {
  pointer-events: none;
}
.login-container .alert a {
  color: red;
}

.login-form {
  margin-top: 2em;
}
.login-form input {
  width: 100%;
  margin: 0;
  background-color: #000;
  border: none;
  color: #fff;
  text-align: left;
  font-weight: normal;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.login-form input:hover,
.login-form input:focus {
  color: #fff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
  cursor: text;
}
.login-form .input-group {
  margin: 1em 0;
}
.login-form .btn-login {
  float: right;
  margin-bottom: 0;
  width: 10em;
}
@media screen and (max-width: 576px) {
  .login-form .btn-login {
    width: 100%;
  }
}

.btn-add-payment {
  width: 10em;
}
@media screen and (max-width: 576px) {
  .btn-add-payment {
    width: 100%;
  }
}

.reward .status {
  display: none;
}
.reward .status.show {
  display: block;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

.table-payment-record {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}
.table-payment-record thead {
  background-color: rgba(0, 0, 0, 0.1);
}
.table-payment-record td {
  padding: 0.5em;
  border: 1px solid rgba(0, 0, 0, 0.1);
  text-align: left;
}
.table-payment-record .record-id {
  width: 12%;
}
.table-payment-record .record-plan {
  width: 18%;
}
.table-payment-record .record-price {
  width: 18%;
}
.table-payment-record .record-method {
  width: 15%;
}
.table-payment-record .record-time {
  width: 25%;
}
.table-payment-record .record-state {
  width: 12%;
}
.table-payment-record .record-state.error {
  color: red;
}

@font-face {
  font-family: "Helvetica Neue";
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Helvetica Neue";
  font-weight: 400;
  font-style: italic;
}
@font-face {
  font-family: "Helvetica Neue";
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: "Helvetica Neue";
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: "Helvetica Neue";
  font-weight: 700;
  font-style: italic;
}
@font-face {
  font-family: "goodnight_icon";
  src: url("fonts/goodnight_icon.ttf?6lor50") format("truetype"),
    url("fonts/goodnight_icon.woff?6lor50") format("woff"),
    url("fonts/goodnight_icon.svg?6lor50#goodnight_icon") format("svg");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}
[class^="gn_"],
[class*=" gn_"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: "goodnight_icon" !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.gn_icon_activity:before {
  content: "\e900";
}

.gn_icon_add:before {
  content: "\e901";
}

.gn_icon_audio:before {
  content: "\e925";
}

.gn_icon_back:before {
  content: "\e902";
}

.gn_icon_call:before {
  content: "\e903";
}

.gn_icon_call_in:before {
  content: "\e93b";
}

.gn_icon_call_out:before {
  content: "\e93c";
}

.gn_icon_calling:before {
  content: "\e904";
}

.gn_icon_can:before {
  content: "\e905";
}

.gn_icon_cat_can:before {
  content: "\e947";
}

.gn_icon_cathead:before {
  content: "\e906";
}

.gn_icon_check:before {
  content: "\e907";
}

.gn_icon_checkbox:before {
  content: "\e908";
}

.gn_icon_clock:before {
  content: "\e941";
}

.gn_icon_close:before {
  content: "\e909";
}

.gn_icon_comment:before {
  content: "\e90a";
}

.gn_icon_contact:before {
  content: "\e90b";
}

.gn_icon_crown:before {
  content: "\e94a";
}

.gn_icon_down:before {
  content: "\e90c";
}

.gn_icon_edit:before {
  content: "\e90d";
}

.gn_icon_effect:before {
  content: "\e90e";
}

.gn_icon_faq:before {
  content: "\e942";
}

.gn_icon_filter:before {
  content: "\e90f";
}

.gn_icon_float_screen:before {
  content: "\e910";
}

.gn_icon_gift:before {
  content: "\e939";
}

.gn_icon_hand_up:before {
  content: "\e911";
}

.gn_icon_heart:before {
  content: "\e912";
}

.gn_icon_hello:before {
  content: "\e93f";
}

.gn_icon_image:before {
  content: "\e913";
}

.gn_icon_info:before {
  content: "\e914";
}

.gn_icon_locate:before {
  content: "\e915";
}

.gn_icon_loud_speaker:before {
  content: "\e926";
}

.gn_icon_mail:before {
  content: "\e916";
}

.gn_icon_message:before {
  content: "\e917";
}

.gn_icon_mic:before {
  content: "\e918";
}

.gn_icon_mic_off:before {
  content: "\e919";
}

.gn_icon_mint:before {
  content: "\e94b";
}

.gn_icon_missed:before {
  content: "\e91a";
}

.gn_icon_more:before {
  content: "\e91b";
}

.gn_icon_mute:before {
  content: "\e91c";
}

.gn_icon_next:before {
  content: "\e91d";
}

.gn_icon_notification:before {
  content: "\e91e";
}

.gn_icon_notification_mute:before {
  content: "\e91f";
}

.gn_icon_pause:before {
  content: "\e920";
}

.gn_icon_pin:before {
  content: "\e921";
}

.gn_icon_play:before {
  content: "\e922";
}

.gn_icon_preference:before {
  content: "\e923";
}

.gn_icon_public:before {
  content: "\e945";
}

.gn_icon_pwd:before {
  content: "\e924";
}

.gn_icon_rank:before {
  content: "\e949";
}

.gn_icon_record:before {
  content: "\e927";
}

.gn_icon_report:before {
  content: "\e928";
}

.gn_icon_send:before {
  content: "\e929";
}

.gn_icon_setting:before {
  content: "\e92a";
}

.gn_icon_share:before {
  content: "\e92b";
}

.gn_icon_shield:before {
  content: "\e943";
}

.gn_icon_speaker:before {
  content: "\e92c";
}

.gn_icon_star:before {
  content: "\e92d";
}

.gn_icon_sticker:before {
  content: "\e93e";
}

.gn_icon_stop:before {
  content: "\e92e";
}

.gn_icon_tab_chat:before {
  content: "\e92f";
}

.gn_icon_tab_forum:before {
  content: "\e930";
}

.gn_icon_tab_live:before {
  content: "\e931";
}

.gn_icon_tab_match:before {
  content: "\e932";
}

.gn_icon_tab_prom:before {
  content: "\e93d";
}

.gn_icon_tab_shop:before {
  content: "\e940";
}

.gn_icon_tab_star:before {
  content: "\e933";
}

.gn_icon_target:before {
  content: "\e934";
}

.gn_icon_thunder:before {
  content: "\e935";
}

.gn_icon_ticket:before {
  content: "\e946";
}

.gn_icon_topic:before {
  content: "\e944";
}

.gn_icon_upin:before {
  content: "\e936";
}

.gn_icon_user:before {
  content: "\e937";
}

.gn_icon_video:before {
  content: "\e93a";
}

.gn_icon_view:before {
  content: "\e938";
}

.gn_icon_vip:before {
  content: "\e948";
}
