* {
  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: 680px;
  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%;
  height: 100%;
}

.poster-image {
  display: block;
  object-fit: cover;
  object-position: center center;
  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: flex;
}

.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;
  left: 50%;
  top: 4px;
  background: rgba(244, 242, 234, 0.92);
}

.tick.major {
  width: 5px;
  height: 15px;
  margin-left: -2.5px;
  transform-origin: 2.5px 59px;
}

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

.movie-corner {
  left: 18px;
  right: 18px;
  bottom: 102px;
}

.source-label {
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 9px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: rgba(244, 242, 234, 0.62);
}

h1 {
  margin: 5px 0 0;
  max-width: 88%;
  font-size: 31px;
  line-height: 1.1;
  font-weight: 900;
  color: #f4f2ea;
}

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

.quote-corner {
  left: 18px;
  right: 18px;
  bottom: 18px;
  max-height: 78px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: none;
  text-align: left;
  font-size: 18px;
  line-height: 1.32;
  font-weight: 800;
  color: rgba(244, 242, 234, 0.9);
}

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

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

  .tick.major {
    width: 4px;
    height: 10px;
    margin-left: -2px;
    transform-origin: 2px 41px;
  }

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

  .movie-corner {
    left: 12px;
    right: 12px;
    bottom: 86px;
  }

  .source-label {
    font-size: 8px;
  }

  h1 {
    max-width: 96%;
    font-size: 24px;
  }

  .meta,
  .director {
    max-width: 96%;
    font-size: 12px;
  }

  .quote-corner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-height: 66px;
    font-size: 14px;
  }
}
