*{box-sizing:border-box}body{margin:0;font-family:"Noto Sans CJK SC","PingFang SC","Microsoft YaHei",sans-serif;background:#faf7f2;color:#2a2420;line-height:1.7}
#app{max-width:1100px;margin:0 auto;padding:16px}
.top{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;border-bottom:2px solid #7a2e2e;padding-bottom:10px}
.brand{display:flex;gap:10px;align-items:center}.mark{width:44px;height:44px;border-radius:10px;background:#7a2e2e;color:#fff;font-size:26px;display:grid;place-items:center;font-family:serif}
h1{font-size:1.3rem;margin:0}.sub{font-size:.85rem;color:#6b5d55;margin:0}
button{font:inherit;cursor:pointer;border:1px solid #c9b8a8;background:#fff;border-radius:8px;padding:6px 12px}
button.on,.btn-p{background:#7a2e2e;color:#fff;border-color:#7a2e2e}button:disabled{opacity:.45;cursor:not-allowed}
.layout{display:grid;grid-template-columns:300px 1fr;gap:16px;margin-top:14px}@media(max-width:800px){.layout{grid-template-columns:1fr}}
.side{background:#fff;border:1px solid #e6dcd0;border-radius:10px;padding:10px;max-height:78vh;overflow:auto}
.part{font-weight:700;color:#7a2e2e;margin:10px 0 4px;font-size:.92rem}
.ri{display:flex;justify-content:space-between;gap:6px;padding:5px 8px;border-radius:6px;font-size:.88rem;cursor:pointer}
.ri:hover{background:#f4ece3}.ri.cur{background:#efe2d5;font-weight:600}.ri.lock{color:#aaa;cursor:not-allowed}
.badge{font-size:.75rem;padding:0 6px;border-radius:10px;background:#e9f3e9;color:#2e6b2e;white-space:nowrap}.badge.f{background:#fbeaea;color:#8a2a2a}
.main{background:#fff;border:1px solid #e6dcd0;border-radius:10px;padding:18px 22px}
.main h2{margin:0 0 4px;font-size:1.35rem}.meta{color:#7d6e64;font-size:.85rem;margin-bottom:12px}
.text p{margin:.55em 0;text-indent:2em}.text p.h{text-indent:0;font-weight:700;color:#5a2222;margin-top:1.1em}
.bar{height:10px;background:#eadfd3;border-radius:6px;overflow:hidden}.bar span{display:block;height:100%;background:#7a2e2e}
.stats{display:flex;gap:18px;flex-wrap:wrap;font-size:.88rem;margin:8px 0 0}
.q{border:1px solid #eadfd3;border-radius:8px;padding:10px 12px;margin:10px 0}.q .qt{font-weight:600}
.opt{display:block;margin:4px 0;padding:4px 8px;border-radius:6px}.opt.ok{background:#e4f2e4}.opt.bad{background:#f8e1e1}
.exp{font-size:.88rem;color:#4a5d4a;background:#f3f8f3;border-left:3px solid #6a9a6a;padding:6px 10px;margin-top:6px}
.tag{font-size:.72rem;background:#fff4d6;color:#8a6a00;border-radius:8px;padding:0 6px;margin-left:6px}
.form label{display:block;margin:10px 0 2px}.form input,.form select{font:inherit;padding:7px;border:1px solid #c9b8a8;border-radius:6px;width:100%;max-width:420px}
.cert{border:10px double #7a2e2e;padding:36px;text-align:center;background:#fffdf8;position:relative;font-family:"Noto Serif CJK SC",serif;margin-top:10px}
.cert h3{font-size:2rem;letter-spacing:.4em;margin:0 0 10px;color:#5a2222}.cert .nm{font-size:1.8rem;border-bottom:1px solid #999;display:inline-block;padding:0 30px;margin:10px 0}
.seal{position:absolute;right:30px;top:30px;width:110px;height:110px;border-radius:50%;display:grid;place-items:center;color:#fff;font-weight:700;font-size:1.2rem;box-shadow:0 0 0 6px rgba(0,0,0,.08) inset}
.seal.bronze{background:radial-gradient(#d39a62,#8c5a2b)}.seal.silver{background:radial-gradient(#e6e6e6,#8d8d8d)}.seal.gold{background:radial-gradient(#ffe07a,#b8860b)}
.sig{display:flex;justify-content:space-around;margin-top:30px;font-size:.95rem}.sig div{border-top:1px solid #555;padding-top:4px;min-width:200px}
.credit{font-size:.82rem;color:#6b5d55;margin-top:14px;text-align:center}
.note{font-size:.82rem;color:#8a6a00;background:#fff8e6;border-radius:6px;padding:6px 10px;margin:8px 0}

.chk{display:flex!important;gap:8px;align-items:flex-start}.chk input{width:auto!important;margin-top:6px}
.ok-msg{background:#e4f2e4;color:#2e5b2e;border-radius:6px;padding:8px 12px}
.demo{background:#26476b;color:#fff;border-radius:8px;padding:6px 12px;margin-bottom:10px;font-size:.88rem}.demo button{padding:2px 10px;margin-left:4px}
.sign{font-family:"Brush Script MT","Segoe Script","Snell Roundhand",cursive;font-size:1.9rem;color:#1d2f5a;line-height:1.1}.sign.sm{font-family:inherit;font-size:1.05rem}
.fs{margin-top:16px;font-size:.95rem;color:#26476b;font-weight:600}
footer{text-align:center;font-size:.78rem;color:#8a7d74;margin:18px 0 6px}
.tog{display:none;margin-top:10px;width:100%}
.q .opt{cursor:pointer;padding:8px}
@media(max-width:800px){#app{padding:10px}.tog{display:block}.side{display:none;max-height:60vh}body.showside .side{display:block}
.main{padding:14px}.cert{padding:18px 12px;border-width:6px}.cert h3{font-size:1.5rem;letter-spacing:.2em}.cert .nm{font-size:1.4rem;padding:0 10px}
.seal{position:static;margin:14px auto 0;width:90px;height:90px}.sig{flex-direction:column;gap:14px;align-items:center}.sig div{min-width:0;width:80%}
.top>div:last-child{display:flex;flex-wrap:wrap;gap:4px}.stats{gap:8px 14px}}
@media print{.demo,.tog,.side,.top,footer,.stats,.bar{display:none!important}.layout{display:block}}
.solo{margin-top:14px}.main.wide{max-width:none}
.tools{display:flex;flex-wrap:wrap;gap:4px;align-items:center}.tools select{font:inherit;padding:6px;border-radius:8px;border:1px solid #c9b8a8;max-width:220px}
.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px;margin:12px 0}
.card{border:1px solid #e6dcd0;border-radius:10px;padding:14px;background:#fffdf9;cursor:pointer}.card:hover{box-shadow:0 2px 8px rgba(0,0,0,.08)}.card h3{margin:0 0 6px;color:#5a2222}.card p{margin:4px 0;font-size:.9rem}
.tag2{display:inline-block;font-size:.75rem;background:#fff4d6;color:#8a6a00;border-radius:8px;padding:0 8px}
.facts{padding-left:0;list-style:none}.facts li{margin:6px 0}
.btn-big{font-size:1.1rem;padding:12px 20px;background:#26476b;color:#fff;border-color:#26476b;border-radius:10px}
.guide{max-width:640px;margin:0 auto;text-align:center;padding:28px 22px}.guide h2{font-size:1.5rem;margin:14px 0}.gtext{font-size:1.1rem;line-height:1.9;text-align:left}
.gstep{color:#7d6e64;font-size:.85rem}.dots{display:flex;gap:6px;justify-content:center;margin-top:8px}.dots span{width:10px;height:10px;border-radius:50%;background:#e6dcd0}.dots span.on{background:#7a2e2e}
.gnav{display:flex;justify-content:space-between;gap:10px;margin-top:22px}
.pledge{background:#f7f3ec;border-radius:8px;padding:10px 14px}.pledge label{margin:10px 0}
blockquote{margin:.8em 0;padding:8px 14px;border-left:3px solid #b08a5a;background:#faf4ea;font-family:"Noto Serif CJK SC",serif}
.tw{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:.88rem}th,td{border-bottom:1px solid #eadfd3;padding:6px;text-align:left}tr.fast{background:#fff1e6}
.fbbtn{position:fixed;right:14px;bottom:14px;z-index:50;border-radius:999px;padding:8px 14px;background:#7a2e2e;color:#fff;border:0;box-shadow:0 2px 8px rgba(0,0,0,.25);font-size:.95rem}
textarea{width:100%;box-sizing:border-box;font:inherit;padding:8px}
@media print{.fbbtn,.noprint,.authbar,.nudge{display:none!important}}

.podcast{display:flex;gap:18px;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;margin-top:18px;padding:16px 18px;background:#fffdf9;border:1px solid #e6dcd0;border-radius:10px}
.podcast-main{flex:1 1 220px;min-width:0}
.podcast h3{margin:0 0 6px;color:#5a2222;font-size:1.15rem}
.podcast p{margin:4px 0;font-size:.92rem}
.podcast-ep{margin:12px 0;padding:10px 12px;background:#f7f3ec;border-radius:8px}
.podcast-ep-label{font-weight:600;color:#5a2222}
.podcast audio{width:100%;margin:8px 0 4px;max-width:100%;display:block}
.podcast-links a,.podcast-mp3{color:#7a2e2e}
.podcast-note{font-size:.82rem;color:#8a6a00;margin-top:8px}
.podcast-qr{text-align:center;flex:0 0 140px}
.podcast-qr img{width:140px;height:140px;display:block;margin:0 auto;border:1px solid #eadfd3;border-radius:8px;background:#fff;padding:4px}
.podcast-qr p{font-size:.78rem;color:#6b5d55;margin-top:6px}
@media(max-width:800px){.podcast{padding:14px}.podcast-qr{flex:1 1 100%}.podcast-qr img{width:120px;height:120px}}

.fig{margin:1.25rem auto;text-align:center}
.fig img{max-width:100%;height:auto;border:1px solid #eadfd3;background:#fff;padding:4px}
.fig figcaption{font-size:.9rem;color:#5a4a3a;margin-top:.45rem}

.authbar{position:sticky;top:0;z-index:60;margin:0 0 10px;padding:10px 14px;border-radius:8px;background:#eef5ee;border:1px solid #b9d3b9;line-height:1.7;font-size:.95rem}
.authbar.err{background:#fff4e5;border-color:#e6c48f}.authbar.ok{background:#eef5ee}
.authbar .x{float:right;border:0;background:none;font-size:1.3rem;line-height:1;cursor:pointer;padding:0 4px;color:#6b5a50}
.authbar input{font:inherit;padding:6px 8px;border-radius:8px;border:1px solid #c9b8a8;min-width:200px;max-width:100%;margin:4px 4px 4px 0}
.nudge{margin:16px 0;padding:10px 14px;border-radius:8px;background:#f1f6fb;border:1px solid #c8d9ea;line-height:1.8}
.savebox{margin:16px 0;padding:10px 14px;border-radius:8px;background:#f1f6fb;border:1px solid #c8d9ea}.savebox h3{margin:0 0 4px}
.sharebox{margin:18px 0;padding:10px 14px;border-radius:10px;background:#faf4ea;border:1px solid #e6dcd0}.sharebox h3{margin:0 0 4px;color:#5a2222}
.sharebox .sl{word-break:break-all;font-size:.8rem;color:#7d6e64}
.qrbox{text-align:center;margin:8px 0}.qrimg{width:200px;max-width:70vw;margin:0 auto;background:#fff;padding:4px;border:1px solid #e6dcd0;border-radius:6px}.qrimg svg{display:block;width:100%;height:auto}
