*{margin:0;padding:0;box-sizing:border-box}
body{font-family:-apple-system,'PingFang SC','Microsoft YaHei',sans-serif;background:#f6f7fb;color:#1e293b;line-height:1.7}
.wrap{max-width:1080px;margin:0 auto;padding:0 20px}
a{color:inherit;text-decoration:none}
.site-header{background:#fff;border-bottom:1px solid #e2e8f0;position:sticky;top:0;z-index:10}
.header-inner{display:flex;align-items:center;justify-content:space-between;height:56px}
.logo{font-weight:800;font-size:19px;color:#7c5cff;flex-shrink:0;white-space:nowrap}
.site-header nav{overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none}.site-header nav::-webkit-scrollbar{display:none}.site-header nav a{margin-left:18px;color:#475569;font-size:14px;white-space:nowrap;display:inline-block;padding:5px 0}
.site-header nav a.active,.site-header nav a:hover{color:#7c5cff}
.tg-btn{display:inline-block;padding:7px 16px;border-radius:999px;background:#229ED9;color:#fff!important;font-size:13px;font-weight:600;margin-left:16px;white-space:nowrap;flex-shrink:0}
.tg-btn:hover{background:#1b8ac0}
.tg-btn.big{padding:12px 26px;font-size:15px;margin:0}
.hero-cta{margin-top:20px}
.tg-cta{background:#e8f5fd;border:1px solid #b7e0f5;border-radius:12px;padding:16px 20px;margin:0 0 34px;font-size:14.5px;color:#0c4a6e}
.tg-cta a{color:#0369a1;font-weight:700}
.tg-cta strong{display:block;margin-bottom:4px}
.hero{text-align:center;padding:52px 0 20px}
.hero h1{font-size:32px;margin-bottom:10px}
.hero p{color:#64748b;margin-bottom:22px}
.searchbox input{width:min(520px,90%);padding:12px 20px;border:2px solid #e2e8f0;border-radius:999px;font-size:15px;outline:none}
.searchbox input:focus{border-color:#7c5cff}
.hot-tags{margin-top:14px}
.hot-tags a{display:inline-block;margin:4px;padding:4px 14px;border-radius:999px;background:#eef2ff;color:#7c5cff;font-size:13px}
.sec{margin:34px 0}
.sec-head{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:16px;border-bottom:2px solid #e2e8f0;padding-bottom:8px}
.sec-head h2{font-size:20px}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px}
.card{background:#fff;border-radius:12px;border:1px solid #e2e8f0;overflow:hidden;transition:.15s}
.card:hover{transform:translateY(-3px);box-shadow:0 8px 24px rgba(100,116,139,.15)}
.card-body{padding:16px}
.card-tags{margin-bottom:8px}
.tag{display:inline-block;padding:2px 10px;border-radius:999px;font-size:12px;color:#fff;background:var(--c,#64748b);margin-right:6px}
.card h3{font-size:16px;line-height:1.45;margin-bottom:8px}
.card h3 a:hover{color:#7c5cff}
.card-summary{color:#64748b;font-size:13.5px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.card-meta{margin-top:10px;color:#64748b;font-size:12px;display:flex;justify-content:space-between}
.cat-head{display:flex;align-items:baseline;gap:12px;padding:30px 0 18px;border-bottom:2px solid #e2e8f0;margin-bottom:20px}
.cat-head h1{font-size:26px}
.breadcrumb{padding:18px 0 6px;color:#64748b;font-size:13px}
.post{background:#fff;border-radius:14px;border:1px solid #e2e8f0;padding:34px 38px;margin:10px 0 34px}
.post h1{font-size:28px;line-height:1.4;margin-bottom:12px}
.post-meta{color:#64748b;font-size:13px;margin-bottom:20px;display:flex;gap:10px;align-items:center}
.src-link{color:#7c5cff;margin-left:auto}
.lead{font-size:16.5px;color:#475569;background:#f8fafc;border-left:4px solid #7c5cff;padding:12px 16px;border-radius:6px;margin-bottom:22px}
.judge-box{background:#f5f3ff;border:1px solid #ddd6fe;border-radius:10px;padding:12px 16px;margin:0 0 20px;font-size:14.5px;color:#4c1d95}
.judge-box strong{margin-right:8px}
.post h2{font-size:21px;margin:30px 0 12px;padding-bottom:8px;border-bottom:1px solid #eef2f7}
.post h3{font-size:17px;margin:22px 0 10px}
.post p{margin:10px 0}
.post ul,.post ol{margin:10px 0 10px 24px}
.post li{margin:5px 0}
.post code{background:#f1f5f9;padding:2px 7px;border-radius:5px;font-size:13.5px}
.post pre{background:#0f172a;color:#e2e8f0;padding:16px;border-radius:10px;overflow-x:auto;margin:14px 0}
.post pre code{background:none;color:inherit;padding:0}
.post table{display:block;overflow-x:auto;max-width:100%;border-collapse:collapse;margin:12px 0}.post table td,.post table th{padding:8px 10px;border:1px solid #e2e8f0;font-size:14px}
.hero-img{margin:16px 0}
.hero-img img,.hero-img video{width:100%;border-radius:10px;border:1px solid #e2e8f0;display:block}
.gallery{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0}
.gallery img{width:100%;border-radius:8px;border:1px solid #e2e8f0}
.links-box{background:#f8fafc;border:1px dashed #cbd5e1;border-radius:10px;padding:16px 20px;margin-top:26px}
.links-box h2{margin-top:0;border:none;font-size:17px}
.links-box a{color:#7c5cff;font-weight:600}
.tools-search{margin:6px 0 18px;text-align:center}
.tools-search input{width:min(560px,95%);padding:11px 20px;border:2px solid #e2e8f0;border-radius:999px;font-size:15px;outline:none}
.tools-search input:focus{border-color:#7c5cff}
.tools-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px}
.tool-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:14px 16px;display:block;transition:.15s}
.tool-card:hover{transform:translateY(-2px);box-shadow:0 6px 18px rgba(100,116,139,.14);border-color:#7c5cff}
.tool-name{font-weight:700;font-size:15px;color:#1e293b;margin-bottom:6px}
.tool-desc{color:#64748b;font-size:12.5px;line-height:1.55;margin-bottom:8px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tool-links span{display:inline-block;font-size:11px;color:#64748b;background:#f1f5f9;border-radius:6px;padding:2px 8px;margin-right:4px}
.site-footer{background:#fff;border-top:1px solid #e2e8f0;padding:26px 0;margin-top:40px;color:#64748b;font-size:13px}
.foot-note{margin-top:6px;color:#cbd5e1}
@media(max-width:640px){.wrap{padding:0 12px}.hero{padding:30px 0 12px}.hero h1{font-size:24px}.sec{margin:24px 0}.sec-head h2{font-size:18px}.grid{gap:12px}.card-body{padding:13px}.card h3{font-size:15px}.post{padding:20px 16px;margin:6px 0 24px}.post h1{font-size:22px}.post h2{font-size:18px;margin:22px 0 10px}.post h3{font-size:16px}.post-meta{flex-wrap:wrap}.src-link{margin-left:0}.gallery{grid-template-columns:1fr}.tools-grid{gap:10px}.tool-card{padding:12px 14px}.cat-head{padding:20px 0 14px}.cat-head h1{font-size:22px}.breadcrumb{padding:14px 0 4px}}
