:root {
  --bg: #fff7f0;
  --paper: rgba(255, 252, 247, 0.95);
  --paper-strong: rgba(255, 255, 255, 0.92);
  --line: #49342d;
  --ink: #49342d;
  --muted: #7f6862;
  --accent: #f3a159;
  --accent-strong: #ea874a;
  --pink: #f5d8e2;
  --blue: #dceaf5;
  --yellow: #ffe38c;
  --shadow: 0 22px 60px rgba(73, 52, 45, 0.1);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 225, 195, 0.5), transparent 20%),
    radial-gradient(circle at right 12%, rgba(245, 216, 226, 0.44), transparent 24%),
    radial-gradient(circle at left 74%, rgba(220, 234, 245, 0.33), transparent 18%),
    var(--bg);
  font-family: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.45;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='none' stroke='%23f1b5c8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M57 47c0-9 7-16 16-16 8 0 13 5 17 11 4-6 10-11 17-11 9 0 16 7 16 16 0 23-33 37-33 37S57 70 57 47Z'/%3E%3Cpath d='M162 105l4 10 10 4-10 4-4 10-4-10-10-4 10-4 4-10Z'/%3E%3Ccircle cx='52' cy='149' r='5'/%3E%3Ccircle cx='184' cy='53' r='4'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 220px 220px;
}

img {
  max-width: 100%;
  display: block;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100vw - 28px));
  margin: 22px auto 54px;
  display: grid;
  gap: 22px;
}

.side-decor {
  position: fixed;
  top: 0;
  bottom: 0;
  width: clamp(92px, 8vw, 148px);
  pointer-events: none;
  z-index: 0;
}

.side-decor::before,
.side-decor::after {
  content: "";
  position: absolute;
  width: clamp(64px, 6.2vw, 108px);
  aspect-ratio: 1 / 1;
  pointer-events: none;
  opacity: 0.84;
  filter: drop-shadow(0 12px 18px rgba(73, 52, 45, 0.12));
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.side-left {
  left: 18px;
}

.side-left::before {
  top: 356px;
  left: -6px;
  transform: rotate(-12deg);
  background-image: url("./assets/stickers/微信图片_20260423213458_340_24.png");
}

.side-left::after {
  bottom: 102px;
  left: 16px;
  transform: rotate(8deg);
  background-image: url("./assets/stickers/微信图片_20260423213953_352_24.png");
}

.side-right {
  right: 18px;
}

.side-right::before {
  top: 362px;
  right: -8px;
  transform: rotate(10deg);
  background-image: url("./assets/stickers/微信图片_20260423213500_342_24.png");
}

.side-right::after {
  bottom: 94px;
  right: 12px;
  transform: rotate(-8deg);
  background-image: url("./assets/stickers/微信图片_20260423213955_355_24.png");
}

.side-sticker {
  position: absolute;
  filter: drop-shadow(0 16px 24px rgba(73, 52, 45, 0.12));
  opacity: 0.98;
}

.side-sticker-a {
  top: 108px;
  left: 8px;
  width: 104px;
}

.side-sticker-c {
  top: 790px;
  left: 20px;
  width: 96px;
}

.side-sticker-d {
  top: 118px;
  right: 6px;
  width: 112px;
}

.side-sticker-f {
  top: 820px;
  right: 18px;
  width: 88px;
}

.top-ribbon {
  position: relative;
  overflow: hidden;
  min-height: 214px;
  border: 3px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(90deg, rgba(255, 248, 242, 0.55), rgba(255, 248, 242, 0.18)),
    url("./assets/banner/sakura-heart.jpg") center 42% / cover no-repeat;
  box-shadow: var(--shadow);
}

.ribbon-pattern {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 249, 245, 0.82), rgba(255, 249, 245, 0.34) 48%, rgba(255, 249, 245, 0.08) 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 46%, rgba(255, 255, 255, 0.32));
}

.ribbon-copy {
  position: relative;
  z-index: 1;
  width: min(430px, calc(100% - 520px));
  margin: 24px 0 0 24px;
  padding: 18px 20px;
  display: grid;
  gap: 10px;
  border: 2px solid rgba(73, 52, 45, 0.1);
  border-radius: 24px;
  background: rgba(255, 252, 248, 0.38);
  backdrop-filter: blur(6px);
}

.ribbon-copy strong {
  font-family: "KaiTi", "STKaiti", serif;
  font-size: clamp(1.44rem, 2.9vw, 2.22rem);
  line-height: 1.38;
}

.ribbon-copy span {
  color: var(--muted);
  line-height: 1.62;
  font-size: 0.92rem;
}

.topbar,
.hero-card,
.panel {
  position: relative;
  overflow: hidden;
  border: 3px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.topbar::before,
.hero-card::before,
.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 242, 229, 0.8), transparent 24%),
    radial-gradient(circle at bottom right, rgba(250, 232, 240, 0.68), transparent 18%);
  pointer-events: none;
}

.topbar::after,
.hero-card::after,
.panel::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 8px;
  width: clamp(42px, 4.1vw, 66px);
  aspect-ratio: 1 / 1;
  pointer-events: none;
  opacity: 0.26;
  background: url("./assets/stickers/微信图片_20260423213953_353_24.png") center / contain no-repeat;
}

.topbar > *,
.hero-card > *,
.panel > * {
  position: relative;
  z-index: 1;
}

.topbar {
  padding: 16px 22px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.brandmark {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brandmark div {
  display: grid;
  gap: 2px;
}

.brandmark strong {
  font-family: "KaiTi", "STKaiti", serif;
  font-size: 1.28rem;
}

.brandmark span:last-child {
  color: var(--muted);
  font-size: 0.92rem;
}

.brand-heart {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 3px solid var(--line);
  border-radius: 50%;
  background: linear-gradient(180deg, #ffd5dd, #f6b5c3);
  font-size: 1.08rem;
}

.topbar-actions {
  display: grid;
  justify-items: end;
  gap: 12px;
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.topnav a {
  padding: 10px 16px;
  border: 2px solid rgba(193, 124, 166, 0.42);
  border-radius: 16px;
  color: var(--ink);
  text-decoration: none;
  background:
    linear-gradient(180deg, rgba(255, 250, 252, 0.96), rgba(255, 240, 247, 0.92)),
    linear-gradient(135deg, rgba(255, 216, 234, 0.34), rgba(221, 233, 255, 0.24));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.56) inset,
    4px 4px 0 rgba(246, 214, 231, 0.85);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  position: relative;
  overflow: hidden;
  font-weight: 600;
}

.topnav a.is-active {
  border-color: rgba(205, 117, 159, 0.72);
  background:
    linear-gradient(180deg, #ffd2e2, #f9a8c4),
    linear-gradient(135deg, rgba(255, 226, 235, 0.85), rgba(233, 230, 255, 0.55));
  color: #7a3558;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.66) inset,
    5px 5px 0 rgba(246, 214, 231, 0.9);
}

.cloud-panel {
  width: min(420px, 100%);
}

.cloud-panel summary {
  list-style: none;
}

.cloud-panel summary::-webkit-details-marker {
  display: none;
}

.cloud-toggle {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  border: 2px solid rgba(193, 124, 166, 0.46);
  border-radius: 16px;
  background:
    linear-gradient(180deg, #ffd6e4, #f6b4cd),
    linear-gradient(135deg, rgba(255, 230, 238, 0.92), rgba(221, 233, 255, 0.5));
  color: #783455;
  font-weight: 700;
  cursor: pointer;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.65) inset,
    5px 5px 0 rgba(246, 214, 231, 0.9);
}

.cloud-dropdown {
  margin-top: 10px;
  padding: 16px;
  border: 3px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
}

.section-collapse {
  border: 2px dashed rgba(73, 52, 45, 0.18);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.52);
  padding: 12px 14px;
}

.section-collapse summary {
  list-style: none;
  cursor: pointer;
}

.section-collapse summary::-webkit-details-marker {
  display: none;
}

.section-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border: 2px solid rgba(193, 124, 166, 0.36);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 250, 252, 0.96), rgba(255, 240, 247, 0.92)),
    linear-gradient(135deg, rgba(255, 216, 234, 0.32), rgba(221, 233, 255, 0.22));
  font-weight: 700;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.54) inset,
    4px 4px 0 rgba(246, 214, 231, 0.78);
}

