:root {
      --primary: #2563eb;
      --accent: #06b6d4;
      --bg: #f4f8ff;
      --text: #0f1e3d;
      --radius-lg: 24px;
      --radius-md: 18px;
      --shadow-soft: 0 12px 30px rgba(37, 99, 235, 0.08);
      --shadow-hover: 0 20px 40px rgba(37, 99, 235, 0.18);
      --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
      --font-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
    }
    body {
      background-color: var(--bg);
      color: var(--text);
      font-family: var(--font-sans);
      line-height: 1.7;
    }
    h1, h2, h3, h4, .navbar-brand, .hero-title {
      font-weight: 800;
      letter-spacing: -0.01em;
    }
    /* 大圆角柔和弥散阴影 */
    .card, .list-group-item, .hero-box, .rank-card, .category-badge, .toast-box {
      border-radius: var(--radius-lg) !important;
      box-shadow: var(--shadow-soft);
      transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
      border: none;
      background: white;
    }
    .card:hover, .rank-card:hover {
      transform: translateY(-8px);
      box-shadow: var(--shadow-hover);
    }
    .navbar {
      background: rgba(255, 255, 255, 0.75);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(37, 99, 235, 0.1);
      padding-top: 12px;
      padding-bottom: 12px;
    }
    .navbar-brand {
      font-weight: 900;
      font-size: 1.6rem;
      color: var(--primary) !important;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .nav-link {
      font-weight: 500;
      color: var(--text);
      margin: 0 8px;
      border-radius: 50px;
      padding: 6px 16px !important;
      transition: all 0.2s;
    }
    .nav-link:hover {
      color: var(--primary);
      background: rgba(37, 99, 235, 0.06);
    }
    /* hero打字机 */
    .hero-title {
      font-size: 3.2rem;
      font-weight: 900;
      line-height: 1.2;
      background: linear-gradient(135deg, var(--primary), var(--accent));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      min-height: 4rem;
    }
    .typewriter-cursor {
      display: inline-block;
      width: 4px;
      background-color: var(--primary);
      animation: blink 0.8s step-end infinite;
      border-radius: 4px;
    }
    @keyframes blink { 50% { opacity: 0; } }
    /* 区块间距 */
    .section-title {
      font-weight: 800;
      margin-bottom: 20px;
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .section-title i {
      color: var(--primary);
    }
    /* 横向滚动 */
    .h-scroll {
      display: flex;
      overflow-x: auto;
      gap: 20px;
      padding-bottom: 16px;
      scrollbar-width: thin;
      scrollbar-color: var(--primary) #e0eaff;
    }
    .h-scroll::-webkit-scrollbar { height: 8px; }
    .h-scroll::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 8px; }
    .h-scroll .card {
      flex: 0 0 220px;
      border-radius: var(--radius-lg);
      overflow: hidden;
    }
    .card-img-top {
      height: 260px;
      object-fit: cover;
      background: linear-gradient(145deg, #dce7ff, #ffffff);
    }
    .badge-corner {
      position: absolute;
      top: 12px;
      left: 12px;
      background: rgba(15, 30, 61, 0.75);
      color: white;
      font-size: 0.75rem;
      padding: 4px 10px;
      border-radius: 30px;
      backdrop-filter: blur(4px);
      font-weight: 600;
    }
    .rating-badge {
      background: rgba(37, 99, 235, 0.2);
      color: var(--primary);
      font-weight: 700;
      border-radius: 50px;
      padding: 2px 12px;
      font-size: 0.85rem;
    }
    .rank-number {
      font-family: var(--font-mono);
      font-size: 1.5rem;
      font-weight: 800;
      color: var(--accent);
      margin-right: 10px;
    }
    .list-group-item {
      background: transparent;
      padding: 10px 0;
      border-bottom: 1px dashed rgba(37,99,235,0.1);
    }
    .footer {
      background: white;
      border-top: 1px solid rgba(0,0,0,0.05);
      padding: 32px 0;
      margin-top: 50px;
    }
    /* 对比表格 */
    .compare-table {
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: var(--shadow-soft);
    }
    .compare-table th, .compare-table td {
      padding: 14px 16px;
      background: white;
    }
    .compare-table thead th {
      background: rgba(37,99,235,0.05);
      font-weight: 700;
    }
    /* 回到顶部 */
    #backToTop {
      position: fixed;
      bottom: 30px;
      right: 30px;
      width: 46px;
      height: 46px;
      border-radius: 50%;
      background: var(--primary);
      color: white;
      border: none;
      box-shadow: 0 8px 20px rgba(37,99,235,0.3);
      opacity: 0;
      visibility: hidden;
      transition: 0.3s;
      font-size: 1.2rem;
      z-index: 999;
    }
    #backToTop.show {
      opacity: 1;
      visibility: visible;
    }
    /* 抽屉弹窗 */
    .drawer-overlay {
      position: fixed;
      top:0; left:0; width:100%; height:100%;
      background: rgba(15,30,61,0.5);
      backdrop-filter: blur(4px);
      z-index: 1050;
      opacity: 0;
      visibility: hidden;
      transition: 0.3s;
    }
    .drawer-panel {
      position: fixed;
      bottom: 0; left: 0;
      width: 100%;
      max-height: 70vh;
      background: white;
      border-radius: 28px 28px 0 0;
      padding: 28px 24px 32px;
      box-shadow: 0 -10px 40px rgba(0,0,0,0.12);
      transform: translateY(100%);
      transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
      z-index: 1060;
      overflow-y: auto;
    }
    .drawer-panel.open { transform: translateY(0); }
    .drawer-overlay.show { opacity: 1; visibility: visible; }
    .close-drawer {
      background: none;
      border: none;
      font-size: 1.8rem;
      line-height: 1;
      color: var(--text);
      opacity: 0.6;
    }
    .close-drawer:hover { opacity: 1; }
    /* 等宽数据 */
    .mono-data {
      font-family: var(--font-mono);
      background: rgba(6,182,212,0.1);
      padding: 2px 10px;
      border-radius: 30px;
      font-size: 0.9rem;
    }
    /* 错落渐显动画 */
    .card-enter {
      animation: fadeSlideIn 0.6s ease forwards;
      opacity: 0;
      animation-delay: calc(var(--delay) * 0.05s);
    }
    @keyframes fadeSlideIn {
      0% { opacity: 0; transform: translateY(30px); }
      100% { opacity: 1; transform: translateY(0); }
    }
    /* 推荐专题卡片 */
    .theme-card {
      background: linear-gradient(145deg, #ffffff, #eef4ff);
      border-radius: var(--radius-lg);
      padding: 22px;
    }

/* --- 子页面追加 --- */
/* 确保Bootstrap组件与站点深色/浅色体系一致 */
    .about-section {
      background: var(--bg);
    }
.about-card {
      background: #ffffff;
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-soft);
      padding: 2.2rem;
      transition: transform .2s, box-shadow .2s;
      border: 1px solid rgba(37,99,235,.08);
      height: 100%;
    }
