/*
 * 痴情哥哥病弱妹妹 · 粉蓝 pastoral · 温柔乡野视觉体系
 * 主色: #1a1218 背景 | #e8899a accent | #7eb8c9 辅色 | #f4c4a0 CTA | #ead8e0 正文
 */
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans SC', system-ui, sans-serif;
  background: #1a1218;
  color: #ead8e0;
}
.heading-display {
  font-family: 'Noto Sans SC', system-ui, sans-serif;
  letter-spacing: .04em;
  font-weight: 900;
}
.mist-grid {
  background-image:
    linear-gradient(to right, rgba(232,137,154,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(126,184,201,0.05) 1px, transparent 1px);
  background-size: 24px 24px;
}
.badge-stripe {
  background: repeating-linear-gradient(135deg, #e8899a 0 8px, #241a22 8px 16px);
}
.btn-gold {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f4c4a0 0%, #d4a070 100%);
  color: #1a1218;
  font-weight: 900;
  border: 2px solid #d4a070;
  box-shadow: 0 12px 28px -10px rgba(244,196,160,0.5), inset 0 1px 0 rgba(255,255,255,0.4);
  transition: transform .15s ease, filter .2s ease;
}
.btn-gold:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn-gold:active { transform: translateY(0); }
.btn-gold::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 0; width: 35%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.75) 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(220%) skewX(-20deg); }
}
.btn-outline {
  background: rgba(26,18,24,0.82);
  color: #ead8e0;
  border: 1.5px solid rgba(232,137,154,0.4);
  backdrop-filter: blur(6px);
}
.btn-outline:hover {
  border-color: #7eb8c9;
  color: #f0a8b5;
  background: rgba(36,26,34,0.94);
}
.panel-dark { background: #241a22; border: 1px solid rgba(232,137,154,0.2); }
.panel-light { background: #faf4f6; border: 1px solid #e8ccd4; color: #241a22; }
.nav-link { position: relative; color: rgba(234,216,224,0.65); }
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: #e8899a;
  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: #f0a8b5; }
.lb-overlay { background: rgba(6,8,12,0.95); }
.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(36,26,34,0.9);
  border: 1px solid rgba(232,137,154,0.25);
}
.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: 480px; }
#siteHeader {
  background-color: rgba(26,18,24,0.97) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
[data-gallery-filter] { background: rgba(255,255,255,.04); border:1px solid rgba(232,137,154,0.22); }
[data-gallery-filter].is-active { background: #e8899a; color:#1a1218; border-color:#7eb8c9; font-weight:900; }
table.toc-table th, table.toc-table td { border:1px solid #e8ccd4; padding:.6rem .8rem; }
table.toc-table thead th { background:#241a22; color:#f4c4a0; font-weight:900; text-align:left; }
table.toc-table tbody tr:nth-child(even) { background:#faf4f6; }
.toc a.active { color:#e8899a; border-color:#7eb8c9; }
.neon-line {
  height: 2px;
  background: linear-gradient(90deg, transparent, #7eb8c9, #e8899a, transparent);
}
.hero-badge {
  border-left: 3px solid #e8899a;
  background: linear-gradient(90deg, rgba(126,184,201,0.18), rgba(26,18,24,0.7));
}
#hero { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
#hero .hero-text-panel {
  background: rgba(26,18,24,0.94);
  border: 1px solid rgba(232,137,154,0.22);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.88);
}
#hero .hero-title {
  color: #f0f6fc;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.9);
}
#hero .hero-subtitle {
  color: #f4c4a0;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.85);
}
#hero .hero-lead {
  color: rgba(234,216,224,0.85);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.75);
}
#hero .hero-scrim-left {
  background: linear-gradient(105deg,
    rgba(26,18,24,1) 0%,
    rgba(26,18,24,0.98) 42%,
    rgba(26,18,24,0.72) 62%,
    rgba(26,18,24,0.35) 78%,
    transparent 100%);
}
#hero .stat-chip {
  background: rgba(36,26,34,0.98);
  border: 1px solid rgba(232,137,154,0.32);
}
.shadow-panel {
  box-shadow: 0 1px 0 rgba(232,137,154,0.1), 0 12px 32px -16px rgba(26,18,24,0.92);
}
@media (max-width: 1023px) {
  #hero .hero-scrim-left {
    background: linear-gradient(180deg,
      rgba(26,18,24,0.97) 0%,
      rgba(26,18,24,0.92) 55%,
      rgba(26,18,24,0.75) 100%);
  }
  #hero .hero-text-panel { background: rgba(26,18,24,0.97); }
}