.section-collapse[open] .section-toggle {
  background:
    linear-gradient(180deg, #ffd3e2, #f7abc7),
    linear-gradient(135deg, rgba(255, 230, 238, 0.92), rgba(221, 233, 255, 0.5));
  color: #7a3558;
  border-color: rgba(205, 117, 159, 0.72);
}

.section-collapse-body {
  margin-top: 14px;
}

.compact-form textarea {
  min-height: 100px;
}

.hero-card {
  padding: 32px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 24px;
}

.eyebrow {
  margin: 0 0 10px;
  color: #c99e91;
  font-size: 0.78rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

h1,
h2,
.brandmark strong,
.stat-pill strong,
.avatar-card strong,
.timeline-item strong,
.album-copy strong,
.memory-copy strong,
.video-copy strong,
.message-card strong,
.music-card strong {
  font-family: "KaiTi", "STKaiti", "FangSong", serif;
}

h1,
h2 {
  margin: 0;
}

h1 {
  font-size: clamp(2.35rem, 5vw, 4rem);
  line-height: 1.16;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.hero-text,
.status-bar span,
.tip,
.feedback,
.timeline-item p,
.album-story,
.memory-card p,
.video-card p,
.message-card p,
.music-card p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 640px;
  margin: 16px 0 20px;
  font-size: 1.04rem;
}

.status-bar {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border-radius: 22px;
  border: 2px solid rgba(73, 52, 45, 0.14);
  background: rgba(255, 255, 255, 0.72);
}

.status-bar strong {
  font-size: 1.08rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.stat-pill {
  padding: 16px;
  border: 2px solid rgba(73, 52, 45, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  display: grid;
  gap: 8px;
}

.stat-pill span {
  color: var(--muted);
  font-size: 0.92rem;
}

.stat-pill strong {
  font-size: 1.35rem;
}

.hero-visual {
  min-height: 420px;
  display: grid;
  align-content: start;
  gap: 16px;
}

.avatar-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.avatar-card {
  padding: 18px;
  border: 3px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88);
  display: grid;
  gap: 12px;
  place-items: center;
}

.left-card {
  transform: rotate(-3deg);
}

.right-card {
  transform: rotate(4deg);
}

.avatar-head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.avatar-frame {
  width: 132px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--line);
  background:
    radial-gradient(circle at top, rgba(255, 214, 222, 0.86), transparent 34%),
    linear-gradient(180deg, #fff4ec, #ffe3c8);
}

.avatar-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-frame img[src=""] {
  opacity: 0;
}

.symbol {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid var(--line);
  font-size: 0.98rem;
}

.male-symbol {
  background: var(--blue);
}

.female-symbol {
  background: var(--pink);
}

.together-note {
  width: fit-content;
  padding: 12px 18px;
  border: 2px solid rgba(73, 52, 45, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  display: flex;
  align-items: center;
  gap: 10px;
}

.together-note span {
  color: var(--muted);
}

.doodles {
  position: relative;
  min-height: 180px;
}

.doodle {
  position: absolute;
  filter: drop-shadow(0 14px 18px rgba(73, 52, 45, 0.1));
}

.doodle.dog {
  width: 178px;
  left: 18px;
  top: 0;
}

.doodle.burger {
  width: 138px;
  right: 10px;
  bottom: 8px;
  transform: rotate(8deg);
}

.story-layout,
.two-column-panel,
.map-layout {
  display: grid;
  gap: 22px;
}

.left-story-column {
  display: grid;
  gap: 22px;
  align-content: start;
}

.home-support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.78fr);
  gap: 22px;
  align-items: start;
}

.route-panel,
.page-panel {
  padding: 28px;
}

.route-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.route-card {
  min-height: 210px;
  padding: 22px;
  border: 3px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--ink);
  display: grid;
  align-content: start;
  gap: 12px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.route-card strong {
  font-family: "KaiTi", "STKaiti", serif;
  font-size: 1.56rem;
}

.route-card span {
  color: var(--muted);
  line-height: 1.72;
}

.route-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(73, 52, 45, 0.14);
}

.route-card-peach {
  background: linear-gradient(180deg, rgba(255, 233, 211, 0.88), rgba(255, 250, 245, 0.92));
}

.route-card-pink {
  background: linear-gradient(180deg, rgba(247, 225, 235, 0.92), rgba(255, 250, 252, 0.94));
}

.route-card-blue {
  background: linear-gradient(180deg, rgba(222, 236, 247, 0.92), rgba(249, 252, 255, 0.94));
}

.route-card-yellow {
  background: linear-gradient(180deg, rgba(255, 240, 180, 0.9), rgba(255, 251, 238, 0.94));
}

.route-card-cream {
  background: linear-gradient(180deg, rgba(255, 245, 230, 0.92), rgba(255, 252, 246, 0.94));
}

.route-card-mint {
  background: linear-gradient(180deg, rgba(223, 243, 236, 0.9), rgba(249, 253, 251, 0.94));
}

.page-masthead {
  padding: 34px 36px;
  border: 3px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(255, 247, 238, 0.76), rgba(255, 251, 247, 0.86)),
    url("./assets/banner/sakura-heart.jpg") center / cover no-repeat;
  box-shadow: var(--shadow);
}

.page-masthead h1 {
  margin-top: 4px;
}

.page-masthead p:last-child {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.82;
  margin: 12px 0 0;
}

.story-layout {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  align-items: start;
}

