.hundred-days-page {
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  overscroll-behavior: none;
}

.hundred-days-page .night {
  opacity: 0.9;
  background-image:
    radial-gradient(circle at 50% 34%, rgba(255, 91, 190, 0.23), transparent 28%),
    radial-gradient(ellipse at bottom, rgba(84, 245, 178, 0.16), transparent 36%),
    radial-gradient(ellipse at top, rgba(145, 233, 255, 0.13), transparent 34%),
    radial-gradient(ellipse at top, transparent 0%, var(--dark-color) 70%),
    repeating-linear-gradient(220deg, rgb(0, 0, 0) 0px, rgb(0, 0, 0) 19px, transparent 19px, transparent 22px),
    repeating-linear-gradient(189deg, rgb(0, 0, 0) 0px, rgb(0, 0, 0) 19px, transparent 19px, transparent 22px),
    repeating-linear-gradient(148deg, rgb(0, 0, 0) 0px, rgb(0, 0, 0) 19px, transparent 19px, transparent 22px),
    linear-gradient(90deg, rgb(11, 31, 34), rgb(38, 30, 44));
}

.hundred-days-page .landing {
  height: 100vh;
  height: 100svh;
  min-height: 0;
  overflow: hidden;
}

.landing--hundred-days {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  align-content: stretch;
  gap: clamp(10px, 2.1vh, 18px);
  width: min(100%, 1180px);
  padding: clamp(14px, 2.2vh, 24px) clamp(18px, 3vw, 40px) clamp(12px, 2vh, 22px);
}

.landing-hero--compact {
  position: relative;
  gap: clamp(5px, 0.9vh, 9px);
  align-content: start;
}

.landing-hero--compact::after {
  content: "";
  width: min(360px, 46vw);
  height: 1px;
  margin-top: clamp(2px, 0.6vh, 7px);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.36), transparent);
}

.landing--hundred-days .landing-kicker {
  font-size: clamp(0.68rem, 1.45vh, 0.82rem);
  letter-spacing: 0.22em;
}

.landing--hundred-days .landing-gift-icon {
  width: clamp(34px, 5.2vh, 48px);
  height: clamp(34px, 5.2vh, 48px);
  filter: drop-shadow(0 0 16px rgba(247, 77, 173, 0.72));
}

.landing--hundred-days .title {
  min-height: 0;
  font-size: clamp(2.35rem, 6.2vh, 4.45rem);
  line-height: 0.96;
  text-shadow:
    0 0 14px rgba(255, 255, 255, 0.88),
    0 0 34px rgba(247, 77, 173, 0.42);
}

.landing--hundred-days .landing-note {
  width: min(680px, 76vw);
  min-width: 0;
  font-size: clamp(0.86rem, 2vh, 1.08rem);
  line-height: 1.28;
}

.book-gift {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto;
  align-items: center;
  justify-items: center;
  gap: clamp(8px, 1.4vh, 14px);
  width: 100%;
  height: 100%;
  min-height: 0;
}

.book-open-button {
  order: 2;
  position: relative;
  z-index: 10;
  width: auto;
  min-width: clamp(174px, 18vw, 224px);
  height: clamp(46px, 6.2vh, 58px);
  padding: 0 clamp(20px, 2.6vw, 30px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.32), transparent 42%),
    linear-gradient(135deg, #ff78c1, #d82d91 64%, #86145f);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.36),
    0 0 42px rgba(245, 22, 238, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.56),
    inset 0 -4px 0 rgba(72, 6, 48, 0.28);
  animation: book-button-glow 3s ease-in-out infinite;
  transition: opacity 360ms ease, transform 360ms ease, max-height 360ms ease, margin 360ms ease;
}

.book-open-button .text {
  font-family: "Courier New", Courier, monospace;
  font-size: clamp(0.96rem, 1.8vh, 1.1rem);
  font-weight: 700;
}

.book-gift.is-open .book-open-button {
  max-height: 0;
  margin: -6px 0 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px) scale(0.96);
}

.book-scene {
  order: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
  display: grid;
  place-items: center;
  perspective: 1900px;
}

.book {
  --book-page-radius: 8px;
  --book-cover-radius: 14px 8px 8px 14px;
  position: relative;
  width: min(86vw, 78svh, 840px);
  aspect-ratio: 1.72 / 1;
  min-height: 0;
  isolation: isolate;
  transform-style: preserve-3d;
  transform: rotateX(5deg);
  filter: drop-shadow(0 0 34px rgba(245, 22, 238, 0.28));
  transition: filter 520ms ease, transform 720ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.book-gift.is-open .book {
  transform: rotateX(0deg);
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.34));
}

