* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
}

body {
  background: #141414;
  color: #f4f2ea;
  font-family: Georgia, "Times New Roman", "Noto Serif SC", "Songti SC", SimSun, serif;
}

.page {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: #141414;
}

.poster-stage {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: #242424;
  overflow: hidden;
}

.poster-stage:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.18);
  z-index: 1;
}

.poster-image,
.poster-fallback {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
}

.poster-image {
  display: block;
  height: auto;
  min-height: 100%;
  filter: grayscale(100%) contrast(1.12);
}

.poster-image.missing {
  display: none;
}

.poster-fallback {
  display: none;
  align-items: center;
  justify-content: center;
  color: rgba(244, 242, 234, 0.46);
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 28px;
  font-weight: 900;
}

.poster-fallback.visible {
  display: block;
  z-index: 2;
  padding-top: 280px;
  text-align: center;
  line-height: 1.4;
}

.date-corner,
.clock-corner,
.movie-corner,
.quote-corner {
  position: absolute;
  z-index: 2;
  color: #f4f2ea;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.82);
}

.date-corner {
  left: 22px;
  top: 18px;
  width: 290px;
}

.year {
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 21px;
  line-height: 1;
  font-weight: 900;
  color: rgba(244, 242, 234, 0.9);
}

.date-line {
  margin-top: 5px;
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-weight: 900;
}

.month-day {
  display: block;
  font-size: 68px;
  line-height: 0.86;
  color: #f4f2ea;
}

.weekday {
  display: block;
  margin-top: 8px;
  font-size: 20px;
  line-height: 1;
  color: rgba(244, 242, 234, 0.92);
}

.lunar {
  margin-top: 9px;
  font-size: 17px;
  line-height: 1.22;
  font-weight: 800;
  color: rgba(244, 242, 234, 0.86);
}

.clock-corner {
  right: 22px;
  top: 18px;
}

.clock {
  position: relative;
  width: 126px;
  height: 126px;
  border: 3px solid rgba(244, 242, 234, 0.9);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.08);
}

.tick {
  position: absolute;
  background: rgba(244, 242, 234, 0.92);
  -webkit-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
}

.hand {
  position: absolute;
  left: 50%;
  bottom: 50%;
  background: rgba(244, 242, 234, 0.96);
  transform-origin: 50% 100%;
}

.hour-hand {
  width: 7px;
  height: 36px;
  margin-left: -3.5px;
  border-radius: 6px;
}

.minute-hand {
  width: 4px;
  height: 49px;
  margin-left: -2px;
  border-radius: 4px;
}

.clock-center {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: rgba(244, 242, 234, 0.96);
}

.clock-time {
  position: absolute;
  left: 0;
  top: 76px;
  width: 126px;
  text-align: center;
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1;
  font-weight: 900;
  color: rgba(244, 242, 234, 0.96);
}

.movie-corner {
  left: 18px;
  width: 520px;
  top: 74%;
}

h1 {
  margin: 0;
  width: 500px;
  max-width: none;
  font-size: 26px;
  line-height: 1.1;
  font-weight: 900;
  color: #f4f2ea;
}

.meta,
.director {
  width: 500px;
  max-width: none;
  margin-top: 5px;
  font-size: 14px;
  line-height: 1.28;
  color: rgba(244, 242, 234, 0.78);
  font-weight: 800;
}

.quote-corner {
  left: 18px;
  width: 520px;
  top: 56%;
  max-height: 132px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: none;
  text-align: center;
  font-size: 20px;
  line-height: 1.36;
  font-weight: 800;
  color: rgba(244, 242, 234, 0.9);
}

@media (max-width: 620px) {
  .page {
    min-height: 560px;
  }

  .date-corner {
    left: 14px;
    top: 12px;
    width: 220px;
  }

  .year {
    font-size: 16px;
  }

  .month-day {
    font-size: 48px;
  }

  .weekday {
    margin-top: 6px;
    font-size: 14px;
  }

  .lunar {
    margin-top: 6px;
    font-size: 13px;
  }

  .clock-corner {
    right: 14px;
    top: 12px;
  }

  .clock {
    width: 88px;
    height: 88px;
    border-width: 2px;
  }

  .hour-hand {
    width: 5px;
    height: 25px;
    margin-left: -2.5px;
  }

  .minute-hand {
    width: 3px;
    height: 34px;
    margin-left: -1.5px;
  }

  .clock-center {
    width: 9px;
    height: 9px;
    margin: -4.5px 0 0 -4.5px;
  }

  .clock-time {
    top: 55px;
    width: 88px;
    font-size: 12px;
  }

  .movie-corner {
    left: 12px;
    width: 350px;
    top: 74%;
  }

  h1 {
    width: 340px;
    max-width: none;
    font-size: 20px;
  }

  .meta,
  .director {
    width: 340px;
    max-width: none;
    font-size: 12px;
  }

  .quote-corner {
    left: 12px;
    width: 350px;
    top: 56%;
    max-height: 118px;
    font-size: 16px;
  }

  .poster-fallback.visible {
    padding-top: 250px;
  }
}
