/* 夏之音 · 海盐汽水夏日手账视觉方向 */
/* 主色: #fff4de #ffd36e #ff8b6b #2a7fff #56d6c2 #183153 */
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans SC', system-ui, sans-serif;
  background: #fff4de;
  color: #183153;
}
.heading-display {
  font-family: 'Noto Sans SC', system-ui, sans-serif;
  letter-spacing: .04em;
  font-weight: 900;
}
.summer-grid {
  background-image:
    linear-gradient(to right, rgba(42,127,255,0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(86,214,194,0.08) 1px, transparent 1px);
  background-size: 32px 32px;
}
.hero-glow {
  background:
    radial-gradient(circle at 15% 20%, rgba(255,211,110,0.5), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(42,127,255,0.22), transparent 24%),
    radial-gradient(circle at 70% 72%, rgba(255,139,107,0.24), transparent 30%);
}
.sun-stripe {
  background: repeating-linear-gradient(135deg, #ffd36e 0 12px, #ff8b6b 12px 24px);
}
.btn-summer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fff1b9 0%, #ffd36e 40%, #ff8b6b 100%);
  color: #183153;
  font-weight: 900;
  border: 2px solid #f4b84f;
  box-shadow: 0 14px 32px -14px rgba(255,139,107,0.55), inset 0 1px 0 rgba(255,255,255,0.55);
  transition: transform .18s ease, filter .2s ease;
}
.btn-summer:hover { transform: translateY(-2px); filter: brightness(1.04); }
.btn-summer:active { transform: translateY(0); }
.btn-summer::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 35%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.8) 50%, transparent 100%);
  filter: blur(4px);
  animation: shine 2.5s linear infinite;
  pointer-events: none;
}
.btn-outline {
  background: rgba(255,255,255,0.68);
  color: #183153;
  border: 1.5px solid rgba(24,49,83,0.14);
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  border-color: #2a7fff;
  color: #2a7fff;
  background: rgba(255,255,255,0.88);
}
@keyframes shine {
  0% { transform: translateX(-120%) skewX(-20deg); }
  100% { transform: translateX(220%) skewX(-20deg); }
}
.glass-panel {
  background: rgba(255,250,242,0.78);
  border: 1px solid rgba(24,49,83,0.08);
  box-shadow: 0 18px 42px -24px rgba(24,49,83,0.24);
}
.warm-card {
  background: linear-gradient(180deg, #fffdf8, #fff3e4);
  border: 1px solid #ffe1bb;
}
.nav-link { position: relative; color: #fffef8; }
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: #ffd36e;
  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: #ffd36e; }
.lb-overlay { background: rgba(16, 31, 53, 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,255,255,0.68);
  border: 1px solid rgba(42,127,255,0.12);
}
.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(24, 49, 83, 0.9) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
[data-gallery-filter] { background: rgba(255,255,255,.62); border: 1px solid rgba(24,49,83,.1); }
[data-gallery-filter].is-active { background: #2a7fff; color: #fff; border-color: #2a7fff; font-weight: 900; }
table.toc-table th, table.toc-table td { border: 1px solid #ffd9b7; padding: .6rem .8rem; }
table.toc-table thead th { background: #183153; color: #fff4de; font-weight: 900; text-align: left; }
table.toc-table tbody tr:nth-child(even) { background: #fffaf2; }
.toc a.active { color: #2a7fff; border-color: #2a7fff; }