.about-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
    }
.about-card i {
      color: var(--primary);
    }
.stats-badge {
      background: rgba(37,99,235,.08);
      color: var(--primary);
      border-radius: 50px;
      padding: .35rem 1.1rem;
      font-weight: 600;
      font-size: .85rem;
      display: inline-block;
    }
.nav-link.active-about {
      color: var(--primary) !important;
      font-weight: 700;
    }
/* 覆盖 bootstrap 卡片默认白底（已使用自定义类，此处保险） */
    .card, .card-body { background: transparent; color: var(--text); }
.footer a { color: var(--text); opacity: .8; text-decoration: none; }
.footer a:hover { opacity: 1; color: var(--primary); }
/* 品牌名完整连续 */
    .brand-underline { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 5px; }

/* --- 子页面追加 --- */
/* 确保任何 bootstrap 组件不会破坏站点配色 (稳妥起见不用 bootstrap 组件类) */
    body {
      font-family: var(--font-sans);
      background-color: var(--bg);
      color: var(--text);
    }
/* 针对“更多”页的定制补充 */
    .page-hero {
      background: linear-gradient(145deg, rgba(37,99,235,0.05), rgba(6,182,212,0.08));
      border-radius: var(--radius-lg);
      padding: 2.8rem 2.2rem;
      margin-top: 1.5rem;
    }
.feature-chip {
      display: inline-block;
      background: rgba(37,99,235,0.08);
      color: var(--primary);
      padding: 0.35rem 1rem;
      border-radius: 40px;
      font-weight: 500;
      font-size: 0.85rem;
      margin-right: 0.4rem;
      margin-bottom: 0.5rem;
      border: 1px solid rgba(37,99,235,0.15);
    }
.subhead-accent {
      border-left: 5px solid var(--accent);
      padding-left: 1.2rem;
      margin-bottom: 1.8rem;
    }
.movie-tag {
      background: white;
      box-shadow: var(--shadow-soft);
      border-radius: var(--radius-md);
      padding: 1.2rem 1.5rem;
      transition: 0.25s ease;
      height: 100%;
      border: 1px solid rgba(37,99,235,0.05);
    }
.movie-tag:hover {
      box-shadow: var(--shadow-hover);
      transform: translateY(-4px);
      border-color: rgba(37,99,235,0.2);
    }
