﻿:root {
      --primary: #0891B2;
      --secondary: #14B8A6;
      --bg-light: #ECFEFF;
      --bg-dark: #062A31;
      --text-main: #083344;
      --text-muted: #334155;
      --accent: #99F6E4;
      --white: #ffffff;
      --border-color: rgba(15, 23, 42, 0.08);
      --transition: all 0.3s ease;
    }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
      color: var(--text-main); background-color: #fcfdfd; line-height: 1.6;
    }

    
    .site-header {
      position: sticky; top: 0; z-index: 900; width: 100%;
      background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border-color);
    }
    .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; }
    .logo img { display: block; height: 40px; width: auto; max-width: 160px; }
    .logo span { display: inline-block; font-size: 18px; font-weight: 800; color: var(--text-main); }
    .desktop-nav { display: flex; align-items: center; gap: 8px; }
    .desktop-nav a {
      display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px;
      border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--text-muted); text-decoration: none;
    }
    .desktop-nav a:hover { color: var(--primary); background: var(--bg-light); }
    .mobile-menu-btn {
      display: none; width: 44px; height: 44px; border: 0; background: rgba(15, 23, 42, 0.08);
      border-radius: 14px; align-items: center; justify-content: center; flex-direction: column; gap: 5px;
    }
    .mobile-menu-btn span { display: block; width: 20px; height: 2px; background: var(--text-main); }

    
    .mobile-nav-mask { position: fixed; inset: 0; z-index: 998; background: rgba(15, 23, 42, 0.54); opacity: 0; visibility: hidden; }
    .mobile-drawer {
      position: fixed; top: 0; left: 0; z-index: 999; width: min(86vw, 360px); height: 100vh;
      background: #fff; transform: translateX(-105%); transition: transform .28s ease; display: flex; flex-direction: column;
    }
    .drawer-head {
      min-height: 76px; padding: 18px; display: flex; align-items: center; justify-content: space-between;
      border-bottom: 1px solid var(--border-color);
    }
    .drawer-close { width: 40px; height: 40px; border: 0; border-radius: 14px; background: rgba(15,23,42,0.08); font-size: 26px; }
    .drawer-body { flex: 1; overflow-y: auto; padding: 14px; }
    .drawer-nav { display: flex; flex-direction: column; gap: 8px; }
    .drawer-nav a {
      display: flex; align-items: center; min-height: 48px; padding: 13px 14px; border-radius: 14px;
      background: rgba(15,23,42,0.04); color: var(--text-main); text-decoration: none; font-size: 15px; font-weight: 700;
    }
    body.drawer-open { overflow: hidden; }
    body.drawer-open .mobile-nav-mask { opacity: 1; visibility: visible; }
    body.drawer-open .mobile-drawer { transform: translateX(0); }

    
    .art-banner {
      background: var(--bg-light); border-bottom: 1px solid var(--border-color); padding: 48px 0;
    }
    .art-container {
      width: min(800px, calc(100% - 32px)); margin: 0 auto;
    }
    .breadcrumbs { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }
    .breadcrumbs a { color: var(--primary); text-decoration: none; }
    .breadcrumbs span { margin: 0 6px; }
    .art-banner h1 { font-size: clamp(22px, 4vw, 32px); font-weight: 800; color: var(--text-main); line-height: 1.3; }

    .article-main-body {
      width: min(800px, calc(100% - 32px)); margin: 48px auto;
    }

    .article-meta-bar {
      display: flex; flex-wrap: wrap; gap: 20px; align-items: center;
      padding-bottom: 24px; border-bottom: 1px solid var(--border-color);
      margin-bottom: 32px; font-size: 13px; color: var(--text-muted);
    }
    .meta-item strong { color: var(--text-main); }

    .article-rich-text {
      font-size: 16px; color: var(--text-main); line-height: 1.8;
    }
    .article-rich-text p { margin-bottom: 24px; }
    .article-rich-text h2 { font-size: 22px; font-weight: 800; margin: 36px 0 16px; color: var(--text-main); }
    .article-rich-text img { max-width: 100%; height: auto; border-radius: 12px; margin: 24px 0; }

    .tag-section {
      margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border-color);
      display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
    }
    .tag-label { font-size: 13px; font-weight: 700; color: var(--text-muted); }
    .tag-item {
      font-size: 12px; font-weight: 600; background: var(--bg-light); color: var(--primary);
      padding: 6px 14px; border-radius: 999px; text-decoration: none;
    }

    .prev-next-links {
      display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
      margin: 48px 0; padding: 24px 0; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color);
    }
    .nav-link-box { display: flex; flex-direction: column; text-decoration: none; }
    .nav-link-box span { font-size: 12px; color: var(--text-muted); margin-bottom: 6px; }
    .nav-link-box strong { font-size: 14px; color: var(--text-main); transition: var(--transition); }
    .nav-link-box:hover strong { color: var(--primary); }
    .nav-link-box.next-box { text-align: right; }

    
    .related-section { margin-top: 48px; }
    .related-title { font-size: 18px; font-weight: 800; margin-bottom: 20px; }
    .related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .related-item {
      display: flex; gap: 16px; text-decoration: none; color: inherit;
    }
    .related-item img {
      width: 100px; aspect-ratio: 16 / 10; border-radius: 8px; object-fit: cover; background: #e2e8f0;
    }
    .related-item-title { font-size: 14px; font-weight: 700; color: var(--text-main); transition: var(--transition); }
    .related-item:hover .related-item-title { color: var(--primary); }

    
    .site-footer {
      background: var(--bg-dark); color: #e5e7eb; padding: 56px 0 24px;
      border-top: 1px solid rgba(255, 255, 255, 0.05);
    }
    .footer-inner {
      width: min(1200px, calc(100% - 32px)); margin: 0 auto;
      display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px;
    }
    .footer-brand p { margin-top: 16px; color: rgba(229, 231, 235, 0.72); font-size: 14px; }
    .footer-logo span { color: var(--white); }
    .footer-column h3 { margin-bottom: 14px; font-size: 15px; color: var(--white); }
    .footer-column ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
    .footer-column a, .footer-column span { color: rgba(229, 231, 235, 0.72); text-decoration: none; font-size: 14px; }
    .footer-column a:hover { color: var(--white); }
    .footer-bottom {
      width: min(1200px, calc(100% - 32px)); margin: 32px auto 0; padding-top: 20px;
      border-top: 1px solid rgba(255,255,255,0.12); display: flex; justify-content: space-between; align-items: center;
      font-size: 13px; color: rgba(229,231,235,0.62);
    }
    .footer-bottom p { margin:0; }
    .footer-bottom a { color: rgba(229,231,235,0.72); text-decoration:none; }

    @media (max-width: 900px) {
      .header-inner { width: min(100% - 24px, 1200px); min-height:64px; }
      .desktop-nav { display: none !important; }
      .mobile-menu-btn { display: inline-flex !important; }
      .prev-next-links { grid-template-columns: 1fr; gap: 16px; }
      .related-grid { grid-template-columns: 1fr; }
      .footer-inner { grid-template-columns: 1fr; gap: 24px; }
      .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
    }