/* ------------------------------------------------------------------
 * vue2-love-diary · 基础变量与公共样式
 * 所有类名统一以 lp- 前缀，避免污染使用方的样式
 * ------------------------------------------------------------------ */

.lp-app,
.lp-home,
.lp-page {
  /* 粉色系 */
  --lp-pink-50: #fff8fb;
  --lp-pink-100: #fff1f7;
  --lp-pink-200: #ffe4ef;
  --lp-pink-300: #ffd3e3;
  --lp-pink-400: #ffb3cd;
  --lp-pink-500: #ff8fb4;
  --lp-pink-600: #ff6f9c;
  --lp-pink-700: #f2507f;

  /* 文字 */
  --lp-ink: #5c3a46;
  --lp-ink-soft: #8a6472;
  --lp-ink-light: #b58a99;

  --lp-white: #ffffff;
  --lp-radius-xl: 28px;
  --lp-radius-lg: 22px;
  --lp-radius-md: 18px;

  --lp-shadow-card: 0 12px 28px rgba(240, 120, 160, 0.12);
  --lp-shadow-photo: 0 14px 28px rgba(240, 120, 160, 0.2);
  --lp-shadow-btn: 0 10px 22px rgba(255, 92, 143, 0.3);

  --lp-font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* ---------------------------------------------------------------- 根容器 */
.lp-app {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  color: var(--lp-ink);
  font-family: var(--lp-font);
  font-size: 14px;
  line-height: 1.6;
  background-color: #fff1f7;
  background-image:
    radial-gradient(120% 78% at 8% -4%, #fff9fc 0%, rgba(255, 249, 252, 0) 56%),
    radial-gradient(96% 62% at 96% 4%, #ffe0ee 0%, rgba(255, 224, 238, 0) 62%),
    linear-gradient(178deg, #fff2f8 0%, #ffe6f0 42%, #ffd8e7 78%, #ffcfe2 100%);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

/* 右上角柔光 + 左下角柔光 */
.lp-app::before,
.lp-app::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(6px);
}

.lp-app::before {
  top: -90px;
  right: -70px;
  width: 230px;
  height: 230px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 173, 204, 0.75), rgba(255, 173, 204, 0) 70%);
}

.lp-app::after {
  left: -80px;
  bottom: -100px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle at 60% 40%, rgba(255, 197, 219, 0.7), rgba(255, 197, 219, 0) 70%);
}

.lp-app__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  padding: 22px 18px 26px;
  padding-bottom: calc(26px + env(safe-area-inset-bottom, 0px));
}

/* ---------------------------------------------------------------- 重置 */
.lp-app *,
.lp-home *,
.lp-page * {
  box-sizing: border-box;
}

.lp-app p,
.lp-home p,
.lp-page p,
.lp-app figure,
.lp-home figure,
.lp-page figure,
.lp-app h1,
.lp-app h2,
.lp-app h3 {
  margin: 0;
  padding: 0;
  font-weight: inherit;
  font-size: inherit;
}

/* ---------------------------------------------------------------- 公共按钮 */
.lp-btn {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 13px 22px;
  border: 0;
  border-radius: 999px;
  font-family: var(--lp-font);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.6px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.22s ease, box-shadow 0.26s ease, background 0.26s ease;
  -webkit-tap-highlight-color: transparent;
}

.lp-btn:active {
  transform: scale(0.96);
}

.lp-btn:focus-visible {
  outline: 2px solid rgba(242, 80, 127, 0.55);
  outline-offset: 3px;
}

.lp-btn__icon {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  display: block;
}

.lp-btn--primary {
  color: #fff;
  background: linear-gradient(135deg, #ff90b5 0%, #ff6f9c 52%, #f2507f 100%);
  box-shadow: var(--lp-shadow-btn);
}

.lp-btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(255, 92, 143, 0.4);
}

.lp-btn--ghost {
  color: var(--lp-pink-700);
  background: #fff;
  border: 1.5px solid #ffd0e0;
  box-shadow: 0 8px 18px rgba(240, 120, 160, 0.14);
}

.lp-btn--ghost:hover {
  background: #fff7fb;
  transform: translateY(-1px);
}

/* ---------------------------------------------------------------- 内页公共 */
.lp-page {
  position: relative;
  width: 100%;
  color: var(--lp-ink);
  font-family: var(--lp-font);
}

.lp-page__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.lp-back {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 15px 8px 12px;
  border: 1.5px solid #ffd0e0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--lp-pink-700);
  font-family: var(--lp-font);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.lp-back:active {
  transform: scale(0.96);
}

.lp-page__title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--lp-pink-700);
}

