/* 字体与变量 */
    :root {
      --primary: #2563eb;
      --accent: #06b6d4;
      --bg: #f4f8ff;
      --text: #0f1e3d;
      --border: #c8d5f0;
      --card-bg: #ffffff;
    }
    * { border-radius: 0 !important; }
    body {
      font-family: 'Inter', system-ui, -apple-system, sans-serif;
      background-color: var(--bg);
      color: var(--text);
      font-size: 0.9rem;
    }
    h1,h2,h3,h4,.navbar-brand,.display-6 {
      font-family: 'Inter', 'Comic Sans MS', 'Chalkboard SE', 'Segoe Script', cursive;
      font-weight: 700;
      letter-spacing: -0.3px;
    }
    /* 无阴影+描边 */
    .card, .list-group-item, .border-dashed, .sidebar, .hero-section, .accordion-item {
      box-shadow: none !important;
      border: 1px solid var(--border) !important;
    }
    .navbar {
      border-bottom: 2px solid var(--border);
      background: var(--bg) !important;
    }
    .navbar-brand {
      font-weight: 900;
      font-size: 1.5rem;
      color: var(--primary) !important;
      letter-spacing: 0;
    }
    .nav-link {
      color: var(--text) !important;
      font-weight: 500;
      border-left: 1px solid var(--border);
      padding-left: 1rem;
      margin-left: 0.5rem;
    }
    .nav-link:hover { color: var(--accent) !important; }
    /* hero 打字机 */
    .typewriter {
      display: inline-block;
      overflow: hidden;
      white-space: nowrap;
      border-right: 3px solid var(--accent);
      animation: typing 4s steps(20, end) forwards, caret 0.8s step-end infinite;
      width: 100%;
    }
    @keyframes typing {
      from { width: 0; }
      to { width: 100%; }
    }
    @keyframes caret { 50% { border-color: transparent; } }
    /* 海报卡片 */
    .movie-card {
      background: var(--card-bg);
      border: 1px solid var(--border);
      transition: transform 0.25s ease, box-shadow 0.25s ease;
      cursor: pointer;
      margin-bottom: 1rem;
    }
    .movie-card:hover {
      transform: scale(1.03);
      box-shadow: 0 10px 20px rgba(37,99,235,0.15);
      z-index: 3;
      position: relative;
    }
    .movie-card img {
      width: 100%;
      aspect-ratio: 2/3;
      object-fit: cover;
      background: #e0eaff; /* 渐显占位 */
      opacity: 0.95;
      transition: opacity 0.3s;
      border-bottom: 1px solid var(--border);
    }
    .badge-quality {
      position: absolute;
      top: 8px;
      right: 8px;
      background: rgba(15,30,61,0.8);
      color: #fff;
      font-size: 0.7rem;
      padding: 2px 6px;
      border: 1px solid var(--accent);
      z-index: 2;
    }
    /* 布局：侧边栏+瀑布流 */
    .layout-side {
      display: grid;
      grid-template-columns: 200px 1fr;
      gap: 1.5rem;
    }
    .sidebar {
      background: transparent;
      padding: 1rem 0.5rem;
      height: fit-content;
      position: sticky;
      top: 70px;
    }
    .sidebar .list-group-item {
      background: transparent;
      border: none;
      border-bottom: 1px dashed var(--border);
      color: var(--text);
      font-weight: 500;
      padding: 0.5rem 0.2rem;
    }
    .sidebar .list-group-item i { color: var(--primary); width: 20px; }
    /* 按钮光泽 */
    .btn-flow {
      background: linear-gradient(90deg, var(--primary), var(--accent));
      background-size: 200% 100%;
      transition: background-position 0.4s, box-shadow 0.3s;
      color: white;
      border: none;
      padding: 0.3rem 1.2rem;
      font-weight: 600;
    }
    .btn-flow:hover {
      background-position: 100% 0;
      box-shadow: 0 0 8px var(--accent);
      color: white;
    }
    /* 分区标题 */
    .section-title {
      border-left: 5px solid var(--primary);
      padding-left: 0.8rem;
      margin: 1.5rem 0 1rem;
      font-weight: 800;
      font-size: 1.3rem;
    }
    /* 弹窗全屏沉浸 */
    .modal-full {
      position: fixed;
      inset: 0;
      background: rgba(15,30,61,0.75);
      backdrop-filter: blur(12px);
      z-index: 1050;
      display: none;
      justify-content: center;
      align-items: center;
    }
    .modal-full .modal-content-box {
      width: min(600px, 92%);
      background: var(--bg);
      border: 2px solid var(--accent);
      padding: 2rem;
      position: relative;
      max-height: 90vh;
      overflow: auto;
    }
    .modal-full .close-modal {
      position: absolute;
      top: 8px; right: 15px;
      font-size: 2.5rem;
      line-height: 1;
      color: var(--primary);
      cursor: pointer;
      background: none;
      border: none;
    }
    .rating-big { font-size: 2rem; color: var(--primary); font-weight: 800; }
    /* 回到顶部 */
    #backTop {
      display: none;
      position: fixed;
      bottom: 30px; right: 30px;
      z-index: 999;
      background: var(--primary);
      color: white;
      width: 45px; height: 45px;
      border: none;
      font-size: 1.2rem;
      box-shadow: 0 0 0 2px white;
    }
    footer {
      border-top: 2px solid var(--border);
      background: var(--bg);
      padding: 2rem 0 1rem;
      margin-top: 2rem;
      color: var(--text);
    }
    .footer-links a { color: var(--primary); text-decoration: none; }
    /* 手风琴 */
    .accordion-item { background: transparent; }
    .accordion-button { background: transparent; color: var(--text); font-weight: 600; }
    .accordion-button:not(.collapsed) { background: rgba(37,99,235,0.04); }
    /* 瀑布流 */
    .poster-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
      gap: 1rem;
    }
    /* 小号字高密度 */
    .small-meta { font-size: 0.75rem; color: #334155; }
    /* 动画渐显 */
    @keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; } }
    .movie-card { animation: fadeUp 0.4s ease both; }

