:root {
  --home-surface: #f7f8fa;
  --home-panel: rgba(255, 255, 255, 0.88);
  --home-panel-solid: #ffffff;
  --home-ink: #272932;
  --home-muted: #727680;
  --home-line: rgba(39, 41, 50, 0.1);
  --home-accent: #e95f78;
  --home-accent-strong: #c9405b;
  --home-accent-soft: #fbe8ec;
  --home-radius: 22px;
  --home-shadow: 0 18px 50px rgba(63, 56, 70, 0.1);
}

/* 2026 fidelity pass: measured from the public LG-NewUi demo. */
.home-modern-page {
  background-color: #fff;
  background-image: radial-gradient(rgba(42, 42, 42, 0.075) 0.75px, transparent 0.75px);
  background-size: 7px 7px;
}

.home-nav {
  background: rgba(244, 244, 242, 0.76);
  border: 0;
  height: 70px;
  padding: 0 clamp(28px, 6.4vw, 96px);
}

.home-brand {
  align-items: center;
  display: flex;
  font-family: "Segoe Script", "STXingkai", cursive;
  font-size: 17px;
  font-weight: 600;
  gap: 9px;
  white-space: nowrap;
}

.home-brand i {
  background: rgba(232, 79, 102, .55);
  height: 1px;
  width: 22px;
}

.home-brand b {
  color: #ff5968;
  font-family: sans-serif;
  font-size: 19px;
}

.home-nav-links {
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 8px 24px rgba(35, 38, 42, .04);
  gap: 0;
  padding: 5px;
}

.home-nav-links a {
  align-items: center;
  border-radius: 999px;
  color: #2c2e33;
  display: flex;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 13px;
  font-weight: 650;
  gap: 6px;
  height: 38px;
  justify-content: center;
  min-width: 68px;
  padding: 0 11px;
  transition: background .24s ease, color .24s ease, transform .24s ease;
}