.lp-empty {
  padding: 40px 22px;
  border-radius: var(--lp-radius-xl);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.95), rgba(255, 240, 246, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: var(--lp-shadow-card);
  text-align: center;
}

.lp-page .lp-empty__icon {
  font-size: 42px;
  line-height: 1;
  margin-bottom: 14px;
}

.lp-page .lp-empty__title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--lp-pink-700);
  margin-bottom: 10px;
}

.lp-page .lp-empty__text {
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--lp-ink-soft);
}

/* ---------------------------------------------------------------- 动效降级 */
@media (prefers-reduced-motion: reduce) {
  .lp-app *,
  .lp-app *::before,
  .lp-app *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}


/* ================================================================ 首页 */
.lp-home {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

/* ---------------------------------------------------------- 顶部一周一览 */
.lp-weekbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 0 2px;
  user-select: none;
}
.lp-weekbar__day {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.9), 0 4px 10px rgba(240, 120, 160, 0.1);
  color: var(--lp-ink-light);
  font-size: 13px;
  letter-spacing: 0;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.lp-weekbar__day--active {
  background: linear-gradient(135deg, #ff97b9 0%, #ff6f9c 52%, #f2507f 100%);
  box-shadow: 0 8px 18px rgba(242, 80, 127, 0.32);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  transform: scale(1.1);
}

/* ---------------------------------------------------------- ① 天数卡片 */
.lp-hero {
  position: relative;
  overflow: hidden;
  padding: 22px 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: var(--lp-radius-xl);
  background:
    radial-gradient(120% 120% at 50% -20%, #ffffff 0%, rgba(255, 255, 255, 0) 62%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 240, 246, 0.94) 100%);
  box-shadow: var(--lp-shadow-card);
  text-align: center;
}
.lp-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  letter-spacing: 2.5px;
  color: var(--lp-ink-soft);
}
.lp-hero__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lp-pink-600);
  box-shadow: 0 0 0 4px rgba(255, 111, 156, 0.16);
}
.lp-home .lp-hero__count {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin-top: 6px;
}
.lp-hero__num {
  font-family: "DIN Alternate", "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 62px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  font-variant-numeric: tabular-nums;
  color: var(--lp-pink-700);
  background-image: linear-gradient(148deg, #ff9cbd 0%, #ff6f9c 46%, #f2507f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 8px 14px rgba(255, 111, 156, 0.26));
}
.lp-hero__unit {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--lp-pink-700);
}
.lp-home .lp-hero__since {
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: 0.6px;
  color: var(--lp-ink-light);
}

/* 漂浮的小心心 */
.lp-hero__heart {
  position: absolute;
  font-size: 12px;
  color: rgba(255, 143, 180, 0.85);
  pointer-events: none;
  animation: lp-float 6s ease-in-out infinite;
}
.lp-hero__heart--1 {
  left: 16%;
  bottom: 26%;
  font-size: 13px;
  animation-delay: 0.2s;
}
.lp-hero__heart--2 {
  right: 18%;
  bottom: 20%;
  font-size: 10px;
  animation-delay: 2.1s;
}
.lp-hero__heart--3 {
  right: 34%;
  bottom: 34%;
  font-size: 8px;
  animation-delay: 3.9s;
}
@keyframes lp-float {
0% {
    transform: translate3d(0, 6px, 0) scale(0.9);
    opacity: 0;
}
22% {
    opacity: 0.95;
}
70% {
    opacity: 0.6;
}
100% {
    transform: translate3d(6px, -40px, 0) scale(1.1);
    opacity: 0;
}
}

/* ---------------------------------------------------------- ② 照片 + 日期 */
.lp-duo {
  display: flex;
  align-items: stretch;
  gap: 14px;
}
.lp-photo {
  position: relative;
  flex: 0 0 45%;
  max-width: 45%;
  padding: 8px 8px 0;
  border-radius: var(--lp-radius-lg);
  background: #fff;
  box-shadow: var(--lp-shadow-photo);
  transform: rotate(-2.2deg);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.lp-photo:hover {
  transform: rotate(0deg) translateY(-3px);
  box-shadow: 0 18px 34px rgba(240, 120, 160, 0.26);
}
.lp-photo__frame {
  position: relative;
  width: 100%;
  padding-top: 128%;
  border-radius: 14px;
  background-color: var(--lp-pink-200);
  background-position: center 20%;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}
.lp-photo__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.24) 0%,
    rgba(255, 255, 255, 0) 34%,
    rgba(255, 120, 160, 0.14) 100%
  );
}