.two-column-panel {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.panel {
  padding: 24px;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 18px;
}

.tip {
  max-width: 320px;
  text-align: right;
  font-size: 0.94rem;
}

.stack-form {
  display: grid;
  gap: 14px;
}

.inline-grid {
  display: grid;
  gap: 14px;
}

.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fixed-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.fixed-person,
.music-card,
.mini-list article,
.timeline-item,
.album-card,
.memory-card,
.video-card,
.message-card {
  border: 3px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.fixed-person {
  padding: 16px;
  display: grid;
  gap: 10px;
}

.fixed-person strong {
  font-family: "KaiTi", "STKaiti", serif;
  font-size: 1.2rem;
}

label {
  display: grid;
  gap: 8px;
  font-size: 0.96rem;
}

input,
textarea,
select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 2px solid rgba(73, 52, 45, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font: inherit;
  outline: none;
}

textarea {
  min-height: 118px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(243, 161, 89, 0.92);
  box-shadow: 0 0 0 4px rgba(243, 161, 89, 0.14);
}

.button-row,
.card-actions,
.video-actions,
.music-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.primary-button,
.ghost-button,
.music-tab {
  min-height: 46px;
  padding: 0 18px;
  border: 2px solid rgba(193, 124, 166, 0.42);
  border-radius: 16px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.56) inset,
    4px 4px 0 rgba(246, 214, 231, 0.84);
}

.primary-button {
  background:
    linear-gradient(180deg, #ffd3e2, #f6a6c4),
    linear-gradient(135deg, rgba(255, 226, 235, 0.92), rgba(221, 233, 255, 0.54));
  color: #7a3558;
}

.ghost-button,
.music-tab {
  background:
    linear-gradient(180deg, rgba(255, 250, 252, 0.96), rgba(255, 240, 247, 0.92)),
    linear-gradient(135deg, rgba(255, 216, 234, 0.32), rgba(221, 233, 255, 0.22));
  color: var(--ink);
}

.music-tab.active {
  background:
    linear-gradient(180deg, #ffd3e2, #f6a6c4),
    linear-gradient(135deg, rgba(255, 226, 235, 0.92), rgba(221, 233, 255, 0.54));
  color: #7a3558;
}

.subtle-button {
  min-height: 40px;
  width: fit-content;
}

.primary-button:hover,
.ghost-button:hover,
.music-tab:hover,
.topnav a:hover,
.cloud-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(73, 52, 45, 0.1);
}

.feedback {
  min-height: 24px;
}

.music-card {
  padding: 20px;
  display: grid;
  gap: 16px;
}

.music-card p,
.music-card span {
  margin: 0;
}

.music-player-shell {
  border-radius: 22px;
  overflow: hidden;
  border: 2px solid rgba(73, 52, 45, 0.12);
  background: #f6f1ed;
}

.music-embed-frame[hidden] {
  display: none !important;
}

.sticker-cutout {
  filter: drop-shadow(0 16px 24px rgba(73, 52, 45, 0.16));
}

.mini-list {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.mini-list article {
  padding: 16px;
  display: grid;
  gap: 8px;
}

.mini-list span {
  color: var(--muted);
  font-size: 0.9rem;
}

.mini-list strong {
  font-size: 1rem;
}

.setup-peek {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.setup-peek-card {
  padding: 16px;
  border: 3px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
  display: grid;
  gap: 8px;
}

.setup-peek-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

.setup-peek-card strong {
  font-family: "KaiTi", "STKaiti", serif;
  font-size: 1.08rem;
  line-height: 1.38;
}

.wish-panel {
  min-height: 428px;
}

.wish-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.wish-stat,
.wish-card {
  border: 3px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.wish-stat {
  padding: 18px;
  display: grid;
  gap: 6px;
  background: rgba(255, 255, 255, 0.86);
}

.wish-stat strong {
  font-family: "KaiTi", "STKaiti", serif;
  font-size: 1.9rem;
}

.wish-stat span {
  color: var(--muted);
  font-size: 0.92rem;
}

.wish-stat-yellow {
  background: linear-gradient(180deg, rgba(255, 241, 172, 0.9), rgba(255, 252, 233, 0.9));
}

.wish-stat-pink {
  background: linear-gradient(180deg, rgba(248, 223, 233, 0.92), rgba(255, 248, 251, 0.92));
}

.wish-stat-blue {
  background: linear-gradient(180deg, rgba(220, 234, 245, 0.92), rgba(249, 252, 255, 0.92));
}

.wish-list {
  margin-top: 16px;
  display: grid;
  gap: 14px;
}

.wish-card {
  position: relative;
  overflow: hidden;
  padding: 18px 18px 20px;
  display: grid;
  gap: 10px;
  background:
    linear-gradient(135deg, rgba(255, 241, 172, 0.22), transparent 42%),
    rgba(255, 255, 255, 0.9);
}

.wish-card strong {
  font-family: "KaiTi", "STKaiti", serif;
  font-size: 1.18rem;
  line-height: 1.32;
}

.wish-inline-editable {
  cursor: text;
}

.wish-inline-input {
  display: block;
  width: 100%;
  border: 2px solid rgba(234, 136, 70, 0.46);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font: inherit;
  line-height: 1.55;
  padding: 8px 10px;
  outline: none;
}

.wish-inline-input:focus {
  border-color: rgba(234, 136, 70, 0.82);
  box-shadow: 0 0 0 3px rgba(252, 218, 167, 0.58);
}

.wish-inline-editable-note .wish-inline-input {
  min-height: 94px;
  resize: vertical;
}

.wish-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.wish-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.wish-tag {
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 2px solid rgba(73, 52, 45, 0.16);
  font-size: 0.84rem;
}

.wish-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.wish-status {
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  border: 2px solid rgba(73, 52, 45, 0.16);
  background: rgba(255, 255, 255, 0.84);
  font-size: 0.84rem;
}

.wish-status-queued {
  background: rgba(255, 241, 172, 0.76);
}

.wish-status-planned {
  background: rgba(248, 223, 233, 0.78);
}

.wish-status-done {
  background: rgba(220, 234, 245, 0.82);
}

.wish-form {
  margin-top: 16px;
}

.timeline-list,
.message-feed {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.timeline-item {
  padding: 18px;
  display: grid;
  gap: 8px;
  background:
    linear-gradient(90deg, rgba(255, 227, 140, 0.28), transparent),
    rgba(255, 255, 255, 0.88);
}

.timeline-meta,
.album-meta,
.memory-meta,
.video-meta,
.message-meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.memory-city-emoji {
  width: fit-content;
  margin-top: 2px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(234, 136, 70, 0.32);
  background: rgba(255, 255, 255, 0.84);
  font-size: 0.92rem;
}

.author-badge {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  border: 2px solid rgba(73, 52, 45, 0.16);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font-size: 0.88rem;
}

.gallery-grid,
.memory-grid,
.video-grid {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

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

.memory-grid,
.video-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.album-card,
.memory-card,
.video-card {
  overflow: hidden;
}

.album-card {
  transform: none;
  border-radius: 22px;
}

.album-card:nth-child(even) {
  transform: none;
}

.album-image,
.memory-image,
.video-image,
.message-image {
  background: linear-gradient(180deg, #fff2e0, #ffe7d3);
}

.album-image,
.memory-image,
.video-image {
  aspect-ratio: 4 / 3;
  border-bottom: 2px solid rgba(73, 52, 45, 0.12);
}

.album-image img,
.memory-image img,
.video-image img,
.message-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.album-copy,
.memory-copy,
.video-copy,
.message-card {
  padding: 16px;
  display: grid;
  gap: 8px;
}

.album-copy {
  gap: 6px;
}

.album-copy strong {
  font-size: 1.18rem;
  line-height: 1.3;
}

.album-story {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.album-card .card-actions {
  margin-top: 4px;
}

.map-layout {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: start;
}

.map-board {
  min-height: 520px;
  border: 3px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(180deg, #fffaf4, #fff3e5);
  overflow: hidden;
}

.china-map {
  width: 100%;
  height: 520px;
}

.video-actions,
.card-actions {
  margin-top: 6px;
}

.danger-button {
  border-color: #b86154;
  color: #9f4f44;
}

.message-feed {
  max-height: 760px;
  overflow: auto;
  padding-right: 2px;
}

.message-card {
  background:
    linear-gradient(90deg, rgba(245, 216, 226, 0.24), transparent),
    rgba(255, 255, 255, 0.88);
}

.message-content {
  white-space: normal;
  word-break: break-word;
}

.message-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.message-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 3px solid var(--line);
  overflow: hidden;
  background: linear-gradient(180deg, #fff0e2, #ffd9cc);
}

.message-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.message-image {
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
  margin-top: 6px;
}

.empty-card {
  min-height: 160px;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  border: 3px dashed rgba(73, 52, 45, 0.22);
  border-radius: var(--radius-lg);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.52);
}

@media (max-width: 1100px) {
  .side-decor {
    display: none;
  }

  .ribbon-copy {
    width: min(100% - 30px, 560px);
  }

  .hero-card,
  .home-support-grid,
  .story-layout,
  .two-column-panel,
  .route-card-grid,
  .map-layout,
  .gallery-grid,
  .memory-grid,
  .video-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100vw - 18px, 100%);
    margin: 12px auto 28px;
  }

  .topbar,
  .hero-card,
  .panel {
    padding: 18px;
  }

  .top-ribbon {
    min-height: 186px;
  }

  .ribbon-copy {
    width: calc(100% - 30px);
    margin: 14px auto 0;
    padding: 14px 16px;
  }

  .ribbon-main {
    display: none;
  }

  .topbar,
  .topbar-actions,
  .panel-head,
  .button-row,
  .topnav,
  .hero-stats,
  .avatar-stack,
  .two-up,
  .fixed-pair,
  .setup-peek,
  .wish-overview {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .topbar {
    display: grid;
  }

  .topbar-actions {
    justify-items: stretch;
  }

  .tip {
    max-width: none;
    text-align: left;
  }

  .avatar-frame {
    width: 108px;
  }

  .doodle.dog {
    width: 132px;
    left: 0;
  }

  .doodle.burger {
    width: 104px;
    right: 0;
  }

  .china-map,
  .map-board {
    height: 380px;
    min-height: 380px;
  }
}

/* 2026-04 refresh: editorial KV, page personalities, collapsible composers */

body.route-home {
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 224, 201, 0.68), transparent 16%),
    radial-gradient(circle at 84% 10%, rgba(233, 219, 255, 0.36), transparent 18%),
    radial-gradient(circle at 18% 76%, rgba(255, 240, 196, 0.38), transparent 18%),
    linear-gradient(180deg, #fffaf5 0%, #fff7f1 52%, #fffaf7 100%);
}

body.route-timeline {
  background:
    radial-gradient(circle at 9% 14%, rgba(255, 240, 198, 0.54), transparent 18%),
    radial-gradient(circle at 85% 18%, rgba(201, 225, 255, 0.28), transparent 18%),
    linear-gradient(180deg, #fff9f2 0%, #fffdf8 54%, #fef8f0 100%);
}

body.route-album {
  background:
    radial-gradient(circle at 10% 14%, rgba(253, 220, 228, 0.46), transparent 18%),
    radial-gradient(circle at 83% 12%, rgba(255, 239, 180, 0.28), transparent 18%),
    linear-gradient(180deg, #fff8f6 0%, #fffdf9 56%, #fff8f2 100%);
}

body.route-map {
  background:
    radial-gradient(circle at 12% 18%, rgba(202, 245, 230, 0.34), transparent 18%),
    radial-gradient(circle at 84% 14%, rgba(177, 224, 255, 0.3), transparent 18%),
    linear-gradient(180deg, #f7fbf8 0%, #fcfffd 54%, #f3fbf8 100%);
}

body.route-videos {
  background:
    radial-gradient(circle at 10% 16%, rgba(244, 221, 184, 0.3), transparent 20%),
    radial-gradient(circle at 88% 12%, rgba(173, 205, 255, 0.22), transparent 18%),
    linear-gradient(180deg, #fff8f1 0%, #fffdf8 46%, #fff7ef 100%);
}

body.route-messages {
  background:
    radial-gradient(circle at 11% 15%, rgba(255, 220, 226, 0.42), transparent 18%),
    radial-gradient(circle at 82% 16%, rgba(255, 236, 194, 0.28), transparent 18%),
    linear-gradient(180deg, #fff8f5 0%, #fffdfa 52%, #fff7f4 100%);
}

body.route-wishes {
  background:
    radial-gradient(circle at 9% 18%, rgba(225, 244, 210, 0.44), transparent 18%),
    radial-gradient(circle at 84% 14%, rgba(195, 231, 255, 0.26), transparent 18%),
    linear-gradient(180deg, #f9fcf4 0%, #fdfff8 54%, #f8fbf4 100%);
}

body.route-home::before,
body.route-timeline::before,
body.route-album::before,
body.route-map::before,
body.route-videos::before,
body.route-messages::before,
body.route-wishes::before {
  opacity: 0.24;
  background-size: 240px 240px;
}

.side-decor {
  width: clamp(90px, 9vw, 170px);
}

.side-sticker {
  filter: drop-shadow(0 14px 20px rgba(73, 52, 45, 0.12));
}

.route-home .side-sticker-a {
  top: 108px;
  left: 10px;
  width: 116px;
}

.route-home .side-sticker-c {
  top: 745px;
  left: 22px;
  width: 100px;
}

.route-home .side-sticker-d {
  top: 136px;
  right: 8px;
  width: 132px;
}

.route-home .side-sticker-f {
  top: 730px;
  right: 16px;
  width: 106px;
}

.route-subpage .side-sticker-a {
  top: 136px;
  left: 14px;
  width: 118px;
}

.route-subpage .side-sticker-c {
  top: 760px;
  left: 18px;
  width: 112px;
}

.route-subpage .side-sticker-d {
  top: 164px;
  right: 14px;
  width: 122px;
}

.route-subpage .side-sticker-f {
  top: 768px;
  right: 16px;
  width: 102px;
}

.route-home .top-ribbon {
  min-height: 340px;
  background:
    linear-gradient(90deg, rgba(255, 250, 245, 0.86) 0%, rgba(255, 250, 245, 0.22) 44%, rgba(255, 250, 245, 0.08) 70%),
    url("./assets/banner/微信图片_20260423213715_351_24.jpg") center center / cover no-repeat;
}

.route-home .ribbon-pattern {
  background:
    linear-gradient(90deg, rgba(255, 252, 249, 0.94) 0%, rgba(255, 252, 249, 0.54) 28%, rgba(255, 252, 249, 0.08) 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 46%, rgba(255, 255, 255, 0.34));
}

.ribbon-stage {
  position: relative;
  z-index: 1;
  min-height: inherit;
  padding: 34px 38px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.5fr);
  gap: 20px;
  align-items: stretch;
}

.route-home .ribbon-copy {
  width: min(640px, 100%);
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  backdrop-filter: none;
  display: grid;
  align-content: end;
  gap: 10px;
}

.route-home .ribbon-copy strong {
  display: block;
  max-width: 8ch;
  font-size: clamp(2.65rem, 5vw, 4.9rem);
  line-height: 1.06;
  letter-spacing: 0.02em;
}

.route-home .ribbon-copy em {
  font-style: normal;
  font-family: "KaiTi", "STKaiti", serif;
  font-size: clamp(1.2rem, 2vw, 1.72rem);
  line-height: 1.48;
  color: #5f4942;
}

.route-home .ribbon-copy span {
  max-width: 420px;
  color: rgba(95, 73, 66, 0.8);
  font-size: 0.98rem;
  line-height: 1.72;
}

.ribbon-visual {
  position: relative;
  min-height: 270px;
}

.ribbon-chip {
  position: absolute;
  top: 6px;
  right: 16px;
  min-height: 38px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  border: 2px solid rgba(73, 52, 45, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-weight: 700;
}

.ribbon-mascot {
  position: absolute;
}

.ribbon-mascot-main {
  right: 12px;
  bottom: 8px;
  width: clamp(110px, 14vw, 154px);
}

.ribbon-mascot-mini {
  right: 126px;
  top: 78px;
  width: clamp(78px, 10vw, 98px);
}

.hero-card-home {
  background:
    linear-gradient(135deg, rgba(255, 252, 248, 0.94), rgba(255, 251, 248, 0.86)),
    radial-gradient(circle at 86% 24%, rgba(247, 223, 233, 0.4), transparent 18%);
}

.hero-visual-home {
  align-content: space-between;
}

.home-doodles {
  min-height: 152px;
}

.floating-doodle {
  position: absolute;
  filter: drop-shadow(0 14px 18px rgba(73, 52, 45, 0.1));
}

.floating-doodle-a {
  left: 18px;
  bottom: 6px;
  width: 88px;
}

.floating-doodle-b {
  right: 8px;
  bottom: 0;
  width: 124px;
}

.route-card {
  position: relative;
  overflow: hidden;
}

.route-card::after {
  content: "";
  position: absolute;
  inset: auto 18px 16px;
  height: 1px;
  background: linear-gradient(90deg, rgba(73, 52, 45, 0.18), transparent);
}

.route-card strong {
  position: relative;
  padding-bottom: 10px;
}

.page-masthead {
  position: relative;
  overflow: hidden;
  min-height: 282px;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(250px, 0.58fr);
  border: 3px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.page-masthead::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 252, 247, 0.92) 0%, rgba(255, 252, 247, 0.58) 34%, rgba(255, 252, 247, 0.1) 66%);
}

.page-masthead::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -34px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.28), transparent 68%);
  filter: blur(8px);
}

.masthead-copy,
.masthead-rail {
  position: relative;
  z-index: 1;
}

.masthead-copy {
  padding: 38px 38px 34px;
  display: grid;
  align-content: end;
}

.masthead-copy h1 {
  margin-top: 2px;
}

.masthead-copy p:last-child {
  max-width: 580px;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.74;
  font-size: 1rem;
}

.masthead-rail {
  padding: 28px 28px 18px 8px;
  display: grid;
  justify-items: end;
  align-content: end;
  gap: 14px;
}

.masthead-aside {
  width: min(250px, 100%);
  padding: 18px 18px 16px;
  border: 2px solid rgba(73, 52, 45, 0.14);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
  display: grid;
  gap: 8px;
}

.masthead-code {
  width: fit-content;
  min-width: 42px;
  min-height: 32px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(73, 52, 45, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.masthead-aside strong {
  font-size: 1.46rem;
}

.masthead-aside span:last-child {
  color: var(--muted);
  line-height: 1.64;
}

.masthead-mascot {
  width: clamp(92px, 11vw, 128px);
  max-height: 130px;
  object-fit: contain;
}

.route-timeline .page-masthead {
  background:
    linear-gradient(110deg, rgba(255, 249, 240, 0.92), rgba(255, 252, 247, 0.26)),
    url("./assets/banner/微信图片_20260423221411_359_24.jpg") center center / cover no-repeat;
}

.route-album .page-masthead {
  background:
    linear-gradient(110deg, rgba(255, 248, 246, 0.92), rgba(255, 251, 248, 0.2)),
    url("./assets/banner/微信图片_20260423221412_360_24.jpg") center center / cover no-repeat;
}

.route-map .page-masthead {
  background:
    linear-gradient(110deg, rgba(247, 251, 247, 0.9), rgba(249, 255, 252, 0.14)),
    url("./assets/banner/微信图片_20260423221413_361_24.jpg") center center / cover no-repeat;
}

.route-videos .page-masthead {
  background:
    linear-gradient(110deg, rgba(244, 250, 255, 0.3), rgba(255, 255, 255, 0.08)),
    url("./assets/banner/微信图片_20260423221415_362_24.jpg") center center / cover no-repeat;
}

.route-videos .page-masthead::before {
  background: linear-gradient(90deg, rgba(248, 252, 255, 0.92) 0%, rgba(248, 252, 255, 0.64) 36%, rgba(248, 252, 255, 0.12) 70%);
}

.route-messages .page-masthead {
  background:
    linear-gradient(110deg, rgba(255, 249, 246, 0.86), rgba(255, 255, 255, 0.14)),
    url("./assets/banner/微信图片_20260423221432_363_24.jpg") center center / cover no-repeat;
}

.route-messages .page-masthead::after {
  right: -24px;
  top: -18px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  transform: none;
  background: radial-gradient(circle, rgba(255, 240, 248, 0.36), transparent 66%);
  filter: blur(5px);
}

.route-wishes .page-masthead {
  background:
    linear-gradient(110deg, rgba(248, 252, 240, 0.92), rgba(255, 255, 248, 0.18)),
    url("./assets/banner/微信图片_20260423213715_351_24.jpg") center center / cover no-repeat;
}

.timeline-panel::before {
  background:
    linear-gradient(180deg, rgba(255, 247, 233, 0.5), transparent 46%),
    radial-gradient(circle at top right, rgba(253, 223, 176, 0.3), transparent 18%);
}

.album-panel::before {
  background:
    linear-gradient(180deg, rgba(255, 239, 244, 0.36), transparent 44%),
    radial-gradient(circle at top right, rgba(255, 219, 228, 0.28), transparent 20%);
}

.map-panel::before {
  background:
    linear-gradient(180deg, rgba(227, 245, 235, 0.32), transparent 44%),
    radial-gradient(circle at top right, rgba(193, 234, 255, 0.24), transparent 18%);
}

.video-panel::before {
  background:
    linear-gradient(180deg, rgba(219, 239, 255, 0.28), transparent 44%),
    radial-gradient(circle at top right, rgba(255, 226, 177, 0.24), transparent 20%);
}

.message-panel::before {
  background:
    linear-gradient(180deg, rgba(255, 233, 239, 0.28), transparent 44%),
    radial-gradient(circle at top right, rgba(255, 231, 195, 0.22), transparent 18%);
}

.wish-panel::before {
  background:
    linear-gradient(180deg, rgba(232, 245, 213, 0.32), transparent 44%),
    radial-gradient(circle at top right, rgba(214, 237, 255, 0.2), transparent 18%);
}

.section-collapse {
  border-style: solid;
  border-color: rgba(73, 52, 45, 0.12);
  background: rgba(255, 255, 255, 0.7);
}

.section-toggle {
  width: 100%;
  justify-content: space-between;
  padding: 0 16px;
}

.section-toggle::after {
  content: "展开";
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.section-collapse[open] .section-toggle::after {
  content: "收起";
  color: rgba(255, 250, 245, 0.88);
}

.section-collapse-body {
  padding-top: 8px;
}

.map-side .section-collapse,
.column-section .section-collapse,
.page-panel .section-collapse,
.wish-panel .section-collapse {
  margin-bottom: 8px;
}

.compact-form textarea {
  min-height: 96px;
}

.music-card,
.timeline-item,
.album-card,
.memory-card,
.video-card,
.message-card,
.wish-card,
.fixed-person,
.mini-list article {
  background: rgba(255, 255, 255, 0.84);
}

@media (max-width: 1180px) {
  .route-home .top-ribbon {
    min-height: 300px;
  }

  .ribbon-stage,
  .page-masthead {
    grid-template-columns: 1fr;
  }

  .ribbon-visual,
  .masthead-rail {
    min-height: 150px;
  }

  .masthead-rail {
    padding: 0 28px 24px;
    justify-items: start;
  }

  .masthead-aside {
    width: min(100%, 280px);
  }

  .masthead-mascot {
    justify-self: end;
  }
}

@media (max-width: 760px) {
  .side-decor {
    display: none;
  }

  .route-home .top-ribbon {
    min-height: 270px;
  }

  .ribbon-stage {
    padding: 24px 20px;
    gap: 10px;
  }

  .route-home .ribbon-copy strong {
    max-width: none;
    font-size: clamp(2.18rem, 9vw, 3.1rem);
  }

  .ribbon-visual {
    min-height: 118px;
  }

  .ribbon-mascot-main {
    width: 104px;
    right: 0;
    bottom: 0;
  }

  .ribbon-mascot-mini {
    width: 64px;
    right: 92px;
    top: 38px;
  }

  .page-masthead {
    min-height: 0;
  }

  .masthead-copy {
    padding: 26px 20px 10px;
  }

  .masthead-rail {
    padding: 0 20px 22px;
  }

  .masthead-mascot {
    width: 86px;
  }
}

/* 2026-04 refinement: reduce cardiness, keep banners clean */

.topbar,
.hero-card,
.panel,
.top-ribbon,
.page-masthead {
  border-width: 2px;
  box-shadow: 0 14px 34px rgba(73, 52, 45, 0.08);
}

.topbar::before,
.hero-card::before,
.panel::before {
  opacity: 0.7;
}

.page-shell {
  gap: 26px;
}

.route-home .top-ribbon {
  background:
    linear-gradient(90deg, rgba(255, 252, 248, 0.92) 0%, rgba(255, 252, 248, 0.48) 32%, rgba(255, 252, 248, 0.12) 58%),
    url("./assets/banner/微信图片_20260423213715_351_24.jpg") center center / cover no-repeat;
}

.route-home .ribbon-pattern {
  background:
    linear-gradient(90deg, rgba(255, 253, 250, 0.92) 0%, rgba(255, 253, 250, 0.38) 30%, rgba(255, 253, 250, 0.02) 56%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 42%, rgba(255, 255, 255, 0.16));
}

.ribbon-stage {
  grid-template-columns: 1fr 120px;
  gap: 0;
}

.ribbon-visual {
  min-height: 0;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.ribbon-chip {
  top: 0;
  right: 0;
  position: relative;
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.58);
  border-color: rgba(73, 52, 45, 0.1);
}

.ribbon-mascot,
.masthead-mascot {
  display: none !important;
}

.route-home .ribbon-copy strong {
  max-width: 6.8ch;
  font-size: clamp(3rem, 5.8vw, 5.45rem);
  letter-spacing: 0.01em;
}

.route-home .ribbon-copy em {
  max-width: 18ch;
  font-size: clamp(1.18rem, 2.1vw, 1.8rem);
}

.route-home .ribbon-copy span {
  max-width: 360px;
  font-size: 0.94rem;
}

.hero-card-home,
.route-panel,
.setup-panel,
.side-panel,
.timeline-panel,
.album-panel,
.map-panel,
.video-panel,
.message-panel,
.wish-panel {
  background: rgba(255, 253, 250, 0.82);
  backdrop-filter: blur(10px);
}

.hero-card {
  padding: 36px 38px;
}

.panel {
  padding: 30px 32px;
}

.route-card-grid {
  gap: 18px;
}

.route-card {
  min-height: 188px;
  border-width: 1px;
  border-color: rgba(73, 52, 45, 0.16);
  box-shadow: none;
  border-top-width: 3px;
  background-clip: padding-box;
}

.route-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(73, 52, 45, 0.08);
}

.avatar-card,
.music-card,
.mini-list article,
.timeline-item,
.album-card,
.memory-card,
.video-card,
.message-card,
.wish-card,
.fixed-person {
  border-width: 1px;
  border-color: rgba(73, 52, 45, 0.14);
  box-shadow: 0 10px 24px rgba(73, 52, 45, 0.06);
  background: rgba(255, 255, 255, 0.76);
}

.avatar-card {
  border-top-width: 2px;
}

.status-bar,
.stat-pill,
.setup-peek-card,
.together-note,
.cloud-dropdown,
.section-collapse,
.masthead-aside,
.music-player-shell {
  box-shadow: none;
}

.status-bar,
.stat-pill,
.setup-peek-card,
.together-note {
  border-color: rgba(73, 52, 45, 0.12);
  background: rgba(255, 255, 255, 0.66);
}

.stat-pill {
  padding: 18px 16px;
}

.panel-head {
  margin-bottom: 22px;
}

.tip {
  color: rgba(100, 82, 76, 0.72);
  font-size: 0.9rem;
}

.page-masthead {
  min-height: 256px;
  grid-template-columns: minmax(0, 1fr) 244px;
}

.page-masthead::before {
  background: linear-gradient(90deg, rgba(255, 253, 249, 0.94) 0%, rgba(255, 253, 249, 0.58) 34%, rgba(255, 253, 249, 0.08) 68%);
}

.masthead-copy {
  padding: 42px 40px 34px;
}

.masthead-copy h1 {
  font-size: clamp(2.6rem, 4.6vw, 4.5rem);
}

.masthead-copy p:last-child {
  max-width: 480px;
  font-size: 0.96rem;
}

.masthead-rail {
  padding: 24px 24px 20px 0;
}

.masthead-aside {
  border-width: 1px;
  border-color: rgba(73, 52, 45, 0.12);
  background: rgba(255, 255, 255, 0.6);
}

.masthead-code {
  border-width: 1px;
  border-color: rgba(73, 52, 45, 0.12);
}

.section-collapse {
  border-width: 1px;
  background: rgba(255, 255, 255, 0.56);
}

.section-toggle {
  min-height: 52px;
  border-width: 1px;
  border-color: rgba(73, 52, 45, 0.12);
  background: rgba(255, 255, 255, 0.74);
}

.section-collapse[open] .section-toggle {
  border-color: rgba(73, 52, 45, 0.18);
  background: linear-gradient(180deg, rgba(255, 194, 127, 0.94), rgba(242, 154, 88, 0.9));
}

.route-home .side-sticker-a,
.route-home .side-sticker-c,
.route-home .side-sticker-d,
.route-home .side-sticker-f,
.route-subpage .side-sticker-a,
.route-subpage .side-sticker-c,
.route-subpage .side-sticker-d,
.route-subpage .side-sticker-f {
  opacity: 0.92;
}

@media (max-width: 1180px) {
  .ribbon-stage {
    grid-template-columns: 1fr;
  }

  .ribbon-visual {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .hero-card,
  .panel {
    padding: 22px 20px;
  }

  .route-home .top-ribbon {
    min-height: 244px;
  }

  .route-home .ribbon-copy strong {
    max-width: none;
    font-size: clamp(2.3rem, 11vw, 3.25rem);
  }

  .masthead-copy {
    padding: 28px 20px 16px;
  }

  .page-masthead {
    grid-template-columns: 1fr;
  }

  .masthead-rail {
    padding: 0 20px 22px;
  }
}

/* 2026-04 canvas home + direct video refresh */

.page-shell-canvas {
  width: min(1500px, calc(100vw - 54px));
}

.route-home,
.route-videos {
  background:
    radial-gradient(circle at 10% 16%, rgba(255, 220, 187, 0.44), transparent 18%),
    radial-gradient(circle at 88% 10%, rgba(212, 227, 255, 0.3), transparent 18%),
    radial-gradient(circle at 50% 90%, rgba(255, 240, 223, 0.26), transparent 22%),
    linear-gradient(180deg, #fff8f1 0%, #fffaf5 54%, #fffdf8 100%);
}

.route-home .topbar,
.route-videos .topbar {
  background: rgba(255, 252, 248, 0.68);
  backdrop-filter: blur(24px);
  border-color: rgba(73, 52, 45, 0.14);
  box-shadow: 0 14px 36px rgba(73, 52, 45, 0.08);
}

.canvas-stage {
  position: relative;
  overflow: hidden;
  min-height: 690px;
  padding: 40px;
  border-radius: 42px;
  border: 1px solid rgba(73, 52, 45, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 248, 241, 0.08), rgba(255, 252, 248, 0.06)),
    url("./assets/banner/微信图片_20260423221409_358_24.jpg") center center / cover no-repeat;
  box-shadow: 0 26px 62px rgba(73, 52, 45, 0.1);
}

.canvas-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 247, 239, 0.16), rgba(255, 250, 245, 0.02) 34%, rgba(255, 252, 247, 0.44) 100%),
    linear-gradient(90deg, rgba(255, 250, 244, 0.16), rgba(255, 255, 255, 0.02) 42%, rgba(255, 255, 255, 0.08));
}

.canvas-stage::after,
.home-feature-canvas::before,
.cinema-feature::before,
.video-wall-panel::before,
.cinema-tools::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.canvas-stage__hero,
.canvas-stage__aside {
  position: relative;
  z-index: 1;
}

.canvas-stage__hero {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 580px;
}

.canvas-stage__copy {
  max-width: 720px;
  padding-top: 18px;
}

.canvas-stage__copy-hidden {
  display: none;
}

.canvas-stage__copy h1 {
  margin: 0;
  max-width: 6.4ch;
  font-family: "KaiTi", "STKaiti", serif;
  font-size: clamp(2.65rem, 4.8vw, 4.8rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: #49342d;
  text-wrap: balance;
}

.canvas-stage__subtitle {
  margin: 18px 0 0;
  max-width: 440px;
  font-size: 0.98rem;
  line-height: 1.82;
  color: rgba(73, 52, 45, 0.7);
}

.canvas-stage__foot {
  display: grid;
  gap: 18px;
  align-self: end;
}

.status-bar-canvas {
  width: fit-content;
  min-width: min(100%, 460px);
  padding: 16px 18px;
  border: 1px solid rgba(73, 52, 45, 0.12);
  border-radius: 999px;
  background: rgba(255, 252, 248, 0.72);
  backdrop-filter: blur(18px);
}

.hero-stats-canvas {
  gap: 12px;
}

.canvas-stage__aside {
  position: absolute;
  right: 40px;
  bottom: 36px;
  width: min(360px, calc(100% - 40px));
  display: grid;
  gap: 16px;
}

.avatar-stage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.canvas-stage .avatar-card {
  background: rgba(255, 252, 248, 0.74);
  border: 1px solid rgba(73, 52, 45, 0.14);
  box-shadow: 0 18px 28px rgba(73, 52, 45, 0.08);
  backdrop-filter: blur(16px);
}

.together-note-canvas {
  width: fit-content;
  max-width: 100%;
  justify-self: end;
  padding: 14px 18px;
  background: rgba(255, 252, 248, 0.74);
  border: 1px solid rgba(73, 52, 45, 0.14);
  backdrop-filter: blur(16px);
}

.route-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 6px 6px 0;
}

.route-flow-link {
  min-height: 88px;
  padding: 16px 18px;
  border-radius: 22px;
  border: 2px solid rgba(192, 127, 164, 0.42);
  background:
    linear-gradient(180deg, rgba(255, 250, 252, 0.96), rgba(255, 241, 247, 0.92)),
    linear-gradient(135deg, rgba(255, 214, 232, 0.42), rgba(218, 229, 255, 0.3));
  color: var(--ink);
  text-decoration: none;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 14px;
  row-gap: 4px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.55) inset,
    6px 6px 0 rgba(248, 219, 234, 0.82),
    0 16px 26px rgba(73, 52, 45, 0.06);
  backdrop-filter: blur(14px);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}

.route-flow-link span {
  grid-row: 1 / span 2;
  align-self: stretch;
  min-width: 54px;
  padding: 10px 8px;
  border-radius: 16px;
  border: 2px solid rgba(196, 151, 184, 0.44);
  background: linear-gradient(180deg, rgba(255, 232, 241, 0.98), rgba(248, 219, 234, 0.9));
  box-shadow: 3px 3px 0 rgba(255, 255, 255, 0.7) inset;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: #bc7391;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.route-flow-link strong {
  font-size: 1.1rem;
  font-family: "KaiTi", "STKaiti", serif;
  align-self: center;
}

.route-flow-link:hover,
.route-flow-link.is-current {
  transform: translateY(-2px);
  border-color: rgba(192, 127, 164, 0.58);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.65) inset,
    8px 8px 0 rgba(248, 219, 234, 0.88),
    0 20px 34px rgba(73, 52, 45, 0.08);
}

.home-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
  gap: 24px;
  align-items: start;
}

.home-media-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(360px, 0.78fr);
  gap: 22px;
  align-items: start;
}

.home-settings-band {
  display: block;
}

.home-feature-canvas,
.cinema-feature,
.cinema-tools,
.video-wall-panel,
.music-panel-canvas {
  position: relative;
  overflow: hidden;
  padding: 26px 28px;
  border-radius: 34px;
  border: 1px solid rgba(73, 52, 45, 0.13);
  background: rgba(255, 252, 248, 0.72);
  box-shadow: 0 24px 46px rgba(73, 52, 45, 0.08);
  backdrop-filter: blur(16px);
}

.home-side-atelier {
  display: grid;
  gap: 16px;
  align-items: start;
}

.compact-upload-shell {
  margin-bottom: 10px;
  padding: 0;
  border: none;
  background: transparent;
}

.inside-settings {
  margin-top: 14px;
}

.compact-upload-shell .section-toggle {
  min-height: 42px;
  padding: 0 16px;
}

.compact-upload-shell .section-collapse-body {
  margin-top: 10px;
  padding: 16px;
  border: 2px solid rgba(198, 145, 185, 0.36);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 250, 252, 0.98), rgba(255, 242, 247, 0.95)),
    linear-gradient(135deg, rgba(255, 216, 232, 0.3), rgba(223, 233, 255, 0.26));
  box-shadow: 0 12px 26px rgba(73, 52, 45, 0.05);
}

.compact-feedback {
  min-height: 0;
  margin-bottom: 8px;
}

.atelier-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.panel-head-soft {
  margin-bottom: 18px;
}

.panel-head-soft h2 {
  margin-top: 4px;
}

.home-feature-screen,
.cinema-screen {
  position: relative;
  overflow: hidden;
  height: clamp(360px, 36vw, 520px);
  min-height: 0;
  aspect-ratio: 16 / 10;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 244, 232, 0.52), rgba(255, 255, 255, 0.16)),
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.32), transparent 20%),
    rgba(24, 22, 25, 0.92);
}

