/* 极道无赖EX · 都市警务 noir 视觉体系 */
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans SC', system-ui, sans-serif;
  background: #071018;
  color: #e2e8f0;
}
.heading-display {
  font-family: 'Noto Sans SC', system-ui, sans-serif;
  letter-spacing: .04em;
  font-weight: 900;
}
.city-grid {
  background-image:
    linear-gradient(to right, rgba(34,211,238,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(34,211,238,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
}
.badge-stripe {
  background: repeating-linear-gradient(135deg, #c9a227 0 10px, #071018 10px 20px);
}
.btn-gold {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f0d060 0%, #c9a227 45%, #a8861a 100%);
  color: #071018;
  font-weight: 900;
  border: 2px solid #8a6f15;
  box-shadow: 0 12px 28px -10px rgba(201,162,39,0.65), inset 0 1px 0 rgba(255,255,255,0.45);
  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(7,16,24,0.75);
  color: #e2e8f0;
  border: 1.5px solid rgba(34,211,238,0.35);
  backdrop-filter: blur(6px);
}
.btn-outline:hover {
  border-color: #22d3ee;
  color: #22d3ee;
  background: rgba(7,16,24,0.92);
}
.panel-dark { background: #0c1929; border: 1px solid rgba(34,211,238,0.12); }
.panel-light { background: #f1f5f9; border: 1px solid #cbd5e1; color: #0f172a; }
.nav-link { position: relative; color: #cbd5e1; }
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: #c9a227;
  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: #e8b923; }
.lb-overlay { background: rgba(4,10,18,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(7,16,24,0.72);
  border: 1px solid rgba(201,162,39,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(7,16,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(34,211,238,.15); }
[data-gallery-filter].is-active { background: #c9a227; color:#071018; border-color:#c9a227; font-weight:900; }
table.toc-table th, table.toc-table td { border:1px solid #334155; padding:.6rem .8rem; }
table.toc-table thead th { background:#0c1929; color:#e8b923; font-weight:900; text-align:left; }
table.toc-table tbody tr:nth-child(even) { background:#f8fafc; }
.toc a.active { color:#c9a227; border-color:#c9a227; }
.neon-line {
  height: 2px;
  background: linear-gradient(90deg, transparent, #22d3ee, #c9a227, transparent);
}
.hero-badge {
  border-left: 3px solid #c9a227;
  background: linear-gradient(90deg, rgba(201,162,39,0.18), rgba(7,16,24,0.6));
}
/* 首屏可读性：文字区实底 + 左侧强遮罩，避免背景图穿透发糊 */
#hero { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
#hero .hero-text-panel {
  background: rgba(7, 16, 24, 0.94);
  border: 1px solid rgba(34, 211, 238, 0.12);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.85);
}
#hero .hero-title {
  color: #f8fafc;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.9), 0 1px 2px rgba(0, 0, 0, 0.8);
}
#hero .hero-subtitle {
  color: #e8b923;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.85);
}
#hero .hero-lead {
  color: #e2e8f0;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.75);
}
#hero .hero-meta {
  color: #94a3b8;
}
#hero .stat-chip {
  background: rgba(12, 25, 41, 0.98);
  border: 1px solid rgba(201, 162, 39, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
#hero .stat-chip .text-slate-400 { color: #cbd5e1; }
#hero .hero-scrim-left {
  background: linear-gradient(105deg,
    rgba(7, 16, 24, 1) 0%,
    rgba(7, 16, 24, 0.98) 42%,
    rgba(7, 16, 24, 0.72) 62%,
    rgba(7, 16, 24, 0.35) 78%,
    transparent 100%);
}
#hero .btn-outline {
  background: rgba(12, 25, 41, 0.98);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
@media (max-width: 1023px) {
  #hero .hero-scrim-left {
    background: linear-gradient(180deg,
      rgba(7, 16, 24, 0.97) 0%,
      rgba(7, 16, 24, 0.92) 55%,
      rgba(7, 16, 24, 0.75) 100%);
  }
  #hero .hero-text-panel { background: rgba(7, 16, 24, 0.97); }
}