/* --- 子页面追加 --- */
/* 保持与首页一致的视觉 —— 由于站点 style.css 已定义变量与卡片等，
       这里只补充关于页特有的间距/排印细节，全部基于已有变量 */
    .about-hero {
      background: linear-gradient(145deg, rgba(37,99,235,.08), rgba(6,182,212,.05));
      border: 1px solid var(--border);
      border-radius: 24px;
      padding: 2.8rem 2.5rem;
      margin-top: 2rem;
    }
.about-hero h1 {
      color: var(--text);
      font-weight: 800;
      letter-spacing: -0.02em;
    }
.section-block {
      background: var(--card-bg);
      border: 1px solid var(--border);
      border-radius: 24px;
      padding: 2rem 2rem 1.8rem;
      margin-bottom: 2rem;
      box-shadow: 0 8px 20px rgba(15,30,61,0.03);
    }
.section-block h2, .section-block h3 {
      color: var(--text);
      font-weight: 700;
      border-left: 4px solid var(--accent);
      padding-left: 1.1rem;
      margin-bottom: 1.5rem;
      font-size: 1.5rem;
    }
.section-block p, .section-block li {
      color: var(--text);
      opacity: 0.92;
      line-height: 1.75;
    }
.section-block i.fa, .section-block i.fa-solid {
      color: var(--primary);
    }
.list-checked {
      list-style: none;
      padding-left: 0.25rem;
    }
.list-checked li {
      margin-bottom: 0.7rem;
    }
.list-checked i {
      margin-right: 0.75rem;
      color: var(--accent);
      width: 1.2rem;
    }
