/* 群青的魔女 · 暮海青铜像素档案馆视觉方向 */
/* 主色: #07131b #0f2430 #163847 #5fd1c2 #f2b35d #f4efe7 */
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans SC', system-ui, sans-serif;
  background: #07131b;
  color: #dce9eb;
}
.heading-display {
  font-family: 'Noto Sans SC', system-ui, sans-serif;
  letter-spacing: .08em;
  font-weight: 900;
}
.sea-grid {
  background-image:
    linear-gradient(to right, rgba(95,209,194,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(95,209,194,0.06) 1px, transparent 1px);
  background-size: 30px 30px;
}
.tide-stripe {
  background: repeating-linear-gradient(135deg, #0f2430 0 12px, #f2b35d 12px 24px);
}
.btn-tide {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f4c37c 0%, #f2b35d 45%, #c98633 100%);
  color: #07131b;
  font-weight: 900;
  border: 2px solid #8b5b1f;
  box-shadow: 0 14px 30px -12px rgba(242,179,93,0.55), inset 0 1px 0 rgba(255,255,255,0.5);
  transition: transform .15s ease, filter .2s ease;
}
.btn-tide:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn-tide:active { transform: translateY(0); }
.btn-tide::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 0; width: 35%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.78) 50%, transparent 100%);
  filter: blur(3px);
  animation: shine 2.6s linear infinite;
  pointer-events: none;
}
@keyframes shine {
  0% { transform: translateX(-120%) skewX(-20deg); }
  100% { transform: translateX(220%) skewX(-20deg); }
}
.btn-outline {
  background: rgba(7, 19, 27, 0.74);
  color: #ecf6f6;
  border: 1.5px solid rgba(95,209,194,0.35);
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  border-color: #f2b35d;
  color: #f2b35d;
  background: rgba(15, 36, 48, 0.92);
}
.panel-dark { background: #0f2430; border: 1px solid rgba(95,209,194,0.16); }
.panel-light { background: #f4efe7; border: 1px solid #d7d0c5; color: #102531; }
.nav-link { position: relative; color: #c2d7da; }
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: #f2b35d;
  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: #f2b35d; }
.lb-overlay { background: rgba(4, 11, 16, 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(15, 36, 48, 0.92);
  border: 1px solid rgba(95,209,194,0.26);
}
.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(7, 19, 27, 0.94) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
[data-gallery-filter] { background: rgba(255,255,255,.04); border:1px solid rgba(95,209,194,.22); }
[data-gallery-filter].is-active { background: #163847; color:#f4efe7; border-color:#f2b35d; font-weight:900; }
table.toc-table th, table.toc-table td { border:1px solid #ced7d8; padding:.6rem .8rem; }
table.toc-table thead th { background:#163847; color:#f2b35d; font-weight:900; text-align:left; }
table.toc-table tbody tr:nth-child(even) { background:#fbf8f2; }
.toc a.active { color:#163847; border-color:#f2b35d; }
.tide-line {
  height: 2px;
  background: linear-gradient(90deg, transparent, #5fd1c2, #f2b35d, transparent);
}
.hero-badge {
  border-left: 3px solid #f2b35d;
  background: linear-gradient(90deg, rgba(95,209,194,0.18), rgba(7,19,27,0.72));
}
#hero { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
#hero .hero-text-panel {
  background: rgba(7, 19, 27, 0.92);
  border: 1px solid rgba(95, 209, 194, 0.2);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.82);
}
#hero .hero-title {
  color: #f6fbfb;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.9);
}
#hero .hero-subtitle {
  color: #5fd1c2;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.85);
}
#hero .hero-lead {
  color: #dce9eb;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.75);
}
#hero .hero-scrim-left {
  background: linear-gradient(105deg,
    rgba(7, 19, 27, 1) 0%,
    rgba(7, 19, 27, 0.98) 40%,
    rgba(7, 19, 27, 0.72) 63%,
    rgba(7, 19, 27, 0.28) 80%,
    transparent 100%);
}
#hero .stat-chip {
  background: rgba(15, 36, 48, 0.98);
  border: 1px solid rgba(95, 209, 194, 0.34);
}
.mist-orb {
  background: radial-gradient(circle, rgba(95,209,194,0.2) 0%, rgba(95,209,194,0.06) 45%, transparent 72%);
}
@media (max-width: 1023px) {
  #hero .hero-scrim-left {
    background: linear-gradient(180deg,
      rgba(7, 19, 27, 0.97) 0%,
      rgba(7, 19, 27, 0.92) 55%,
      rgba(7, 19, 27, 0.74) 100%);
  }
  #hero .hero-text-panel { background: rgba(7, 19, 27, 0.97); }
}
