﻿:root { --primary: rgb(0, 122, 255); --primary-hover: #0062cc; --primary-light: rgba(0, 122, 255, 0.1); --bg-body: #f4f7fb; --bg-white: #ffffff; --text-main: #1e293b; --text-muted: #64748b; --border-color: #e2e8f0; --header-bg: #0b1120; --footer-bg: #040814; }
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; background: var(--bg-body); color: var(--text-main); line-height: 1.6; }
        a { text-decoration: none; color: inherit; transition: 0.3s; }
        ul, li { list-style: none; }
        img { max-width: 100%; height: auto; display: block; }
        .container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
        
        
        .site-header { background: var(--header-bg); position: sticky; top: 0; z-index: 100; box-shadow: 0 4px 20px rgba(0,0,0,0.2); }
        .header-inner { 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: 36px; 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: #fff; white-space: nowrap; }
        .desktop-nav { display: none; } .desktop-nav ul { display: flex; gap: 30px; } .desktop-nav a { color: #cbd5e1; font-size: 15px; font-weight: 500; position: relative; padding: 8px 0; } .desktop-nav a:hover { color: var(--primary); } .desktop-nav a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--primary); transition: 0.3s; } .desktop-nav a:hover::after { width: 100%; }
        .header-right { display: flex; align-items: center; gap: 20px; } .btn-download-sm { display: none; background: var(--primary); color: #fff; padding: 8px 20px; border-radius: 20px; font-weight: 600; font-size: 14px; } .btn-download-sm:hover { background: var(--primary-hover); transform: translateY(-1px); } .menu-toggle { display: block; background: none; border: none; cursor: pointer; padding: 5px; } .menu-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: 0.3s; }
        @media (min-width: 992px) { .desktop-nav, .btn-download-sm { display: block; } .menu-toggle { display: none; } }
        .drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 998; opacity: 0; visibility: hidden; transition: 0.3s; backdrop-filter: blur(4px); } .mobile-drawer { position: fixed; top: 0; left: -300px; width: 280px; height: 100%; background: var(--header-bg); z-index: 999; transition: 0.4s; display: flex; flex-direction: column; } .drawer-active .drawer-overlay { opacity: 1; visibility: visible; } .drawer-active .mobile-drawer { left: 0; } .drawer-header { padding: 20px; border-bottom: 1px solid rgba(255,255,255,0.05); display: flex; justify-content: space-between; align-items: center; } .btn-close { background: none; border: none; color: #fff; font-size: 28px; cursor: pointer; } .drawer-body { padding: 20px; overflow-y: auto; flex: 1; } .drawer-nav a { display: block; padding: 15px 0; color: #cbd5e1; border-bottom: 1px solid rgba(255,255,255,0.05); font-weight: 500; } .drawer-nav a:hover { color: var(--primary); padding-left: 10px; } .drawer-footer { padding: 20px; border-top: 1px solid rgba(255,255,255,0.05); } .btn-primary { background: var(--primary); color: #fff; padding: 14px 32px; border-radius: 8px; font-weight: 600; font-size: 16px; display: inline-flex; justify-content: center; }
        .site-footer { background: var(--footer-bg); color: #94a3b8; padding: 60px 0 30px; border-top: 1px solid #1e293b; margin-top: 50px;} .footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; margin-bottom: 40px; } .footer-brand p { margin-top: 20px; font-size: 14px; line-height: 1.8; } .footer-title { color: #fff; font-size: 18px; font-weight: 700; margin-bottom: 20px; position: relative; padding-bottom: 10px; } .footer-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 30px; height: 2px; background: var(--primary); } .footer-links li { margin-bottom: 12px; } .footer-links a { font-size: 14px; } .footer-links a:hover { color: var(--primary); padding-left: 5px; } .footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.05); font-size: 14px; } @media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

        
        .breadcrumb { font-size: 14px; color: #94a3b8; padding: 20px 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
        .breadcrumb a { color: var(--text-muted); }
        .breadcrumb a:hover { color: var(--primary); }
        .breadcrumb span.sep { color: #cbd5e1; }

        .article-layout { display: grid; grid-template-columns: 1fr; gap: 40px; }
        @media (min-width: 1024px) { .article-layout { grid-template-columns: 1fr 340px; } }

        .article-main { background: #fff; padding: 30px 20px; border-radius: 16px; box-shadow: 0 4px 10px rgba(0,0,0,0.02); }
        @media (min-width: 768px) { .article-main { padding: 40px; } }

        .article-header { margin-bottom: 30px; border-bottom: 1px solid var(--border-color); padding-bottom: 20px; }
        .article-title { font-size: 26px; font-weight: 800; color: var(--text-main); line-height: 1.4; margin-bottom: 15px; }
        @media (min-width: 768px) { .article-title { font-size: 32px; } }
        
        .article-meta { display: flex; flex-wrap: wrap; gap: 15px; color: var(--text-muted); font-size: 13px; align-items: center; }
        .meta-item { display: flex; align-items: center; gap: 5px; }
        .article-tags-links a { display: inline-block; background: var(--bg-body); color: var(--text-muted); padding: 4px 10px; border-radius: 4px; font-size: 12px; border: 1px solid var(--border-color); }
        .article-tags-links a:hover { background: var(--primary-light); color: var(--primary); border-color: var(--primary); }

        .article-summary { background: #f8fafc; border-left: 4px solid var(--primary); padding: 15px 20px; margin-bottom: 30px; font-size: 15px; color: #475569; border-radius: 0 8px 8px 0; line-height: 1.7; }

        .article-content { font-size: 16px; line-height: 1.8; color: #334155; }
        .article-content p { margin-bottom: 20px; }
        .article-content h2, .article-content h3 { color: var(--text-main); margin: 30px 0 15px; font-weight: 700; }
        .article-content h2 { font-size: 22px; padding-left: 10px; border-left: 4px solid var(--primary); }
        .article-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 20px auto; display: block; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
        .article-content ul, .article-content ol { margin-bottom: 20px; padding-left: 20px; }
        .article-content li { margin-bottom: 8px; }

        .article-nav { display: flex; flex-direction: column; gap: 15px; margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--border-color); }
        @media (min-width: 768px) { .article-nav { flex-direction: row; justify-content: space-between; } }
        .nav-link { flex: 1; padding: 15px; background: var(--bg-body); border-radius: 8px; text-decoration: none; color: var(--text-main); transition: 0.3s; display: flex; flex-direction: column; border: 1px solid transparent; }
        .nav-link:hover { background: #fff; border-color: var(--primary); box-shadow: 0 5px 15px rgba(0,0,0,0.05); transform: translateY(-2px); }
        .nav-label { font-size: 12px; color: var(--text-muted); margin-bottom: 5px; }
        .nav-title { font-size: 15px; font-weight: bold; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
        .nav-prev { text-align: left; }
        .nav-next { text-align: right; }

        
        .related-section { margin-top: 50px; }
        .section-title-sm { font-size: 20px; font-weight: 800; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
        .section-title-sm::before { content: ''; display: block; width: 4px; height: 18px; background: var(--primary); border-radius: 2px; }
        .related-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
        @media (min-width: 768px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }
        @media (min-width: 1024px) { .related-grid { grid-template-columns: repeat(3, 1fr); } }
        
        .related-card { background: #fff; border-radius: 8px; overflow: hidden; border: 1px solid var(--border-color); transition: 0.3s; display: flex; flex-direction: column; }
        .related-card:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.08); }
        .related-img { aspect-ratio: 16/9; width: 100%; object-fit: cover; }
        .related-info { padding: 15px; flex: 1; display: flex; flex-direction: column; justify-content: space-between;}
        .related-title { font-size: 15px; font-weight: 600; line-height: 1.4; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .related-meta { font-size: 12px; color: var(--text-muted); display: flex; justify-content: space-between; }

        
        .sidebar-widget { background: #fff; border-radius: 12px; padding: 25px; margin-bottom: 30px; border: 1px solid var(--border-color); }
        .widget-title { font-size: 18px; font-weight: 700; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--bg-body); position: relative; }
        .widget-title::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 40px; height: 2px; background: var(--primary); }
        
        .dl-app-widget { background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%); color: #fff; border: none; text-align: center; }
        .dl-app-widget h3 { font-size: 20px; margin-bottom: 10px; }
        .dl-app-widget p { font-size: 14px; opacity: 0.8; margin-bottom: 20px; }
        .dl-app-widget .btn { display: inline-block; background: var(--primary); color: #fff; padding: 10px 20px; border-radius: 20px; font-weight: bold; width: 100%; }
        .dl-app-widget .btn:hover { background: var(--primary-hover); }