/* 妻中蜜 · 杏桃奶油 x 梅子夜雾视觉方向 | 主色: #221432 #7c3aed #f59e8b #ffe7cf #fff7f0 */
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans SC', system-ui, sans-serif;
  background:
    radial-gradient(circle at top right, rgba(245, 158, 139, 0.15), transparent 28%),
    linear-gradient(180deg, #1a1028 0%, #221432 38%, #fff7f0 38%, #fff7f0 100%);
  color: #f7efe7;
}
.heading-display {
  font-family: 'Noto Serif SC', 'Noto Sans SC', serif;
  letter-spacing: .05em;
  font-weight: 900;
}
.petal-grid {
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 34px 34px;
}
.cloud-haze {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 231, 207, 0.18), transparent 26%),
    radial-gradient(circle at 80% 30%, rgba(245, 158, 139, 0.16), transparent 24%),
    radial-gradient(circle at 50% 80%, rgba(124, 58, 237, 0.14), transparent 28%);
}
.ribbon-stripe {
  background: repeating-linear-gradient(135deg, #f59e8b 0 10px, #221432 10px 20px);
}
.btn-apricot {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffe7cf 0%, #f8b89f 48%, #f59e8b 100%);
  color: #221432;
  border: 2px solid #f4a48d;
  font-weight: 900;
  box-shadow: 0 14px 34px -12px rgba(245, 158, 139, 0.55), inset 0 1px 0 rgba(255,255,255,0.65);
  transition: transform .15s ease, filter .2s ease;
}
.btn-apricot:hover { transform: translateY(-2px); filter: brightness(1.03); }
.btn-apricot:active { transform: translateY(0); }
.btn-apricot::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 32%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.85) 50%, transparent 100%);
  filter: blur(3px);
  animation: shine 2.4s linear infinite;
  pointer-events: none;
}
@keyframes shine {
  0% { transform: translateX(-120%) skewX(-20deg); }
  100% { transform: translateX(240%) skewX(-20deg); }
}
.btn-ghost {
  background: rgba(255, 247, 240, 0.08);
  color: #fff7f0;
  border: 1px solid rgba(255, 231, 207, 0.34);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255, 247, 240, 0.14);
  border-color: rgba(245, 158, 139, 0.56);
}
.panel-dark {
  background: rgba(34, 20, 50, 0.74);
  border: 1px solid rgba(255, 231, 207, 0.1);
}
.panel-light {
  background: #fff7f0;
  border: 1px solid #f4d5c5;
  color: #3b2338;
}
.info-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,247,240,0.95));
  border: 1px solid rgba(244, 213, 197, 0.88);
  box-shadow: 0 16px 36px -24px rgba(34, 20, 50, 0.22);
}
.nav-link {
  position: relative;
  color: rgba(255, 247, 240, 0.82);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: #f59e8b;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link:hover, .nav-link.active { color: #ffe7cf; }
.lb-overlay { background: rgba(11, 6, 19, 0.94); }
.lb-img { max-height: 86vh; max-width: 92vw; object-fit: contain; }
details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }
details[open] .acc-icon { transform: rotate(45deg); }
.acc-icon { transition: transform .25s ease; }
.stat-chip {
  background: rgba(255, 247, 240, 0.08);
  border: 1px solid rgba(255, 231, 207, 0.16);
  backdrop-filter: blur(6px);
}
.review-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,247,240,0.94));
  border: 1px solid rgba(244,213,197,0.82);
}
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.show { opacity: 1; transform: translateY(0); }
#mobileMenu { transition: max-height .3s ease; max-height: 0; overflow: hidden; }
#mobileMenu.open { max-height: 520px; }
#siteHeader {
  background-color: rgba(26, 16, 40, 0.94) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
[data-gallery-filter] {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255, 231, 207, 0.18);
}
[data-gallery-filter].is-active {
  background: #f59e8b;
  color: #221432;
  border-color: #f59e8b;
  font-weight: 900;
}
table.toc-table th, table.toc-table td { border: 1px solid #e9c9b9; padding: .7rem .85rem; }
table.toc-table thead th { background: #221432; color: #ffe7cf; text-align: left; font-weight: 900; }
table.toc-table tbody tr:nth-child(even) { background: #fff2ea; }
.toc a.active { color: #7c3aed; border-color: #7c3aed; }
.hero-scrim {
  background: linear-gradient(100deg, rgba(26,16,40,0.98) 0%, rgba(26,16,40,0.9) 42%, rgba(26,16,40,0.62) 66%, transparent 100%);
}
.story-glow {
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.14), rgba(245, 158, 139, 0.08));
}
.quote-line {
  height: 2px;
  background: linear-gradient(90deg, transparent, #f59e8b, #ffe7cf, transparent);
}
.timeline-dot::before {
  content: "";
  position: absolute;
  left: -2.1rem;
  top: .7rem;
  width: .9rem;
  height: .9rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe7cf, #f59e8b);
  box-shadow: 0 0 0 6px rgba(245, 158, 139, 0.16);
}
@media (max-width: 1023px) {
  .hero-scrim {
    background: linear-gradient(180deg, rgba(26,16,40,0.97) 0%, rgba(26,16,40,0.88) 55%, rgba(26,16,40,0.72) 100%);
  }
}
