:root{--blue:#1769ff;--blue2:#4d8dff;--ink:#182230;--muted:#718096;--line:#e7ecf3;--bg:#f4f7fb;--card:#fff;--green:#16a34a;--orange:#d97706;--red:#dc2626}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;background:radial-gradient(circle at 85% 0,#eaf2ff 0,transparent 28%),var(--bg)}button,input,select,textarea{font:inherit}button{cursor:pointer}.hidden{display:none!important}.topbar{height:70px;background:rgba(255,255,255,.94);backdrop-filter:blur(16px);border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 max(18px,calc((100vw - 1180px)/2));gap:26px;position:sticky;top:0;z-index:20}.logo{display:flex;align-items:center;gap:9px;text-decoration:none;color:var(--ink);font-weight:800;white-space:nowrap}.logo-mark{width:36px;height:36px;border-radius:11px;background:linear-gradient(135deg,var(--blue),#66a2ff);color:#fff;display:grid;place-items:center;box-shadow:0 8px 20px #1769ff30}.topbar nav{display:flex;gap:4px;flex:1}.topbar nav button,.ghost{border:0;background:transparent;color:#596579;padding:10px 12px;border-radius:9px}.topbar nav button:hover,.ghost:hover{background:#f0f5ff;color:var(--blue)}.top-actions{display:flex;gap:8px}.container{max-width:1180px;margin:auto;padding:30px 18px 70px}.page{display:none}.page.active{display:block}.hero{min-height:390px;padding:62px 30px 45px;border-radius:28px;background:linear-gradient(125deg,#eaf2ff 0,#fff 53%,#eef5ff 100%);display:flex;align-items:center;justify-content:space-between;gap:40px;overflow:hidden;position:relative}.hero:after{content:"";position:absolute;width:430px;height:430px;border-radius:50%;right:-130px;top:-160px;background:#1769ff12}.eyebrow{color:var(--blue);font-size:12px;letter-spacing:2px;font-weight:800}.hero h1,.page-title h1{font-size:clamp(34px,5vw,58px);line-height:1.12;margin:13px 0;color:#152235;letter-spacing:-2px}.hero h1 em{font-style:normal;color:var(--blue)}.hero p,.page-title p{color:var(--muted);font-size:17px}.hero-actions{display:flex;gap:10px;margin-top:24px}.hero-card{width:300px;background:#ffffffb8;border:1px solid #fff;padding:28px;border-radius:22px;box-shadow:0 20px 50px #1c3d7412;display:flex;flex-direction:column;gap:9px;position:relative;z-index:1}.hero-icon{font-size:54px;color:var(--blue)}.hero-card span{color:var(--muted);font-size:13px}.card{background:var(--card);border:1px solid var(--line);border-radius:18px;box-shadow:0 8px 30px #203b6510}.search-card{padding:20px;margin-top:-28px;position:relative;z-index:3}.search-title{display:flex;justify-content:space-between;margin-bottom:12px}.search-title span{font-size:13px;color:var(--muted)}.search-row{display:flex;gap:10px}.search-row input,.search-row select,.form-grid input,.form-grid select,textarea,.modal-box input{border:1px solid #dce3ec;background:#fbfcfe;border-radius:11px;padding:12px 13px;outline:0;color:var(--ink);min-width:0}.search-row input:focus,.form-grid input:focus,.form-grid select:focus,textarea:focus,.modal-box input:focus{border-color:#8ab2ff;box-shadow:0 0 0 3px #1769ff10}.search-row input{flex:1}.search-row select{width:145px}.primary,.secondary{border:0;border-radius:10px;padding:12px 18px;font-weight:700}.primary{background:linear-gradient(135deg,var(--blue),#438bff);color:#fff;box-shadow:0 8px 18px #1769ff25}.primary:hover{filter:brightness(.97)}.secondary{background:#eef4ff;color:var(--blue)}.small{padding:9px 15px}.wide{width:100%}.section-head{display:flex;justify-content:space-between;align-items:end;margin:34px 2px 15px}.section-head.compact{margin:0 0 15px}.section-head h2,.page-title h1{margin:0}.section-head p{margin:6px 0 0;color:var(--muted);font-size:13px}.count{color:var(--muted);font-size:13px}.post-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.post{background:#fff;border:1px solid var(--line);border-radius:17px;padding:18px;box-shadow:0 8px 26px #203b6509}.post.pinned{border-color:#ffd36b;box-shadow:0 8px 26px #f0b40016}.post-top{display:flex;gap:6px;flex-wrap:wrap}.badge{display:inline-flex;align-items:center;border-radius:999px;padding:4px 8px;background:#edf4ff;color:var(--blue);font-size:11px;font-weight:700}.badge.pin{background:#fff4d7;color:#b66b00}.badge.ok{background:#eaf8ef;color:var(--green)}.badge.warn{background:#fff5df;color:var(--orange)}.badge.bad{background:#ffeded;color:var(--red)}.post h3{font-size:19px;margin:13px 0}.post h3 i{font-style:normal;color:#9aa6b5;padding:0 5px}.post-meta{display:flex;gap:14px;flex-wrap:wrap;color:#657286;font-size:12px}.note{background:#f7f9fc;border-radius:9px;padding:9px;color:#5d6979;font-size:13px}.post-user{border-top:1px solid #eef1f5;margin-top:14px;padding-top:12px;color:#8590a0;font-size:12px;display:flex;justify-content:space-between;gap:8px}.actions{display:flex;gap:6px;flex-wrap:wrap}.actions button{border:1px solid #dce3ec;background:#fff;border-radius:8px;padding:6px 9px;color:#4c596b}.page-title{padding:18px 2px 24px}.form-card{padding:24px;max-width:900px}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.form-grid label,.form-card>form>label{display:grid;gap:7px;color:#586579;font-size:13px;font-weight:600;margin-bottom:14px}.form-card textarea{width:100%;resize:vertical}.msg{min-height:20px;margin:12px 0 0;font-size:13px}.oktext{color:var(--green)}.badtext{color:var(--red)}.profile-empty{text-align:center;padding:45px 20px}.avatar{width:64px;height:64px;border-radius:20px;background:linear-gradient(135deg,#dceaff,#eef5ff);color:var(--blue);display:grid;place-items:center;font-size:25px;font-weight:800;margin:auto}.profile-empty h2{margin:15px 0 5px}.profile-empty p{color:var(--muted)}.profile{padding:23px;display:flex;align-items:center;gap:16px}.profile .avatar{margin:0}.profile-info{flex:1}.profile-info h2{margin:0 0 6px}.profile-info p,.profile-info small{color:var(--muted);margin:4px 0;font-size:13px}.mine-row,.user-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 0;border-top:1px solid #eef1f5}.mine-row:first-of-type,.user-row:first-of-type{border-top:0}.meta-line{font-size:12px;color:var(--muted);margin-top:5px}.admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.admin-grid .card{padding:20px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.stat{padding:16px;border-radius:13px;background:#f7f9fc}.stat span{font-size:12px;color:var(--muted)}.stat b{display:block;font-size:27px;margin-top:5px}.empty{grid-column:1/-1;background:#fff;border:1px dashed #dce3ec;border-radius:17px;padding:45px;text-align:center;color:var(--muted);display:flex;flex-direction:column;gap:8px}.empty-icon{font-size:30px;color:#9bbcff}.small-empty{padding:25px}.modal{position:fixed;inset:0;z-index:50;display:grid;place-items:center;padding:16px}.modal-backdrop{position:absolute;inset:0;background:#0c1730aa;backdrop-filter:blur(5px)}.modal-box{position:relative;z-index:1;width:min(430px,100%);background:#fff;border-radius:22px;padding:28px;box-shadow:0 30px 80px #0003}.modal-close{position:absolute;right:13px;top:10px;border:0;background:transparent;font-size:27px;color:#8b96a7}.auth-head h2{margin:7px 0 5px}.auth-head p{margin:0 0 18px;color:var(--muted);font-size:13px}.tabs{display:flex;border-bottom:1px solid #e9edf3;margin-bottom:18px}.tabs button{flex:1;border:0;background:transparent;padding:10px;color:#778397}.tabs button.active{color:var(--blue);font-weight:700;border-bottom:2px solid var(--blue)}#authform{display:grid;gap:11px}footer{max-width:1180px;margin:auto;padding:0 18px 30px;color:#9aa4b2;font-size:12px;display:flex;justify-content:space-between}@media(max-width:780px){.topbar{height:auto;min-height:64px;flex-wrap:wrap;padding:9px 12px;gap:6px}.topbar nav{order:3;width:100%;overflow:auto}.topbar nav button{white-space:nowrap}.container{padding:12px 10px 50px}.hero{min-height:420px;padding:35px 22px;display:block}.hero-card{width:auto;margin-top:30px}.search-card{margin-top:-20px}.search-row{flex-wrap:wrap}.search-row input,.search-row select,.search-row button{width:100%}.post-grid,.admin-grid{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.stats{grid-template-columns:repeat(2,1fr)}.profile{align-items:flex-start;flex-wrap:wrap}footer{display:block}footer span{display:block;margin-bottom:5px}}
