﻿:root {
      --primary-color: rgb(243,244,246);
      --accent-color: #e11d48;
      --text-dark: #1f2937;
      --text-light: #4b5563;
      --text-muted: #9ca3af;
      --bg-body: #f9fafb;
      --bg-card: #ffffff;
      --border-color: #e5e7eb;
    }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
      background-color: var(--bg-body);
      color: var(--text-dark);
      line-height: 1.6;
    }
    a { color: inherit; text-decoration: none; transition: color 0.2s; }
    a:hover { color: var(--accent-color); }
    img { max-width: 100%; height: auto; }

    
    header {
      background-color: var(--bg-card);
      border-bottom: 1px solid var(--border-color);
      position: sticky;
      top: 0;
      z-index: 100;
    }
    .header-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 16px;
      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: 18px;
      font-weight: 800;
      line-height: 1;
      color: var(--text-dark);
      white-space: nowrap;
    }
    .nav-desktop {
      display: flex;
      gap: 24px;
      align-items: center;
    }
    .nav-desktop a {
      font-weight: 500;
      color: var(--text-light);
    }
    .nav-desktop a:hover {
      color: var(--accent-color);
    }
    .menu-toggle {
      display: none;
      background: none;
      border: none;
      font-size: 24px;
      cursor: pointer;
      color: var(--text-dark);
    }

    
    .drawer {
      position: fixed;
      top: 0;
      left: -280px;
      width: 280px;
      height: 100%;
      background-color: var(--bg-card);
      box-shadow: 2px 0 8px rgba(0,0,0,0.15);
      z-index: 200;
      transition: left 0.3s ease;
      display: flex;
      flex-direction: column;
      padding: 20px;
    }
    .drawer.active { left: 0; }
    .drawer-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 30px;
    }
    .drawer-close {
      background: none;
      border: none;
      font-size: 24px;
      cursor: pointer;
    }
    .drawer-nav {
      display: flex;
      flex-direction: column;
      gap: 18px;
    }
    .drawer-nav a {
      font-size: 16px;
      font-weight: 500;
      padding: 8px 0;
      border-bottom: 1px solid var(--border-color);
    }
    .drawer-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0,0,0,0.5);
      z-index: 150;
      display: none;
    }
    .drawer-overlay.active { display: block; }

    
    .breadcrumb-nav {
      background-color: var(--bg-card);
      border-bottom: 1px solid var(--border-color);
      padding: 12px 16px;
      font-size: 14px;
      color: var(--text-light);
    }
    .breadcrumb-container {
      max-width: 1200px;
      margin: 0 auto;
    }

    
    .main-container {
      max-width: 1200px;
      margin: 32px auto;
      padding: 0 16px;
      display: grid;
      grid-template-columns: 1fr 340px;
      gap: 32px;
    }

    
    .content-stream {
      display: flex;
      flex-direction: column;
      gap: 24px;
    }
    .stream-title-bar {
      border-bottom: 2px solid var(--text-dark);
      padding-bottom: 8px;
      margin-bottom: 8px;
    }
    .stream-title {
      font-size: 18px;
      font-weight: 800;
    }
    .post-card {
      background-color: var(--bg-card);
      border-radius: 8px;
      overflow: hidden;
      border: 1px solid var(--border-color);
      display: flex;
      gap: 20px;
      padding: 20px;
      transition: transform 0.2s, box-shadow 0.2s;
    }
    .post-card:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    }
    .post-thumb {
      flex-shrink: 0;
      width: 200px;
      height: 140px;
      border-radius: 6px;
      overflow: hidden;
      background-color: var(--primary-color);
    }
    .post-thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .post-body {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      flex-grow: 1;
    }
    .post-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      font-size: 12px;
      color: var(--text-muted);
      margin-bottom: 8px;
    }
    .post-body h2 {
      font-size: 18px;
      font-weight: 700;
      line-height: 1.4;
      margin-bottom: 8px;
    }
    .post-body p {
      font-size: 14px;
      color: var(--text-light);
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      margin-bottom: 12px;
    }
    .read-more {
      font-size: 13px;
      font-weight: 600;
      color: var(--accent-color);
      align-self: flex-start;
    }

    
    .pagination {
      display: flex;
      justify-content: center;
      gap: 8px;
      margin-top: 32px;
    }
    .pagination a, .pagination span {
      display: inline-block;
      padding: 8px 16px;
      border: 1px solid var(--border-color);
      border-radius: 4px;
      font-size: 14px;
      background-color: var(--bg-card);
    }
    .pagination .is-current {
      background-color: var(--text-dark);
      color: #fff;
      border-color: var(--text-dark);
    }

    
    .sidebar {
      display: flex;
      flex-direction: column;
      gap: 28px;
    }
    .sidebar-widget {
      background-color: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: 8px;
      padding: 20px;
    }
    .widget-title {
      font-size: 16px;
      font-weight: 700;
      margin-bottom: 16px;
      padding-bottom: 8px;
      border-bottom: 2px solid var(--text-dark);
    }
    .hot-list {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .hot-item {
      display: flex;
      flex-direction: column;
      gap: 4px;
      padding-bottom: 12px;
      border-bottom: 1px dotted var(--border-color);
    }
    .hot-item-title {
      font-size: 14px;
      font-weight: 600;
    }
    .hot-item-meta {
      font-size: 11px;
      color: var(--text-muted);
    }

    
    footer {
      background-color: #111827;
      color: #e5e7eb;
      padding: 48px 16px 24px;
      margin-top: 64px;
      border-top: 1px solid var(--border-color);
    }
    .footer-container {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 2fr 1fr 1.5fr;
      gap: 40px;
      padding-bottom: 32px;
      border-bottom: 1px solid #374151;
    }
    .footer-brand .logo span { color: #fff; }
    .footer-brand p {
      font-size: 14px;
      color: #9ca3af;
      margin-top: 16px;
    }
    .footer-title {
      font-size: 15px;
      font-weight: 700;
      color: #fff;
      margin-bottom: 16px;
    }
    .footer-links {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .footer-links a { font-size: 14px; color: #9ca3af; }
    .footer-links a:hover { color: #fff; }
    .friend-links {
      max-width: 1200px;
      margin: 24px auto 0;
      padding-bottom: 24px;
      border-bottom: 1px solid #374151;
    }
    .friend-title { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 12px; }
    .friend-content { display: flex; flex-wrap: wrap; gap: 16px; }
    .friend-content a { font-size: 13px; color: #9ca3af; }
    .footer-copyright {
      max-width: 1200px;
      margin: 24px auto 0;
      text-align: center;
      font-size: 13px;
      color: #6b7280;
    }

    @media (max-width: 992px) {
      .main-container { grid-template-columns: 1fr; }
      .footer-container { grid-template-columns: 1fr; gap: 32px; }
    }
    @media (max-width: 768px) {
      .nav-desktop { display: none; }
      .menu-toggle { display: block; }
      .post-card { flex-direction: column; }
      .post-thumb { width: 100%; height: 180px; }
    }