.book::before {
  content: "";
  position: absolute;
  top: 4.2%;
  bottom: -2.4%;
  left: 50%;
  z-index: 4;
  width: 50%;
  border-radius: var(--book-cover-radius);
  opacity: 1;
  background:
    linear-gradient(90deg, rgba(91, 37, 55, 0.28), transparent 12%),
    repeating-linear-gradient(180deg, #fff5ea 0 3px, #d8c4aa 4px 5px);
  box-shadow:
    12px 18px 28px rgba(0, 0, 0, 0.38),
    inset -10px 0 18px rgba(119, 71, 55, 0.24),
    inset 0 0 0 1px rgba(87, 51, 42, 0.2);
  transform: translateX(-45%) rotateY(-10deg) rotateZ(-0.35deg) translateZ(12px);
  transition: opacity 420ms ease, transform 780ms cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}

.book-gift.is-open .book::before {
  opacity: 0;
  transform: translateX(0) rotateY(-74deg) translateZ(0);
}

.book::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -8%;
  height: 12%;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at center, rgba(0, 0, 0, 0.62), transparent 68%),
    radial-gradient(ellipse at center, rgba(245, 22, 238, 0.34), transparent 62%);
  filter: blur(12px);
  opacity: 0.8;
  z-index: -1;
}

.book__spread {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border-radius: var(--book-page-radius);
  overflow: hidden;
  opacity: 0.08;
  transform: translateY(2%) rotateX(8deg) scale(0.9);
  transform-origin: center bottom;
  background: #fff9f1;
  box-shadow:
    0 28px 68px rgba(0, 0, 0, 0.56),
    0 3px 0 #d9c2ae,
    0 7px 0 #b59780,
    inset 0 0 0 1px rgba(255, 255, 255, 0.72);
  transition: opacity 520ms ease, transform 720ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.book-gift.is-open .book__spread {
  opacity: 1;
  transform: rotateX(0deg) scale(1);
}

.book__spread::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 3;
  width: clamp(18px, 3vw, 30px);
  transform: translateX(-50%);
  background:
    linear-gradient(90deg, rgba(65, 14, 47, 0.26), rgba(255, 255, 255, 0.58) 48%, rgba(65, 14, 47, 0.22)),
    linear-gradient(180deg, transparent, rgba(78, 36, 28, 0.18), transparent);
  pointer-events: none;
}

.book__spread::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(48, 11, 34, 0.16), transparent 10%, transparent 90%, rgba(48, 11, 34, 0.14)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.46), transparent 16%, transparent 84%, rgba(85, 45, 34, 0.13));
  pointer-events: none;
}

.book__page {
  position: relative;
  min-width: 0;
  min-height: 0;
  padding: clamp(22px, 3.5vw, 44px);
  color: #321122;
  background:
    linear-gradient(90deg, rgba(249, 205, 224, 0.5), transparent 9%, transparent 91%, rgba(249, 205, 224, 0.42)),
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.78), transparent 30%),
    repeating-linear-gradient(180deg, #fffaf3 0, #fffaf3 29px, #edd8c9 30px, #fffaf3 31px);
  border: 1px solid #f4dccf;
  overflow: hidden;
}

.book__page::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(224, 73, 154, 0.16);
  border-radius: 6px;
  pointer-events: none;
}

.book__page--left {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  text-align: center;
  border-radius: var(--book-page-radius) 0 0 var(--book-page-radius);
  box-shadow: inset -22px 0 34px rgba(72, 16, 50, 0.18);
}

.book__page--right {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-radius: 0 var(--book-page-radius) var(--book-page-radius) 0;
  box-shadow: inset 22px 0 34px rgba(72, 16, 50, 0.14);
}

.book__page-kicker,
.book__page-count {
  color: #7b0e50;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.86rem;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.book__day-number {
  color: #e0499a;
  font-family: "Courier New", Courier, monospace;
  font-size: clamp(5rem, 12vw, 9rem);
  line-height: 0.9;
  text-shadow: 0 0 18px rgba(224, 73, 154, 0.42);
}