.home-nav-links a::after { display: none; }
.home-nav-links a i { font-size: 12px; font-style: normal; }
.home-nav-links a:hover { background: rgba(255,255,255,.82); transform: translateY(-1px); }
.home-nav-links a.is-active {
  background: linear-gradient(135deg, #ff747d, #ff5d70);
  box-shadow: 0 7px 18px rgba(255, 90, 108, .34), inset 0 1px 0 rgba(255,255,255,.35);
  color: #fff;
}

.home-nav-tools { align-items: center; display: flex; gap: 10px; justify-self: end; }
.home-weather-chip,
.home-track-chip {
  align-items: center;
  background: rgba(230, 231, 230, .68);
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 999px;
  display: inline-flex;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 12px;
  gap: 7px;
  min-height: 36px;
  padding: 0 12px;
}
.home-weather-chip b { font-weight: 600; }
.home-couple-mini { gap: 0; margin-left: 7px; }
.home-couple-mini img { height: 34px; width: 34px; }
.home-couple-mini img + img { margin-left: -10px; }

.home-hero {
  background-attachment: fixed;
  min-height: min(720px, 100dvh);
  padding: 70px 20px 58px;
}

.home-hero-shade {
  background: linear-gradient(180deg, rgba(13, 18, 20, .18), rgba(13, 18, 20, .35));
}

.home-hero-inner {
  display: flex;
  justify-content: center;
  min-height: calc(min(720px, 100dvh) - 128px);
}

.home-portrait-panel {
  gap: clamp(62px, 10vw, 145px);
  grid-template-columns: 1fr auto 1fr;
  max-width: 790px;
  padding-top: 92px;
  width: 100%;
}
.home-portrait-panel::before { display: none; }
.home-portrait-panel figure img {
  border: 3px solid rgba(255,255,255,.95);
  box-shadow: 0 0 0 10px rgba(255,255,255,.2), 0 0 28px rgba(255,246,199,.75), 0 26px 48px rgba(0,0,0,.28);
  max-width: 152px;
}
.home-portrait-panel figcaption {
  background: rgba(29, 31, 28, .62);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 10px 20px rgba(0,0,0,.13);
  font-family: "Segoe Script", cursive;
  min-width: 142px;
}
.home-portrait-panel figure small { display: none; }
.home-heart {
  background: #ed4860;
  border: 0;
  box-shadow: 0 0 0 13px rgba(237,72,96,.08), 0 20px 40px rgba(116,19,39,.26);
  color: #ed4860;
  height: 76px;
  position: relative;
  text-shadow: none;
  width: 88px;
}
.home-heart::before,
.home-heart::after { background:#59d0d8; content:""; height:22px; position:absolute; top:-23px; width:4px; }
.home-heart::before { box-shadow:-28px 18px 0 #59d0d8, -42px 42px 0 #59d0d8; transform:rotate(-9deg); }
.home-heart::after { box-shadow:28px 18px 0 #59d0d8, 42px 42px 0 #59d0d8; transform:rotate(9deg); }
.home-distance-pill {
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  background: rgba(49, 50, 46, .62);
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 12px;
  color: #fff;
  font-family: "PingFang SC", sans-serif;
  left: 50%;
  padding: 12px 16px;
  position: absolute;
  top: 56px;
  transform: translateX(-50%);
  white-space: nowrap;
}
.home-distance-pill span { opacity:.78; margin:0 4px 0 8px; }
.home-distance-pill strong { font-size:16px; }

.home-hero-wave {
  background: rgba(255,255,255,.82);
  border-radius: 48% 52% 0 0 / 100% 100% 0 0;
  bottom: -42px;
  height: 90px;
  left: -4%;
  position: absolute;
  transform: rotate(1.5deg);
  width: 108%;
}
.home-hero-wave::after {
  background: rgba(255,255,255,.55);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  content:"";
  height:72px;
  left:-2%;
  position:absolute;
  top:-20px;
  transform:rotate(-3deg);
  width:104%;
}

.home-cozy-intro { padding: 74px 20px 18px; text-align:center; }
.home-cozy-intro span { color:#a3a0a3; font-family: Georgia, serif; font-size:12px; font-style:italic; letter-spacing:.2em; }
.home-cozy-intro h1 { color:#18191d; font-family:"Noto Serif SC","Songti SC",serif; font-size:clamp(29px,3vw,43px); font-weight:600; letter-spacing:.18em; margin:24px 0 0; }

.home-day-fusion {
  align-items:center;
  background: linear-gradient(135deg, rgba(255,255,255,.82), rgba(255,247,249,.72));
  backdrop-filter: blur(24px) saturate(145%);
  -webkit-backdrop-filter: blur(24px) saturate(145%);
  border:1px solid rgba(232,220,224,.82);
  border-radius:26px;
  box-shadow:0 24px 60px rgba(75,57,65,.09), inset 0 1px 0 rgba(255,255,255,.9);
  display:grid;
  gap:38px;
  grid-template-columns:1.08fr .92fr;
  margin-top:36px;
  overflow:hidden;
  padding:38px 44px;
  position:relative;
}
.home-day-fusion::after { background:radial-gradient(circle,rgba(255,115,141,.2),transparent 68%); content:""; height:280px; position:absolute; right:-70px; top:-110px; width:280px; }
.home-mac-dots { display:flex; gap:7px; margin-bottom:24px; }
.home-mac-dots i { background:#ff625f; border-radius:50%; height:10px; width:10px; }
.home-mac-dots i:nth-child(2){background:#f6bd3b}.home-mac-dots i:nth-child(3){background:#2ecb55}
.home-day-copy .home-kicker { color:#e85d75; font-family:ui-monospace,monospace; margin:0 0 9px; }
.home-day-copy h2 { color:#202229; font-family:"Noto Serif SC",serif; font-size:clamp(25px,3vw,38px); line-height:1.45; margin:0 0 10px; }
.home-day-copy>p:last-child { color:#777b85; line-height:1.75; margin:0; }
.home-day-fusion .home-time { border-left:1px solid rgba(44,46,54,.1); margin:0; padding:24px 0 24px 38px; position:relative; z-index:1; }
.home-day-fusion .home-time>span { color:#8b8c94; }
.home-day-fusion .home-time-grid { display:grid; grid-template-columns:repeat(2,1fr); }
.home-day-fusion .home-time-grid b { color:#272932; font-size:clamp(20px,2.4vw,34px); }

.home-dashboard { padding-top:70px; }
.home-bento-card {
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
  background: linear-gradient(145deg, rgba(255,255,255,.76), rgba(255,247,249,.64));
  border-color:rgba(226,211,217,.72);
  box-shadow:0 20px 52px rgba(76,57,65,.09), inset 0 1px 0 rgba(255,255,255,.92);
}

@media (max-width: 1120px) {
  .home-nav { grid-template-columns:auto 1fr auto; padding:0 20px; }
  .home-nav-links a { min-width:58px; padding:0 8px; }
  .home-weather-chip,.home-track-chip { display:none; }
}

@media (max-width: 640px) {
  .home-modern-page { padding-bottom:88px; }
  .home-nav { background:rgba(244,244,242,.68); height:54px; padding:0 14px; }
  .home-brand { font-family:"Noto Serif SC",serif; font-size:17px; font-weight:800; gap:0; }
  .home-brand i,.home-brand b,.home-brand span:not(:first-child) { display:none; }
  .home-nav-tools { gap:6px; }
  .home-weather-chip,.home-track-chip { display:inline-flex; font-size:12px; min-height:34px; padding:0 10px; }
  .home-weather-chip b { max-width:72px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .home-couple-mini { display:none; }
  .home-hero { background-attachment:scroll; min-height:422px; padding:54px 12px 32px; }
  .home-hero-inner { min-height:336px; }
  .home-portrait-panel { gap:18px; min-height:320px; padding:78px 6px 22px; }
  .home-portrait-panel figure img { border-width:2px; box-shadow:0 0 0 6px rgba(255,255,255,.2),0 0 20px rgba(255,246,199,.65),0 16px 28px rgba(0,0,0,.28); max-width:104px; }
  .home-portrait-panel figcaption { font-size:13px; margin-top:13px; min-width:94px; padding:6px 12px; }
  .home-heart { font-size:34px; height:58px; width:64px; }
  .home-distance-pill { font-size:12px; padding:10px 13px; top:42px; }
  .home-distance-pill strong { font-size:14px; }
  .home-hero-wave { bottom:-24px; height:58px; }
  .home-cozy-intro { padding:54px 16px 10px; }
  .home-cozy-intro span { font-size:10px; }
  .home-cozy-intro h1 { font-size:23px; letter-spacing:.12em; margin-top:18px; }
  .home-day-fusion { gap:24px; grid-template-columns:1fr; margin:28px 18px 0; padding:28px 26px; }
  .home-day-fusion .home-time { border-left:0; border-top:1px solid rgba(44,46,54,.1); padding:24px 0 0; }
  .home-day-fusion .home-time-grid b { font-size:20px; }
  .home-dashboard { padding-top:56px; }
  .home-mobile-nav {
    background:rgba(255,255,255,.78);
    border:1px solid rgba(255,255,255,.85);
    border-radius:28px;
    bottom:12px;
    box-shadow:0 18px 40px rgba(24,27,32,.17),inset 0 1px 0 #fff;
    display:grid;
    grid-template-columns:repeat(7,1fr);
    left:18px;
    padding:7px 5px;
    right:18px;
  }
  .home-mobile-nav a { align-items:center; border-radius:50%; display:flex; flex-direction:column; font-size:9px; gap:2px; height:48px; justify-content:center; min-width:0; padding:0; }
  .home-mobile-nav a i { font-size:15px; font-style:normal; }
  .home-mobile-nav a.is-active { background:#22252b; box-shadow:0 8px 18px rgba(19,22,27,.3); color:#fff; height:50px; margin-top:-10px; transform:scale(1.08); }
  .home-mobile-nav a.is-active span { display:none; }
  .home-mobile-nav a.is-active i { font-size:23px; }
  .home-float-action { display:none !important; }
}

/* Paid-demo inspired, data-backed home dashboard. */
.home-dashboard {
  padding-top: 76px;
}

.home-dashboard-heading {
  margin-bottom: 24px;
}

.home-eyebrow {
  color: var(--home-accent);
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin-bottom: 9px;
}

.home-dashboard-live {
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--home-line);
  border-radius: 999px;
  color: var(--home-muted);
  display: inline-flex;
  font-size: 12px;
  gap: 7px;
  padding: 8px 12px;
}

.home-dashboard-live i {
  background: #47b879;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(71, 184, 121, 0.13);
  height: 7px;
  width: 7px;
}

.home-bento {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.home-bento-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 250, 251, 0.88));
  border: 1px solid rgba(231, 217, 221, 0.9);
  border-radius: 24px;
  box-shadow: 0 18px 46px rgba(91, 67, 76, 0.08);
  color: var(--home-text);
  min-width: 0;
  overflow: hidden;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-bento-card:hover {
  box-shadow: 0 24px 58px rgba(91, 67, 76, 0.13);
  transform: translateY(-3px);
}

.home-bento-label {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.home-bento-label span {
  color: var(--home-muted);
  font-size: 12px;
}

.home-bento-label i {
  background: rgba(233, 95, 120, 0.09);
  border-radius: 999px;
  color: var(--home-accent);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 5px 8px;
}

.home-bento-presence {
  grid-column: span 8;
  min-height: 224px;
  padding: 26px 28px;
}

.home-bento-presence::after {
  background: radial-gradient(circle, rgba(233, 95, 120, 0.13), transparent 68%);
  content: "";
  height: 190px;
  left: 50%;
  pointer-events: none;
  position: absolute;
  top: 42px;
  transform: translateX(-50%);
  width: 280px;
}

.home-bento-people {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) minmax(140px, 0.7fr) minmax(0, 1fr);
  margin-top: 26px;
  position: relative;
  z-index: 1;
}

.home-bento-person {
  align-items: center;
  display: flex;
  gap: 13px;
  min-width: 0;
}

.home-bento-person.is-girl {
  flex-direction: row-reverse;
  text-align: right;
}

.home-bento-person img {
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(86, 62, 73, 0.16);
  height: 70px;
  object-fit: cover;
  width: 70px;
}

.home-bento-person div {
  min-width: 0;
}

.home-bento-person span,
.home-weather-card > span,
.home-distance-card > span {
  color: var(--home-muted);
  font-size: 11px;
}

.home-bento-person h3 {
  font-size: 20px;
  margin: 3px 0 5px;
}

.home-bento-person p {
  color: var(--home-muted);
  font-size: 12px;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-bento-link {
  align-items: center;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
}

.home-bento-link > span {
  border-top: 1px dashed rgba(233, 95, 120, 0.38);
}

.home-bento-link b {
  color: var(--home-accent);
  font-size: 22px;
  padding: 0 10px;
}

.home-bento-link small {
  color: var(--home-muted);
  font-size: 10px;
  grid-column: 1 / 4;
  margin-top: 8px;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-weather-card {
  background: linear-gradient(145deg, #fffaf1, #fff3e2);
  grid-column: span 2;
  min-height: 224px;
  padding: 23px;
}

.home-weather-card.is-girl {
  background: linear-gradient(145deg, #f5f8ff, #edf1fb);
}

.home-weather-icon {
  color: #f4a83c;
  font-size: 32px;
  line-height: 1;
  margin-bottom: 24px;
}

.home-weather-card.is-girl .home-weather-icon {
  color: #8394bd;
}

.home-weather-card strong {
  display: block;
  font-size: 38px;
  letter-spacing: -0.06em;
  line-height: 1;
  margin: 9px 0;
}

.home-weather-card p,
.home-progress-card p,
.home-health-card p,
.home-distance-card p {
  color: var(--home-muted);
  font-size: 12px;
  margin: 0;
}

.home-progress-card,
.home-health-card {
  grid-column: span 3;
  min-height: 230px;
  padding: 24px;
}

.home-progress-card {
  text-align: center;
}

.home-progress-card .home-bento-label {
  text-align: left;
}

.home-ring {
  align-items: center;
  background: conic-gradient(var(--home-accent) var(--home-progress), rgba(233, 95, 120, 0.12) 0);
  border-radius: 50%;
  display: flex;
  height: 108px;
  justify-content: center;
  margin: 16px auto 10px;
  position: relative;
  width: 108px;
}

.home-ring::after {
  background: #fffafb;
  border-radius: 50%;
  content: "";
  inset: 9px;
  position: absolute;
}

.home-ring strong {
  font-size: 25px;
  position: relative;
  z-index: 1;
}

.home-ring small,
.home-health-card small {
  color: var(--home-muted);
  font-size: 12px;
}

.home-health-card {
  background: linear-gradient(145deg, #f2fbf6, #e9f7f0);
}

.home-health-card > strong {
  display: block;
  font-size: 48px;
  letter-spacing: -0.06em;
  margin: 36px 0 16px;
}

.home-health-track {
  background: rgba(55, 157, 105, 0.12);
  border-radius: 999px;
  height: 8px;
  margin-bottom: 13px;
  overflow: hidden;
}

.home-health-track span {
  background: linear-gradient(90deg, #48b980, #7ed0a4);
  border-radius: inherit;
  display: block;
  height: 100%;
}

.home-content-stats {
  display: grid;
  grid-column: span 6;
  grid-template-columns: repeat(4, 1fr);
  min-height: 230px;
  padding: 26px;
}

.home-content-stats a {
  align-items: center;
  border-right: 1px solid var(--home-line);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.home-content-stats a:last-child {
  border-right: 0;
}

.home-content-stats strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 30px;
  letter-spacing: -0.06em;
}

.home-content-stats strong small {
  color: var(--home-muted);
  font-size: 12px;
}

.home-content-stats span {
  color: var(--home-muted);
  font-size: 12px;
  margin-top: 7px;
}

.home-distance-card {
  background: linear-gradient(135deg, #2f3037, #1f2026);
  color: #fff;
  grid-column: span 6;
  min-height: 230px;
  padding: 27px 30px;
}

.home-distance-card > span,
.home-distance-card p {
  color: rgba(255, 255, 255, 0.6);
}

.home-distance-card > strong {
  display: block;
  font-size: 46px;
  letter-spacing: -0.05em;
  margin: 22px 0 6px;
}

.home-distance-card > div {
  align-items: center;
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  margin-top: 28px;
}

.home-distance-card > div i {
  background: #fff;
  border-radius: 50%;
  height: 8px;
  width: 8px;
}

.home-distance-card > div span {
  border-top: 1px dashed rgba(255, 255, 255, 0.3);
}

.home-distance-card > div b {
  color: var(--home-accent);
  padding: 0 12px;
}

@media (max-width: 980px) {
  .home-bento-presence { grid-column: span 12; }
  .home-weather-card { grid-column: span 6; }
  .home-progress-card,
  .home-health-card { grid-column: span 6; }
  .home-content-stats,
  .home-distance-card { grid-column: span 12; }
}

@media (max-width: 640px) {
  .home-dashboard { padding-top: 54px; }
  .home-dashboard-heading { align-items: flex-start; gap: 15px; }
  .home-dashboard-live { flex: 0 0 auto; }
  .home-bento { gap: 12px; }
  .home-bento-card { border-radius: 20px; }
  .home-bento-presence { min-height: 0; padding: 22px 18px; }
  .home-bento-people { gap: 15px; grid-template-columns: 1fr; margin-top: 20px; }
  .home-bento-link { margin: 0 auto; width: min(240px, 82%); }
  .home-bento-person.is-girl { flex-direction: row; text-align: left; }
  .home-bento-person img { height: 60px; width: 60px; }
  .home-weather-card { min-height: 184px; padding: 19px; }
  .home-weather-icon { font-size: 27px; margin-bottom: 17px; }
  .home-weather-card strong { font-size: 32px; }
  .home-progress-card,
  .home-health-card { min-height: 215px; padding: 20px; }
  .home-health-card > strong { font-size: 40px; margin-top: 34px; }
  .home-content-stats { grid-template-columns: repeat(2, 1fr); padding: 16px; }
  .home-content-stats a { min-height: 90px; }
  .home-content-stats a:nth-child(2) { border-right: 0; }
  .home-content-stats a:nth-child(-n + 2) { border-bottom: 1px solid var(--home-line); }
  .home-distance-card { min-height: 205px; padding: 24px; }
  .home-distance-card > strong { font-size: 38px; }
}

@media (prefers-color-scheme: dark) {
  :root {
    --home-surface: #17181d;
    --home-panel: rgba(35, 36, 43, 0.88);
    --home-panel-solid: #23242b;
    --home-ink: #f3f1f4;
    --home-muted: #aaa8b1;
    --home-line: rgba(255, 255, 255, 0.1);
    --home-accent: #ef7b91;
    --home-accent-strong: #f39aad;
    --home-accent-soft: #442832;
    --home-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  }
}

.home-modern-page {
  background: var(--home-surface);
  color: var(--home-ink);
  cursor: auto;
  font-family: "Noto Serif SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.home-modern-page .header-wrap,
.home-modern-page .bg-wrap {
  display: none;
}

.home-modern-page *,
.home-modern-page *::before,
.home-modern-page *::after {
  box-sizing: border-box;
}

.home-modern-page a,
.home-modern-page a:hover {
  color: inherit;
  cursor: pointer;
}

.home-nav {
  align-items: center;
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  background: color-mix(in srgb, var(--home-surface) 78%, transparent);
  border-bottom: 1px solid var(--home-line);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  height: 70px;
  inset: 0 0 auto;
  padding: 0 max(24px, calc((100vw - 1200px) / 2));
  position: fixed;
  z-index: 20;
}

.home-brand {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.home-nav-links {
  display: flex;
  gap: 28px;
}

.home-nav-links a {
  color: var(--home-muted);
  font-size: 14px;
  position: relative;
}

.home-nav-links a::after {
  background: var(--home-accent);
  border-radius: 99px;
  content: "";
  height: 2px;
  inset: auto 50% -9px;
  position: absolute;
  transform: translateX(-50%) scaleX(0);
  transition: transform 0.2s ease;
  width: 18px;
}

.home-nav-links a:hover::after,
.home-nav-links a:focus-visible::after {
  transform: translateX(-50%) scaleX(1);
}

.home-couple-mini {
  align-items: center;
  display: flex;
  gap: 7px;
  justify-self: end;
}

.home-couple-mini img {
  border: 2px solid var(--home-panel-solid);
  border-radius: 50%;
  height: 32px;
  object-fit: cover;
  width: 32px;
}

.home-couple-mini span {
  color: var(--home-accent);
  font-size: 12px;
}

.home-hero {
  background-position: center;
  background-size: cover;
  min-height: min(820px, 100dvh);
  overflow: hidden;
  padding: 118px 24px 56px;
  position: relative;
}

.home-hero-shade {
  background:
    radial-gradient(circle at 76% 48%, rgba(233, 95, 120, 0.08), transparent 28%),
    linear-gradient(90deg, rgba(19, 25, 28, 0.78) 0%, rgba(24, 29, 32, 0.42) 48%, rgba(24, 29, 32, 0.23) 100%);
  inset: 0;
  position: absolute;
}

.home-hero-inner {
  align-items: center;
  display: grid;
  gap: 46px;
  grid-template-columns: minmax(0, 0.92fr) minmax(500px, 1.08fr);
  margin: 0 auto;
  max-width: 1200px;
  min-height: calc(min(820px, 100dvh) - 174px);
  position: relative;
}

.home-hero-copy {
  color: #f8f6f7;
  max-width: 630px;
}

.home-kicker {
  color: rgba(255, 255, 255, 0.72);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  margin-bottom: 16px;
}

.home-hero h1 {
  color: #f8f6f7;
  font-size: clamp(42px, 5.2vw, 72px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.08;
  margin: 0;
}

.home-writing {
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.8;
  margin: 22px 0 28px;
  max-width: 38em;
}

.home-time {
  border-left: 3px solid var(--home-accent);
  margin: 0 0 30px;
  padding-left: 18px;
}

.home-time > span {
  color: rgba(255, 255, 255, 0.68);
  display: block;
  font-size: 13px;
  margin-bottom: 9px;
}

.home-time-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 15px;
}

.home-time-grid b {
  color: #ffffff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(20px, 2vw, 27px);
  letter-spacing: -0.03em;
}

.home-primary-link {
  align-items: center;
  background: var(--home-accent);
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(173, 40, 68, 0.25);
  color: #ffffff !important;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  min-height: 48px;
  padding: 0 23px;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.home-primary-link:hover {
  background: var(--home-accent-strong);
  transform: translateY(-2px);
}

.home-primary-link:active {
  transform: scale(0.98);
}

.home-portrait-panel {
  align-items: center;
  display: grid;
  gap: 34px;
  grid-template-columns: 1fr auto 1fr;
  min-height: 390px;
  padding: 30px 4px;
  position: relative;
}

.home-portrait-panel::before {
  border-top: 1px dashed rgba(255, 255, 255, 0.36);
  content: "";
  left: 18%;
  position: absolute;
  right: 18%;
  top: 48%;
}

.home-portrait-panel figure {
  align-items: center;
  display: flex;
  flex-direction: column;
  margin: 0;
  min-width: 0;
  position: relative;
  text-align: center;
  z-index: 1;
}

.home-portrait-panel figure img {
  aspect-ratio: 1;
  border: 5px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  box-shadow:
    0 0 0 10px rgba(255, 255, 255, 0.12),
    0 24px 54px rgba(10, 15, 18, 0.35);
  max-width: 178px;
  object-fit: cover;
  width: 100%;
}

.home-portrait-panel figcaption {
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: rgba(17, 20, 24, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  margin-top: 20px;
  max-width: 100%;
  overflow: hidden;
  padding: 8px 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-portrait-panel figure small {
  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
  margin-top: 8px;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-heart {
  align-items: center;
  background: rgba(233, 95, 120, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  box-shadow:
    0 0 0 12px rgba(233, 95, 120, 0.08),
    0 18px 46px rgba(173, 40, 68, 0.34);
  color: var(--home-accent);
  display: flex;
  font-size: 46px;
  height: 88px;
  justify-content: center;
  position: relative;
  text-shadow: 0 8px 20px rgba(173, 40, 68, 0.32);
  width: 88px;
  z-index: 2;
}

.home-stats {
  background: var(--home-panel-solid);
  border-bottom: 1px solid var(--home-line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 auto;
  max-width: 1200px;
}

.home-stats a {
  align-items: center;
  border-right: 1px solid var(--home-line);
  display: flex;
  gap: 12px;
  justify-content: center;
  padding: 25px 18px;
}

.home-stats a:last-child {
  border-right: 0;
}

.home-stats strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 25px;
  letter-spacing: -0.05em;
}

.home-stats strong small {
  color: var(--home-muted);
  font-size: 13px;
}

.home-stats span {
  color: var(--home-muted);
  font-size: 13px;
}

.home-section {
  margin: 0 auto;
  max-width: 1200px;
  padding: 92px 24px 0;
}

.home-section-heading,
.home-panel-heading {
  align-items: end;
  display: flex;
  justify-content: space-between;
}

.home-section-heading h2,
.home-panel-heading h2 {
  color: var(--home-ink);
  font-size: clamp(27px, 3vw, 40px);
  letter-spacing: -0.035em;
  line-height: 1.25;
  margin: 0;
}

.home-section-heading p,
.home-panel-heading p {
  color: var(--home-muted);
  font-size: 14px;
  line-height: 1.7;
  margin-top: 10px;
}

.home-section-heading > a,
.home-text-link {
  color: var(--home-accent-strong) !important;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.home-note-list {
  border-top: 1px solid var(--home-line);
  margin-top: 34px;
}

.home-note-row {
  align-items: center;
  border-bottom: 1px solid var(--home-line);
  display: grid;
  gap: 24px;
  grid-template-columns: 190px 1fr auto;
  min-height: 92px;
  padding: 18px 6px;
  transition:
    color 0.2s ease,
    padding 0.2s ease;
}

.home-note-row:hover {
  color: var(--home-accent-strong);
  padding-left: 14px;
}

.home-note-row > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.home-note-row span,
.home-note-row time {
  color: var(--home-muted);
  font-size: 12px;
}

.home-note-row h3 {
  color: inherit;
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-note-row i {
  font-size: 18px;
  font-style: normal;
}

.home-gallery {
  display: grid;
  gap: 16px;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-template-rows: 220px 220px;
  margin-top: 34px;
}

.home-photo {
  border-radius: var(--home-radius);
  min-height: 0;
  overflow: hidden;
  position: relative;
}

.home-photo-1 {
  grid-row: 1 / 3;
}

.home-photo-2 {
  grid-column: 2 / 4;
}

.home-photo img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}

.home-photo:hover img {
  transform: scale(1.035);
}

.home-photo > div {
  background: linear-gradient(transparent, rgba(17, 19, 23, 0.82));
  bottom: 0;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 5px;
  left: 0;
  padding: 42px 18px 16px;
  position: absolute;
  right: 0;
}

.home-photo strong {
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-photo time {
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
}

.home-split-section {
  display: grid;
  gap: 22px;
  grid-template-columns: 0.92fr 1.08fr;
  padding-bottom: 32px;
}

.home-plan-panel,
.home-message-panel {
  background: var(--home-panel-solid);
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius);
  box-shadow: var(--home-shadow);
  padding: 30px;
}

.home-panel-heading {
  align-items: start;
}

.home-panel-heading h2 {
  font-size: 25px;
}

.home-panel-heading > strong {
  color: var(--home-accent-strong);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 25px;
}

.home-progress {
  background: var(--home-accent-soft);
  border-radius: 99px;
  height: 7px;
  margin: 24px 0;
  overflow: hidden;
}

.home-progress span {
  background: var(--home-accent);
  border-radius: inherit;
  display: block;
  height: 100%;
}

.home-plan-list,
.home-message-list {
  display: grid;
  gap: 10px;
}

.home-plan-item {
  align-items: center;
  background: var(--home-surface);
  border-radius: 14px;
  display: flex;
  gap: 11px;
  min-height: 48px;
  padding: 10px 13px;
}

.home-plan-item > span {
  color: var(--home-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 16px;
}

.home-plan-item.is-done > span {
  color: var(--home-accent-strong);
}

.home-plan-item p {
  color: var(--home-ink);
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-message-item {
  align-items: start;
  display: grid;
  gap: 12px;
  grid-template-columns: 42px 1fr;
  padding: 9px 0;
}

.home-message-item > img {
  border-radius: 50%;
  height: 42px;
  object-fit: cover;
  width: 42px;
}

.home-message-item header {
  align-items: center;
  display: flex;
  gap: 9px;
}

.home-message-item strong {
  color: var(--home-ink);
  font-size: 13px;
}

.home-message-item header span {
  color: var(--home-muted);
  font-size: 11px;
}

.home-message-item p {
  color: var(--home-muted);
  display: -webkit-box;
  font-size: 13px;
  line-height: 1.65;
  margin-top: 5px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-text-link {
  display: inline-block;
  margin-top: 22px;
}

.home-empty {
  color: var(--home-muted);
  font-size: 14px;
  padding: 28px 0;
}

.home-love-days {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 28px;
}

.home-love-day {
  background: var(--home-panel-solid);
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius);
  box-shadow: var(--home-shadow-soft);
  min-height: 190px;
  padding: 24px;
}

.home-love-day > span {
  color: var(--home-accent-strong);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.home-love-day h3 {
  color: var(--home-ink);
  font-size: 18px;
  line-height: 1.45;
  margin: 22px 0 12px;
}

.home-love-day p {
  color: var(--home-muted);
  font-size: 14px;
  margin: 0 0 16px;
}

.home-love-day p strong {
  color: var(--home-accent-strong);
  font-size: 28px;
  margin: 0 4px;
}

.home-love-day time {
  color: var(--home-muted);
  font-size: 12px;
}

.home-track-route {
  position: relative;
  display: grid;
  gap: 0;
  border: 1px solid var(--home-line);
  border-radius: 20px;
  background: var(--home-panel);
  overflow: hidden;
}
.home-track-stop {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 15px;
  align-items: center;
  min-height: 92px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--home-line);
  color: var(--home-ink);
}
.home-track-stop:last-child {
  border-bottom: 0;
}
.home-track-stop:hover {
  background: var(--home-accent-soft);
  color: var(--home-ink);
}
.home-track-stop i {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--track-color);
  box-shadow: 0 4px 12px rgba(41, 43, 51, 0.15);
  color: #fff;
  font-style: normal;
}
.home-track-stop div {
  min-width: 0;
}
.home-track-stop span {
  color: var(--home-accent-strong);
  font-size: 11px;
}
.home-track-stop h3 {
  margin: 3px 0;
  color: var(--home-ink);
  font-size: 17px;
}
.home-track-stop p,
.home-track-stop time {
  color: var(--home-muted);
  font-size: 12px;
}
.home-track-stop p {
  margin: 0;
}
.home-track-stop time {
  white-space: nowrap;
}

.home-music-section .home-section-heading > button {
  background: transparent;
  border: 0;
  color: var(--home-accent-strong);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 0;
}

.home-music-list {
  border-bottom: 1px solid var(--home-line);
  margin-top: 8px;
}

.home-music-track {
  align-items: center;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--home-line);
  color: var(--home-ink);
  cursor: pointer;
  display: grid;
  gap: 18px;
  grid-template-columns: 34px 52px minmax(0, 1fr) auto;
  padding: 15px 4px;
  text-align: left;
  transition:
    background-color 180ms ease,
    padding 180ms ease;
  width: 100%;
}

.home-music-track:hover,
.home-music-track:focus-visible {
  background: var(--home-accent-soft);
  outline: 0;
  padding-left: 14px;
  padding-right: 14px;
}

.home-music-number {
  color: var(--home-muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.home-music-disc {
  align-items: center;
  aspect-ratio: 1;
  background: var(--track-accent);
  border: 8px solid color-mix(in srgb, var(--track-accent) 28%, #202126);
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-size: 12px;
  justify-content: center;
}

.home-music-meta {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.home-music-meta strong,
.home-music-meta small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-music-meta strong {
  font-size: 16px;
}

.home-music-meta small {
  color: var(--home-muted);
  font-size: 12px;
}

.home-music-action {
  border: 1px solid var(--home-line);
  border-radius: 999px;
  color: var(--track-accent);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 14px;
}

.home-modern-page .footer-warp {
  background: var(--home-surface);
  margin-top: 40px;
}

.home-modern-page .footer-warp::after {
  display: none;
}

.home-modern-page .footer-warp .footer p {
  color: var(--home-muted);
}

.home-mobile-nav {
  display: none;
}

.home-float-action {
  display: none;
}

@media (prefers-reduced-transparency: reduce) {
  .home-nav,
  .home-portrait-panel {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .home-nav {
    background: var(--home-surface);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .home-hero-copy,
  .home-portrait-panel {
    animation: home-enter 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .home-portrait-panel {
    animation-delay: 0.12s;
  }

  .home-heart {
    animation: home-heart 2.2s ease-in-out infinite;
  }
}

.home-presence {
  align-items: center;
  background: var(--home-panel-solid);
  border: 1px solid var(--home-line);
  border-radius: 0 0 var(--home-radius) var(--home-radius);
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.55fr) minmax(0, 1fr);
  margin: 0 auto;
  max-width: 1200px;
  padding: 30px 36px;
}

.home-presence-person {
  align-items: center;
  display: flex;
  gap: 16px;
  min-width: 0;
}

.home-presence-person.is-girl {
  flex-direction: row-reverse;
  text-align: right;
}

.home-presence-person img {
  border: 3px solid var(--home-panel-solid);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(50, 44, 58, 0.15);
  height: 66px;
  object-fit: cover;
  width: 66px;
}

.home-presence-person div {
  min-width: 0;
}
.home-presence-person span {
  color: var(--home-muted);
  font-size: 12px;
}
.home-presence-person h2 {
  font-size: 20px;
  margin: 2px 0 4px;
}
.home-presence-person p {
  color: var(--home-muted);
  font-size: 13px;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-presence-bridge {
  align-items: center;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  position: relative;
}

.home-presence-bridge > span {
  border-top: 1px dashed var(--home-line);
}
.home-presence-bridge b {
  color: var(--home-accent);
  padding: 0 10px;
}
.home-presence-bridge p {
  color: var(--home-muted);
  font-size: 11px;
  grid-column: 1 / 4;
  margin: 7px 0 0;
  text-align: center;
}

.home-spotlight {
  align-items: stretch;
  background: #191b20;
  border-radius: calc(var(--home-radius) + 4px);
  color: #fff !important;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  min-height: 430px;
  overflow: hidden;
}

.home-spotlight img {
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  width: 100%;
}
.home-spotlight > div {
  align-self: end;
  padding: 44px;
}
.home-spotlight span {
  color: rgba(255, 255, 255, 0.58);
  font-family: ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
}
.home-spotlight h2 {
  color: #fff;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.2;
  margin: 14px 0 10px;
}
.home-spotlight p {
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 32px;
}
.home-spotlight b {
  color: #fff;
  font-size: 13px;
}

.home-epilogue {
  align-items: center;
  background: radial-gradient(
    circle at 50% 25%,
    var(--home-accent-soft),
    transparent 45%
  );
  display: flex;
  flex-direction: column;
  margin-top: 92px;
  padding: 110px 24px 130px;
  text-align: center;
}

.home-epilogue > p {
  color: var(--home-muted);
  font-family: ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
}
.home-epilogue h2 {
  font-size: clamp(38px, 6vw, 76px);
  letter-spacing: -0.06em;
  margin: 18px 0;
}
.home-epilogue blockquote {
  color: var(--home-muted);
  font-size: 16px;
  line-height: 1.8;
  margin: 0;
  max-width: 620px;
}
.home-epilogue > div {
  display: flex;
  gap: 10px;
  margin-top: 34px;
}
.home-epilogue a,
.home-epilogue button {
  background: var(--home-panel-solid);
  border: 1px solid var(--home-line);
  border-radius: 999px;
  color: var(--home-ink);
  font: inherit;
  font-size: 13px;
  min-height: 44px;
  padding: 0 19px;
}
.home-epilogue a {
  align-items: center;
  display: inline-flex;
}
.home-epilogue button {
  cursor: pointer;
}
.home-epilogue a:first-child {
  background: var(--home-accent);
  border-color: var(--home-accent);
  color: #fff;
}

@keyframes home-enter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes home-heart {
  0%,
  100% {
    transform: scale(0.92);
  }
  50% {
    transform: scale(1.08);
  }
}

@media (max-width: 900px) {
  .home-nav {
    grid-template-columns: 1fr auto;
    padding: 0 20px;
  }

  .home-nav-links {
    display: none;
  }

  .home-hero {
    min-height: auto;
    padding: 104px 20px 48px;
  }

  .home-hero-inner {
    gap: 34px;
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .home-portrait-panel {
    max-width: 560px;
    min-height: 330px;
    width: 100%;
  }

  .home-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-stats a:nth-child(2) {
    border-right: 0;
  }

  .home-stats a:nth-child(-n + 2) {
    border-bottom: 1px solid var(--home-line);
  }

  .home-split-section {
    grid-template-columns: 1fr;
  }

  .home-love-days {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-presence {
    grid-template-columns: 1fr;
  }
  .home-presence-bridge {
    margin: 0 auto;
    max-width: 320px;
    width: 100%;
  }
  .home-spotlight {
    grid-template-columns: 1fr;
  }
  .home-spotlight img {
    max-height: 480px;
  }
}

@media (max-width: 640px) {
  .home-nav {
    height: 62px;
  }

  .home-brand {
    font-size: 18px;
  }

  .home-couple-mini img {
    height: 29px;
    width: 29px;
  }

  .home-hero {
    padding: 88px 16px 34px;
  }

  .home-hero-shade {
    background: linear-gradient(
      180deg,
      rgba(16, 21, 24, 0.69),
      rgba(16, 21, 24, 0.78)
    );
  }

  .home-kicker {
    margin-bottom: 11px;
  }

  .home-hero h1 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .home-writing {
    font-size: 15px;
    margin: 16px 0 22px;
  }

  .home-time-grid {
    gap: 6px 10px;
  }

  .home-time-grid b {
    font-size: 18px;
  }

  .home-portrait-panel {
    gap: 18px;
    min-height: 240px;
    padding: 8px 0 20px;
  }

  .home-portrait-panel figure img {
    border-width: 4px;
    box-shadow:
      0 0 0 7px rgba(255, 255, 255, 0.1),
      0 18px 34px rgba(10, 15, 18, 0.3);
    max-width: 116px;
  }

  .home-heart {
    box-shadow:
      0 0 0 8px rgba(233, 95, 120, 0.08),
      0 14px 28px rgba(173, 40, 68, 0.28);
    font-size: 30px;
    height: 58px;
    width: 58px;
  }

  .home-portrait-panel figcaption {
    font-size: 13px;
    margin-top: 15px;
    padding: 6px 12px;
  }

  .home-portrait-panel figure small {
    font-size: 10px;
    max-width: 105px;
  }

  .home-section {
    padding: 68px 16px 0;
  }

  .home-presence {
    border-left: 0;
    border-radius: 0;
    border-right: 0;
    gap: 17px;
    padding: 22px 18px;
  }

  .home-presence-person img {
    height: 54px;
    width: 54px;
  }
  .home-presence-person h2 {
    font-size: 17px;
  }
  .home-presence-person p {
    max-width: 230px;
  }
  .home-spotlight {
    min-height: 0;
  }
  .home-spotlight img {
    min-height: 260px;
  }
  .home-spotlight > div {
    padding: 28px 24px 32px;
  }
  .home-epilogue {
    margin-top: 68px;
    padding: 84px 20px 120px;
  }

  .home-section-heading {
    align-items: start;
    flex-direction: column;
    gap: 15px;
  }

  .home-section-heading h2 {
    font-size: 29px;
  }

  .home-note-row {
    gap: 8px;
    grid-template-columns: 1fr auto;
    padding: 17px 2px;
  }

  .home-note-row > div {
    grid-column: 1 / 3;
    flex-direction: row;
  }

  .home-note-row h3 {
    font-size: 16px;
  }

  .home-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 260px 180px 180px;
  }

  .home-photo-1 {
    grid-column: 1 / 3;
    grid-row: auto;
  }

  .home-photo-2 {
    grid-column: auto;
  }

  .home-photo-4:nth-child(4) {
    grid-column: 1 / 3;
  }

  .home-split-section {
    padding-bottom: 84px;
  }

  .home-love-days {
    display: flex;
    margin-left: -16px;
    margin-right: -16px;
    overflow-x: auto;
    padding: 0 16px 10px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .home-love-days::-webkit-scrollbar {
    display: none;
  }

  .home-love-day {
    flex: 0 0 min(78vw, 290px);
    min-height: 176px;
    scroll-snap-align: start;
  }

  .home-track-stop {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 11px;
    padding: 16px;
  }

  .home-track-stop time {
    grid-column: 2;
    margin-top: -4px;
  }

  .home-music-track {
    gap: 11px;
    grid-template-columns: 25px 44px minmax(0, 1fr) auto;
    padding: 13px 2px;
  }

  .home-music-action {
    padding: 7px 10px;
  }

  .home-plan-panel,
  .home-message-panel {
    padding: 22px;
  }

  .home-mobile-nav {
    align-items: center;
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    background: color-mix(in srgb, var(--home-panel-solid) 88%, transparent);
    border: 1px solid var(--home-line);
    border-radius: 999px;
    bottom: 12px;
    box-shadow: var(--home-shadow);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    left: 12px;
    padding: 7px;
    position: fixed;
    right: 12px;
    z-index: 30;
  }

  .home-mobile-nav a {
    color: var(--home-muted);
    font-size: 12px;
    padding: 10px 6px;
    text-align: center;
  }

  .home-mobile-nav a:first-child {
    border-radius: 999px;
  }

  .home-float-action {
    align-items: center;
    background: var(--home-accent);
    border: 3px solid var(--home-panel-solid);
    border-radius: 999px;
    bottom: 82px;
    box-shadow: 0 10px 28px rgba(52, 46, 58, 0.22);
    color: #ffffff;
    display: flex;
    height: 50px;
    justify-content: center;
    position: fixed;
    right: 16px;
    width: 50px;
    z-index: 31;
  }

  .home-float-action svg {
    fill: currentColor;
    height: 22px;
    width: 22px;
  }

  body:has(#lgMusic) .home-float-action {
    bottom: 154px;
  }
}

/* Fidelity overrides intentionally live last in the cascade. */
.home-modern-page .home-nav { background:rgba(244,244,242,.76); border:0; height:70px; padding:0 clamp(28px,6.4vw,96px); }
.home-modern-page .home-brand { align-items:center; display:flex; font-family:"Segoe Script","STXingkai",cursive; font-size:17px; font-weight:600; gap:9px; white-space:nowrap; }
.home-modern-page .home-brand i { background:rgba(232,79,102,.55); height:1px; width:22px; }
.home-modern-page .home-brand b { color:#ff5968; font-family:sans-serif; font-size:19px; }
.home-modern-page .home-nav-links { backdrop-filter:saturate(180%) blur(20px); -webkit-backdrop-filter:saturate(180%) blur(20px); background:rgba(255,255,255,.72); border:1px solid rgba(255,255,255,.72); border-radius:999px; box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 8px 24px rgba(35,38,42,.04); gap:0; padding:5px; }
.home-modern-page .home-nav-links a { align-items:center; border-radius:999px; color:#2c2e33; display:flex; font-family:"PingFang SC","Microsoft YaHei",sans-serif; font-size:13px; font-weight:650; gap:6px; height:38px; justify-content:center; min-width:68px; padding:0 11px; }
.home-modern-page .home-nav-links a::after { display:none; }
.home-modern-page .home-nav-links a.is-active { background:linear-gradient(135deg,#ff747d,#ff5d70); box-shadow:0 7px 18px rgba(255,90,108,.34),inset 0 1px 0 rgba(255,255,255,.35); color:#fff; }
.home-modern-page .home-couple-mini { gap:0; margin-left:7px; }
.home-modern-page .home-couple-mini img { height:34px; width:34px; }
.home-modern-page .home-couple-mini img + img { margin-left:-10px; }
.home-modern-page .home-hero { background-attachment:fixed; min-height:min(720px,100dvh); padding:70px 20px 58px; }
.home-modern-page .home-hero-shade { background:linear-gradient(180deg,rgba(13,18,20,.18),rgba(13,18,20,.35)); }
.home-modern-page .home-hero-inner { display:flex; justify-content:center; min-height:calc(min(720px,100dvh) - 128px); }
.home-modern-page .home-portrait-panel { gap:clamp(62px,10vw,145px); grid-template-columns:1fr auto 1fr; max-width:790px; min-height:390px; padding:92px 4px 30px; width:100%; }
.home-modern-page .home-portrait-panel::before { display:none; }
.home-modern-page .home-portrait-panel figure img { border:3px solid rgba(255,255,255,.95); box-shadow:0 0 0 10px rgba(255,255,255,.2),0 0 28px rgba(255,246,199,.75),0 26px 48px rgba(0,0,0,.28); max-width:152px; }
.home-modern-page .home-portrait-panel figcaption { background:rgba(29,31,28,.62); border:1px solid rgba(255,255,255,.18); font-family:"Segoe Script",cursive; min-width:142px; }
.home-modern-page .home-portrait-panel figure small { display:none; }
.home-modern-page .home-heart { background:#ed4860; border:0; color:#ed4860; font-size:46px; height:76px; width:88px; }
.home-modern-page .home-bento-card { backdrop-filter:blur(22px) saturate(145%); -webkit-backdrop-filter:blur(22px) saturate(145%); background:linear-gradient(145deg,rgba(255,255,255,.76),rgba(255,247,249,.64)); }

@media (max-width:1120px) {
  .home-modern-page .home-nav { grid-template-columns:auto 1fr auto; padding:0 20px; }
  .home-modern-page .home-nav-links a { min-width:58px; padding:0 8px; }
  .home-modern-page .home-weather-chip,.home-modern-page .home-track-chip { display:none; }
}

@media (max-width:640px) {
  .home-modern-page { padding-bottom:88px; }
  .home-modern-page .home-nav { background:rgba(244,244,242,.68); height:54px; padding:0 14px; }
  .home-modern-page .home-brand { font-family:"Noto Serif SC",serif; font-size:17px; font-weight:800; gap:0; }
  .home-modern-page .home-brand i,.home-modern-page .home-brand b,.home-modern-page .home-brand span:not(:first-child) { display:none; }
  .home-modern-page .home-weather-chip,.home-modern-page .home-track-chip { display:inline-flex; font-size:12px; min-height:34px; padding:0 10px; }
  .home-modern-page .home-couple-mini { display:none; }
  .home-modern-page .home-hero { background-attachment:scroll; min-height:422px; padding:54px 12px 32px; }
  .home-modern-page .home-hero-inner { min-height:336px; }
  .home-modern-page .home-portrait-panel { gap:18px; min-height:320px; padding:78px 6px 22px; }
  .home-modern-page .home-portrait-panel figure img { border-width:2px; box-shadow:0 0 0 6px rgba(255,255,255,.2),0 0 20px rgba(255,246,199,.65),0 16px 28px rgba(0,0,0,.28); max-width:104px; }
  .home-modern-page .home-portrait-panel figcaption { font-size:13px; margin-top:13px; min-width:94px; padding:6px 12px; }
  .home-modern-page .home-heart { font-size:34px; height:58px; width:64px; }
  .home-modern-page .home-mobile-nav { background:rgba(255,255,255,.78); border:1px solid rgba(255,255,255,.85); border-radius:28px; bottom:12px; box-shadow:0 18px 40px rgba(24,27,32,.17),inset 0 1px 0 #fff; display:grid; grid-template-columns:repeat(7,1fr); left:18px; padding:7px 5px; right:18px; }
  .home-modern-page .home-mobile-nav a { align-items:center; border-radius:50%; display:flex; flex-direction:column; font-size:9px; gap:2px; height:48px; justify-content:center; min-width:0; padding:0; }
  .home-modern-page .home-mobile-nav a i { font-size:15px; font-style:normal; }
  .home-modern-page .home-mobile-nav a.is-active { background:#22252b; box-shadow:0 8px 18px rgba(19,22,27,.3); color:#fff; height:50px; margin-top:-10px; transform:scale(1.08); }
  .home-modern-page .home-mobile-nav a.is-active span { display:none; }
  .home-modern-page .home-mobile-nav a.is-active i { font-size:23px; }
  .home-modern-page .home-float-action { display:none !important; }
}

.home-hero-slides,
.home-hero-slide { inset:0; position:absolute; }
.home-hero-slide {
  background-position:center;
  background-size:cover;
  opacity:0;
  transform:scale(1.025);
  transition:opacity 1.1s ease,transform 8s linear;
}
.home-hero-slide.is-active { opacity:1; transform:scale(1); }
.home-modern-page .home-heart {
  appearance:none;
  background:transparent;
  border:0;
  border-radius:50%;
  box-shadow:none;
  cursor:pointer;
  display:block;
  height:140px;
  isolation:isolate;
  margin:0;
  outline:0;
  padding:0;
  width:140px;
}
.home-modern-page .home-heart::before,
.home-modern-page .home-heart::after { display:none; }
.home-modern-page .home-heart img {
  animation:home-memory-heart 2s linear infinite;
  border-radius:50%;
  display:block;
  height:140px;
  position:relative;
  transition:filter .3s,transform .15s;
  width:140px;
  z-index:1;
}
.home-modern-page .home-heart:hover img { filter:drop-shadow(0 8px 20px rgba(233,72,96,.24)); }
.home-modern-page .home-heart:active img { transform:scale(.94); }
.home-modern-page .home-heart.is-popped img {
  animation:home-heart-pop .56s cubic-bezier(.34,1.56,.64,1) both;
}
.home-heart-spark {
  background:linear-gradient(145deg,#ff8297,#de3752);
  border-radius:4px 4px 7px 7px;
  box-shadow:0 6px 14px rgba(218,51,80,.2);
  height:10px;
  left:50%;
  pointer-events:none;
  position:absolute;
  top:50%;
  transform:translate(-50%,-50%) rotate(45deg);
  width:10px;
  z-index:0;
  animation:home-heart-spark var(--d,.7s) cubic-bezier(.22,1,.36,1) forwards;
}
.home-heart-spark::before,
.home-heart-spark::after {
  background:inherit;
  border-radius:50%;
  content:"";
  height:10px;
  position:absolute;
  width:10px;
}
.home-heart-spark::before { left:-5px; top:0; }
.home-heart-spark::after { left:0; top:-5px; }
.home-modern-page .home-distance-pill:hover { background:rgba(49,50,46,.76); color:#fff; transform:translateX(-50%) translateY(-2px); }

@keyframes home-memory-heart {
  0%,100% { transform:scale(1); }
  50% { transform:scale(1.18); }
}
@keyframes home-heart-pop {
  0% { transform:scale(1); }
  34% { transform:scale(.86) rotate(-4deg); }
  68% { transform:scale(1.24) rotate(3deg); }
  100% { transform:scale(1); }
}
@keyframes home-heart-spark {
  0% { opacity:0; transform:translate(-50%,-50%) rotate(45deg) scale(.2); }
  18% { opacity:.96; }
  100% { opacity:0; transform:translate(calc(-50% + var(--x)),calc(-50% + var(--y))) rotate(calc(45deg + var(--r))) scale(.82); }
}

@media (max-width:640px) {
  .home-modern-page .home-heart,
  .home-modern-page .home-heart img { height:92px; width:92px; }
}

@media (prefers-reduced-motion:reduce) {
  .home-modern-page .home-heart img { animation:none; }
  .home-heart-spark { display:none; }
  .home-hero-slide { transition:none; }
}

.home-modern-page .home-nav { grid-template-columns:1fr 1fr; }
.home-island-placeholder { display:none; }
.home-island-wrapper {
  align-items:center;
  display:flex;
  height:56px;
  justify-content:center;
  position:sticky;
  top:14px;
  width:100%;
  z-index:22;
}
.home-modern-page .home-island-wrapper .home-nav-links {
  background:rgba(255,255,255,.75);
  border-radius:0 0 18px 18px;
  height:56px;
  padding:7px;
  position:relative;
  transform:scale(1);
  transition:transform .4s cubic-bezier(.34,1.56,.64,1),width .25s ease-out,height .25s ease-out,padding .25s ease-out,border-radius .25s ease-out,background .25s;
  width:704px;
}
.home-modern-page .home-island-wrapper .home-nav-links a { flex:1; height:42px; min-width:0; position:relative; z-index:1; }
.home-nav-indicator {
  background:linear-gradient(135deg,#ff747d,#ff5d70);
  border-radius:999px;
  box-shadow:0 7px 18px rgba(255,90,108,.34);
  height:42px;
  left:calc(7px + (100% - 14px) / 7 * 3);
  pointer-events:none;
  position:absolute;
  top:7px;
  transition:left .35s cubic-bezier(.34,1.56,.64,1),width .25s ease;
  width:calc((100% - 14px) / 7);
}
.home-modern-page .home-island-wrapper .home-nav-links a.is-active { background:transparent; box-shadow:none; }
.home-island-wrapper.is-stuck { height:46px; position:sticky; }
.home-modern-page .home-island-wrapper.is-stuck .home-nav-links {
  background:rgba(248,248,248,.65);
  border-radius:50px;
  height:46px;
  padding:5px;
  transform:scale(.88);
  width:622px;
}
.home-modern-page .home-island-wrapper.is-stuck .home-nav-links a { height:36px; }
.home-island-wrapper.is-stuck .home-nav-indicator { height:36px; left:calc(5px + (100% - 10px) / 7 * 3); top:5px; width:calc((100% - 10px) / 7); }

@media (max-width:1120px) {
  .home-modern-page .home-nav { grid-template-columns:1fr 1fr; }
  .home-modern-page .home-island-wrapper .home-nav-links a { min-width:0; }
}

@media (max-width:640px) {
  .home-island-wrapper { display:none; }
}
