:root{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:#302a25;background:#faf9f7;font-size:16px;line-height:1.65;--accent:#a84e12;--muted:#7b736b;--line:#ebe5de}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #fa9d3b;outline-offset:4px}button{cursor:pointer}header{border-bottom:1px solid var(--line);background:#fff}.header-inner{max-width:1160px;margin:auto;padding:20px 28px;display:flex;justify-content:space-between;align-items:center}.brand{display:flex;align-items:center;gap:12px;font-size:1.25rem;font-weight:750;line-height:1.25}.brand-icon{display:grid;place-items:center;background:var(--accent);color:white;border-radius:13px;width:44px;height:44px;font-size:1.5rem}.brand small{display:block;font-weight:400;font-size:.875rem;color:var(--muted);letter-spacing:.04em;margin-top:4px}nav{display:flex;gap:28px;font-size:.9375rem}nav a:hover,.text-link:hover{color:var(--accent)}main{max-width:1160px;padding:0 28px;margin:auto;min-height:65vh}.hero{display:grid;grid-template-columns:1fr 1.05fr;gap:64px;padding:65px 0 60px;align-items:center}.eyebrow{font-size:.875rem;color:var(--accent);font-weight:600;letter-spacing:.05em;margin:0 0 14px}h1,h2,h3,p{margin-top:0}h1{font-size:2.15rem;line-height:1.3;letter-spacing:-.04em}.hero h1{font-size:3.5rem;font-weight:750;line-height:1.24;letter-spacing:-.055em;margin-bottom:22px}.hero em{font-style:normal;color:var(--accent)}.intro{color:var(--muted);margin-bottom:28px;line-height:1.9}.button{display:inline-flex;justify-content:center;align-items:center;min-height:44px;padding:10px 20px;border:1px solid var(--line);border-radius:10px;background:#fff;color:#563b28;font-weight:600;font-size:.9375rem;white-space:nowrap}.button:hover{filter:brightness(.96)}.dark{background:var(--accent);border-color:var(--accent);color:#fff}.white{border:0;background:#fff;color:#a84e12}.bag-card{position:relative;display:block;border-radius:24px;background:#fff1df;border:1px solid #f6dbb9;padding:24px 28px;overflow:hidden}.bag-top,.bag-bottom{display:flex;justify-content:space-between;align-items:center;gap:16px;position:relative;z-index:1}.pill{background:#fff9;border:1px solid #fff;border-radius:30px;padding:4px 12px;font-size:.875rem;color:#a84e12}.external-label{font-size:.875rem;color:#8e6b4c}.bag-art{height:214px;position:relative;width:260px;margin:auto}.bag-handle{position:absolute;top:31px;left:92px;width:77px;height:65px;border:10px solid #ed8d29;border-radius:60px 60px 0 0;transform:rotate(-9deg)}.bag-body{position:absolute;top:78px;left:55px;width:154px;height:126px;background:#fa9d3b;border-radius:13px 13px 30px 30px;transform:rotate(-9deg);box-shadow:9px 12px 0 #f6dbb9}.bag-body span{position:absolute;top:24px;left:51px;font-size:2.5rem;font-weight:bold;color:#f5e19e;transform:rotate(9deg)}.coin{position:absolute;bottom:5px;right:21px;border-radius:50%;width:58px;height:58px;background:#efd48b;box-shadow:inset 0 0 0 5px #f8e6b2,4px 5px 0 #d4b774;display:grid;place-items:center;color:#8d6926;font-size:1.7rem;font-weight:bold;transform:rotate(12deg)}.spark{position:absolute;color:#fa9d3b;font-size:1.75rem}.spark.one{top:24px;right:16px}.spark.two{top:117px;left:8px;font-size:1.2rem}.bag-bottom{padding-top:12px}.bag-bottom h2{margin:0;font-size:1.5rem}.bag-bottom p{font-size:.875rem;color:#8e6b4c;margin:4px 0 0}.feed{scroll-margin-top:24px;padding-bottom:45px}.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin:0 0 24px}.section-head .eyebrow{margin-bottom:6px}.section-head h2{font-size:1.6rem;margin:0;letter-spacing:-.04em}.section-head>p{font-size:.875rem;color:var(--muted);margin:0}.count{font-size:.875rem;font-weight:400;letter-spacing:0;color:var(--muted);margin-left:10px;white-space:nowrap}.filters{display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid var(--line);padding-bottom:18px}.tabs{display:flex;gap:7px}.tabs a{padding:8px 16px;border-radius:8px;font-size:.9375rem;color:var(--muted)}.tabs .active{color:var(--accent);background:#fff0df;font-weight:600}.search{display:flex;background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden}.search input{border:0;min-width:0;width:190px;padding:9px 12px;background:transparent}.search button{border:0;background:transparent;padding:8px 13px;color:var(--accent);font-weight:600}.empty{text-align:center;background:#fff;border:1px dashed #e7d8c8;border-radius:16px;margin-top:24px;padding:46px 20px}.empty-icon{background:#fff0df;color:#a84e12;width:54px;height:54px;margin:0 auto 16px;border-radius:16px;display:grid;place-items:center;font-size:1.65rem;font-weight:600}.empty h3{font-size:1.2rem;margin-bottom:8px}.empty p{font-size:.9375rem;color:var(--muted);margin-bottom:16px}.text-link{color:var(--accent);font-size:.9375rem;font-weight:600}.post-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding-top:24px}.post-card{border:1px solid var(--line);border-radius:15px;padding:24px;background:white;transition:box-shadow .2s}.post-card:hover{box-shadow:0 7px 25px #6c39180a;border-color:#edc494}.post-meta{display:flex;align-items:center;gap:10px;font-size:.875rem}.post-meta time{margin-left:auto;color:var(--muted)}.tag{display:inline-block;color:var(--accent);background:#fff0df;border-radius:6px;padding:3px 9px;font-size:.875rem}.pin{color:#92702b}.post-card h3{font-size:1.3rem;line-height:1.5;margin:18px 0 10px;overflow-wrap:anywhere}.post-card p{color:var(--muted);font-size:.9375rem;overflow-wrap:anywhere;white-space:pre-line}.post-foot{display:flex;justify-content:space-between;border-top:1px solid #f1ebe4;padding-top:14px;font-size:.875rem;color:var(--muted);gap:12px}.post-foot span:last-child{color:var(--accent);white-space:nowrap}footer{max-width:1104px;margin:0 auto;border-top:1px solid var(--line);padding:25px 0 32px;color:var(--muted);font-size:.875rem;display:flex;justify-content:space-between;gap:20px}footer>div{display:flex;gap:18px}.footer-brand{color:#a84e12;font-weight:650}.reading{max-width:800px;margin:40px auto 60px}.paper{background:#fff;border:1px solid var(--line);border-radius:20px;padding:36px;margin-top:18px}.paper h1{margin:20px 0 12px;overflow-wrap:anywhere}.paper h2{font-size:1.2rem;margin:26px 0 12px}.muted{color:var(--muted);font-size:.9375rem}.lead{font-size:1.125rem;color:#7b6a5c}.deadline{padding:12px;background:#fff0df;border-radius:10px;color:var(--accent)}.prose{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.95;margin-bottom:28px}.code-box{background:#faf7f3;border:1px solid var(--line);border-radius:12px;padding:18px;margin-bottom:24px}.code-box h2{margin:0 0 8px}.code-box pre{font:inherit;white-space:pre-wrap;overflow-wrap:anywhere}.flash{padding:14px 18px;background:#fff2cf;border-radius:10px;margin:20px 0;color:#725519}.login{max-width:500px;margin:64px auto}.login h1{font-size:1.8rem}.editor,label{display:block}label{font-weight:600;margin:18px 0;font-size:.9375rem}label input,label textarea,label select{display:block;width:100%;margin-top:8px;border:1px solid #e4d8cc;border-radius:9px;padding:11px 12px;background:#fff;color:#433327;font-weight:400}textarea{resize:vertical;min-height:80px}select{appearance:none;background-image:linear-gradient(45deg,transparent 50%,#897463 50%),linear-gradient(135deg,#897463 50%,transparent 50%);background-position:calc(100% - 20px) 22px,calc(100% - 15px) 22px;background-size:5px 5px;background-repeat:no-repeat}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.checkbox{display:flex;align-items:center;gap:10px}.checkbox input{width:20px;height:20px;margin:0}.admin{padding:45px 0}.admin h1{margin:0}.actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.admin-row{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:24px;border:1px solid var(--line);background:#fff;border-radius:14px;margin:14px 0}.admin-row h2{font-size:1.15rem;margin:10px 0 4px;overflow-wrap:anywhere}.admin-row p{margin:0}.pagination{display:flex;justify-content:center;gap:14px;margin-top:22px}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);background:#673b1c;color:white;padding:12px 22px;border-radius:10px;z-index:10;max-width:90vw;width:max-content}@media(max-width:760px){.header-inner{padding:16px 20px}.brand{font-size:1.1rem}.brand-icon{width:40px;height:40px}nav{gap:14px;font-size:.875rem}main{padding:0 20px}.hero{gap:25px;padding:35px 0;grid-template-columns:1fr}.hero h1{font-size:2.6rem;margin-bottom:15px}.hero h1 br{display:none}.intro br{display:none}.intro{margin-bottom:18px}.bag-card{padding:20px}.bag-art{height:175px;transform:scale(.82);transform-origin:top center;margin-bottom:-20px}.bag-bottom h2{font-size:1.25rem}.bag-bottom p{font-size:.875rem}.bag-bottom .button{padding:9px 15px}.section-head{display:block;margin-bottom:17px}.section-head>p{margin-top:8px}.filters{align-items:stretch;flex-direction:column;gap:15px}.search input{width:100%}.search button{flex-shrink:0}.tabs a{padding:8px 14px}.empty{padding:35px 18px}.post-grid{grid-template-columns:1fr;gap:14px}.post-card{padding:20px}.section-head h2{font-size:1.45rem}.count{margin-left:8px}.paper{padding:22px;border-radius:15px}.paper h1{font-size:1.7rem}.reading{margin:26px auto 40px}.login{margin:35px auto}.field-grid{grid-template-columns:1fr;gap:0}.admin-row{display:block;padding:20px}.admin-row .actions{margin-top:18px}.admin .section-head .actions{margin-top:15px}footer{margin:0 20px;padding:22px 0;display:block}footer>div{flex-wrap:wrap;gap:12px;margin-bottom:10px}footer>div:last-child{display:block}footer>div:last-child a{display:block;margin-top:8px}}
/* 简洁功能入口 */
.header-inner{max-width:960px;padding:16px 20px}.brand{font-size:1.2rem}.brand-icon{width:38px;height:38px;border-radius:9px;font-size:1.25rem}.brand small{font-size:.875rem;margin-top:3px}main{max-width:960px;padding:0 20px;min-height:calc(100vh - 170px)}.function-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;padding:24px 0}.function-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:142px;background:#fff;border:1px solid #ebe5de;border-radius:12px;font-size:1rem;font-weight:600}.function-tile:hover{border-color:#edc494;background:#fffaf3}.tile-icon{width:46px;height:46px;display:grid;place-items:center;border-radius:12px;font-size:1.6rem;font-weight:650}.tile-icon.gift{color:#a84e12;background:#fff0df}.tile-icon.cash{color:#a84e12;background:#fff0df}.back-link{display:inline-block;margin:22px 0 20px;color:var(--accent);font-size:.9375rem}.feed{padding-bottom:24px}.empty{padding:30px 16px}footer{max-width:920px;margin:0 auto;padding:18px 0;align-items:center}footer>div{margin:0}footer>div:last-child a{margin:0}.login h1{margin-top:12px}@media(max-width:760px){.function-grid{grid-template-columns:minmax(0,1fr);gap:12px;padding:20px 0}.function-tile{min-height:132px}.header-inner{padding:14px 16px}main{padding:0 16px}.brand{font-size:1.125rem}footer{margin:0 16px;display:flex}.section-head h2{font-size:1.25rem}.filters{gap:12px}}@media(min-width:761px){.function-tile{min-height:150px}}

/* 微信红包风格的橙色主题 */
:root{--packet-orange:#fa9d3b}.brand-icon,.tile-icon.gift,.tile-icon.cash{background:var(--packet-orange);color:#fff}.dark{background:var(--packet-orange);border-color:var(--packet-orange);color:#63320e}.checkbox input{accent-color:var(--packet-orange)}

.tile-icon.news{background:var(--packet-orange);color:#fff}.code-help{margin:12px 0 0}.post-card h3{margin-top:12px}
