﻿:root { --primary: rgb(59,130,246); --primary-dark: #2563eb; --primary-light: #eff6ff; --text-main: #111827; --text-muted: #4b5563; --text-light: #9ca3af; --bg-body: #f9fafb; --bg-surface: #ffffff; --border-color: #e5e7eb; --radius-lg: 12px; --radius-md: 8px; --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.05); }
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: -apple-system, sans-serif; background-color: var(--bg-body); color: var(--text-main); line-height: 1.6; }
        a { text-decoration: none; color: inherit; transition: 0.3s; }
        ul { list-style: none; }
        img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-md); }
        .container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
        
        .header { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--border-color); }
        .header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
        .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; }
        .desktop-nav { display: none; }
        .desktop-nav a { font-size: 15px; font-weight: 500; color: var(--text-muted); margin-left: 28px; }
        .desktop-nav a:hover { color: var(--primary); }
        .header-actions { display: none; }
        .btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 24px; font-size: 15px; font-weight: 600; border-radius: var(--radius-md); cursor: pointer; transition: all 0.3s; }
        .btn-primary { background: var(--primary); color: #fff; }
        .btn-outline { border: 1px solid var(--border-color); }
        .menu-toggle { display: block; background: none; border: none; font-size: 24px; color: var(--text-main); cursor: pointer; }
        .drawer-mask { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 99; opacity: 0; visibility: hidden; transition: 0.3s; }
        .drawer-mask.active { opacity: 1; visibility: visible; }
        .drawer { position: fixed; top: 0; left: -300px; width: 280px; height: 100%; background: var(--bg-surface); z-index: 100; transition: 0.3s; display: flex; flex-direction: column; }
        .drawer.active { left: 0; }
        .drawer-header { padding: 20px; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; }
        .drawer-close { background: none; border: none; font-size: 24px; color: var(--text-muted); cursor: pointer; }
        .drawer-nav { padding: 20px; overflow-y: auto; flex: 1; }
        .drawer-nav a { display: block; padding: 12px 0; font-size: 16px; border-bottom: 1px solid var(--bg-body); }
        @media (min-width: 1024px) { .desktop-nav { display: flex; } .header-actions { display: flex; gap: 12px; } .menu-toggle { display: none; } }

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

        
        .article-main { background: var(--bg-surface); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); }
        @media (max-width: 768px) { .article-main { padding: 20px; border-radius: 0; border-left: none; border-right: none; } }
        
        .breadcrumb { font-size: 14px; color: var(--text-light); margin-bottom: 24px; }
        .breadcrumb a { color: var(--text-muted); }
        .breadcrumb a:hover { color: var(--primary); }
        
        .article-header { border-bottom: 1px solid var(--border-color); padding-bottom: 24px; margin-bottom: 32px; }
        .article-title { font-size: 28px; font-weight: 800; line-height: 1.4; margin-bottom: 16px; }
        @media (min-width: 768px) { .article-title { font-size: 36px; } }
        .article-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: 14px; color: var(--text-light); }
        .article-meta span { display: inline-flex; align-items: center; }
        .meta-tag { background: var(--bg-body); padding: 2px 8px; border-radius: 4px; color: var(--primary); font-size: 13px; }

        .article-content { font-size: 16px; line-height: 1.8; color: var(--text-muted); }
        .article-content p { margin-bottom: 20px; }
        .article-content h2 { font-size: 24px; font-weight: 700; color: var(--text-main); margin: 40px 0 20px; border-left: 4px solid var(--primary); padding-left: 12px; }
        .article-content h3 { font-size: 20px; font-weight: 600; color: var(--text-main); margin: 32px 0 16px; }
        .article-content blockquote { border-left: 4px solid var(--border-color); padding: 12px 20px; background: var(--bg-body); margin: 24px 0; color: var(--text-main); font-style: italic; }

        
        .article-nav { display: flex; justify-content: space-between; border-top: 1px solid var(--border-color); margin-top: 48px; padding-top: 24px; font-size: 14px; flex-wrap: wrap; gap: 16px; }
        .article-nav a { display: block; max-width: 45%; }
        .nav-label { color: var(--text-light); font-size: 12px; margin-bottom: 4px; display: block; }
        .nav-title { color: var(--text-main); font-weight: 500; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
        .article-nav a:hover .nav-title { color: var(--primary); }

        
        .sidebar-widget { background: var(--bg-surface); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); margin-bottom: 24px; }
        .widget-title { font-size: 18px; font-weight: 700; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--bg-body); color: var(--text-main); }
        .like-list { display: flex; flex-direction: column; gap: 16px; }
        .like-item { display: flex; gap: 12px; align-items: flex-start; }
        .like-img { width: 80px; height: 60px; object-fit: cover; border-radius: var(--radius-md); flex-shrink: 0; }
        .like-info h4 { font-size: 14px; font-weight: 500; line-height: 1.4; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .like-info h4 a:hover { color: var(--primary); }
        .like-info span { font-size: 12px; color: var(--text-light); }

        
        .footer { background: var(--bg-surface); padding: 60px 0 24px; border-top: 1px solid var(--border-color); }
        .footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; margin-bottom: 40px; }
        @media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
        .footer-brand p { color: var(--text-muted); margin-top: 16px; font-size: 14px; max-width: 300px; }
        .footer-title { font-size: 16px; font-weight: 600; margin-bottom: 20px; color: var(--text-main); }
        .footer-links li { margin-bottom: 12px; }
        .footer-links a { color: var(--text-muted); font-size: 14px; }
        .footer-links a:hover { color: var(--primary); }
        .footer-bottom { padding-top: 24px; border-top: 1px solid var(--border-color); display: flex; flex-direction: column; gap: 16px; align-items: center; font-size: 13px; color: var(--text-light); text-align: center; }
        @media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; } }