:root {
    --primary: #4f46e5;
    --primary-light: #6366f1;
    --primary-dark: #4338ca;
    --accent: #f59e0b;
    --accent-light: #fbbf24;
    --green: #10b981;
    --bg: #f8fafc;
    --bg-alt: #f1f5f9;
    --body-bg: #e0e4ec;
    --card-bg: #ffffff;
    --text: #1e293b;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --shadow: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.1);
}
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: var(--bg);
    color: var(--text);
    padding-top: 72px;
}
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
.hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--text);
    margin-bottom: 0.5rem;
}
.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}
.project-card, .blog-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    height: 100%;
}
.project-card .card-body, .blog-card .card-body {
    padding: 1.5rem;
}
.project-card .card-title, .blog-card .card-title {
    font-size: 1.15rem;
    font-weight: 700;
}
.project-card .card-title a { color: var(--text); }
.project-card .card-title a:hover { color: var(--primary); }
.card-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.tag {
    display: inline-block;
    background: #f1f5f9;
    color: var(--text-muted);
    padding: 0.15rem 0.6rem;
    border-radius: 4px;
    font-size: 0.85rem; letter-spacing: 0.3px;
    margin: 0 0.25rem 0.25rem 0;
}
.pagination .active .page-link {
    background: var(--primary);
    border-color: var(--primary);
}
.table-actions .btn { padding: 0.2rem 0.5rem; font-size: 0.85rem; }
.project-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}
.project-card-img-wrap {
    width: 100%;
    border-radius: 12px 12px 0 0;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.project-card-img-wrap img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    max-height: 400px;
}
.category-badge {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    font-size: 0.85rem; letter-spacing: 0.3px;
    font-weight: 600;
}
.badge- { background: #F1F5F9; color: #64748B; }
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
@media (max-width: 768px) {
.hero-title { font-size: 1.75rem; }
.hero-subtitle { font-size: 1rem; }
}
@media (max-width: 576px) {
body { padding-top: 60px; }
.project-card .card-body, .blog-card .card-body { padding: 1rem; }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp 0.5s ease-out; }
@media (max-width: 768px) {
.action-btn, .share-btn,
    .cta-btn-sm, .comment-form .cmt-submit,
    .nav-link, .btn {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
.comment-form input,
    .comment-form textarea,
    input[type="text"],
    input[type="search"],
    textarea {
        min-height: 44px;
        font-size: 16px !important;
    }
.navbar-toggler {
        min-height: 44px;
        min-width: 44px;
        padding: 8px;
        border: none;
    }
.navbar-collapse {
        padding-top: 8px;
    }
.navbar-collapse .nav-link {
        padding: 10px 16px;
        font-size: 1rem;
    }
.project-grid {
        grid-template-columns: repeat(2, 1fr);
    }
.search-hero-box .input-group {
        flex-wrap: nowrap;
    }
footer .container > div:last-child {
        flex-direction: column;
        text-align: center;
    }
}
@media (max-width: 480px) {
.project-grid {
        grid-template-columns: 1fr;
    }
}
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background: rgba(248, 250, 252, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border, #e2e8f0);
    transition: box-shadow .3s ease, background .3s ease;
}
#navbar.scrolled {
    box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
}
[data-theme="dark"] #navbar {
    background: rgba(15, 23, 42, 0.92);
}
@media (min-width: 992px) {
#navbar .navbar-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 24px;
        max-width: 1200px;
        margin: 0 auto;
    }
#navbar .navbar-links {
        display: flex !important;
        flex-direction: row !important;
        align-items: center;
        gap: 4px;
    }
#navbarContent {
        display: flex !important;
        flex-basis: auto;
    }
#navbar .mega-trigger {
        position: relative;
    }
#navbar .mega-trigger:hover .mega-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }
#navbar .mega-menu {
        position: absolute;
        top: 100%;
        left: 0;
        background: var(--card-bg, #fff);
        border: 1px solid var(--border, #e2e8f0);
        border-radius: 12px;
        box-shadow: 0 12px 32px rgba(0,0,0,.1);
        padding: 16px;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(8px);
        transition: all .2s ease;
        z-index: 100;
    }
#navbar .mega-grid {
        display: flex;
        flex-direction: row;
        gap: 12px;
    }