.book__page-title {
  flex: 0 0 auto;
  color: #7b0e50;
  font-family: "Courier New", Courier, monospace;
  font-size: clamp(1.2rem, 2.4vw, 1.75rem);
  line-height: 1.1;
  text-align: center;
}

.book__phrase-shell {
  flex: 1;
  min-height: 0;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.book__phrase {
  color: #321122;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(0.9rem, 1.45vw, 1.08rem);
  line-height: 1.48;
  text-align: center;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.book__cover {
  position: absolute;
  top: -1.2%;
  bottom: -1.2%;
  left: 50%;
  z-index: 6;
  width: 50%;
  border-radius: var(--book-cover-radius);
  color: white;
  background:
    linear-gradient(90deg, rgba(53, 3, 33, 0.92) 0%, rgba(102, 12, 68, 0.78) 9%, transparent 22%),
    radial-gradient(circle at 34% 24%, rgba(255, 229, 247, 0.48), transparent 26%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 28%),
    repeating-linear-gradient(105deg, rgba(255, 255, 255, 0.055) 0 2px, transparent 2px 7px),
    linear-gradient(145deg, #ff78c1 0%, #db2f91 45%, #8c0a5d 100%);
  box-shadow:
    12px 14px 0 #5e063d,
    20px 26px 46px rgba(0, 0, 0, 0.48),
    -10px 14px 32px rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.22),
    inset 13px 0 24px rgba(39, 3, 26, 0.52),
    inset -7px 0 18px rgba(255, 185, 226, 0.22);
  transform: translateX(-50%) rotateY(-10deg) rotateZ(-0.35deg) translateZ(42px);
  transform-origin: left center;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.book__cover::before {
  content: "";
  position: absolute;
  inset: clamp(14px, 2.4vw, 22px);
  border: 1px solid rgba(255, 244, 251, 0.42);
  border-radius: 8px 5px 5px 8px;
  box-shadow:
    inset 0 0 0 1px rgba(117, 11, 77, 0.22),
    0 0 24px rgba(255, 226, 244, 0.12);
}

.book__cover::after {
  content: "";
  position: absolute;
  top: 7%;
  bottom: 7%;
  left: clamp(20px, 3.6vw, 36px);
  width: clamp(10px, 1.6vw, 16px);
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(58, 3, 37, 0.42), rgba(255, 236, 248, 0.34), rgba(73, 4, 48, 0.32)),
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.36), transparent);
  box-shadow:
    0 0 16px rgba(255, 232, 247, 0.28),
    inset 2px 0 4px rgba(255, 255, 255, 0.22),
    inset -3px 0 6px rgba(45, 3, 30, 0.38);
}

.book-gift.is-open .book__cover {
  animation: book-cover-open 1.18s 120ms cubic-bezier(0.18, 0.86, 0.22, 1) forwards;
  pointer-events: none;
}

.book__cover-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: clamp(10px, 1.8vh, 16px);
  padding: clamp(28px, 5vw, 58px) clamp(24px, 4.4vw, 54px);
  text-align: center;
  transform: translateZ(18px);
}

.book__cover-content strong {
  width: min-content;
  font-family: "Courier New", Courier, monospace;
  font-size: clamp(2rem, 6.2vh, 3.85rem);
  line-height: 1;
  letter-spacing: 0;
  text-shadow:
    0 1px 0 rgba(91, 4, 58, 0.5),
    0 0 18px rgba(255, 255, 255, 0.48);
}

.book__cover-content span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(0.78rem, 1.7vh, 0.98rem);
  line-height: 1.35;
  color: #fff4fb;
}

.book__cover-kicker {
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.book__cover-content::before,
.book__cover-content::after {
  content: "";
  width: min(150px, 62%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 244, 251, 0.68), transparent);
}