/* 贴在照片左上角的一小块和纸胶带 */
.lp-photo__tape {
  position: absolute;
  top: 1px;
  left: 14px;
  width: 44px;
  height: 13px;
  border-radius: 3px;
  background: rgba(255, 208, 226, 0.92);
  box-shadow: 0 2px 6px rgba(240, 120, 160, 0.22);
  transform: rotate(-6deg);
  z-index: 3;
}
.lp-photo__cap {
  padding: 7px 2px 9px;
  font-size: 10.5px;
  line-height: 1.4;
  letter-spacing: 0.4px;
  color: var(--lp-ink-light);
  text-align: center;
}

/* 一周七张图：1 = 周一 ... 7 = 周日 */
.lp-photo__frame--1 {
  background-image: url(../images/1.jpg);
}
.lp-photo__frame--2 {
  background-image: url(../images/2.jpg);
}
.lp-photo__frame--3 {
  background-image: url(../images/3.jpg);
}
.lp-photo__frame--4 {
  background-image: url(../images/4.jpg);
}
.lp-photo__frame--5 {
  background-image: url(../images/5.jpg);
}
.lp-photo__frame--6 {
  background-image: url(../images/6.jpg);
}
.lp-photo__frame--7 {
  background-image: url(../images/7.jpg);
}
.lp-week {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 4px 0 4px 2px;
}
.lp-week__badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff97b9 0%, #ff6f9c 100%);
  box-shadow: 0 7px 15px rgba(255, 111, 156, 0.28);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 1.2px;
}
.lp-week__today {
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.26);
  font-size: 10px;
  letter-spacing: 0.5px;
}
.lp-week__date {
  display: flex;
  align-items: baseline;
  gap: 7px;
}
.lp-week__day {
  font-family: "DIN Alternate", "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -1.5px;
  font-variant-numeric: tabular-nums;
  color: var(--lp-pink-700);
}
.lp-week__md {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--lp-ink-soft);
}
.lp-week__year {
  font-size: 11.5px;
  letter-spacing: 1.6px;
  color: var(--lp-ink-light);
}
.lp-home .lp-week__tip {
  position: relative;
  margin-top: 2px;
  padding-left: 12px;
  font-size: 12px;
  letter-spacing: 0.4px;
  color: var(--lp-ink-soft);
}
.lp-week__tip::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: var(--lp-pink-400);
  box-shadow: 0 0 0 3px rgba(255, 179, 205, 0.3);
}

/* ---------------------------------------------------------- ③ 文案卡片 */
.lp-note {
  position: relative;
  overflow: hidden;
  padding: 19px 18px 15px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: var(--lp-radius-lg);
  background: linear-gradient(158deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 242, 247, 0.94) 100%);
  box-shadow: var(--lp-shadow-card);
}
.lp-note::after {
  content: "“";
  position: absolute;
  top: -18px;
  right: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 88px;
  line-height: 1;
  color: rgba(255, 143, 180, 0.2);
  pointer-events: none;
}
.lp-home .lp-note__label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--lp-pink-700);
}
.lp-note__label-icon {
  width: 13px;
  height: 13px;
  display: block;
  color: var(--lp-pink-500);
}
.lp-note__text {
  position: relative;
  z-index: 1;
  font-size: 14.5px;
  line-height: 1.95;
  letter-spacing: 0.25px;
  color: #5a3742;
  text-align: justify;
  text-justify: inter-ideograph;
  word-break: break-word;
}
.lp-home .lp-note__sign {
  margin-top: 12px;
  font-size: 11.5px;
  letter-spacing: 0.8px;
  color: var(--lp-ink-light);
  text-align: right;
}

/* ---------------------------------------------------------- ④ 按钮 */
.lp-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding-top: 2px;
}

/* ---------------------------------------------------------- 小屏适配 */
@media screen and (max-width: 359px) {
.lp-hero__num {
    font-size: 54px;
}
.lp-week__day {
    font-size: 38px;
}
.lp-weekbar__day {
    width: 29px;
    height: 29px;
    font-size: 12px;
}
.lp-weekbar__day--active {
    font-size: 12.5px;
}
.lp-btn {
    padding: 12px 17px;
    font-size: 14px;
}
.lp-photo {
    flex-basis: 42%;
    max-width: 42%;
}
}
@media screen and (min-width: 560px) {
.lp-hero__num {
    font-size: 70px;
}
.lp-note__text {
    font-size: 15px;
}
}


