:root {
  --bg: #0a0a0c;
  --bg-soft: #141418;
  --bg-card: #1a1a20;
  --line: #2a2a32;
  --text: #f2f2f4;
  --muted: #a0a0aa;
  --brand: #e83e4a;
  --brand-soft: #ff6b73;
  --accent: #ff8a3d;
  --ok: #3dd68c;
  --max: 1120px;
  --radius: 12px;
  --font-display: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(232, 62, 74, 0.18), transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgba(255, 138, 61, 0.12), transparent 50%),
    linear-gradient(180deg, #0d0d12 0%, var(--bg) 40%, #09090b 100%);
  color: var(--text);
  line-height: 1.75;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: var(--brand-soft); text-decoration: none; }
a:hover { color: #fff; text-decoration: underline; }
ul, ol { padding-left: 1.2rem; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.35;
  font-weight: 700;
  color: #fff;
}
h1 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); margin-bottom: 0.8rem; }
h2 { font-size: clamp(1.25rem, 2.2vw, 1.7rem); margin: 1.8rem 0 0.9rem; padding-left: 0.7rem; border-left: 4px solid var(--brand); }
h3 { font-size: 1.1rem; margin: 1.2rem 0 0.6rem; color: #ffe4e6; }
p { margin: 0.75rem 0; color: var(--muted); }
.container { width: min(100% - 2rem, var(--max)); margin: 0 auto; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(10, 10, 12, 0.88);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.85rem 0;
}
.logo {
  display: flex; align-items: center; gap: 0.65rem;
  color: #fff; font-weight: 800; font-size: 1.15rem; text-decoration: none;
}
.logo img { width: 36px; height: 36px; border-radius: 8px; }
.logo span { background: linear-gradient(90deg, #fff, #ffb4b8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; align-items: center; }
.nav a {
  color: var(--muted); font-size: 0.95rem; text-decoration: none;
  padding: 0.25rem 0; border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a.active { color: #fff; border-bottom-color: var(--brand); text-decoration: none; }
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: var(--bg-card);
  border: 1px solid var(--line);
  color: #fff;
  border-radius: 10px;
  cursor: pointer;
  line-height: 0;
}
.menu-toggle:hover { border-color: var(--brand); color: #fff; }
.menu-toggle svg { width: 22px; height: 22px; display: block; pointer-events: none; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-menu { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

.hero {
  padding: 2.2rem 0 1.5rem;
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 1.5rem; align-items: center;
}
.hero-badge {
  display: inline-block; font-size: 0.8rem; letter-spacing: 0.04em;
  color: var(--brand-soft); background: rgba(232, 62, 74, 0.12);
  border: 1px solid rgba(232, 62, 74, 0.35); border-radius: 999px;
  padding: 0.25rem 0.75rem; margin-bottom: 0.8rem;
}
.hero p.lead { font-size: 1.05rem; color: #d7d7de; max-width: 38rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.2rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.7rem 1.2rem; border-radius: 10px; font-weight: 700;
  text-decoration: none; border: 1px solid transparent; transition: 0.2s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff; box-shadow: 0 8px 24px rgba(232, 62, 74, 0.28);
}
.btn-primary:hover { filter: brightness(1.08); color: #fff; text-decoration: none; }
.btn-ghost {
  background: transparent; border-color: var(--line); color: #fff;
}
.btn-ghost:hover { border-color: var(--brand); color: #fff; text-decoration: none; }
.hero-visual {
  position: relative; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line); background: var(--bg-soft);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.hero-visual img { width: 100%; aspect-ratio: 9/14; object-fit: cover; object-position: top; max-height: 520px; }

.section { padding: 1.6rem 0 0.4rem; }
.section-intro { max-width: 48rem; }

.feature-grid, .shot-grid, .cat-grid, .link-grid {
  display: grid; gap: 1rem; margin: 1rem 0 1.5rem;
}
.feature-grid { grid-template-columns: repeat(3, 1fr); }
.shot-grid { grid-template-columns: repeat(4, 1fr); }
.cat-grid { grid-template-columns: repeat(3, 1fr); }
.link-grid { grid-template-columns: repeat(2, 1fr); }

.card, .shot-card, .cat-card {
  background: linear-gradient(180deg, rgba(26,26,32,0.95), rgba(18,18,22,0.98));
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.card { padding: 1.1rem 1.15rem; }
.card h3 { margin-top: 0; }
.shot-card img, .cat-card img {
  width: 100%; aspect-ratio: 9/16; object-fit: cover; object-position: top;
  background: #111;
}
.shot-card figcaption, .cat-card figcaption {
  padding: 0.7rem 0.8rem 0.9rem; font-size: 0.9rem; color: #ddd;
}
.shot-card figcaption strong, .cat-card figcaption strong { display: block; color: #fff; margin-bottom: 0.2rem; }

.toc {
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1rem 1.2rem; margin: 1rem 0 1.5rem;
}
.toc h2 { margin-top: 0; font-size: 1.1rem; border: 0; padding: 0; }
.toc ol { margin-top: 0.5rem; columns: 2; gap: 2rem; }
.toc a { color: #ffc9cd; }

.content-block {
  background: rgba(20,20,24,0.55); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.2rem 1.3rem; margin-bottom: 1.2rem;
}
.content-block p { color: #c8c8d0; }
.kpi {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; margin: 1rem 0;
}
.kpi div {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: 10px;
  padding: 0.9rem; text-align: center;
}
.kpi strong { display: block; font-size: 1.25rem; color: var(--accent); }
.kpi span { font-size: 0.85rem; color: var(--muted); }

.faq details {
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 10px; padding: 0.85rem 1rem; margin-bottom: 0.7rem;
}
.faq summary { cursor: pointer; color: #fff; font-weight: 600; }
.faq p { margin-top: 0.55rem; }

.breadcrumb { font-size: 0.9rem; color: var(--muted); margin: 1rem 0 0.4rem; }
.breadcrumb a { color: #bbb; }
.page-main { padding-bottom: 2.5rem; }
.page-main article { max-width: 820px; }

.site-footer {
  margin-top: 2.5rem; border-top: 1px solid var(--line);
  background: #08080a; padding: 2rem 0 2.5rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.5rem;
}
.site-footer h3 { margin-top: 0; color: #fff; font-size: 1rem; }
.site-footer a { display: block; color: var(--muted); margin: 0.35rem 0; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.copyright { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line); color: #777; font-size: 0.85rem; }

.err-wrap {
  min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 2rem 1rem;
}
.err-wrap .code { font-size: clamp(3rem, 10vw, 5.5rem); color: var(--brand); font-weight: 800; line-height: 1; }
.age-note {
  margin: 1rem 0; padding: 0.8rem 1rem; border-radius: 10px;
  background: rgba(255, 138, 61, 0.08); border: 1px solid rgba(255, 138, 61, 0.3);
  color: #ffd7b8; font-size: 0.92rem;
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 360px; margin: 0 auto; }
  .feature-grid, .cat-grid { grid-template-columns: 1fr 1fr; }
  .shot-grid { grid-template-columns: 1fr 1fr; }
  .kpi { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .toc ol { columns: 1; }
}
.site-ads {
  position: sticky;
  top: 58px;
  z-index: 45;
  background: rgba(12, 12, 16, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 8px 0 6px;
}
#ads, .ads-inner {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 6px 4px;
  background: transparent;
  margin: 0 auto;
  width: min(100% - 1rem, var(--max));
}
#ads > div, .ads-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 70px;
  box-sizing: border-box;
}
#ads figure, .ads-item figure { margin: 0; text-align: center; }
#ads img, .ads-item img {
  width: 65px;
  height: 65px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  transition: transform 180ms ease, box-shadow 180ms ease;
  display: block;
  border: none;
  background: linear-gradient(135deg, #fff, #fff);
}
#ads a, .ads-item a {
  display: inline-block;
  text-decoration: none;
  border-radius: 15px;
}
#ads img:hover, .ads-item img:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
}
#ads .caption, .ads-item .caption {
  height: 15px;
  font-size: 11px;
  color: #b8b8c0;
  text-align: center;
  max-width: 70px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 4px;
}

@media (max-width: 720px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    display: none; width: 100%; flex-direction: column; align-items: flex-start;
    padding: 0.5rem 0 0.8rem; gap: 0.55rem;
  }
  .nav.open { display: flex; }
  .header-inner { flex-wrap: wrap; }
  .feature-grid, .cat-grid, .link-grid, .shot-grid { grid-template-columns: 1fr; }
  .shot-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding-top: 1.4rem; }
  #ads > div, .ads-item { width: 64px; }
  #ads img, .ads-item img { width: 56px; height: 56px; border-radius: 14px; }
}