.book__turn-page {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 5;
  width: 50%;
  height: 100%;
  border-radius: 0 var(--book-page-radius) var(--book-page-radius) 0;
  opacity: 0;
  pointer-events: none;
  transform-origin: left center;
  background:
    linear-gradient(90deg, rgba(120, 28, 82, 0.22), transparent 16%),
    repeating-linear-gradient(180deg, #fffafc 0, #fffafc 29px, #f4dfeb 30px, #fffafc 31px);
  box-shadow: -16px 0 30px rgba(72, 16, 50, 0.18);
}

.book-gift.is-turning[data-turn="next"] .book__turn-page {
  animation: book-page-turn-next 620ms cubic-bezier(0.2, 0.78, 0.18, 1) both;
}

.book-gift.is-turning[data-turn="prev"] .book__turn-page {
  left: 0;
  right: auto;
  border-radius: var(--book-page-radius) 0 0 var(--book-page-radius);
  transform-origin: right center;
  animation: book-page-turn-prev 620ms cubic-bezier(0.2, 0.78, 0.18, 1) both;
}

.book-controls {
  order: 2;
  width: min(100%, 780px);
  display: grid;
  grid-template-columns: 48px minmax(150px, 220px) auto 48px 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), transparent 44%),
    linear-gradient(145deg, rgba(247, 77, 173, 0.18), rgba(0, 0, 0, 0.66) 58%, rgba(84, 245, 178, 0.12));
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
}

.book-controls[hidden] {
  display: none;
}

.book-page-jump {
  height: 46px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font-family: "Courier New", Courier, monospace;
  font-size: 0.92rem;
}

.book-page-jump input {
  width: 72px;
  min-width: 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 0;
  color: #fff;
  background: transparent;
  font: inherit;
  text-align: center;
  outline: none;
}

.book-page-jump input:focus {
  border-bottom-color: var(--cyan);
  box-shadow: 0 8px 16px -14px var(--cyan);
}

.book-icon-button,
.book-go-button {
  height: 46px;
  border: 0;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 46%),
    linear-gradient(145deg, #ff78c1, #d82d91 62%, #8b0b5d);
  box-shadow:
    0 10px 18px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: transform 220ms ease, filter 220ms ease, opacity 220ms ease;
}

.book-icon-button {
  width: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.book-go-button {
  min-width: 64px;
  padding: 0 16px;
  border-radius: 999px;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.96rem;
  font-weight: 700;
}

.book-icon-button svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.book-icon-button--random svg rect {
  fill: none;
  stroke: currentColor;
}

.book-icon-button--random svg circle {
  fill: currentColor;
  stroke: none;
}

.book-icon-button:hover,
.book-icon-button:focus-visible,
.book-go-button:hover,
.book-go-button:focus-visible {
  outline: none;
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.book-icon-button:disabled,
.book-go-button:disabled {
  cursor: not-allowed;
  filter: grayscale(0.28);
  opacity: 0.46;
  transform: none;
}

.book-back-link {
  order: 3;
  color: rgb(228, 221, 219);
  font-family: "Courier New", Courier, monospace;
  font-size: clamp(0.78rem, 1.55vh, 0.92rem);
  line-height: 1.35;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.28);
  transition: color 220ms ease, text-shadow 220ms ease;
}

.book-back-link:hover,
.book-back-link:focus-visible {
  color: var(--cyan);
  outline: none;
  text-shadow: 0 0 16px rgba(145, 233, 255, 0.56);
}

@keyframes book-button-glow {
  0%,
  100% {
    filter: drop-shadow(0 0 0 rgba(245, 22, 238, 0));
  }

  50% {
    filter: drop-shadow(0 0 18px rgba(245, 22, 238, 0.48));
  }
}

@keyframes book-cover-open {
  0% {
    opacity: 1;
    transform: translateX(-50%) rotateY(-10deg) rotateZ(-0.35deg) translateZ(42px);
  }

  48% {
    opacity: 1;
    transform: translateX(-8%) rotateY(-116deg) rotateZ(-0.2deg) translateZ(28px);
  }

  100% {
    opacity: 0;
    transform: translateX(0) rotateY(-178deg) rotateZ(0deg) translateZ(4px);
  }
}

@keyframes book-page-turn-next {
  0% {
    opacity: 0;
    transform: rotateY(0deg);
  }

  14% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: rotateY(-178deg);
  }
}

@keyframes book-page-turn-prev {
  0% {
    opacity: 0;
    transform: rotateY(0deg);
  }

  14% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: rotateY(178deg);
  }
}

