@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+SC:wght@400;500;600;700;800&display=swap');
.banner-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}.banner-item{position:relative;border:1px solid var(--line);border-radius:8px;padding:8px;background:#fafcfb}.banner-item img{display:block;width:100%;height:100px;object-fit:cover;border-radius:5px;margin-bottom:7px}.banner-item span{font-size:11px;color:var(--muted)}.banner-item button{position:absolute;right:8px;bottom:8px}.theme-editor{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:12px}.theme-editor label{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--muted)}.theme-editor input{width:38px;height:28px;padding:0;border:1px solid var(--line);border-radius:5px}.user-cell{display:flex;align-items:center;gap:9px}.table-avatar{width:30px;height:30px;border-radius:8px;background:var(--deep);color:#d8ede2;display:grid;place-items:center;overflow:hidden;font-size:13px}.table-avatar img{width:100%;height:100%;object-fit:cover}
.upload-control{display:flex;align-items:center;gap:10px;margin:0 0 18px}.upload-control input{position:absolute;width:1px;height:1px;opacity:0}.upload-control label{display:inline-flex;align-items:center;justify-content:center;padding:9px 14px;border-radius:7px;background:#e8f2ed;color:var(--deep);font-size:13px;font-weight:600;cursor:pointer}.upload-control label:hover{background:#d9ebe2}.upload-control span{font-size:12px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mine-section{margin-top:22px}.mine-section .records-list{padding-bottom:0}.mine-content .contact-panel{margin-top:22px;margin-bottom:20px}.mine-content .record-card{margin-bottom:10px}.profile-trigger{box-shadow:0 3px 12px rgba(24,53,50,.04)}
.category-manager{margin-bottom:20px}.category-manager .btn{margin-top:16px}.theme-panel{grid-column:1/-1}.setting-layout>.admin-panel{min-width:0}.admin-panel .btn,.admin-panel .mini{transition:background .15s ease,transform .15s ease}.admin-panel .btn:hover,.admin-panel .mini:hover{transform:translateY(-1px)}.admin-panel input[type=file]{width:100%;padding:9px;border:1px dashed #bfd0c9;border-radius:7px;background:#fafcfb;color:var(--muted);font-size:12px}.theme-editor{padding:14px;border:1px solid var(--line);border-radius:8px;background:#fafcfb}.theme-editor input{cursor:pointer}
.hero-carousel{padding-top:28px;padding-bottom:34px}.carousel-frame{height:clamp(220px,38vw,430px);position:relative;overflow:hidden;border-radius:18px;background:var(--mint)}.carousel-slide{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .35s ease}.carousel-slide.active{opacity:1}.carousel-prev,.carousel-next{position:absolute;top:50%;transform:translateY(-50%);width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.8);color:var(--deep);font-size:27px;line-height:1}.carousel-prev{left:14px}.carousel-next{right:14px}.carousel-dots{position:absolute;bottom:14px;left:0;right:0;display:flex;justify-content:center;gap:7px}.carousel-dots button{width:7px;height:7px;border-radius:50%;padding:0;background:rgba(255,255,255,.58)}.carousel-dots button.active{width:20px;border-radius:8px;background:#fff}.carousel-empty{width:100%;height:100%;background:var(--mint)}.auth-page{padding-top:42px;padding-bottom:100px}.auth-page h1{font-size:38px;margin:0 0 8px}.auth-page>p{color:var(--muted);margin:0 0 25px}.mine-content{padding-top:24px;padding-bottom:100px}.profile-trigger{width:100%;display:flex;align-items:center;gap:14px;padding:18px;background:#fff;border:1px solid var(--line);border-radius:12px;text-align:left;color:var(--ink)}.profile-trigger h1{font-size:22px;margin:0 0 4px}.profile-trigger p{font-size:12px;color:var(--muted);margin:0}.profile-arrow{margin-left:auto;color:var(--muted);font-size:28px}.profile-modal-avatar{margin:0 auto 20px}.profile-modal .avatar{width:72px;height:72px}.mine-logout{display:block;margin:12px auto 0}.profile-modal{max-width:420px}
.auth-panel{max-width:520px;margin-bottom:110px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:26px}.mine-profile,.mine-section{max-width:900px;margin-bottom:24px}.mine-profile{background:#fff;border:1px solid var(--line);border-radius:12px;padding:24px}.profile-head{display:flex;align-items:center;gap:14px;border-bottom:1px solid var(--line);padding-bottom:18px}.profile-head h2{margin:0 0 4px}.profile-head p{margin:0;color:var(--muted);font-size:12px}.profile-head .mini{margin-left:auto}.avatar{width:58px;height:58px;overflow:hidden;border-radius:16px;background:var(--deep);color:#d8ede2;display:grid;place-items:center;font-size:24px;font-weight:700}.avatar img{width:100%;height:100%;object-fit:cover}.profile-form{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:18px}.profile-form .btn{grid-column:1/-1;justify-self:start}.mine-section .section-head{margin-top:0}.contact-panel{background:#fff;border:1px solid var(--line);border-radius:12px;padding:24px;margin-bottom:110px}.contact-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.contact-grid div{border:1px solid var(--line);border-radius:8px;padding:14px}.contact-grid span{display:block;color:var(--muted);font-size:11px;margin-bottom:7px}.contact-grid strong{font-size:14px}@media(max-width:600px){.profile-form{grid-template-columns:1fr}.profile-form .btn{grid-column:auto}.contact-grid{grid-template-columns:1fr}}
.category-editor{display:flex;gap:8px}.category-editor input{flex:1}.category-chips{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.category-chip{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border-radius:16px;background:#e8f2ed;color:var(--deep);font-size:12px}.category-chip button{border:0;background:transparent;color:var(--muted);font-size:16px;line-height:12px;padding:0;cursor:pointer}.status.verified{background:#dff2e7;color:#257354}.status.invalid,.status.cancelled{background:#fce8e6;color:#ad5c53}.hero-visual.has-banner{background-position:center;background-size:cover}.hero-visual.has-banner .hero-quote{color:#fff;text-shadow:0 2px 12px rgba(0,0,0,.55)}
:root{--ink:#16373a;--muted:#718184;--line:#dfe8e4;--paper:#f6f8f5;--card:#fff;--green:#2c7667;--deep:#163f3c;--mint:#d8ede2;--orange:#dc8c50;--danger:#c95b50;--shadow:0 14px 40px rgba(24,53,50,.08)}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:'DM Sans','Noto Sans SC',sans-serif;-webkit-font-smoothing:antialiased}button,input,textarea{font:inherit}button{border:0;cursor:pointer}a{color:inherit;text-decoration:none}.toast{position:fixed;z-index:30;left:50%;top:22px;transform:translate(-50%,-20px);opacity:0;background:#163f3c;color:#fff;padding:11px 18px;border-radius:8px;font-size:14px;transition:.25s;pointer-events:none}.toast.show{transform:translate(-50%,0);opacity:1}.topbar{height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(20px,6vw,90px);border-bottom:1px solid rgba(22,63,60,.08);background:rgba(246,248,245,.86);backdrop-filter:blur(12px);position:sticky;top:0;z-index:5}.brand{display:flex;align-items:center;gap:12px;font-weight:700;letter-spacing:.2px}.brand-mark{width:34px;height:34px;border-radius:9px;background:var(--deep);color:#d6ebde;display:grid;place-items:center;font-weight:800;font-size:16px}.nav{display:flex;align-items:center;gap:26px;font-size:14px;color:var(--muted)}.nav a:hover{color:var(--deep)}.nav .admin-link{color:var(--deep);font-weight:600}.wrap{max-width:1240px;margin:auto;padding:0 28px}.hero{padding:62px 0 50px;display:grid;grid-template-columns:1.08fr .92fr;gap:48px;align-items:center}.eyebrow{font-size:12px;color:var(--green);font-weight:700;letter-spacing:2px;text-transform:uppercase;margin-bottom:18px}.hero h1{font-size:clamp(36px,5vw,66px);line-height:1.1;margin:0 0 20px;letter-spacing:-1px}.hero p{font-size:17px;line-height:1.8;color:var(--muted);max-width:520px;margin:0}.hero-visual{min-height:310px;background:var(--mint);border-radius:24px;position:relative;overflow:hidden;padding:28px;display:flex;flex-direction:column;justify-content:flex-end}.hero-visual:before,.hero-visual:after{content:"";position:absolute;border-radius:50%;border:1px solid rgba(44,118,103,.2)}.hero-visual:before{width:300px;height:300px;right:-70px;top:-95px}.hero-visual:after{width:190px;height:190px;right:32px;top:-18px}.hero-spark{font-size:110px;line-height:1;color:var(--green);opacity:.14;position:absolute;right:35px;top:42px}.hero-quote{position:relative;z-index:1;font-size:24px;line-height:1.4;font-weight:700;max-width:340px}.hero-quote small{display:block;font-size:13px;line-height:1.5;font-weight:500;color:#47736c;margin-top:14px}.section-head{display:flex;align-items:end;justify-content:space-between;margin:12px 0 24px}.section-head h2{font-size:24px;margin:0}.section-head p{font-size:13px;color:var(--muted);margin:0}.project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;padding-bottom:78px}.project-card{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:23px;display:flex;flex-direction:column;min-height:270px;box-shadow:0 2px 0 rgba(22,63,60,.02);transition:.2s}.project-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.project-tag{font-size:11px;color:var(--green);font-weight:700;letter-spacing:1.2px;margin-bottom:18px}.project-card h3{font-size:19px;margin:0 0 10px}.project-card .intro{font-size:13px;line-height:1.7;color:var(--muted);margin:0 0 20px;flex:1}.progress-row{display:flex;justify-content:space-between;align-items:center;font-size:12px;margin-bottom:8px}.progress-row strong{font-size:14px;color:var(--green)}.progress{height:7px;border-radius:20px;background:#e7efeb;overflow:hidden}.progress i{height:100%;display:block;background:var(--green);border-radius:inherit}.card-foot{display:flex;align-items:center;justify-content:space-between;margin-top:20px}.price{font-size:15px;font-weight:700}.price span{font-size:12px;color:var(--muted);font-weight:400}.btn{border-radius:7px;background:var(--deep);color:#fff;padding:11px 17px;font-size:13px;font-weight:600;transition:.15s}.btn:hover{background:#235b55}.btn.outline{background:transparent;color:var(--deep);border:1px solid #aac5bb}.btn.outline:hover{background:#ecf4ef}.btn.disabled,.btn:disabled{background:#b8c4c0;color:#fff;cursor:not-allowed}.footer{border-top:1px solid var(--line);padding:26px 28px;color:var(--muted);font-size:12px}.detail{padding:40px 0 80px}.back{display:inline-flex;align-items:center;gap:8px;color:var(--muted);font-size:13px;margin-bottom:28px}.detail-box{display:grid;grid-template-columns:1.15fr .85fr;gap:50px;align-items:start}.detail h1{font-size:42px;margin:0 0 15px}.detail .desc{line-height:1.9;color:var(--muted);font-size:16px;max-width:650px}.detail-stat{display:flex;gap:36px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:22px 0;margin:28px 0}.detail-stat b{display:block;font-size:25px}.detail-stat span{display:block;color:var(--muted);font-size:12px;margin-top:4px}.donate-panel{background:#fff;border:1px solid var(--line);border-radius:14px;padding:26px;box-shadow:var(--shadow)}.donate-panel h3{margin:0 0 20px;font-size:17px}.field{margin-bottom:15px}.field label{display:block;font-size:12px;font-weight:600;margin-bottom:7px;color:#46615d}.field input,.field textarea,.select{width:100%;border:1px solid #cfddd8;border-radius:7px;padding:11px 12px;outline:none;background:#fbfcfb;color:var(--ink)}.field input:focus,.field textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px rgba(44,118,103,.1)}.qty{display:flex;align-items:center;border:1px solid #cfddd8;border-radius:7px;overflow:hidden}.qty button{width:38px;height:40px;background:#f0f5f2;color:var(--deep);font-size:20px}.qty input{border:0;text-align:center;flex:1;height:40px;min-width:0}.pay-overlay{position:fixed;inset:0;background:rgba(19,47,53,.55);display:grid;place-items:center;padding:20px;z-index:20}.pay-card{background:#fff;border-radius:16px;padding:28px;max-width:360px;width:100%;text-align:center}.pay-card h3{margin:0 0 8px}.pay-card p{font-size:13px;color:var(--muted);margin:0 0 18px}.pay-card img{width:210px;height:210px;object-fit:contain;border:1px solid var(--line);border-radius:8px}.pay-card .btn{width:100%;margin-top:18px}.empty{text-align:center;padding:70px 0;color:var(--muted);grid-column:1/-1}
/* admin */.admin-shell{min-height:100vh;display:grid;grid-template-columns:238px 1fr;background:#f6f8f5}.admin-side{background:var(--deep);color:#dcece3;padding:26px 18px;display:flex;flex-direction:column}.admin-side .brand{color:#fff;padding:0 12px 32px}.admin-side .brand-mark{background:#d8ede2;color:var(--deep)}.side-label{text-transform:uppercase;font-size:10px;letter-spacing:1.5px;color:#7fa69b;padding:0 12px 10px}.side-nav button{width:100%;text-align:left;background:transparent;color:#a8c8bc;padding:12px;border-radius:7px;font-size:13px;margin-bottom:3px}.side-nav button.active,.side-nav button:hover{background:rgba(216,237,226,.12);color:#fff}.side-foot{margin-top:auto;border-top:1px solid rgba(216,237,226,.12);padding:20px 12px 0;font-size:12px;color:#81a79c;line-height:1.7}.admin-main{padding:28px clamp(22px,4vw,56px);max-width:1500px;width:100%}.admin-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}.admin-header h1{margin:0;font-size:27px}.admin-header p{color:var(--muted);font-size:13px;margin:7px 0 0}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:26px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:10px;padding:20px}.stat-card span{font-size:12px;color:var(--muted)}.stat-card strong{display:block;font-size:28px;margin-top:9px}.admin-panel{background:#fff;border:1px solid var(--line);border-radius:10px;padding:22px}.panel-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.panel-top h2{font-size:17px;margin:0}.table-wrap{overflow:auto}.table{width:100%;border-collapse:collapse;font-size:13px;min-width:680px}.table th{font-size:11px;text-align:left;color:var(--muted);font-weight:500;padding:10px 12px;border-bottom:1px solid var(--line);white-space:nowrap}.table td{padding:14px 12px;border-bottom:1px solid #edf2ef;white-space:nowrap}.table tr:last-child td{border-bottom:0}.status{display:inline-flex;align-items:center;gap:5px;font-size:11px;padding:4px 8px;border-radius:20px;background:#e7f2eb;color:#2f765e}.status.pending{background:#fff3df;color:#a77528}.status.cancelled{background:#fce8e6;color:#ad5c53}.status.paused{background:#edf0f0;color:#6d7c7b}.actions{display:flex;gap:7px}.mini{font-size:11px;padding:6px 9px;border-radius:5px;background:#eef4f0;color:var(--deep)}.mini.danger{background:#fff0ee;color:var(--danger)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.form-grid .full{grid-column:1/-1}.setting-layout{display:grid;grid-template-columns:1fr 1fr;gap:20px}.preview{border:1px dashed #bfd0c9;border-radius:8px;padding:12px;background:#fafcfb}.preview img{max-height:150px;max-width:100%;object-fit:contain;display:block;margin:auto}.login{min-height:100vh;display:grid;place-items:center;background:var(--deep)}.login-card{background:#fff;width:min(390px,calc(100% - 40px));padding:34px;border-radius:14px}.login-card h1{margin:0 0 8px}.login-card p{font-size:13px;color:var(--muted);margin:0 0 25px}.modal-bg{position:fixed;inset:0;background:rgba(19,47,53,.45);display:grid;place-items:center;padding:20px;z-index:15}.modal{background:#fff;border-radius:12px;padding:26px;width:min(540px,100%);max-height:90vh;overflow:auto}.modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.modal-head h3{margin:0}.icon-close{background:transparent;color:var(--muted);font-size:24px;line-height:1}.note{font-size:11px;color:var(--muted);line-height:1.6}.switch{display:flex;gap:8px;align-items:center;font-size:13px}.switch input{accent-color:var(--green)}
@media(max-width:820px){.hero{grid-template-columns:1fr;gap:28px;padding-top:38px}.hero-visual{min-height:220px}.project-grid{grid-template-columns:1fr 1fr}.detail-box{grid-template-columns:1fr;gap:28px}.detail h1{font-size:34px}.admin-shell{display:block}.admin-side{position:static;padding:15px;display:block}.admin-side .brand{padding:0 5px 15px}.side-nav{display:flex;gap:5px;overflow:auto}.side-label,.side-foot{display:none}.side-nav button{white-space:nowrap;width:auto;margin:0}.admin-main{padding:23px 16px}.stats{grid-template-columns:repeat(2,1fr)}.setting-layout{grid-template-columns:1fr}}
@media(max-width:520px){.topbar{height:64px;padding:0 18px}.nav{gap:12px}.nav a:not(.admin-link){display:none}.wrap{padding:0 18px}.hero h1{font-size:39px}.hero p{font-size:15px}.project-grid{grid-template-columns:1fr}.section-head{align-items:start;gap:12px;flex-direction:column}.detail{padding-top:25px}.detail-stat{gap:20px}.detail-stat b{font-size:21px}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.admin-header h1{font-size:23px}.admin-header .btn{padding:9px 11px}.stats{gap:9px}.stat-card{padding:14px}.stat-card strong{font-size:23px}}
.bottom-nav{display:flex;justify-content:center;gap:clamp(30px,8vw,92px);position:fixed;z-index:6;bottom:0;left:0;right:0;height:66px;padding:8px 18px calc(8px + env(safe-area-inset-bottom));background:rgba(255,255,255,.94);border-top:1px solid var(--line);backdrop-filter:blur(14px)}.bottom-nav a{min-width:52px;display:flex;flex-direction:column;align-items:center;gap:3px;color:var(--muted);font-size:11px}.bottom-nav a span{font-size:20px;line-height:22px}.bottom-nav a.active{color:var(--green);font-weight:700}.footer{padding-bottom:90px}.page-head{padding:48px 28px 25px}.page-head h1{font-size:42px;margin:0 0 12px}.page-head p{color:var(--muted);margin:0;line-height:1.7}.category-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-top:24px}.category-tabs button{padding:8px 14px;border:1px solid var(--line);border-radius:20px;background:#fff;color:var(--muted);font-size:12px}.category-tabs button.active{background:var(--deep);border-color:var(--deep);color:#fff}.project-card.featured{border-color:#a6cfc0;box-shadow:0 12px 32px rgba(44,118,103,.1)}.records-list{padding-bottom:110px}.record-card{display:flex;justify-content:space-between;gap:20px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:20px 22px;margin-bottom:12px}.record-card h3{margin:9px 0 7px;font-size:16px}.record-card p{margin:0;color:var(--muted);font-size:12px}.record-meta{text-align:right;display:flex;flex-direction:column;gap:5px;white-space:nowrap}.record-meta strong{font-size:18px}.record-meta span,.record-meta small{color:var(--muted);font-size:11px}.mine-panel{max-width:640px;margin-bottom:110px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:30px;text-align:center}.mine-mark{width:58px;height:58px;display:grid;place-items:center;margin:0 auto 15px;background:var(--deep);color:#d8ede2;border-radius:15px;font-size:24px;font-weight:700}.mine-panel h2{margin:0 0 8px}.mine-panel p{color:var(--muted);font-size:13px}.mine-line{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:18px;margin-top:24px;color:var(--muted);font-size:13px}.mine-line strong{color:var(--green);font-size:20px}.media-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:28px 0}.media-grid img,.media-grid video{display:block;width:100%;max-height:260px;object-fit:cover;border-radius:8px;background:#edf3ef}.pay-codes{display:grid;grid-template-columns:1fr 1fr;gap:12px}.pay-codes div{display:flex;flex-direction:column;gap:7px;align-items:center;font-size:12px;color:var(--deep)}.pay-codes img{width:135px;height:135px;border:1px solid var(--line);border-radius:7px;object-fit:contain}.qr-setting-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.qr-setting-grid .preview{padding:8px}.qr-setting-grid .preview img{height:130px;width:100%;object-fit:contain}@media(max-width:600px){.bottom-nav{gap:0;justify-content:space-around}.page-head{padding:32px 18px 20px}.page-head h1{font-size:34px}.record-card{padding:16px;gap:8px}.media-grid{grid-template-columns:1fr}.pay-codes img{width:110px;height:110px}.qr-setting-grid{grid-template-columns:1fr}}
.record-main{min-width:0;flex:1}.record-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:6px;margin-top:8px}.record-actions .mini.primary{background:var(--deep);color:#fff}.payment-proof-preview{min-height:120px;margin-top:8px;border:1px dashed #bfd0c9;border-radius:8px;display:grid;place-items:center;padding:8px;color:var(--muted);font-size:12px;background:#fafcfb}.payment-proof-preview img{display:block;max-width:100%;max-height:260px;object-fit:contain;border-radius:6px}.detail-list{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:18px}.detail-list div{display:flex;flex-direction:column;gap:4px;padding-bottom:10px;border-bottom:1px solid var(--line)}.detail-list span,.detail-proof span{font-size:11px;color:var(--muted)}.detail-list strong{font-size:13px;word-break:break-all}.detail-proof{margin-top:14px}.detail-proof img{display:block;width:100%;max-height:300px;object-fit:contain;margin-top:8px;border:1px solid var(--line);border-radius:8px;background:#fafcfb}.detail-actions{display:flex;gap:8px;margin-top:18px}.detail-actions .btn{flex:1}.order-detail-modal{max-width:560px}@media(max-width:600px){.record-card{display:block}.record-meta{text-align:left;margin-top:12px}.record-actions{justify-content:flex-start}.detail-list{grid-template-columns:1fr}.detail-actions{flex-direction:column}}