#navbar .mega-card {
        padding: 12px 16px;
        border-radius: 8px;
        text-decoration: none;
        display: flex;
        flex-direction: column;
        gap: 2px;
        min-width: 160px;
        transition: background .15s;
    }
#navbar .mega-card:hover {
        background: var(--bg-alt, #f1f5f9);
    }
#navbar .nav-item {
        padding: 6px 14px;
        border-radius: 999px;
        color: var(--text-muted, #64748b);
        text-decoration: none;
        font-size: 14px;
        font-weight: 500;
        transition: all .2s ease;
        white-space: nowrap;
    }
#navbar .nav-item:hover {
        background: rgba(241,245,249,.8);
        color: var(--primary, #4f46e5);
    }
#navbar .nav-item.active {
        color: var(--primary, #4f46e5);
        font-weight: 600;
        background: rgba(79,70,229,.08);
    }
#navbar .nav-item-dropdown {
        display: flex;
        align-items: center;
        gap: 4px;
    }
#navbar .nav-chevron {
        font-size: 10px;
        transition: transform .2s;
    }
#navbar .mega-trigger:hover .nav-chevron {
        transform: rotate(180deg);
    }
#navbar .navbar-search {
        display: flex;
        align-items: center;
        gap: 8px;
        background: transparent;
        border-radius: 999px;
        padding: 6px 12px;
        transition: .2s;
    }
#navbar .navbar-search:focus-within {
        background: #fff;
        box-shadow: 0 0 0 3px rgba(79,70,229,.15);
    }
#navbar .navbar-search-input {
        border: none;
        outline: none;
        background: transparent;
        padding: 6px 10px 6px 36px;
        font-size: 13px;
        width: 140px;
        transition: width .2s;
        color: var(--text, #1e293b);
    }
#navbar .navbar-search-input:focus {
        width: 200px;
    }
#navbar .navbar-search-icon {
        position: static; /* override inline absolute */
        color: var(--text-muted, #94a3b8);
        font-size: 14px;
    }
#navbar .theme-toggle-btn {
        background: none;
        border: none;
        cursor: pointer;
        padding: 6px 10px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        gap: 4px;
        color: var(--text-muted, #64748b);
        transition: .2s;
    }
#navbar .theme-toggle-btn:hover {
        background: var(--bg-alt, #f1f5f9);
    }
#navbar .navbar-logo {
        display: flex;
        align-items: center;
        gap: 8px;
        text-decoration: none;
        color: var(--primary, #4f46e5);
        font-weight: 700;
        font-size: 17px;
        flex-shrink: 0;
    }
#navbar .navbar-logo-icon {
        width: 28px;
        height: 28px;
        border-radius: 8px;
        background: linear-gradient(135deg, #4f46e5, #7c3aed);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: 13px;
    }
}
@media (max-width: 768px) {
footer .container { padding-left: 1rem; padding-right: 1rem; }
footer .d-flex { flex-direction: column; align-items: flex-start; gap: 1rem; }
footer .d-flex > div:last-child { margin-top: 0.5rem; }
footer .text-muted small { display: block; margin-top: 0.5rem; }
}
@media (max-width: 576px) {
footer .d-flex > div:first-child a { 
        display: inline-block; 
        margin-bottom: 0.25rem; 
    }
footer .d-flex > div:first-child span { 
        display: none; 
    }
footer .d-flex.flex-wrap { gap: 0.5rem; }
footer .d-flex.flex-wrap a { 
        font-size: 0.8rem; 
        padding: 0.25rem 0.5rem; 
    }
}
@media (hover: none) and (pointer: coarse) {
.btn, .nav-link, a { min-height: 44px; min-width: 44px; }
.form-control, input, button { font-size: 16px; }
}
@media (max-width: 768px) {
.dark-footer .container > div:first-child > div {
        flex-direction: column;
        gap: 0.5rem;
        line-height: 2.2;
    }
.dark-footer .container > div:first-child > div a {
        padding: 0.4rem 0;
        display: block;
        font-size: 0.9rem;
        min-height: 44px;
        line-height: 44px;
        border-bottom: 1px solid #3a3a3a;
    }
.dark-footer .container > div:last-child {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
.dark-footer .container > div:last-child > div:first-child {
        font-size: 0.8rem;
        line-height: 2.2;
    }
.dark-footer .container > div:last-child > div:first-child a {
        padding: 0.3rem 0;
        display: inline-block;
    }
.dark-footer .container > div:last-child > div:first-child span {
        display: none;
    }
}
*, *::before, *::after { box-sizing: border-box; }
@media (max-width: 768px) {
img, iframe, video, svg { max-width: 100% !important; height: auto !important; }
pre, code, .code-block { max-width: 100%; overflow-x: auto; white-space: pre-wrap; word-break: break-all; }
table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; width: 100%; }
.container,
    .container-fluid { padding-left: 12px; padding-right: 12px; max-width: 100vw; }
body { overflow-x: hidden; }
#navbar .navbar-inner {
        flex-wrap: wrap;
        padding: 10px 16px;
    }