.home-video-overlay-controls {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  z-index: 3;
}

.home-video-pause-chip {
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 2px solid rgba(255, 182, 214, 0.8);
  background:
    linear-gradient(180deg, rgba(255, 247, 252, 0.96), rgba(255, 214, 236, 0.96)),
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.58), transparent 36%);
  color: #5a3849;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(44, 29, 40, 0.28);
}

.home-video-pause-chip:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(44, 29, 40, 0.33);
}

.home-video-sound-chip,
.video-sound-hint {
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 2px solid rgba(255, 214, 124, 0.82);
  background:
    linear-gradient(180deg, rgba(255, 252, 238, 0.98), rgba(255, 230, 164, 0.96)),
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.62), transparent 36%);
  color: #5b3f1f;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(67, 46, 18, 0.24);
}

.home-video-sound-chip:hover,
.video-sound-hint:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(67, 46, 18, 0.32);
}

.cinema-screen {
  height: clamp(420px, 44vw, 640px);
  aspect-ratio: 16 / 9;
}

.feature-video-player {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #121113;
}

.feature-video-player[hidden] {
  display: none;
}

.video-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 10px;
  padding: 28px;
  text-align: center;
  color: rgba(255, 250, 245, 0.9);
  background:
    linear-gradient(180deg, rgba(24, 22, 25, 0.48), rgba(24, 22, 25, 0.72)),
    radial-gradient(circle at top, rgba(255, 210, 168, 0.16), transparent 36%);
}

