﻿:root {
      --primary: rgb(52,120,246);
      --primary-hover: #1e60d6;
      --slate-50: #f8fafc;
      --slate-100: #f1f5f9;
      --slate-200: #e2e8f0;
      --slate-300: #cbd5e1;
      --slate-700: #334155;
      --slate-800: #1e293b;
      --slate-900: #0f172a;
      --text-main: #1e293b;
      --text-muted: #64748b;
      --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    body { font-family: var(--font-sans); color: var(--text-main); background-color: var(--slate-50); line-height: 1.5; }

    
    .site-header{
      position:sticky;
      top:0;
      z-index:900;
      width:100%;
      background:rgba(255,255,255,.92);
      backdrop-filter:blur(16px);
      -webkit-backdrop-filter:blur(16px);
      border-bottom:1px solid rgba(15,23,42,.08);
    }

    .header-inner{
      width:min(1200px, calc(100% - 32px));
      margin:0 auto;
      min-height:72px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:24px;
    }

    .logo{
      display:inline-flex;
      align-items:center;
      gap:12px;
      text-decoration:none;
      min-width:0;
      flex-shrink:0;
    }

    .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.2;
      color:#111827;
      white-space:nowrap;
      max-width:180px;
      overflow:hidden;
      text-overflow:ellipsis;
    }

    .desktop-nav{
      display:flex;
      align-items:center;
      justify-content:flex-end;
      gap:8px;
      min-width:0;
      flex:1;
      overflow-x:auto;
      scrollbar-width:none;
    }

    .desktop-nav::-webkit-scrollbar{ display:none; }

    .desktop-nav a{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      min-height:40px;
      padding:0 14px;
      border-radius:999px;
      font-size:14px;
      font-weight:600;
      color:#334155;
      text-decoration:none;
      white-space:nowrap;
      flex-shrink:0;
      transition: all 0.2s;
    }

    .desktop-nav a:hover {
      background: rgba(52,120,246,0.08);
      color: var(--primary);
    }

    .mobile-menu-btn{
      display:none;
      width:44px;
      height:44px;
      border:0;
      border-radius:14px;
      background:rgba(15,23,42,.08);
      align-items:center;
      justify-content:center;
      flex-direction:column;
      gap:5px;
      cursor:pointer;
      flex-shrink:0;
    }

    .mobile-menu-btn span{
      display:block;
      width:20px;
      height:2px;
      border-radius:999px;
      background:#111827;
    }

    .mobile-nav-mask{
      position:fixed;
      inset:0;
      z-index:998;
      background:rgba(15,23,42,.54);
      opacity:0;
      visibility:hidden;
      pointer-events:none;
      transition:opacity .25s ease, visibility .25s ease;
    }

    .mobile-drawer{
      position:fixed;
      top:0;
      left:0;
      z-index:999;
      width:min(86vw, 360px);
      height:100vh;
      height:100dvh;
      background:#ffffff;
      color:#111827;
      transform:translateX(-105%);
      transition:transform .28s ease;
      box-shadow:24px 0 60px rgba(15,23,42,.22);
      display:flex;
      flex-direction:column;
      overflow:hidden;
    }

    .drawer-head{
      min-height:76px;
      padding:18px 18px 14px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:12px;
      border-bottom:1px solid rgba(15,23,42,.08);
      flex-shrink:0;
    }

    .drawer-logo img{ height:36px; max-width:130px; }
    .drawer-logo span{ max-width:150px; font-size:17px; }

    .drawer-close{
      width:40px;
      height:40px;
      border:0;
      border-radius:14px;
      background:rgba(15,23,42,.08);
      color:#111827;
      font-size:26px;
      line-height:1;
      cursor:pointer;
      flex-shrink:0;
    }

    .drawer-body{ flex:1; overflow-y:auto; -webkit-overflow-scrolling:touch; padding:14px; }
    .drawer-nav{ display:flex; flex-direction:column; gap:8px; }

    .drawer-nav a{
      display:flex;
      align-items:center;
      width:100%;
      min-height:48px;
      padding:13px 14px;
      border-radius:14px;
      background:rgba(15,23,42,.04);
      color:#111827;
      text-decoration:none;
      font-size:15px;
      font-weight:700;
      line-height:1.35;
      word-break:break-word;
      overflow-wrap:anywhere;
    }

    .drawer-nav a:hover{
      background:rgba(52,120,246,.12);
      color:var(--primary);
    }

    body.drawer-open{ overflow:hidden; touch-action:none; }
    body.drawer-open .mobile-nav-mask{ opacity:1; visibility:visible; pointer-events:auto; }
    body.drawer-open .mobile-drawer{ transform:translateX(0); }

    
    .list-header {
      background: var(--slate-900);
      color: #ffffff;
      padding: 48px 16px;
    }

    .list-header-inner {
      max-width: 1200px;
      margin: 0 auto;
    }

    .breadcrumb {
      font-size: 13px;
      color: rgba(255,255,255,0.6);
      margin-bottom: 12px;
    }

    .breadcrumb a {
      color: inherit;
      text-decoration: none;
    }

    .breadcrumb span {
      margin: 0 8px;
    }

    .list-title {
      font-size: 28px;
      font-weight: 800;
    }

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

    .list-content {
      display: flex;
      flex-direction: column;
      gap: 24px;
    }

    .article-row-card {
      background: #ffffff;
      border-radius: 16px;
      border: 1px solid var(--slate-200);
      overflow: hidden;
      display: grid;
      grid-template-columns: 240px 1fr;
      transition: all 0.3s;
    }

    .article-row-card:hover {
      box-shadow: 0 10px 24px rgba(15,23,42,0.06);
      border-color: var(--primary);
    }

    .article-image {
      background: var(--slate-100);
      position: relative;
    }

    .article-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .article-details {
      padding: 24px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .article-title-link {
      color: var(--slate-900);
      text-decoration: none;
      font-size: 18px;
      font-weight: 700;
      line-height: 1.4;
      margin-bottom: 10px;
      display: block;
    }

    .article-title-link:hover {
      color: var(--primary);
    }

    .article-summary-text {
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.6;
      margin-bottom: 16px;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .article-meta-info {
      display: flex;
      align-items: center;
      gap: 16px;
      font-size: 12px;
      color: var(--text-muted);
    }

    .article-tag {
      background: var(--slate-100);
      padding: 2px 8px;
      border-radius: 4px;
      color: var(--slate-700);
    }

    
    .sidebar {
      display: flex;
      flex-direction: column;
      gap: 32px;
    }

    .sidebar-widget {
      background: #ffffff;
      border: 1px solid var(--slate-200);
      border-radius: 16px;
      padding: 24px;
    }

    .widget-title {
      font-size: 16px;
      font-weight: 800;
      color: var(--slate-900);
      margin-bottom: 16px;
      padding-left: 10px;
      border-left: 4px solid var(--primary);
    }

    .hot-article-list {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .hot-item {
      display: flex;
      gap: 12px;
    }

    .hot-thumb {
      width: 64px;
      height: 64px;
      background: var(--slate-200);
      border-radius: 8px;
      overflow: hidden;
      flex-shrink: 0;
    }

    .hot-thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .hot-meta {
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .hot-link {
      font-size: 14px;
      font-weight: 600;
      color: var(--slate-800);
      text-decoration: none;
      line-height: 1.4;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      margin-bottom: 4px;
    }

    .hot-link:hover { color: var(--primary); }

    .hot-clicks { font-size: 11px; color: var(--text-muted); }

    
    .pagination-container {
      margin-top: 32px;
      display: flex;
      justify-content: center;
      gap: 8px;
    }

    .pagination-container a,
    .pagination-container span {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 40px;
      height: 40px;
      padding: 0 12px;
      border-radius: 10px;
      font-size: 14px;
      font-weight: 600;
      text-decoration: none;
      background: #ffffff;
      border: 1px solid var(--slate-200);
      color: var(--slate-700);
    }

    .pagination-container .current {
      background: var(--primary);
      border-color: var(--primary);
      color: #ffffff;
    }

    
    .site-footer{
      width:100%;
      background:#0f172a;
      color:#e5e7eb;
      overflow:hidden;
    }

    .footer-inner{
      width:min(1200px, calc(100% - 32px));
      margin:0 auto;
      padding:54px 0 34px;
      display:grid;
      grid-template-columns:minmax(240px,1.4fr) repeat(3, minmax(150px, .8fr));
      gap:28px;
      align-items:start;
    }

    .footer-logo span{ color:#ffffff; }

    .footer-brand p{
      margin:18px 0 0;
      color:rgba(226,232,240,.78);
      line-height:1.8;
      font-size:14px;
      max-width:420px;
    }

    .footer-column h3{ margin:0 0 14px; color:#ffffff; font-size:15px; font-weight:800; }

    .footer-column ul{
      list-style:none; padding:0; margin:0;
      display:flex; flex-direction:column; gap:10px;
    }

    .footer-column li,
    .footer-column a{
      color:rgba(226,232,240,.78);
      font-size:14px;
      line-height:1.55;
      text-decoration:none;
      word-break:break-word;
      overflow-wrap:anywhere;
    }

    .footer-column a:hover{ color:#ffffff; }

    .footer-bottom{
      width:min(1200px, calc(100% - 32px));
      margin:0 auto;
      padding:18px 0 24px;
      border-top:1px solid rgba(226,232,240,.12);
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:14px;
      color:rgba(226,232,240,.68);
      font-size:13px;
      line-height:1.6;
    }

    @media (max-width: 900px) {
      .header-inner { width: min(100% - 24px, 1200px); min-height:64px; gap:12px; }
      .desktop-nav { display:none !important; }
      .mobile-menu-btn { display:inline-flex !important; }
      .logo img { height:34px; max-width:120px; }
      .logo span { font-size:16px; max-width:150px; }

      .list-container {
        grid-template-columns: 1fr;
      }
      .article-row-card {
        grid-template-columns: 1fr;
      }
      .article-image {
        aspect-ratio: 16 / 9;
      }

      .footer-inner{
        width:min(100% - 24px, 1200px);
        grid-template-columns:1fr 1fr;
        gap:24px 18px;
        padding:42px 0 28px;
      }
      .footer-brand{ grid-column:1 / -1; }
      .footer-bottom{ width:min(100% - 24px, 1200px); flex-direction:column; align-items:flex-start; }
    }

    @media (max-width: 520px) {
      .footer-inner{ grid-template-columns:1fr; }
    }