/* ================================================================ 恋爱日历 */
.lp-page--calendar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.lp-page--calendar .lp-page__top {
  margin-bottom: 0;
}
.lp-cal {
  padding: 14px 12px 12px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: var(--lp-radius-xl);
  background:
    radial-gradient(120% 120% at 50% -20%, #ffffff 0%, rgba(255, 255, 255, 0) 60%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 241, 247, 0.95) 100%);
  box-shadow: var(--lp-shadow-card);
}
.lp-cal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 4px 10px;
}
.lp-page .lp-cal__title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: var(--lp-pink-700);
}
.lp-cal__nav {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid #ffd9e6;
  border-radius: 50%;
  background: #fff;
  color: var(--lp-pink-700);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}
.lp-cal__nav svg {
  width: 16px;
  height: 16px;
  display: block;
}
.lp-cal__nav:hover {
  background: #fff3f8;
}
.lp-cal__nav:active {
  transform: scale(0.94);
}
.lp-cal__nav--disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.lp-cal__week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  padding: 0 2px 6px;
}
.lp-cal__weekday {
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.5px;
  color: var(--lp-ink-light);
}
.lp-cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px 0;
  padding: 0 2px;
}

/* 一个日期 = 一个 34px 的圆 + 外面的留白 */
.lp-cal__cell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  font-size: 15px;
  line-height: 1;
  color: var(--lp-ink);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* 圆底：可点击的日子是白色 */
.lp-cal__cell::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 214, 230, 0.95);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}
.lp-cal__cell:not(.lp-cal__cell--blank):not(.lp-cal__cell--disabled):hover::before {
  transform: scale(1.07);
  box-shadow: inset 0 0 0 1px rgba(255, 179, 205, 0.95), 0 4px 10px rgba(240, 120, 160, 0.16);
}
.lp-cal__num {
  position: relative;
  z-index: 2;
  transform: translateY(-1px);
}

/* 空位：什么都不画 */
.lp-cal__cell--blank {
  cursor: default;
}
.lp-cal__cell--blank::before {
  display: none;
}

/* 早于开始日子的：灰色点，点不动 */
.lp-cal__cell--disabled {
  color: #b6a7af;
  cursor: not-allowed;
}
.lp-cal__cell--disabled::before {
  background: #ece4e8;
  box-shadow: inset 0 0 0 1px #e4d9de;
}

/* 有照片的日子：粉红色圆 */
.lp-cal__cell--memory {
  font-weight: 600;
  color: #ffffff;
}
.lp-cal__cell--memory::before {
  background: linear-gradient(135deg, #ffc3da 0%, #ff9cbd 55%, #ff8fb4 100%);
  box-shadow: 0 6px 14px rgba(255, 143, 180, 0.4);
}
.lp-cal__cell--memory:hover::before {
  box-shadow: 0 8px 18px rgba(255, 143, 180, 0.5);
}

/* 今天：粉色细描边 */
.lp-cal__cell--today:not(.lp-cal__cell--memory)::before {
  box-shadow: inset 0 0 0 1.6px rgba(255, 111, 156, 0.5);
}

/* 选中：一个爱心圈着日期 */
.lp-cal__heart {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 35px;
  margin: -17px 0 0 -15px;
  color: #f2507f;
  z-index: 3;
  pointer-events: none;
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.95)) drop-shadow(0 0 1.5px rgba(255, 255, 255, 0.85));
  animation: lp-heart-pop 0.44s cubic-bezier(0.2, 0.9, 0.3, 1.15) both;
}
@keyframes lp-heart-pop {
0% {
    opacity: 0;
    transform: scale(0.55);
}
62% {
    opacity: 1;
    transform: scale(1.08);
}
100% {
    opacity: 1;
    transform: scale(1);
}
}

/* ---------------------------------------------------------- 那天的记录 */
.lp-memory {
  padding: 12px 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: var(--lp-radius-lg);
  background: #fff;
  box-shadow: var(--lp-shadow-card);
}
.lp-page .lp-memory__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 2px 4px 10px;
}
.lp-memory__date {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--lp-pink-700);
}
.lp-memory__tag {
  padding: 2px 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff0f6, #ffe1ed);
  border: 1px solid #ffd6e6;
  font-size: 10.5px;
  letter-spacing: 1px;
  color: var(--lp-pink-700);
}

/* 照片：横图竖图都能完整看到，底色是淡粉的"相册页" */
.lp-memory__photo {
  width: 100%;
  padding-top: 100%;
  border-radius: 16px;
  background-color: #fff4f9;
  background-image: linear-gradient(150deg, #fff6fa 0%, #ffe8f1 100%);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255, 214, 230, 0.9);
  /* 换到另一天时像翻开一张相片 */
  animation: lp-photo-in 0.5s cubic-bezier(0.22, 0.8, 0.28, 1) both;
}
@keyframes lp-photo-in {
0% {
    opacity: 0;
    transform: scale(0.955) rotate(-1.2deg);
}
100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}
}