.video-placeholder-minimal {
  background:
    linear-gradient(180deg, rgba(24, 22, 25, 0.38), rgba(24, 22, 25, 0.62)),
    radial-gradient(circle at top, rgba(255, 210, 168, 0.12), transparent 36%);
}

.video-placeholder strong {
  font-size: 1.34rem;
  font-family: "KaiTi", "STKaiti", serif;
  letter-spacing: 0.04em;
}

.video-placeholder span {
  max-width: 28ch;
  line-height: 1.72;
}

.home-feature-meta {
  padding-top: 18px;
  display: grid;
  gap: 10px;
}

.home-feature-meta strong {
  font-size: 1.48rem;
  font-family: "KaiTi", "STKaiti", serif;
}

.home-feature-meta p {
  margin: 0;
  line-height: 1.84;
  color: var(--muted);
}

.feature-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.feature-note-tag {
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(73, 52, 45, 0.12);
  background: rgba(255, 255, 255, 0.58);
  display: inline-flex;
  align-items: center;
  color: rgba(73, 52, 45, 0.72);
  font-size: 0.86rem;
  font-weight: 600;
}

.route-home .section-collapse,
.route-videos .section-collapse {
  border-width: 1px;
  border-color: rgba(198, 145, 185, 0.3);
  background: rgba(255, 255, 255, 0.36);
}

