*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:"Noto Sans SC",system-ui,sans-serif;background:#fff;color:#1c1917;line-height:1.77;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:2px solid #5b21b6;position:sticky;top:0;z-index:330}
.header-inner{max-width:1180px;margin:0 auto;padding:12px 20px;display:flex;align-items:center;justify-content:space-between;gap:16px;position:relative}
.brand{display:flex;align-items:center;gap:10px;color:#1c1917;font-weight:600;font-size:.94rem}
.brand:hover{text-decoration:none}
.brand img{border-radius:7px}
.brand em{font-style:normal;color:#7c3aed;font-weight:700}
.site-nav ul{display:flex;flex-wrap:wrap;gap:6px 18px;list-style:none}
.site-nav a{color:#78716c;font-size:.9rem;padding:4px 0}
.site-nav a.active,.site-nav a:hover{color:#5b21b6;font-weight:600;border-bottom:2px solid #f59e0b;text-decoration:none}
.nav-toggle{display:none;background:none;border:none;cursor:pointer;padding:8px;flex-direction:column;gap:5px}
.nav-toggle span{display:block;width:22px;height:2px;background:#44403c;transition:.2s}
.nav-toggle.is-open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.nav-toggle.is-open span:nth-child(2){opacity:0}
.nav-toggle.is-open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

.ads-top-bar{background:#faf5ff;border-bottom:1px solid #e9d5ff;padding:10px 0}
.applist-title{font-size:.78rem;color:#6d28d9;text-align:center;margin-bottom:6px}
#ads{display:flex;justify-content:center;flex-wrap:wrap;gap:12px}

.mag-wrap{display:grid;grid-template-columns:minmax(0,1fr) 252px;gap:34px;max-width:1180px;margin:0 auto;padding:28px 20px 52px}
.mag-main{min-width:0;order:1}
.mag-rail{order:2;position:sticky;top:86px;align-self:start;background:#fff;border:2px solid #5b21b6;border-radius:16px 4px 16px 16px;padding:22px 18px;box-shadow:6px 6px 0 #fbbf24}
.mag-rail h2{font-size:.84rem;color:#5b21b6;margin-bottom:14px;font-weight:700;letter-spacing:.03em}
.mag-rail ol{list-style:none;counter-reset:gal}
.mag-rail li{counter-increment:gal;margin-bottom:10px;border-bottom:1px dotted #e9d5ff;padding-bottom:8px}
.mag-rail li:last-child{border-bottom:none;padding-bottom:0;margin-bottom:0}
.mag-rail a{font-size:.85rem;color:#57534e;display:flex;align-items:baseline;gap:8px;line-height:1.4;transition:color .15s}
.mag-rail a::before{content:counter(gal,decimal-leading-zero);font-size:.72rem;font-weight:700;color:#f59e0b;min-width:22px}
.mag-rail a.is-active{color:#5b21b6;font-weight:600;text-decoration:none}
.mag-rail a.is-active::before{color:#7c3aed}

.hero-slab{background:linear-gradient(118deg,#4c1d95 0%,#7c3aed 38%,#fef3c7 100%);border-radius:18px;padding:34px 30px 28px;margin-bottom:34px;color:#fff;border:1px solid #a78bfa}
.hero-slab .hero-tag{display:inline-block;font-size:.77rem;font-weight:600;color:#4c1d95;background:#fef3c7;padding:5px 14px;border-radius:6px;margin-bottom:14px}
.hero-slab h1{font-size:clamp(1.4rem,3.6vw,1.9rem);line-height:1.33;margin-bottom:14px;color:#fff;font-weight:700}
.hero-slab .hero-lede{color:#ede9fe;font-size:1.01rem;margin-bottom:10px;text-align:justify}
.hero-slab .hero-lede:last-of-type{margin-bottom:0}
.chip-row{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 2px}
.chip-row span{font-size:.79rem;padding:5px 12px;border-radius:6px;background:rgba(255,255,255,.14);color:#fef3c7;border:1px solid rgba(254,243,199,.4)}

.article-block{margin-bottom:38px;padding-bottom:30px;border-bottom:2px dotted #e9d5ff}
.article-block:last-of-type{border-bottom:none}
.article-block h2{font-size:1.19rem;margin-bottom:12px;color:#5b21b6;line-height:1.36}
.article-block p{margin-bottom:11px;color:#292524;text-align:justify;font-size:.97rem}
.article-block ul{margin:12px 0 12px 22px;color:#44403c;font-size:.95rem}
.article-block li{margin-bottom:6px}
.article-block figure{margin:22px 0;border-radius:14px;overflow:hidden;border:2px solid #e9d5ff;background:#faf5ff}
.article-block figcaption{font-size:.84rem;color:#78716c;padding:10px 14px;background:#faf5ff}

.tip-strip{background:#fffbeb;border-left:5px solid #f59e0b;padding:14px 18px;margin:16px 0;border-radius:0 10px 10px 0;font-size:.93rem;color:#44403c;box-shadow:0 2px 10px rgba(245,158,11,.08)}
.note-box{background:#faf5ff;border:1px dashed #c4b5fd;padding:14px 16px;margin:14px 0;border-radius:10px;font-size:.93rem;color:#57534e}

.faq-panel{margin-top:38px;padding-top:28px;border-top:3px solid #5b21b6}
.faq-panel>h2{font-size:1.16rem;margin-bottom:18px;color:#5b21b6}
.faq-item{border:1px solid #e9d5ff;margin-bottom:10px;background:#fff;border-radius:10px;overflow:hidden}
.faq-item h3{padding:14px 18px;font-size:.95rem;font-weight:600;color:#44403c;background:#faf5ff;border-bottom:1px solid transparent}
.faq-item p{padding:0 18px 14px;color:#57534e;font-size:.93rem}

.related-strip{max-width:1180px;margin:0 auto;padding:0 20px 40px}
.related-strip h2{font-size:1.04rem;margin-bottom:12px;color:#5b21b6}
.related-strip ul{list-style:none;display:flex;flex-wrap:wrap;gap:10px 20px}
.related-strip a{font-size:.92rem}

.extra-pad{max-width:1180px;margin:0 auto;padding:0 20px 36px}
.extra-pad h2{font-size:1.05rem;margin-bottom:10px;color:#5b21b6}
.extra-pad p{color:#44403c;font-size:.95rem;text-align:justify;line-height:1.78}

.site-footer{background:#faf5ff;border-top:2px solid #5b21b6;padding:28px 20px;text-align:center;font-size:.88rem;color:#78716c}
.footer-links{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 16px;margin-bottom:10px}
.footer-links a{color:#57534e}
.footer-sub{font-size:.82rem;color:#7c3aed;margin-top:6px}

.prose-page{max-width:780px;margin:0 auto;padding:32px 20px 48px}
.prose-page h1{font-size:1.4rem;margin-bottom:16px;color:#5b21b6}
.prose-page p{margin-bottom:12px;color:#44403c}

@media(max-width:900px){
.mag-wrap{grid-template-columns:1fr}
.mag-rail{order:-1;position:static;margin-bottom:10px;box-shadow:4px 4px 0 #fbbf24}
.nav-toggle{display:flex}
.site-nav{position:absolute;top:100%;left:0;right:0;background:#fff;border-bottom:1px solid #e9d5ff;padding:12px 20px;display:none;box-shadow:0 6px 16px rgba(0,0,0,.06)}
.site-nav.is-open{display:block}
.site-nav ul{flex-direction:column;gap:10px}
.hero-slab h1{font-size:1.34rem}
}