#navbar .navbar-logo {
        flex: 1;
    }
.navbar-toggler {
        border: 1px solid var(--border, #e2e8f0);
        border-radius: 8px;
        padding: 6px 10px;
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
.navbar-toggler:focus {
        box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
        outline: none;
    }
.navbar-toggler-icon {
        width: 1.2em;
        height: 1.2em;
    }
#navbarContent .navbar-links {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0;
        padding: 12px 0 0 0;
        width: 100%;
    }
#navbarContent .nav-item {
        display: block;
        padding: 12px 16px !important;
        font-size: 1rem;
        border-radius: 6px;
        min-height: 48px;
        line-height: 24px;
        border-bottom: 1px solid var(--border, #f0f0f0);
        width: 100%;
    }
#navbarContent .nav-item:last-of-type {
        border-bottom: none;
    }
#navbarContent .mega-trigger {
        position: static;
        width: 100%;
    }
#navbarContent .mega-trigger .nav-item-dropdown {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
#navbarContent .mega-menu {
        position: static;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 0;
        margin: 0;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
#navbarContent .mega-grid {
        flex-direction: column;
        gap: 4px;
        padding: 4px 0 8px 16px;
    }
#navbarContent .mega-card {
        padding: 10px 12px;
        border: 1px solid var(--border, #e5e7eb);
        border-radius: 8px;
    }
#navbarContent .mega-card-title { font-size: 0.9rem; }
#navbarContent .mega-card-desc { font-size: 0.78rem; }
#navbarContent .navbar-search {
        width: 100%;
        margin: 8px 12px;
        padding: 8px 14px;
        border: 1px solid var(--border, #d1d5db);
        border-radius: 10px;
        background: var(--card-bg, #fff);
    }
#navbarContent .navbar-search-input {
        width: 100%;
        font-size: 16px;
    }
#navbarContent .theme-toggle-btn {
        margin: 8px 12px;
        align-self: flex-start;
    }
.navbar-brand { font-size: 1rem; }
.navbar .form-control { min-width: 100px !important; }
.project-grid { grid-template-columns: 1fr !important; gap: 1rem; }
.project-card { width: 100%; }
.dark-footer .container > div:first-child > div { flex-direction: column; gap: 0.5rem; }
.dark-footer .container > div:first-child > div a { display: block; padding: 0.4rem 0; min-height: 44px; line-height: 44px; font-size: 0.9rem; border-bottom: 1px solid #3a3a3a; }
.dark-footer .container > div:last-child { flex-direction: column; text-align: center; gap: 0.75rem; }
a, button, .btn, .nav-link { min-height: 44px; min-width: 44px; }
input, textarea, select { font-size: 16px !important; }
}

/* ============================================ */
/* 2026-07-20: 从模板行内 <style> 提升的全局规则  */
/* ============================================ */

/* 来源: blog_detail.html, opc_beijing.html, opc_guide.html (3 files) */
.reading-progress {
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  height: 4px;
  left: 0;
  position: fixed;
  top: 0;
  transition: width 0.1s ease;
  width: 0%;
  z-index: 1000;
}

/* 来源: blog_detail.html, opc_beijing.html, opc_guide.html (3 files) */
.article-body strong {
  color: var(--gray-900);
  font-weight: 700;
}

/* 来源: 404.html, 500.html (2 files) */
.error-section {
  align-items: center;
  display: flex;
  min-height: 70vh;
}

/* 来源: admin/dashboard.html, dashboard.html (2 files) */
.content-panel {
  display: none;
}