.route-home .section-toggle,
.route-videos .section-toggle {
  min-height: 50px;
  border-width: 2px;
  border-color: rgba(193, 124, 166, 0.38);
  background:
    linear-gradient(180deg, rgba(255, 250, 252, 0.96), rgba(255, 240, 247, 0.92)),
    linear-gradient(135deg, rgba(255, 216, 234, 0.32), rgba(221, 233, 255, 0.22));
}

.route-home .section-collapse[open] .section-toggle,
.route-videos .section-collapse[open] .section-toggle {
  background:
    linear-gradient(180deg, #ffd3e2, #f7abc7),
    linear-gradient(135deg, rgba(255, 230, 238, 0.92), rgba(221, 233, 255, 0.5));
}

.music-switcher {
  width: fit-content;
  padding: 6px;
  border: 2px solid rgba(198, 145, 185, 0.34);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 252, 253, 0.96), rgba(255, 242, 247, 0.92)),
    linear-gradient(135deg, rgba(255, 216, 234, 0.22), rgba(221, 233, 255, 0.18));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.55) inset,
    6px 6px 0 rgba(246, 214, 231, 0.68);
}

.music-panel-canvas {
  padding: 24px 26px;
  align-self: stretch;
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-content: start;
  gap: 16px;
}

.music-panel-canvas .music-card {
  background: rgba(255, 255, 255, 0.76);
}

.music-card-compact {
  display: grid;
  gap: 14px;
}

.music-card-compact > :first-child,
.music-card-compact p {
  display: none;
}

.music-player-shell {
  position: relative;
  overflow: hidden;
  min-height: 332px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(244, 240, 255, 0.5), rgba(255, 255, 255, 0.2)),
    rgba(17, 15, 24, 0.94);
}

#musicEmbed {
  display: block;
  width: 100% !important;
  max-width: none !important;
  height: 332px !important;
  border-radius: 26px !important;
}

.cinema-masthead {
  min-height: 330px;
  background:
    linear-gradient(110deg, rgba(248, 252, 255, 0.2), rgba(255, 255, 255, 0.06)),
    url("./assets/banner/微信图片_20260423221415_362_24.jpg") center center / cover no-repeat;
}

.cinema-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.82fr);
  gap: 22px;
  align-items: start;
}

.cinema-feature-meta {
  padding-top: 16px;
}

.cinema-tools {
  display: grid;
  gap: 10px;
  align-self: start;
  height: fit-content;
  padding: 18px 20px;
}

.cinema-tools .compact-upload-shell {
  margin: 0;
}

.route-videos .cinema-feature-meta {
  display: none !important;
}

.video-wall-panel {
  padding: 26px 28px 30px;
}

.video-message-panel {
  margin-top: 22px;
}

.panel-head-compact {
  margin-bottom: 12px;
}

.cinema-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 14px;
}

