*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
body{font-family:"Noto Sans SC",system-ui,sans-serif;background:#fff;color:#1a1a1a;line-height:1.82;font-size:16px}
a{color:#7c3aed;text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%;height:auto;display:block}

.site-header{background:#fff;border-bottom:1px solid #ececec;position:sticky;top:0;z-index:400}
.header-inner{max-width:680px;margin:0 auto;padding:12px 20px;display:flex;align-items:center;justify-content:space-between;gap:14px}
.brand{display:flex;align-items:center;gap:10px;color:#111;font-weight:600;font-size:.94rem;line-height:1.35}
.brand em{font-style:normal;color:#7c3aed;font-weight:700}
.site-nav ul{display:flex;flex-wrap:wrap;gap:6px 16px;list-style:none}
.site-nav a{color:#444;font-size:.9rem}
.site-nav a.active{color:#7c3aed;font-weight:600}
.nav-toggle{display:none;background:none;border:0;cursor:pointer;padding:8px}
.nav-toggle span{display:block;width:22px;height:2px;background:#333;margin:5px 0;border-radius:1px}

.ads-top-bar{background:#faf5ff;border-bottom:1px solid #ede9fe;padding:10px 0}
#applist .applist-title{font-size:.84rem;color:#6b7280;margin-bottom:8px}
#ads{display:flex;flex-wrap:wrap;gap:12px}

.single-wrap{max-width:680px;margin:0 auto;padding:0 20px 64px}
.single-stream{display:flex;flex-direction:column;gap:0}

.stream-toc{position:sticky;top:58px;z-index:200;background:rgba(255,255,255,.96);backdrop-filter:blur(6px);border-bottom:1px solid #f0f0f0;padding:10px 0;margin:0 -4px 24px}
.stream-toc ul{display:flex;flex-wrap:wrap;gap:6px 10px;list-style:none}
.stream-toc a{font-size:.78rem;color:#6b7280;background:#f9fafb;padding:4px 10px;border-radius:999px;border:1px solid #e5e7eb;white-space:nowrap}
.stream-toc a.is-active,.stream-toc a:hover{color:#7c3aed;border-color:#c4b5fd;background:#f5f3ff}

.stream-hero{padding:32px 0 28px;border-bottom:2px solid #111;margin-bottom:8px}
.stream-hero .hero-badge{display:inline-block;font-size:.8rem;color:#5b21b6;background:#ede9fe;padding:4px 12px;border-radius:4px;margin-bottom:14px;letter-spacing:.02em}
.stream-hero h1{font-size:clamp(1.4rem,4vw,2rem);line-height:1.32;margin-bottom:16px;color:#111;font-weight:700}
.stream-hero .hero-lede{font-size:1.02rem;color:#374151;margin-bottom:12px}
.stream-hero .hero-meta{font-size:.86rem;color:#9ca3af;margin-top:18px;padding-top:14px;border-top:1px dashed #e5e7eb}

.stream-section{padding:28px 0;border-bottom:1px solid #f3f4f6}
.stream-section:last-of-type{border-bottom:0}
.stream-section h2{font-size:1.18rem;margin-bottom:14px;color:#111;padding-left:14px;border-left:4px solid #7c3aed;line-height:1.4}
.stream-section p{margin-bottom:14px;color:#333;font-size:.97rem}
.stream-section ul,.stream-section ol{margin:0 0 14px 1.25rem;color:#333;font-size:.96rem}
.stream-section li{margin-bottom:6px}

.stream-callout{background:#faf5ff;border:1px solid #e9d5ff;border-radius:10px;padding:16px 18px;margin:16px 0;font-size:.94rem;color:#4c1d95}
.stream-callout strong{color:#5b21b6}

.stream-pull{font-size:1.08rem;font-weight:500;color:#111;border-left:3px solid #a78bfa;padding:8px 0 8px 18px;margin:18px 0;line-height:1.55}

.stream-figure{margin:20px 0;border-radius:12px;overflow:hidden;border:1px solid #e5e7eb;background:#fafafa}
.stream-figure img{width:100%}
.stream-figure figcaption{font-size:.8rem;color:#6b7280;padding:10px 14px;text-align:center;background:#f9fafb}

.stream-steps{counter-reset:step;margin:16px 0;padding:0;list-style:none}
.stream-steps li{counter-increment:step;position:relative;padding:12px 0 12px 42px;border-bottom:1px dotted #e5e7eb;font-size:.95rem}
.stream-steps li::before{content:counter(step);position:absolute;left:0;top:12px;width:28px;height:28px;background:#7c3aed;color:#fff;border-radius:50%;font-size:.82rem;font-weight:700;display:flex;align-items:center;justify-content:center}

.faq-zone{padding:32px 0 16px;margin-top:8px}
.faq-zone h2{font-size:1.15rem;margin-bottom:18px;padding-left:14px;border-left:4px solid #7c3aed}
.faq-item{border-bottom:1px solid #eee;padding:14px 0}
.faq-item h3{font-size:1rem;margin-bottom:8px;color:#111}
.faq-item p{font-size:.94rem;color:#444;margin:0}

.related-zone{padding:24px 0;border-top:2px solid #111;margin-top:12px}
.related-zone h2{font-size:1.05rem;margin-bottom:10px}
.related-zone ul{padding-left:1.2rem;line-height:1.95;font-size:.94rem}

.site-footer{background:#fafafa;border-top:1px solid #ececec;padding:28px 20px;text-align:center;font-size:.88rem;color:#666}
.footer-links{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 20px;margin-bottom:10px}
.footer-sub{font-size:.82rem;color:#9ca3af;margin-top:6px}
.prose-page{max-width:680px;margin:40px auto;padding:0 20px}
.prose-page h1{font-size:1.4rem;margin-bottom:16px}
.error-page{max-width:480px;margin:80px auto;padding:0 20px;text-align:center}

@media(max-width:768px){
  .nav-toggle{display:block}
  .site-nav{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;border-bottom:1px solid #eee;padding:12px 20px;box-shadow:0 8px 24px rgba(0,0,0,.06)}
  .site-nav.is-open{display:block}
  .site-nav ul{flex-direction:column;gap:10px}
  .header-inner{position:relative;flex-wrap:wrap}
  .stream-toc{top:52px}
  .stream-toc ul{gap:5px 6px}
  .stream-toc a{font-size:.74rem;padding:3px 8px}
}
