*{box-sizing:border-box}
body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"PingFang SC","Microsoft YaHei",sans-serif;background:#f6f8fb;color:#1f2937;line-height:1.65}
a{color:#175cd3;text-decoration:none}
a:hover{text-decoration:underline}
.container{max-width:1200px;margin:0 auto;padding:0 16px}
.site-header{position:sticky;top:0;z-index:20;padding:14px 0;background:rgba(255,255,255,.58);backdrop-filter:blur(14px) saturate(130%);-webkit-backdrop-filter:blur(14px) saturate(130%);border-bottom:1px solid rgba(255,255,255,.45)}
.site-header .container{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}
.logo{color:#1d2939;font-weight:700;font-size:20px}
nav{display:flex;gap:16px;flex-wrap:wrap}
nav a{color:#344054}
.carousel{position:relative;overflow:hidden;padding:0;background:#f6f8fb}
.carousel-track{display:flex;transition:transform .45s ease}
.carousel-slide{position:relative;display:block;min-width:100%;aspect-ratio:5/1;color:#fff;padding:0 6px}
.carousel-image{display:block;width:100%;height:100%;object-fit:cover;border-radius:10px}
.carousel-caption{position:absolute;left:16px;right:16px;bottom:14px;padding:8px 10px;border-radius:8px;background:rgba(17,24,39,.45);color:#fff;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.carousel-btn{position:absolute;top:50%;transform:translateY(-50%);width:38px;height:38px;border-radius:999px;background:rgba(17,24,39,.5);border:none;color:#fff;font-size:24px;line-height:1;display:flex;align-items:center;justify-content:center}
.carousel-btn.prev{left:10px}
.carousel-btn.next{right:10px}
.carousel-dots{position:absolute;left:0;right:0;bottom:12px;display:flex;justify-content:center;gap:6px}
.carousel-dot{width:8px;height:8px;border-radius:999px;border:none;background:rgba(255,255,255,.55);padding:0}
.carousel-dot.active{background:#fff}
.layout{display:grid;grid-template-columns:1fr 320px;gap:18px;margin:20px auto}
.main,.sidebar{min-width:0}
.card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:18px;margin-bottom:16px}
.post-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.post-grid-home{grid-template-columns:repeat(3,minmax(0,1fr))}
.post-grid-list{grid-template-columns:repeat(3,minmax(0,1fr))}
.post-card{margin-bottom:0}
.home-categories{display:grid;gap:16px}
.home-category{padding:16px}
.home-category-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}
.home-category-head h2{margin:0;font-size:20px;line-height:1.4}
.post-card h2{margin:12px 0 8px;font-size:22px;line-height:1.35;min-height:2.7em}
.post-card h2 a{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.post-card p{margin:0;color:#475467;line-height:1.8}
.post-excerpt{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.meta{color:#667085;font-size:14px;margin:8px 0 14px}
.cover{display:block;width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:10px}
.article h1{font-size:30px;line-height:1.35;margin:0 0 12px}
.content{font-size:17px;color:#1d2939}
.content h1,.content h2,.content h3{line-height:1.45;margin:22px 0 12px}
.article .content>h1:first-child{display:none}
.content h2{font-size:24px}
.content h3{font-size:20px}
.content p{line-height:1.95;margin:14px 0}
.content ul{padding-left:22px;margin:14px 0}
.content li{margin:8px 0;line-height:1.9}
.content code{background:#f2f4f7;border:1px solid #eaecf0;border-radius:6px;padding:1px 6px;font-size:.92em}
.content blockquote{margin:14px 0;padding:10px 14px;border-left:4px solid #98a2b3;background:#f8fafc;color:#344054;border-radius:8px}
.tag-list{display:flex;flex-wrap:wrap;gap:8px}
.tag{display:inline-block;background:#eef4ff;color:#175cd3;padding:5px 10px;border-radius:999px;font-size:13px}
.tag-sphere{position:relative;height:220px;overflow:hidden;perspective:900px}
.tag-sphere-core{position:relative;width:100%;height:100%;transform-style:preserve-3d;animation:spin-sphere 16s linear infinite}
.sphere-tag{position:absolute;left:50%;top:50%;transform-origin:center;white-space:nowrap;background:#eef4ff;color:#175cd3;padding:4px 9px;border-radius:999px;font-size:var(--size);opacity:calc(.4 + var(--depth) * .6);animation:face-screen 16s linear infinite}
@keyframes spin-sphere{from{transform:rotateX(68deg) rotateZ(0deg)}to{transform:rotateX(68deg) rotateZ(360deg)}}
@keyframes face-screen{from{transform:translate(-50%,-50%) rotate(var(--angle)) translateX(calc(92px * var(--depth))) rotate(calc(var(--angle) * -1)) rotate(0deg) rotateX(-68deg) scale(var(--depth))}to{transform:translate(-50%,-50%) rotate(var(--angle)) translateX(calc(92px * var(--depth))) rotate(calc(var(--angle) * -1)) rotate(-360deg) rotateX(-68deg) scale(var(--depth))}}
.tag-sphere:hover .tag-sphere-core,.tag-sphere:hover .sphere-tag{animation-play-state:paused}
.clock-widget{display:flex;flex-direction:column;align-items:center;gap:10px}
.clock-face{position:relative;width:180px;height:180px;border-radius:50%;border:2px solid #d0d5dd;background:radial-gradient(circle,#fff 0%,#f8fafc 75%)}
.clock-face::before{content:"";position:absolute;inset:10px;border:1px dashed #eaecf0;border-radius:50%}
.clock-hand{position:absolute;left:50%;bottom:50%;transform-origin:50% 100%;border-radius:999px}
.clock-hand.hour{width:6px;height:46px;background:#344054}
.clock-hand.minute{width:4px;height:62px;background:#475467}
.clock-hand.second{width:2px;height:72px;background:#175cd3}
.clock-dot{position:absolute;left:50%;top:50%;width:10px;height:10px;background:#175cd3;border-radius:50%;transform:translate(-50%,-50%)}
.clock-digital{margin:0;font-size:22px;letter-spacing:1px;color:#1d2939;font-variant-numeric:tabular-nums}
.stats-list{list-style:none;padding:0;margin:0}
.stats-list li{display:flex;justify-content:space-between;align-items:center;padding:8px 0;border-bottom:1px dashed #e4e7ec}
.stats-list li:last-child{border-bottom:none}
.stats-list strong{font-size:18px;color:#175cd3;font-variant-numeric:tabular-nums}
.link-list{list-style:none;padding:0;margin:0}
.link-list li{margin:8px 0}
.pager{display:flex;justify-content:space-between;align-items:center}
.post-nav{display:flex;justify-content:space-between;gap:10px;border-top:1px solid #e5e7eb;padding-top:14px;margin-top:16px}
.site-footer{margin-top:28px;padding:18px 0;background:transparent;color:#98a2b3}
.site-footer .container{font-size:14px;text-align:center}
form{display:grid;gap:10px}
input,textarea,select,button{width:100%;padding:10px;border:1px solid #d0d5dd;border-radius:8px;font-size:14px;font-family:inherit}
button{background:#175cd3;color:#fff;border:none;cursor:pointer}
button:hover{background:#1849a9}
.group{padding:12px;border:1px dashed #d0d5dd;border-radius:8px;margin-bottom:10px}
.category-detail{border:1px solid #e4e7ec;border-radius:8px;padding:8px 10px;background:#fcfcfd}
.category-detail summary{cursor:pointer;font-weight:600;color:#101828;padding:4px 0}
.cat-actions{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0 12px}
.cat-actions button{width:auto;padding:8px 12px}
.notice{padding:12px;border-radius:8px;margin:14px 0}
.success{background:#ecfdf3;color:#067647}
.error{background:#fef3f2;color:#b42318}
@media (max-width:960px){.layout{grid-template-columns:1fr}.post-grid{grid-template-columns:1fr}.post-grid-home,.post-grid-list{grid-template-columns:repeat(2,minmax(0,1fr))}.home-category-head{flex-direction:column;align-items:flex-start}.article h1{font-size:26px}.content{font-size:16px}.post-nav{flex-direction:column}.tag-sphere{height:190px}.carousel-slide{aspect-ratio:3/1}.carousel-caption{font-size:13px}.carousel-btn{width:34px;height:34px}}