/* 来源: admin/dashboard.html, dashboard.html (2 files) */
.content-panel.active {
  display: block;
}

/* 来源: admin/dashboard.html, dashboard.html (2 files) */
.stat-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  padding: 1.25rem;
}

/* 来源: admin/dashboard.html, dashboard.html (2 files) */
.stat-value {
  font-size: 1.8rem;
  font-weight: 800;
}

/* 来源: admin/dashboard.html, dashboard.html (2 files) */
.stat-label {
  color: #64748b;
  font-size: 0.85rem;
}

/* 来源: admin/dashboard.html, dashboard.html (2 files) */
.stat-trend {
  font-size: 0.8rem;
}

/* 来源: admin/dashboard.html, dashboard.html (2 files) */
.upload-preview {
  align-items: center;
  border-radius: 8px;
  border: 1px dashed #cbd5e1;
  cursor: pointer;
  display: flex;
  justify-content: center;
  max-height: 300px;
  max-width: 100%;
  min-height: 60px;
  transition: border-color 0.2s;
}

/* 来源: admin/dashboard.html, dashboard.html (2 files) */
.upload-preview:hover {
  border-color: var(--primary);
}

/* 来源: admin/dashboard.html, dashboard.html (2 files) */
.upload-preview img {
  border-radius: 8px;
  max-height: 280px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* 来源: admin/dashboard.html, dashboard.html (2 files) */
.cover-thumb img:hover {
  border-color: var(--primary) !important;
  opacity: 0.85;
}

/* 来源: admin/opc.html, dashboard.html (2 files) */
.sidebar {
  background: #fff;
  border-right: 1px solid #e2e8f0;
  min-height: calc(100vh - 56px);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
}

/* 来源: admin/opc.html, dashboard.html (2 files) */
.sidebar .nav-link {
  border-radius: 0;
  color: #1e293b;
  font-weight: 500;
  padding: 0.7rem 1.5rem;
}

/* 来源: admin/opc.html, dashboard.html (2 files) */
.sidebar .nav-link:hover, .sidebar .nav-link.active {
  background: #eff6ff;
  color: var(--primary);
}

/* 来源: base.html, index.html (2 files) */
.drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* 来源: blog_detail.html, project_detail.html (2 files) */
.toc-title {
  color: var(--gray-900);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

/* 来源: blog_detail.html, project_detail.html (2 files) */
.toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* 来源: blog_detail.html, project_detail.html (2 files) */
.toc-list a {
  border-radius: 6px;
  color: var(--gray-600);
  display: block;
  font-size: 0.85rem;
  padding: 0.3rem 0.5rem;
  text-decoration: none;
  transition: all 0.2s;
}

/* 来源: blog_detail.html, project_detail.html (2 files) */
.toc-list a:hover, .toc-list a.active {
  background: rgba(124,58,237,0.08);
  color: var(--primary);
}

/* 来源: blog_detail.html, project_detail.html (2 files) */
.toc-list .toc-h3 {
  font-size: 0.8rem;
  padding-left: 1.25rem;
}

/* 来源: blog_detail.html, project_detail.html (2 files) */
.progress-bar-wrap {
  background: var(--gray-200);
  border-radius: 3px;
  height: 6px;
  margin-bottom: 0.5rem;
  overflow: hidden;
}

/* 来源: blog_detail.html, project_detail.html (2 files) */
.progress-text {
  color: var(--gray-600);
  font-size: 0.8rem;
}

/* 来源: blog_detail.html, project_detail.html (2 files) */
.sidebar-card {
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  margin-bottom: 1rem;
  padding: 1.25rem;
}

/* 来源: blog_detail.html, project_detail.html (2 files) */
.sidebar-card h4 {
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-900);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
}

/* 来源: blog_detail.html, project_detail.html (2 files) */
.sidebar-item {
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
  display: block;
  font-size: 0.85rem;
  line-height: 1.5;
  padding: 0.5rem 0;
  text-decoration: none;
  transition: all 0.2s;
}

/* 来源: blog_detail.html, project_detail.html (2 files) */
.sidebar-item:last-child {
  border-bottom: none;
}

/* 来源: blog_detail.html, project_detail.html (2 files) */
.sidebar-item:hover {
  color: var(--primary);
}

/* 来源: blog_detail.html, project_detail.html (2 files) */
.sidebar-item .sidebar-tag {
  background: rgba(124,58,237,0.08);
  border-radius: 3px;
  color: var(--primary);
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  padding: 0.1rem 0.4rem;
}

/* 来源: blog_detail.html, project_detail.html (2 files) */
.sidebar-item .sidebar-title {
  display: block;
}

/* 来源: opc_beijing.html, opc_guide.html (2 files) */
.hero-news {
  /* background removed - handled by per-template inline styles */
  overflow: hidden;
  padding: 3.5rem 2rem;
  position: relative;
}

/* 来源: opc_beijing.html, opc_guide.html (2 files) */
.hero-news::before {
  background-image:
        linear-gradient(rgba(255,107,53,0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,107,53,0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  bottom: 0;
  content: '';
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

/* 来源: opc_beijing.html, opc_guide.html (2 files) */
.hero-content {
  margin: 0 auto;
  max-width: 900px;
  position: relative;
  z-index: 1;
}

/* 来源: opc_beijing.html, opc_guide.html (2 files) */
.hero-meta-top {
  align-items: center;
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

/* 来源: opc_beijing.html, opc_guide.html (2 files) */
.hero-tag {
  background: var(--primary);
  border-radius: 4px;
  color: white;
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.875rem;
}

/* 来源: opc_beijing.html, opc_guide.html (2 files) */
.hero-time {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
}

/* 来源: opc_beijing.html, opc_guide.html (2 files) */
.hero-excerpt {
  color: rgba(255,255,255,0.75);
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* 来源: opc_beijing.html, opc_guide.html (2 files) */
.hero-stats {
  display: flex;
  gap: 1.5rem;
}

/* 来源: opc_beijing.html, opc_guide.html (2 files) */
.hero-stat {
  align-items: center;
  color: rgba(255,255,255,0.65);
  display: flex;
  font-size: 0.9rem;
  gap: 0.4rem;
}

/* 来源: opc_beijing.html, opc_guide.html (2 files) */
.hero-stat .stat-num {
  color: var(--accent);
  font-weight: 700;
}

/* 来源: opc_beijing.html, opc_guide.html (2 files) */
.main-container {
  margin: 2rem auto;
  max-width: 1100px;
  padding: 0 1.5rem;
  position: relative;
}

/* 来源: opc_beijing.html, opc_guide.html (2 files) */
.toc-float {
  left: -280px;
  position: absolute;
  top: 0;
  width: 260px;
}

/* 来源: opc_beijing.html, opc_guide.html (2 files) */
.toc-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  padding: 1.25rem;
}

/* 来源: opc_beijing.html, opc_guide.html (2 files) */
.toc-title {
  color: var(--gray-600);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

/* 来源: opc_beijing.html, opc_guide.html (2 files) */
.toc-list {
  list-style: none;
}

/* 来源: opc_beijing.html, opc_guide.html (2 files) */
.toc-item {
  margin-bottom: 0.4rem;
}

/* 来源: opc_beijing.html, opc_guide.html (2 files) */
.toc-link {
  align-items: center;
  border-radius: 6px;
  color: var(--gray-600);
  display: flex;
  font-size: 0.88rem;
  font-weight: 500;
  gap: 0.6rem;
  padding: 0.5rem 0.75rem;
  text-decoration: none;
  transition: all 0.3s;
}

/* 来源: opc_beijing.html, opc_guide.html (2 files) */
.toc-link:hover {
  background: var(--gray-100);
  color: var(--primary);
}

/* 来源: opc_beijing.html, opc_guide.html (2 files) */
.toc-link.active {
  background: #FFF5F0;
  color: var(--primary);
  font-weight: 700;
}

/* 来源: opc_beijing.html, opc_guide.html (2 files) */
.toc-num {
  color: var(--gray-300);
  font-size: 0.8rem;
  font-weight: 700;
  min-width: 20px;
}

/* 来源: opc_beijing.html, opc_guide.html (2 files) */
.toc-link.active .toc-num {
  color: var(--primary);
}

/* 来源: opc_beijing.html, opc_guide.html (2 files) */
.progress-card {
  background: var(--gray-100);
  border-radius: 10px;
  margin-top: 1rem;
  padding: 1rem;
}

/* 来源: opc_beijing.html, opc_guide.html (2 files) */
.progress-bar-wrap {
  background: var(--gray-200);
  border-radius: 3px;
  height: 5px;
  margin-bottom: 0.5rem;
  overflow: hidden;
}

/* 来源: opc_beijing.html, opc_guide.html (2 files) */
.progress-bar-fill {
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 3px;
  height: 100%;
  transition: width 0.3s;
  width: 0%;
}

/* 来源: opc_beijing.html, opc_guide.html (2 files) */
.progress-text {
  color: var(--gray-600);
  font-size: 0.8rem;
  text-align: center;
}

/* 来源: opc_beijing.html, opc_guide.html (2 files) */
.article-main {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  padding: 2.5rem 3rem;
}

/* 来源: opc_beijing.html, opc_guide.html (2 files) */
.article-body {
  color: #3D4852;
  font-size: 18px;
  line-height: 1.85;
  margin: 0 auto;
  max-width: 680px;
}

/* 来源: opc_beijing.html, opc_guide.html (2 files) */
.article-body h2 {
  border-left: 4px solid var(--primary);
  color: var(--gray-900);
  font-size: 1.75rem;
  font-weight: 900;
  margin-bottom: 1.25rem;
  margin-top: 2.5rem;
  padding-left: 0.875rem;
}

/* 来源: opc_beijing.html, opc_guide.html (2 files) */
.article-body h3 {
  color: var(--primary-dark);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.875rem;
  margin-top: 2rem;
}

/* 来源: opc_beijing.html, opc_guide.html (2 files) */
.article-body p {
  margin-bottom: 1.25rem;
}

/* 来源: opc_beijing.html, opc_guide.html (2 files) */
.article-body ul, .article-body ol {
  margin-bottom: 1.25rem;
  padding-left: 1.25rem;
}

/* 来源: opc_beijing.html, opc_guide.html (2 files) */
.article-body li {
  margin-bottom: 0.6rem;
}

/* 来源: opc_beijing.html, opc_guide.html (2 files) */
.cta-box {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 12px;
  color: white;
  margin: 2.5rem 0 1rem;
  padding: 2rem;
  text-align: center;
}

/* 来源: opc_beijing.html, opc_guide.html (2 files) */
.cta-box h3 {
  border: none;
  color: white;
  font-size: 1.3rem;
  margin-top: 0;
}

/* 来源: opc_beijing.html, opc_guide.html (2 files) */
.cta-box p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 1rem;
}

/* 来源: opc_beijing.html, opc_guide.html (2 files) */
.cta-box a {
  background: white;
  border-radius: 8px;
  color: var(--primary);
  display: inline-block;
  font-weight: 700;
  padding: 0.6rem 1.5rem;
  text-decoration: none;
  transition: all 0.3s;
}

/* 来源: opc_beijing.html, opc_guide.html (2 files) */
.cta-box a:hover {
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transform: translateY(-2px);
}

/* 来源: opc_beijing.html, opc_guide.html (2 files) */
.sidebar-float {
  position: absolute;
  right: -300px;
  top: 0;
  width: 280px;
}

/* 来源: opc_beijing.html, opc_guide.html (2 files) */
.sidebar-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  margin-bottom: 1rem;
  padding: 1.25rem;
}

/* 来源: opc_beijing.html, opc_guide.html (2 files) */
.sidebar-title {
  color: var(--gray-600);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

/* 来源: opc_beijing.html, opc_guide.html (2 files) */
.related-item {
  border-bottom: 1px solid var(--gray-100);
  cursor: pointer;
  padding: 0.875rem 0;
  transition: all 0.3s;
}

/* 来源: opc_beijing.html, opc_guide.html (2 files) */
.related-item:last-child {
  border-bottom: none;
}

/* 来源: opc_beijing.html, opc_guide.html (2 files) */
.related-item:hover {
  background: var(--gray-100);
  border-radius: 8px;
  margin: 0 -0.75rem;
  padding: 0.875rem 0.75rem;
}

/* 来源: opc_beijing.html, opc_guide.html (2 files) */
.related-headline {
  color: var(--gray-900);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.2rem;
}

/* 来源: opc_beijing.html, opc_guide.html (2 files) */
@media (max-width: 1400px) {
  .toc-float, .sidebar-float { display: none; }
}