.video-card {
  padding: 14px;
  border-radius: 30px;
  border: 1px solid rgba(73, 52, 45, 0.12);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 32px rgba(73, 52, 45, 0.06);
  display: grid;
  gap: 14px;
  cursor: default;
  transition:
    transform 0.18s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.video-card[data-video-playable="1"] {
  cursor: pointer;
}

.video-card[data-video-playable="1"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 34px rgba(73, 52, 45, 0.11);
}

.video-card[data-video-playable="1"]:focus-visible {
  outline: none;
  border-color: rgba(238, 137, 74, 0.72);
  box-shadow:
    0 0 0 3px rgba(255, 196, 126, 0.52),
    0 22px 36px rgba(238, 137, 74, 0.2);
}

.video-card.is-featured-selected {
  border-color: rgba(238, 137, 74, 0.72);
  box-shadow:
    0 0 0 3px rgba(255, 196, 126, 0.52),
    0 22px 36px rgba(238, 137, 74, 0.2);
}

.video-player-frame {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  aspect-ratio: 16 / 10;
  min-height: 300px;
  background: #151316;
}

.video-sound-hint {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  pointer-events: auto;
}

.video-player-frame video,
.video-player-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #121113;
}

.video-copy {
  display: grid;
  gap: 8px;
}

.video-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.route-home .side-sticker-a {
  top: 170px;
  left: 10px;
  width: 104px;
}

.route-home .side-sticker-c {
  top: 990px;
  left: 16px;
  width: 92px;
}

.route-home .side-sticker-d {
  top: 180px;
  right: 8px;
  width: 114px;
}

.route-home .side-sticker-f {
  top: 1020px;
  right: 12px;
  width: 96px;
}

.route-videos .side-sticker-a {
  top: 184px;
  left: 10px;
  width: 102px;
}

.route-videos .side-sticker-c {
  top: 1040px;
  left: 18px;
  width: 96px;
}

.route-videos .side-sticker-d {
  top: 240px;
  right: 12px;
  width: 108px;
}

@media (max-width: 1220px) {
  .canvas-stage {
    min-height: 620px;
    padding: 28px;
  }

  .canvas-stage__aside {
    position: static;
    width: 100%;
    margin-top: 26px;
  }

  .canvas-stage__hero {
    min-height: 0;
  }

  .home-feature-grid,
  .home-media-grid,
  .cinema-layout {
    grid-template-columns: 1fr;
  }

  .route-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .atelier-summary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .page-shell-canvas {
    width: min(100vw - 18px, 100%);
  }

  .canvas-stage {
    min-height: 0;
    padding: 22px 18px 20px;
    border-radius: 28px;
  }

  .canvas-stage__copy h1 {
    max-width: none;
    font-size: clamp(2.1rem, 10vw, 3rem);
  }

  .route-flow {
    grid-template-columns: 1fr;
  }

  .home-feature-canvas,
  .cinema-feature,
  .cinema-tools,
  .video-wall-panel,
  .music-panel-canvas {
    padding: 20px 18px;
    border-radius: 24px;
  }

  .home-feature-screen,
  .cinema-screen {
    height: 320px;
    border-radius: 22px;
  }

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

  .atelier-summary {
    grid-template-columns: 1fr;
  }
}

.album-shelf-section {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.album-shelf-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.album-shelf-eyebrow {
  display: inline-block;
  margin-bottom: 6px;
  color: rgba(132, 95, 83, 0.72);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
}

.album-shelf-tools {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.album-shelf-count {
  color: var(--muted);
  font-size: 0.92rem;
}

.album-shelf-arrow {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(193, 124, 166, 0.34);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.84);
  color: #7a3558;
  cursor: pointer;
}

.album-shelf-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 31vw);
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.album-shelf-track::-webkit-scrollbar {
  height: 8px;
}

.album-shelf-track::-webkit-scrollbar-thumb {
  background: rgba(193, 124, 166, 0.32);
  border-radius: 999px;
}

.album-slide {
  scroll-snap-align: start;
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(73, 52, 45, 0.1);
}

.album-media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  background: #141217;
}

.album-media-frame img,
.album-media-frame video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #141217;
}

.album-media-frame-empty {
  display: grid;
  place-content: center;
  padding: 18px;
  text-align: center;
  color: rgba(73, 52, 45, 0.66);
  background:
    linear-gradient(180deg, rgba(255, 250, 252, 0.92), rgba(255, 242, 247, 0.9)),
    linear-gradient(140deg, rgba(255, 216, 234, 0.2), rgba(221, 233, 255, 0.16));
}

.album-live-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 145, 168, 0.9);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.album-slide-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.88rem;
}

.album-slide-copy {
  display: grid;
  gap: 8px;
}

.music-player-shell {
  min-height: 420px;
}

#musicEmbed {
  height: 420px !important;
}

.route-home .home-feature-screen {
  height: clamp(400px, 40vw, 580px);
}

.route-videos .cinema-screen {
  height: clamp(470px, 48vw, 720px);
}

.route-home .side-sticker-a {
  top: 126px;
  left: -10px;
  width: 90px;
}

.route-home .side-sticker-c {
  top: 1120px;
  left: 0;
  width: 84px;
}

.route-home .side-sticker-d {
  top: 160px;
  right: -8px;
  width: 96px;
}

.route-home .side-sticker-f {
  top: 1125px;
  right: -4px;
  width: 84px;
}

.route-videos .side-sticker-a {
  top: 210px;
  left: -8px;
  width: 86px;
}

.route-videos .side-sticker-c {
  top: 1180px;
  left: 0;
  width: 82px;
}

.route-videos .side-sticker-d {
  top: 280px;
  right: -6px;
  width: 90px;
}

.route-album .side-sticker-a,
.route-map .side-sticker-a,
.route-timeline .side-sticker-a,
.route-messages .side-sticker-a,
.route-wishes .side-sticker-a {
  top: 180px;
  left: -6px;
  width: 92px;
}

.route-album .side-sticker-c,
.route-map .side-sticker-c,
.route-timeline .side-sticker-c,
.route-messages .side-sticker-c,
.route-wishes .side-sticker-c {
  top: 980px;
  left: 0;
  width: 86px;
}

.route-album .side-sticker-d,
.route-map .side-sticker-d,
.route-timeline .side-sticker-d,
.route-messages .side-sticker-d,
.route-wishes .side-sticker-d {
  top: 220px;
  right: -8px;
  width: 92px;
}

@media (max-width: 960px) {
  .album-shelf-track {
    grid-auto-columns: minmax(260px, 82vw);
  }

  .music-player-shell,
  #musicEmbed {
    min-height: 360px;
    height: 360px !important;
  }

  .route-home .home-feature-screen,
  .route-videos .cinema-screen {
    height: 340px;
  }
}

/* 2026-04 structural and interaction upgrades */

.route-home .home-media-grid {
  grid-template-columns: minmax(0, 1fr);
  max-width: min(1120px, 100%);
  margin: 0 auto;
}

.route-home .home-feature-canvas {
  padding: 30px 34px;
}

.route-home .home-feature-screen {
  height: clamp(520px, 54vw, 720px);
}

.page-music-panel {
  padding-top: 22px;
}

.wishes-music-panel {
  margin-top: -4px;
}

.route-videos .cinema-layout-focus {
  grid-template-columns: minmax(0, 1fr);
}

.route-videos .cinema-layout-focus .cinema-feature {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.route-videos .cinema-layout-focus .cinema-screen {
  height: clamp(560px, 60vw, 780px);
}

.cinema-upload-panel {
  margin-top: 4px;
}

.album-editable {
  display: block;
  cursor: text;
  transition: color 0.16s ease;
  position: relative;
}

.album-editable:hover {
  color: #ad4e74;
}

.album-editable[data-save-hint]:not([data-save-hint=""])::after {
  content: attr(data-save-hint);
  position: absolute;
  top: 0;
  right: 0;
  transform: translateY(-120%);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: #946b8b;
}

.album-editable[data-save-state="saving"]::after {
  color: #bf7a44;
}

.album-editable[data-save-state="saved"]::after {
  color: #4c8d62;
}

.album-editable[data-save-state="error"]::after {
  color: #b35555;
}

.album-editable-title {
  font-family: "KaiTi", "STKaiti", serif;
  font-size: 1.16rem;
  line-height: 1.35;
}

.album-inline-input {
  width: 100%;
  border: 2px solid rgba(193, 124, 166, 0.42);
  border-radius: 12px;
  padding: 8px 10px;
  font: inherit;
  color: inherit;
  background: rgba(255, 255, 255, 0.95);
}

.album-inline-input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(243, 161, 89, 0.2);
}

.album-rating {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 28px;
}

.album-rating-stars {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.album-star {
  width: 24px;
  height: 24px;
  border: 0;
  background: transparent;
  color: rgba(143, 117, 111, 0.46);
  font-size: 1.06rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  transition: transform 0.15s ease, color 0.15s ease;
}

.album-star:hover {
  transform: translateY(-1px) scale(1.08);
  color: #ffb348;
}

.album-star.is-active {
  color: #ff9f2f;
  text-shadow: 0 2px 6px rgba(255, 161, 58, 0.35);
}

.album-rating-state {
  font-size: 0.78rem;
  color: rgba(104, 76, 71, 0.76);
}

.album-rating-state[data-state="saving"] {
  color: #bf7a44;
}

.album-rating-state[data-state="saved"] {
  color: #4c8d62;
}

.album-rating-state[data-state="error"] {
  color: #b35555;
}

.media-loading {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 249, 245, 0.96), rgba(246, 239, 235, 0.94)),
    linear-gradient(135deg, rgba(255, 216, 234, 0.18), rgba(221, 233, 255, 0.18));
}

