﻿:root {
      --primary: rgb(202,138,4);
      --primary-hover: rgb(161,110,3);
      --primary-light: rgba(202,138,4,0.08);
      --bg: #f8fafc;
      --card-bg: #ffffff;
      --text: #1e293b;
      --text-muted: #64748b;
      --border: #e2e8f0;
      --shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
    }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    body { font-family: system-ui, -apple-system, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; }
    a { color: inherit; text-decoration: none; }
    
    
    .header { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
    .header-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; height: 70px; display: flex; align-items: center; justify-content: space-between; }
    .logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
    .logo img { display: block; height: 40px; width: auto; max-width: 160px; object-fit: contain; flex-shrink: 0; }
    .logo span { display: inline-block; font-size: 20px; font-weight: 800; line-height: 1; color: var(--text); white-space: nowrap; }
    .nav-desktop { display: flex; gap: 24px; align-items: center; }
    .nav-desktop a { font-weight: 500; font-size: 15px; transition: color 0.2s; }
    .nav-desktop a:hover { color: var(--primary); }
    .menu-btn { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--text); }

    
    .drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 998; opacity: 0; visibility: hidden; transition: 0.3s; }
    .drawer-overlay.active { opacity: 1; visibility: visible; }
    .drawer { position: fixed; top: 0; left: -280px; width: 280px; height: 100%; background: #fff; z-index: 999; transition: 0.3s; padding: 20px; display: flex; flex-direction: column; }
    .drawer.active { left: 0; }
    .drawer-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid var(--border); }
    .drawer-close { background: none; border: none; font-size: 24px; cursor: pointer; }
    .drawer-nav { display: flex; flex-direction: column; gap: 15px; overflow-y: auto; }
    .drawer-nav a { font-size: 16px; font-weight: 500; }

    
    .site-intro { background: #fff; border-bottom: 1px solid var(--border); padding: 30px 20px; margin-bottom: 30px; }
    .intro-inner { max-width: 1200px; margin: 0 auto; }
    .intro-title { font-size: 24px; font-weight: 800; color: var(--text); margin-bottom: 8px; }
    .intro-desc { color: var(--text-muted); font-size: 15px; max-width: 800px; }
    .intro-tags { display: flex; gap: 10px; margin-top: 15px; flex-wrap: wrap; }
    .intro-tag { background: var(--primary-light); color: var(--primary); padding: 4px 12px; borderRadius: 20px; font-size: 13px; font-weight: 500; }

    
    .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 1fr 340px; gap: 30px; }
    .main-title { font-size: 18px; font-weight: 700; padding-bottom: 12px; border-bottom: 2px solid var(--primary); margin-bottom: 20px; display: flex; justify-content: space-between; align-items: center; }

    
    .post-stream { display: flex; flex-direction: column; gap: 20px; }
    .post-card { background: var(--card-bg); border-radius: 8px; border: 1px solid var(--border); padding: 20px; display: grid; grid-template-columns: 200px 1fr; gap: 20px; box-shadow: var(--shadow); transition: transform 0.2s; }
    .post-card:hover { transform: translateY(-2px); }
    .post-thumb { width: 100%; height: 130px; border-radius: 6px; overflow: hidden; background: #eee; }
    .post-thumb img { width: 100%; height: 100%; object-fit: cover; }
    .post-body { display: flex; flex-direction: column; justify-content: space-between; }
    .post-meta { display: flex; gap: 15px; font-size: 13px; color: var(--text-muted); }
    .post-title { font-size: 18px; font-weight: 700; color: var(--text); line-height: 1.4; margin: 6px 0; }
    .post-title a:hover { color: var(--primary); }
    .post-summary { font-size: 14px; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 10px; }
    .post-footer { display: flex; justify-content: space-between; align-items: center; }
    .read-more { color: var(--primary); font-size: 14px; font-weight: 600; }

    
    .sidebar { display: flex; flex-direction: column; gap: 30px; }
    .widget { background: var(--card-bg); border-radius: 8px; border: 1px solid var(--border); padding: 20px; box-shadow: var(--shadow); }
    .widget-title { font-size: 16px; font-weight: 700; margin-bottom: 15px; padding-left: 10px; border-left: 4px solid var(--primary); }
    
    .hot-list { display: flex; flex-direction: column; gap: 12px; }
    .hot-item { display: flex; flex-direction: column; gap: 4px; border-bottom: 1px dashed var(--border); padding-bottom: 8px; }
    .hot-item:last-child { border: none; }
    .hot-item-title { font-size: 14px; font-weight: 500; color: var(--text); }
    .hot-item-title:hover { color: var(--primary); }
    .hot-item-meta { font-size: 12px; color: var(--text-muted); }

    .tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
    .tag-cloud a { background: var(--bg); border: 1px solid var(--border); padding: 4px 10px; border-radius: 4px; font-size: 12px; color: var(--text-muted); }
    .tag-cloud a:hover { border-color: var(--primary); color: var(--primary); }

    .action-card { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%); color: #fff; border-radius: 8px; padding: 20px; text-align: center; }
    .action-card h3 { font-size: 18px; margin-bottom: 8px; }
    .action-card p { font-size: 13px; opacity: 0.9; margin-bottom: 15px; }
    .action-card a { display: inline-block; background: #fff; color: var(--primary); font-weight: 700; padding: 8px 20px; border-radius: 20px; font-size: 14px; }

    
    .bottom-gateway { max-width: 1200px; margin: 40px auto 0; padding: 0 20px; }
    .gateway-inner { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 30px; text-align: center; }

    
    .footer { background: #0f172a; color: #94a3b8; margin-top: 50px; padding: 50px 0 20px; }
    .footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
    .footer-brand .logo span { color: #fff; }
    .footer-brand p { margin-top: 15px; font-size: 14px; line-height: 1.6; }
    .footer-nav h4 { color: #fff; font-size: 16px; margin-bottom: 15px; }
    .footer-nav ul { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
    .footer-nav a:hover { color: #fff; }
    
    .friend-links { max-width: 1200px; margin: 30px auto 0; padding: 20px 20px 0; border-top: 1px solid #1e293b; }
    .friend-title { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 10px; }
    .friend-content { display: flex; flex-wrap: wrap; gap: 15px; font-size: 13px; }
    .friend-content a { color: #94a3b8; }
    .friend-content a:hover { color: #fff; }

    .copyright { max-width: 1200px; margin: 30px auto 0; padding: 20px 20px 0; border-top: 1px solid #1e293b; text-align: center; font-size: 13px; }

    @media (max-width: 768px) {
      .nav-desktop { display: none; }
      .menu-btn { display: block; }
      .container { grid-template-columns: 1fr; }
      .post-card { grid-template-columns: 1fr; }
      .post-thumb { height: 180px; }
      .footer-inner { grid-template-columns: 1fr; gap: 30px; }
    }