.movie-tag i {
      color: var(--primary);
      font-size: 1.6rem;
      margin-bottom: 0.6rem;
    }
.step-number {
      background: var(--primary);
      color: white;
      width: 28px;
      height: 28px;
      border-radius: 30px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      font-size: 0.9rem;
      margin-right: 0.5rem;
    }
.editor-pick {
      background: white;
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-soft);
      padding: 1.8rem;
      margin-bottom: 1.2rem;
    }
.badge-custom {
      background: var(--accent);
      color: white;
      padding: 0.3rem 0.9rem;
      border-radius: 40px;
      font-size: 0.8rem;
      font-weight: 600;
    }
.genre-link {
      color: var(--primary);
      text-decoration: none;
      font-weight: 500;
      border-bottom: 2px dotted transparent;
    }
.genre-link:hover {
      border-bottom-color: var(--primary);
    }
/* 列表组覆盖 (不使用 .list-group 以防默认白底) */
    .custom-list-item {
      background: transparent;
      padding: 0.75rem 0;
      border-bottom: 1px dashed rgba(37,99,235,0.2);
      color: var(--text);
    }
.footer-links a {
      color: var(--text);
      opacity: 0.75;
      text-decoration: none;
      margin: 0 0.8rem;
      font-size: 0.9rem;
    }
.footer-links a:hover { opacity: 1; }

/* --- 子页面追加 --- */
/* 本页少量专属样式：让更多页保持与首页一致的呼吸感 */
    .category-hero {
      background: linear-gradient(135deg, rgba(37,99,235,0.06) 0%, rgba(6,182,212,0.04) 100%);
      border-radius: var(--radius-lg);
      padding: 2.5rem 2rem;
      margin: 2rem 0 1.5rem;
      border: 1px solid rgba(37,99,235,0.12);
    }
.feature-card {
      background: var(--bg);
      border-radius: var(--radius-md);
      box-shadow: var(--shadow-soft);
      transition: box-shadow .2s ease;
      height: 100%;
      padding: 1.8rem 1.5rem;
      border: 1px solid rgba(37,99,235,0.08);
    }
.feature-card:hover {
      box-shadow: var(--shadow-hover);
    }
.feature-icon {
      width: 52px; height: 52px;
      border-radius: 16px;
      background: rgba(37,99,235,0.08);
      display: flex; align-items: center; justify-content: center;
      font-size: 1.6rem; color: var(--primary);
      margin-bottom: 1rem;
    }
.section-spacer { padding-top: 2.5rem; padding-bottom: 1rem; }
.info-list li {
      margin-bottom: 0.75rem;
      padding-left: 1.8rem;
      position: relative;
      color: #2d3a5e;
      font-weight: 450;
    }
.info-list li::before {
      content: "\f058";
      font-family: "Font Awesome 6 Free"; font-weight: 900;
      position: absolute; left: 0; top: 0;
      color: var(--primary);
    }
.text-soft { color: #4b5a7a; }
/* 让 bootstrap 卡片/表单类自动适配本站 —— 虽未直接用 .card 但仍做防御性覆盖 */
    .card, .card-body, .card-header, .card-footer { background: var(--bg); color: var(--text); border-color: #dbe4f3; }
.form-control, .form-select { background: white; color: var(--text); border-color: #d0dcef; }
.form-control::placeholder { color: #9aa9c3; }

/* --- 子页面追加 --- */
/* 本页专属微调 — 保证组件配色与站点一致，避免Bootstrap默认白底黑字 */
    .disclaimer-card, .disclaimer-card .card-body {
      background: var(--bg);
      color: var(--text);
      border: 1px solid rgba(37, 99, 235, 0.15);
      border-radius: var(--radius-md);
      box-shadow: var(--shadow-soft);
    }
.disclaimer-card .card-title {
      color: var(--primary);
      font-weight: 700;
    }
.disclaimer-card .card-text, .disclaimer-card li {
      color: var(--text);
    }
.list-group-item:hover {
      background: rgba(37, 99, 235, 0.04);
    }
.btn-outline-primary {
      border-color: var(--primary);
      color: var(--primary);
    }
.btn-outline-primary:hover {
      background: var(--primary);
      color: #fff;
    }
.badge-soft {
      background: rgba(6, 182, 212, 0.12);
      color: var(--primary);
      font-weight: 500;
      padding: 0.35rem 0.75rem;
      border-radius: 50px;
    }

/* --- Bootstrap 组件配色适配(程序自动补,避免白底黑字) --- */
.table { color:#0f1e3d !important; border-color:rgba(0,0,0,.12) !important; --bs-table-bg:transparent !important; --bs-table-color:#0f1e3d !important; }