/* 四张 us 里的图 */
.lp-memory__photo--0816 {
  background-image: url(../images/0816.jpg);
}
.lp-memory__photo--0819 {
  background-image: url(../images/0819.jpg);
}
.lp-memory__photo--1005 {
  background-image: url(../images/1005.jpg);
}
.lp-memory__photo--1006 {
  background-image: url(../images/1006.jpg);
}
.lp-page .lp-memory__text {
  padding: 12px 6px 0;
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: 0.25px;
  color: #5a3742;
}

/* 文案逐字浮出：每个字带一点模糊和倾斜，像一笔一笔写上去 */
.lp-char {
  display: inline-block;
  white-space: pre;
  animation: lp-char-in 0.44s cubic-bezier(0.22, 0.8, 0.28, 1) both;
}
@keyframes lp-char-in {
0% {
    opacity: 0;
    filter: blur(2.5px);
    transform: translateY(9px) rotate(-5deg) scale(0.92);
}
60% {
    opacity: 1;
    filter: blur(0.6px);
}
100% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) rotate(0deg) scale(1);
}
}
.lp-page .lp-memory__empty {
  padding: 26px 10px 10px;
  font-size: 13px;
  line-height: 1.9;
  text-align: center;
  color: var(--lp-ink-light);
}


/* ================================================================ 予你讯息 */
.lp-page--message {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.lp-page--message .lp-page__top {
  margin-bottom: 0;
}
.lp-msg {
  padding: 28px 20px 24px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: var(--lp-radius-xl);
  background:
    radial-gradient(120% 120% at 50% -20%, #ffffff 0%, rgba(255, 255, 255, 0) 60%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 241, 247, 0.95) 100%);
  box-shadow: var(--lp-shadow-card);
  text-align: center;
}
.lp-msg__seal {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffc3da 0%, #ff8fb4 55%, #ff6f9c 100%);
  box-shadow: 0 12px 22px rgba(255, 143, 180, 0.38);
  color: #fff;
  animation: lp-seal-float 4.6s ease-in-out infinite;
}
.lp-msg__heart {
  width: 26px;
  height: 26px;
  display: block;
}
@keyframes lp-seal-float {
0%,
  100% {
    transform: translateY(0);
}
50% {
    transform: translateY(-6px);
}
}
.lp-page .lp-msg__title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--lp-pink-700);
}
.lp-page .lp-msg__text {
  margin-top: 9px;
  font-size: 13.5px;
  line-height: 1.95;
  letter-spacing: 0.3px;
  color: var(--lp-ink-soft);
}
.lp-msg__btn {
  margin-top: 20px;
}

/* ---------------------------------------------------------- 弹窗 */
.lp-mask {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(92, 58, 70, 0.36);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.lp-modal {
  width: 100%;
  max-width: 300px;
  padding: 24px 20px 18px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 48px rgba(120, 60, 90, 0.26);
  text-align: center;
  animation: lp-modal-pop 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.15) both;
}
@keyframes lp-modal-pop {
0% {
    opacity: 0;
    transform: translateY(12px) scale(0.92);
}
100% {
    opacity: 1;
    transform: translateY(0) scale(1);
}
}
.lp-modal__seal {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffe1ed 0%, #ffc3da 100%);
  color: #ff6f9c;
}
.lp-modal__heart {
  width: 22px;
  height: 22px;
  display: block;
}
.lp-page .lp-modal__title {
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.8px;
  color: var(--lp-ink);
}
.lp-modal__actions {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}
.lp-modal__btn {
  flex: 1 1 0;
  padding: 12px 0;
  font-size: 14px;
}

/* 遮罩淡入淡出 */
.lp-fade-enter-active,
.lp-fade-leave-active {
  transition: opacity 0.22s ease;
}
.lp-fade-enter,
.lp-fade-leave-to {
  opacity: 0;
}


/* 模块切换动画：轻微上浮 + 淡入淡出 */
.lp-swap-enter-active,
.lp-swap-leave-active {
  transition: opacity 0.26s ease, transform 0.26s ease;
}
.lp-swap-enter {
  opacity: 0;
  transform: translateY(12px) scale(0.995);
}
.lp-swap-leave-to {
  opacity: 0;
  transform: translateY(-10px) scale(0.995);
}