.media-loading > * {
  position: relative;
  z-index: 1;
}

.media-loading-glass {
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 235, 215, 0.38), transparent 32%),
    radial-gradient(circle at 80% 24%, rgba(245, 216, 226, 0.28), transparent 28%),
    linear-gradient(180deg, rgba(41, 29, 31, 0.82), rgba(25, 22, 28, 0.94));
}

.media-loading::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(
      110deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.46) 44%,
      rgba(255, 255, 255, 0) 68%
    ),
    linear-gradient(180deg, rgba(250, 236, 244, 0.56), rgba(232, 238, 250, 0.5));
  transform: translateX(-100%);
  animation: skeletonSlide 1.1s ease-in-out infinite;
}

.media-loading.is-loaded::before {
  opacity: 0;
  animation: none;
  transition: opacity 0.22s ease;
}

.skeleton-block {
  min-height: 220px;
}

.skeleton-line {
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(245, 216, 226, 0.45), rgba(220, 234, 245, 0.55));
}

.skeleton-line + .skeleton-line {
  margin-top: 8px;
  width: 72%;
}

.click-heart {
  position: fixed;
  z-index: 9999;
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation: clickHeartFloat 0.86s ease-out forwards;
  font-size: 18px;
  filter: drop-shadow(0 4px 8px rgba(240, 107, 164, 0.35));
}

body.entry-modal-open {
  overflow: hidden;
}

.entry-modal {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(25, 18, 15, 0.64);
  backdrop-filter: blur(5px);
}

.entry-modal-card {
  position: relative;
  width: min(760px, calc(100vw - 40px));
  border-radius: 24px;
  border: 2px solid rgba(255, 236, 204, 0.72);
  background: linear-gradient(180deg, rgba(255, 248, 239, 0.98), rgba(255, 241, 225, 0.96));
  box-shadow: 0 26px 56px rgba(18, 12, 10, 0.34);
  overflow: hidden;
}

.entry-modal-cover {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(72vh, 700px);
  object-fit: cover;
}

.entry-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 2px solid rgba(91, 56, 38, 0.26);
  background: rgba(255, 255, 255, 0.96);
  color: #53362a;
  font-size: 1.32rem;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  z-index: 2;
}

.entry-modal-close:hover {
  transform: translateY(-1px);
}

@keyframes clickHeartFloat {
  0% {
    transform: translate(-50%, -45%) scale(0.72);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -160%) scale(1.08);
    opacity: 0;
  }
}

@keyframes skeletonSlide {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(110%);
  }
}

.map-music-panel .music-player-shell {
  min-height: 360px;
}

.page-masthead,
.home-feature-canvas,
.home-side-atelier,
.cinema-feature,
.cinema-upload-panel,
.album-panel,
.wish-panel {
  position: relative;
}

.page-masthead .masthead-copy,
.page-masthead .masthead-rail,
.wish-panel > .panel-head,
.wish-panel > .wish-cute-strip,
.wish-panel > .wish-overview,
.wish-panel > .section-collapse,
.wish-panel > .feedback,
.wish-panel > .wish-list,
.wish-panel > .wish-achievement-panel {
  position: relative;
  z-index: 3;
}

.wish-achievement-panel {
  margin-top: 14px;
  border: 2px dashed rgba(233, 155, 177, 0.55);
  border-radius: 24px;
  padding: 18px 18px 16px;
  background:
    linear-gradient(180deg, rgba(255, 251, 244, 0.92), rgba(255, 243, 250, 0.9)),
    radial-gradient(circle at 8% 12%, rgba(255, 230, 189, 0.42), transparent 40%);
  text-align: center;
}

.wish-achievement-panel h3 {
  margin: 0;
  font-family: "KaiTi", "STKaiti", serif;
  font-size: 1.3rem;
  color: #8c4f69;
}

.wish-achievement-panel p {
  margin: 8px 0 14px;
  color: var(--muted);
}

.wish-achievement-links {
  display: grid;
  gap: 10px;
  width: min(680px, 100%);
  margin: 0 auto;
  text-align: left;
}

.wish-achievement-link {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 14px;
  padding: 10px 12px;
  color: #5b3b2d;
  text-decoration: none;
  border: 1px solid rgba(224, 169, 118, 0.42);
  background: rgba(255, 255, 255, 0.82);
  transition:
    transform 0.14s ease,
    box-shadow 0.16s ease,
    border-color 0.16s ease;
}

.wish-achievement-link:hover {
  transform: translateY(-1px);
  border-color: rgba(234, 135, 74, 0.6);
  box-shadow: 0 8px 18px rgba(73, 52, 45, 0.1);
}

.wish-achievement-index {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  font-size: 0.86rem;
  font-weight: 700;
  color: #8f4f26;
  background: rgba(255, 232, 175, 0.88);
  flex-shrink: 0;
}

.route-map .map-layout {
  grid-template-columns: minmax(0, 1fr);
}

.route-map .map-board.map-board-center {
  width: min(980px, 100%);
  margin: 0 auto;
  min-height: 620px;
}

.route-map .china-map {
  height: 620px;
}

.route-map #mapMemoryGrid {
  width: min(980px, 100%);
  margin: 2px auto 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.map-form-footer {
  width: min(980px, 100%);
  margin: 4px auto 0;
}

.map-form-footer .section-collapse {
  margin-bottom: 8px;
}

.wish-cute-strip {
  display: inline-flex;
  gap: 10px;
  margin: 4px 0 14px;
}

.wish-cute-strip span {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(73, 52, 45, 0.14);
  font-size: 0.96rem;
}

.wish-card::after {
  content: "💖";
  position: absolute;
  right: 16px;
  bottom: 14px;
  font-size: 0.94rem;
  opacity: 0.72;
}

@media (max-width: 1080px) {
  .route-map .map-board.map-board-center,
  .route-map .china-map {
    height: 480px;
    min-height: 480px;
  }

  .route-map #mapMemoryGrid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .entry-modal {
    padding: 14px;
  }

  .entry-modal-card {
    width: min(100vw - 22px, 100%);
    border-radius: 18px;
  }

  .entry-modal-close {
    width: 34px;
    height: 34px;
    top: 8px;
    right: 8px;
  }

  .route-home .home-feature-canvas {
    padding: 20px 18px;
  }

  .route-home .home-feature-screen {
    height: 360px;
  }

  .route-videos .cinema-layout-focus .cinema-screen {
    height: 400px;
  }

  .route-map .map-board.map-board-center,
  .route-map .china-map {
    height: 380px;
    min-height: 380px;
  }
}

/* 2026-04-26: global side-rail reconstruction */
:root {
  --decor-lane-width: clamp(88px, 7vw, 128px);
  --decor-lane-gap: clamp(18px, 3vh, 30px);
  --page-shell-width: min(1080px, calc(100vw - clamp(20rem, 30vw, 28rem)));
}

body {
  overflow-x: hidden;
}

.page-shell {
  width: min(var(--page-shell-width), calc(100vw - 32px));
  max-width: 1080px;
}

.music-player-shell {
  width: min(860px, 100%);
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  min-height: 0 !important;
}

#musicEmbed {
  display: block;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  border: 0;
}

.side-decor {
  position: fixed;
  top: 0;
  bottom: 0;
  width: var(--decor-lane-width);
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  gap: var(--decor-lane-gap);
  padding: clamp(88px, 10vh, 148px) 0;
  pointer-events: none;
  z-index: 0;
}

.side-decor::before,
.side-decor::after {
  content: none;
  display: none;
}

.side-left {
  left: clamp(12px, calc(9vw - 2rem), 160px);
}

.side-right {
  right: clamp(12px, calc(9vw - 2rem), 160px);
}

.side-decor > img {
  position: relative !important;
  inset: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  display: block;
  flex: 0 0 auto;
  width: clamp(70px, calc(var(--decor-lane-width) - 12px), 106px);
  max-width: 100%;
  pointer-events: none !important;
  user-select: none;
  opacity: 0.86;
  filter: drop-shadow(0 12px 18px rgba(73, 52, 45, 0.14));
  transform-origin: center;
}

.side-decor > img:nth-child(3n + 1) {
  width: clamp(74px, calc(var(--decor-lane-width) - 8px), 110px);
}

.side-decor > img:nth-child(3n + 2) {
  width: clamp(60px, calc(var(--decor-lane-width) - 22px), 90px);
  opacity: 0.78;
}

.side-decor > img:nth-child(3n) {
  width: clamp(66px, calc(var(--decor-lane-width) - 16px), 98px);
  opacity: 0.82;
}

.side-left > img:nth-child(odd) {
  transform: translateX(-8px) rotate(-9deg);
}

.side-left > img:nth-child(even) {
  transform: translateX(8px) rotate(7deg);
}

.side-right > img:nth-child(odd) {
  transform: translateX(8px) rotate(9deg);
}

.side-right > img:nth-child(even) {
  transform: translateX(-8px) rotate(-7deg);
}

@media (max-width: 1200px) {
  :root {
    --decor-lane-width: clamp(78px, 6vw, 108px);
    --page-shell-width: min(1040px, calc(100vw - 18rem));
  }
}

@media (max-width: 1024px) {
  :root {
    --page-shell-width: min(980px, calc(100vw - 9rem));
  }

  .side-decor {
    opacity: 0.48;
    transform: scale(0.72);
    transform-origin: center center;
  }

  .side-left {
    left: 0;
  }

  .side-right {
    right: 0;
  }
}

@media (max-width: 820px) {
  :root {
    --page-shell-width: calc(100vw - 28px);
  }

  .side-decor {
    display: none;
  }
}