.badge-soft {
      background: rgba(6,182,212,0.12);
      color: var(--primary);
      font-weight: 600;
      padding: 0.25rem 1rem;
      border-radius: 30px;
      border: 1px solid rgba(6,182,212,0.25);
      font-size: 0.8rem;
    }
.stat-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(160px,1fr));
      gap: 1rem;
      margin-top: 1.8rem;
    }
.stat-item {
      background: var(--bg);
      border-radius: 18px;
      padding: 1.2rem 0.8rem;
      text-align: center;
      border: 1px solid var(--border);
    }
.stat-item .num {
      font-size: 1.9rem;
      font-weight: 800;
      color: var(--primary);
      line-height: 1.2;
    }
.stat-item .label {
      font-size: 0.85rem;
      color: var(--text);
      opacity: 0.75;
      margin-top: 0.2rem;
    }
/* 与首页导航统一 */
    .navbar {
      background: rgba(255,255,255,0.9);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--border);
    }
.nav-link.active {
      color: var(--primary) !important;
      font-weight: 700;
    }

/* --- 子页面追加 --- */
.rank-table { width: 100%; border-collapse: collapse; margin-bottom: 2rem; }
.rank-table th { background: var(--primary); color: #fff; padding: 12px 16px; text-align: left; font-weight: 600; }
.rank-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.rank-table tr:hover td { background: rgba(37, 99, 235, 0.05); }
.rank-num { font-size: 1.4rem; font-weight: 800; color: var(--primary); width: 60px; }
.rank-num.top1 { color: #f59e0b; }
.rank-num.top2 { color: #94a3b8; }
.rank-num.top3 { color: #b45309; }
.rank-title { font-weight: 600; color: var(--text); }
.rank-score { font-weight: 700; color: var(--accent); white-space: nowrap; }
.rank-tag { display: inline-block; padding: 2px 10px; border-radius: 12px; font-size: 0.75rem; font-weight: 600; margin-right: 6px; }
.tag-hot { background: #fee2e2; color: #dc2626; }
.tag-new { background: #dbeafe; color: #2563eb; }
.tag-end { background: #fef3c7; color: #d97706; }
.rank-badge { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 700; background: var(--primary); color: #fff; margin-bottom: 1.5rem; }
.rank-section { margin-bottom: 3rem; }
.rank-section-title { font-size: 1.5rem; font-weight: 700; color: var(--text); margin-bottom: 1.2rem; display: flex; align-items: center; gap: 10px; }
.rank-section-title i { color: var(--accent); }
.rank-up { color: #16a34a; font-weight: 600; font-size: 0.85rem; }
.rank-down { color: #dc2626; font-weight: 600; font-size: 0.85rem; }
.rank-stable { color: #94a3b8; font-weight: 600; font-size: 0.85rem; }
.trend-icon { margin-right: 4px; }
.pagination { margin-top: 2rem; justify-content: center; }
.pagination .page-link { background: var(--card-bg); color: var(--text); border-color: var(--border); }
.pagination .page-item.active .page-link { background: var(--primary); border-color: var(--primary); color: #fff; }
.rank-note { font-size: 0.85rem; color: #6b7280; margin-top: 1rem; border-left: 3px solid var(--accent); padding-left: 12px; }
.rank-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 2rem; }
.rank-filter .filter-btn { padding: 6px 18px; border-radius: 20px; border: 1px solid var(--border); background: var(--card-bg); color: var(--text); font-size: 0.9rem; font-weight: 500; cursor: pointer; transition: all 0.3s; }
.rank-filter .filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.rank-filter .filter-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.rank-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 2rem; }
.rank-grid { grid-template-columns: 1fr; }

/* --- Bootstrap 组件配色适配(程序自动补,避免白底黑字) --- */
.card-body { background:transparent !important; color:#0f1e3d !important; }
.accordion-body { background:transparent !important; color:#0f1e3d !important; }
.accordion-header { background:transparent !important; }