@media (max-width: 760px) {
  .landing--hundred-days {
    gap: 8px;
    padding: 12px 16px calc(10px + env(safe-area-inset-bottom));
  }

  .landing-hero--compact {
    gap: 4px;
  }

  .landing-hero--compact::after {
    width: min(250px, 70vw);
    margin-top: 3px;
  }

  .landing--hundred-days .landing-gift-icon {
    width: clamp(30px, 4.8vh, 40px);
    height: clamp(30px, 4.8vh, 40px);
  }

  .landing--hundred-days .title {
    font-size: clamp(1.8rem, 4.6vh, 2.35rem);
  }

  .landing--hundred-days .title-line {
    gap: 0.08em;
  }

  .landing--hundred-days .title .title-space {
    flex-basis: 0.46em;
    width: 0.46em;
  }

  .landing--hundred-days .landing-note {
    width: min(70vw, 360px);
    font-size: clamp(0.72rem, 1.55vh, 0.82rem);
    line-height: 1.2;
  }

  .book-gift {
    gap: 8px;
  }

  .book {
    width: max(220px, min(66vw, calc((100svh - 300px) * 0.74), 310px));
    aspect-ratio: 0.74 / 1;
    min-height: 0;
  }

  .book::before {
    top: 3.2%;
    bottom: -2.4%;
    left: 0;
    width: 100%;
    transform: translateX(3%) rotateY(-7deg) rotateZ(-0.3deg) translateZ(10px);
  }

  .book__spread {
    grid-template-columns: 1fr;
  }

  .book__spread::before,
  .book__page--left {
    display: none;
  }

  .book__page--right {
    border-radius: var(--book-page-radius);
    box-shadow: inset 0 0 28px rgba(72, 16, 50, 0.12);
  }

  .book__page {
    padding: clamp(20px, 6vw, 30px);
  }

  .book__cover {
    left: 0;
    width: 100%;
    transform: translateX(0) rotateY(-7deg) rotateZ(-0.3deg) translateZ(34px);
  }

  .book__cover-content strong {
    font-size: clamp(2.15rem, 9vh, 3.35rem);
  }

  .book__turn-page,
  .book-gift.is-turning[data-turn="prev"] .book__turn-page {
    left: 0;
    right: auto;
    width: 100%;
    border-radius: var(--book-page-radius);
  }

  .book-controls {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(100%, 390px);
    gap: 8px;
    padding: 8px;
  }

  .book-page-jump,
  .book-icon-button,
  .book-go-button {
    height: 42px;
  }

  .book-icon-button {
    width: 42px;
  }

  .book-icon-button--prev {
    grid-column: 1;
    grid-row: 2;
    justify-self: center;
  }

  .book-page-jump {
    grid-column: 1 / 3;
    grid-row: 1;
    width: 100%;
  }

  .book-go-button {
    grid-column: 3;
    grid-row: 1;
    width: 100%;
    min-width: 0;
  }

  .book-icon-button--random {
    grid-column: 2;
    grid-row: 2;
    justify-self: center;
  }

  .book-icon-button--next {
    grid-column: 3;
    grid-row: 2;
    justify-self: center;
  }

  @keyframes book-cover-open {
    0% {
      opacity: 1;
      transform: translateX(0) rotateY(-7deg) rotateZ(-0.3deg) translateZ(34px);
    }

    48% {
      opacity: 1;
      transform: translateX(0) rotateY(-116deg) rotateZ(-0.2deg) translateZ(20px);
    }

    100% {
      opacity: 0;
      transform: translateX(0) rotateY(-178deg) rotateZ(0deg) translateZ(2px);
    }
  }
}

@media (max-height: 760px) and (min-width: 761px) {
  .landing--hundred-days {
    gap: 8px;
    padding-top: 12px;
    padding-bottom: 10px;
  }

  .landing--hundred-days .landing-gift-icon {
    width: 34px;
    height: 34px;
  }

  .landing--hundred-days .title {
    font-size: clamp(2.25rem, 6vh, 3.35rem);
  }

  .landing--hundred-days .landing-note {
    font-size: 0.92rem;
  }

  .book {
    width: min(80vw, 72svh, 760px);
  }
}

@media (max-width: 420px) {
  .book-gift {
    gap: 7px;
  }

  .book__page-title {
    font-size: 1.16rem;
  }

  .book__phrase {
    font-size: 0.88rem;
    line-height: 1.42;
  }

  .book-page-jump {
    gap: 8px;
    padding: 0 10px;
    font-size: 0.86rem;
  }

  .book-page-jump input {
    width: 58px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .book-open-button,
  .book__spread,
  .book__cover,
  .book__turn-page,
  .book-icon-button,
  .book-go-button {
    animation: none !important;
    transition: none !important;
  }

  .book-gift.is-open .book__cover {
    opacity: 0;
    transform: translateX(0) rotateY(-178deg) translateZ(0);
  }
}
