﻿:root { --primary: rgb(0, 122, 255); --text-main: #1d1d1f; --text-muted: #86868b; --bg-body: #ffffff; --border-color: #e5e5ea; }
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: -apple-system, sans-serif; color: var(--text-main); background: #f9f9fb; line-height: 1.8; }
        a { text-decoration: none; color: inherit; transition: 0.3s; }
        img { max-width: 100%; height: auto; display: block; border-radius: 8px; margin: 20px 0; }
        ul, li { list-style: none; }
        .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
        
        .header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-color); }
        .header .container { display: flex; align-items: center; justify-content: space-between; height: 70px; }
        .logo { display: inline-flex; align-items: center; gap: 12px; }
        .logo img { display: block; height: 36px; width: auto; max-width: 160px; object-fit: contain; }
        .logo span { font-size: 20px; font-weight: 800; color: var(--text-main); white-space: nowrap; }
        .desktop-nav { display: flex; gap: 30px; align-items: center; }
        .desktop-nav a { font-size: 15px; font-weight: 500; }
        .desktop-nav a:hover { color: var(--primary); }
        .mobile-toggle { display: none; cursor: pointer; padding: 10px; }
        .mobile-toggle span { display: block; width: 24px; height: 2px; background: var(--text-main); margin: 5px 0; }
        
        .drawer-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); opacity: 0; visibility: hidden; z-index: 998; transition: 0.3s; }
        .drawer { position: fixed; top: 0; left: -300px; width: 280px; height: 100%; background: #fff; z-index: 999; transition: 0.3s; display: flex; flex-direction: column; }
        .drawer.active { left: 0; }
        .drawer-overlay.active { opacity: 1; visibility: visible; }
        .drawer-header { padding: 20px; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; }
        .drawer-close { font-size: 24px; cursor: pointer; }
        .drawer-body { padding: 20px; overflow-y: auto; flex: 1; }
        .drawer-body a { display: block; padding: 12px 0; font-size: 16px; font-weight: 500; border-bottom: 1px solid var(--border-color); }

        .article-layout { max-width: 800px; margin: 40px auto 80px; background: #fff; padding: 40px; border-radius: 16px; box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
        .breadcrumb { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }
        .breadcrumb a { color: var(--text-main); }
        .article-header { border-bottom: 1px solid var(--border-color); padding-bottom: 24px; margin-bottom: 30px; }
        .article-title { font-size: 32px; font-weight: 800; line-height: 1.4; margin-bottom: 16px; }
        .article-meta { display: flex; gap: 20px; font-size: 14px; color: var(--text-muted); flex-wrap: wrap; }
        .article-meta span { display: inline-flex; align-items: center; gap: 6px; }
        
        .article-content { font-size: 16px; color: #333; margin-bottom: 40px; }
        .article-content h2 { font-size: 24px; font-weight: 700; margin: 30px 0 16px; color: #111; }
        .article-content h3 { font-size: 20px; font-weight: 600; margin: 24px 0 12px; }
        .article-content p { margin-bottom: 20px; }
        .article-content blockquote { border-left: 4px solid var(--primary); padding-left: 16px; color: #666; background: #f5f5f7; padding: 16px; margin: 20px 0; border-radius: 0 8px 8px 0; }
        
        .article-tags { margin-bottom: 40px; display: flex; gap: 10px; flex-wrap: wrap; }
        .article-tags a { background: rgba(0,122,255,0.1); color: var(--primary); padding: 6px 16px; border-radius: 20px; font-size: 14px; font-weight: 500; }
        
        .article-nav { display: flex; justify-content: space-between; border-top: 1px solid var(--border-color); padding-top: 24px; margin-bottom: 40px; }
        .article-nav a { display: flex; flex-direction: column; font-size: 14px; color: var(--text-muted); max-width: 45%; }
        .article-nav a span { font-size: 16px; color: var(--text-main); font-weight: 600; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .article-nav a:hover span { color: var(--primary); }
        .nav-next { text-align: right; }
        
        .related-posts { margin-top: 40px; }
        .related-posts h3 { font-size: 20px; font-weight: 700; border-left: 4px solid var(--primary); padding-left: 12px; margin-bottom: 24px; }
        .related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
        .related-card { background: #f9f9fb; padding: 16px; border-radius: 8px; transition: 0.3s; }
        .related-card:hover { background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
        .related-card h4 { font-size: 16px; margin-bottom: 8px; line-height: 1.4; }
        .related-card p { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }

        .footer { background: #111; color: #fff; padding: 60px 0 30px; }
        .footer-widgets { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
        .footer .logo span { color: #fff; }
        .widget-title { font-size: 16px; font-weight: 600; margin-bottom: 20px; color: #fff; }
        .widget-links li { margin-bottom: 12px; }
        .widget-links a { color: #a1a1aa; font-size: 14px; }
        .footer-bottom { border-top: 1px solid #333; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: #a1a1aa; }

        @media (max-width: 768px) {
            .desktop-nav { display: none; }
            .mobile-toggle { display: block; }
            .article-layout { margin: 20px; padding: 20px; }
            .article-title { font-size: 24px; }
            .related-grid { grid-template-columns: 1fr; }
            .footer-widgets { grid-template-columns: 1fr; }
            .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
        }