:root {
    --primary: #dc2626;
    --accent: #fb923c;
    --bg: #141013;
    --text: #fef2f2;
    --border: #3a2a2e;
    --muted: #b8a2a2;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    font-size: 14px;
    line-height: 1.6;
  }
  a { text-decoration: none; color: var(--text); transition: opacity 0.2s; }
  a:hover { color: var(--accent); opacity: 0.9; }

  /* 导航 */
  .navbar-custom {
    background: rgba(20,16,19,0.98);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(8px);
  }
  .navbar-brand {
    font-weight: 900;
    font-size: 22px;
    letter-spacing: 1px;
    color: var(--text) !important;
  }
  .navbar-brand i { color: var(--primary); margin-right: 6px; }
  .nav-link {
    color: var(--muted) !important;
    font-weight: 500;
    padding: 6px 14px !important;
    border-radius: 20px;
    font-size: 13px;
    transition: all 0.2s;
  }
  .nav-link:hover { color: var(--text) !important; background: rgba(220,38,38,0.1); }
  .navbar-toggler { border-color: var(--border); background: transparent; }
  .navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(254,242,242,0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }

  /* Hero */
  .hero-tags {
    padding: 40px 0 20px;
    border-bottom: 1px solid var(--border);
  }
  .tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: center;
  }
  .tag-item {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid var(--border);
    border-radius: 30px;
    font-size: 13px;
    color: var(--muted);
    background: transparent;
    cursor: default;
    transition: all 0.3s;
    animation: floatTag 6s ease-in-out infinite;
  }
  .tag-item:hover {
    color: var(--text);
    border-color: var(--primary);
    background: rgba(220,38,38,0.08);
    transform: scale(1.05);
  }
  .tag-item:nth-child(2) { animation-delay: 0.5s; }
  .tag-item:nth-child(3) { animation-delay: 1s; }
  .tag-item:nth-child(4) { animation-delay: 1.5s; }
  .tag-item:nth-child(5) { animation-delay: 2s; }
  .tag-item:nth-child(6) { animation-delay: 2.5s; }
  .tag-item:nth-child(7) { animation-delay: 3s; }
  .tag-item:nth-child(8) { animation-delay: 3.5s; }
  @keyframes floatTag {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
  }

  /* 区块标题 */
  .section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 36px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary);
  }
  .section-title {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.5px;
  }
  .section-title i { color: var(--primary); margin-right: 8px; }
  .section-more {
    font-size: 12px;
    color: var(--muted);
    font-weight: 500;
  }
  .section-more:hover { color: var(--accent); }

  /* 横向滚动区 */
  .hscroll {
    display: flex;
    overflow-x: auto;
    gap: 14px;
    padding: 8px 2px 16px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
  }
  .hscroll::-webkit-scrollbar { height: 4px; }
  .hscroll::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }

  /* 卡片 */
  .movie-card {
    flex: 0 0 auto;
    width: 140px;
    position: relative;
    cursor: pointer;
    transition: transform 0.25s, border-color 0.25s;
    border: 1px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    background: transparent;
  }
  .movie-card:hover {
    transform: scale(1.03);
    border-color: var(--primary);
  }
  .card-poster {
    width: 100%;
    aspect-ratio: 2/3;
    background: linear-gradient(145deg, #2a1e24, #1a1418);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
  }
  .card-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
  }
  .card-poster img.loaded { opacity: 1; }
  .card-poster .placeholder {
    position: absolute;
    font-size: 32px;
    color: rgba(254,242,242,0.2);
  }
  .card-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    background: rgba(220,38,38,0.85);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    backdrop-filter: blur(2px);
  }
  .card-rating {
    position: absolute;
    top: 6px;
    right: 6px;
    background: rgba(0,0,0,0.75);
    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 10px;
  }
  .card-info {
    padding: 8px 4px 4px;
  }
  .card-title {
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .card-meta {
    font-size: 11px;
    color: var(--muted);
    margin-top: 2px;
  }

  /* 排行榜 */
  .rank-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .rank-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: background 0.2s;
  }
  .rank-item:hover { background: rgba(220,38,38,0.05); border-color: var(--primary); }
  .rank-medal {
    font-size: 18px;
    font-weight: 900;
    width: 32px;
    text-align: center;
  }
  .rank-1 .rank-medal { color: #ffd700; }
  .rank-2 .rank-medal { color: #c0c0c0; }
  .rank-3 .rank-medal { color: #cd7f32; }
  .rank-4 .rank-medal, .rank-5 .rank-medal, .rank-6 .rank-medal, .rank-7 .rank-medal, .rank-8 .rank-medal { color: var(--muted); font-size: 14px; }
  .rank-info { flex: 1; min-width: 0; }
  .rank-name {
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .rank-score { font-size: 12px; color: var(--accent); font-weight: 700; }
  .rank-genre {
    font-size: 11px;
    color: var(--muted);
  }

  /* 标签页 */
  .tab-panel { display: none; }
  .tab-panel.active { display: block; }
  .pills-nav {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
  }
  .pill-btn {
    padding: 5px 16px;
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    background: transparent;
    cursor: pointer;
    transition: all 0.2s;
  }
  .pill-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
  }
  .pill-btn:hover { border-color: var(--primary); color: var(--text); }

  /* 时间线 */
  .timeline {
    position: relative;
    padding-left: 20px;
    margin: 20px 0;
  }
  .timeline::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary);
    opacity: 0.4;
  }
  .timeline-item {
    position: relative;
    margin-bottom: 20px;
  }
  .timeline-item::before {
    content: '';
    position: absolute;
    left: -18px;
    top: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
  }
  .timeline-date {
    font-size: 12px;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 0.5px;
  }
  .timeline-text {
    font-size: 14px;
    color: var(--text);
    margin-top: 2px;
  }

  /* 弹窗 */
  .modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 2000;
    backdrop-filter: blur(12px);
    justify-content: center;
    align-items: center;
    padding: 20px;
  }
  .modal-overlay.show { display: flex; }
  .modal-content {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    max-width: 700px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    padding: 32px;
    box-shadow: 0 0 60px rgba(220,38,38,0.2);
  }
  .modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 28px;
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
    z-index: 10;
  }
  .modal-close:hover { color: var(--primary); }
  .modal-poster-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    border-radius: 16px;
    z-index: 0;
  }
  .modal-body { position: relative; z-index: 1; }
  .modal-title {
    font-size: 26px;
    font-weight: 900;
    margin-bottom: 8px;
  }
  .modal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 12px;
  }
  .modal-rating {
    font-size: 20px;
    color: var(--accent);
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .modal-plot {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text);
    margin: 16px 0;
  }
  .modal-actors {
    font-size: 13px;
    color: var(--muted);
    margin-top: 8px;
  }
  .modal-director {
    font-size: 13px;
    color: var(--muted);
  }
  .badge-chip {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 11px;
    background: rgba(220,38,38,0.15);
    border: 1px solid rgba(220,38,38,0.3);
    color: var(--accent);
    margin-right: 6px;
    font-weight: 600;
  }

  /* 其他区块 */
  .related-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  .related-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 18px;
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 13px;
    transition: all 0.2s;
  }
  .related-link:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
  }
  .tips-list {
    list-style: none;
    padding: 0;
  }
  .tips-list li {
    padding: 10px 0;
    border-bottom: 1px dashed var(--border);
    display: flex;
    gap: 10px;
    align-items: flex-start;
  }
  .tips-list li i {
    color: var(--primary);
    margin-top: 4px;
  }

  .footer {
    background: #0d0a0c;
    border-top: 1px solid var(--border);
    padding: 40px 0 30px;
    margin-top: 50px;
  }
  .footer a { color: var(--muted); }
  .footer a:hover { color: var(--accent); }

  /* 计数器 */
  .stat-number {
    font-size: 24px;
    font-weight: 900;
    color: var(--accent);
  }

  /* 懒加载渐显 */
  .lazy-placeholder {
    background: linear-gradient(110deg, #1e1619 40%, #2a1e24 50%, #1e1619 60%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
  }
  @keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
  }

  @media (max-width: 768px) {
    .movie-card { width: 120px; }
    .card-title { font-size: 12px; }
    .section-title { font-size: 16px; }
    .modal-content { padding: 20px; }
    .modal-title { font-size: 20px; }
    .hero-tags { padding: 30px 0 14px; }
  }

/* --- 子页面追加 --- */
/* 本页专属微调 */
    .about-hero { padding: 80px 0 40px; }
.about-section { padding: 40px 0; }
.about-card {
      background: var(--border);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 24px;
      margin-bottom: 20px;
    }
.about-card h3 { color: var(--accent); font-weight: 700; margin-bottom: 12px; font-size: 1.2rem; }
.about-card p { color: var(--text); opacity: .9; line-height: 1.7; }
.about-card i { color: var(--primary); margin-right: 8px; }
.stat-label { color: var(--muted); font-size: .9rem; }
.about-quote {
      border-left: 4px solid var(--primary);
      padding: 12px 20px;
      background: rgba(220,38,38,.08);
      border-radius: 0 8px 8px 0;
      margin: 20px 0;
      font-style: italic;
      color: var(--text);
    }
.about-list { list-style: none; padding-left: 0; }
.about-list li { padding: 8px 0; color: var(--text); border-bottom: 1px solid rgba(255,255,255,.06); }
.about-list li i { color: var(--accent); margin-right: 10px; width: 20px; text-align: center; }

/* --- 子页面追加 --- */
/* 本页专属微调，沿用站内 CSS 变量 */
        .disclaimer-hero {
            background: linear-gradient(145deg, var(--bg) 20%, #1e1719 100%);
            border-bottom: 1px solid var(--border);
            padding: 3rem 0 2.5rem;
        }
.disclaimer-hero h1 {
            color: var(--text);
            font-weight: 800;
            letter-spacing: -0.02em;
        }
.disclaimer-hero .lead {
            color: var(--muted);
            max-width: 760px;
        }
.disclaimer-section {
            padding: 3.2rem 0;
            border-bottom: 1px solid var(--border);
        }
.disclaimer-section:last-of-type {
            border-bottom: none;
        }
.disclaimer-section h2 {
            color: var(--accent);
            font-weight: 700;
            font-size: 1.55rem;
            margin-bottom: 1.2rem;
            letter-spacing: -0.01em;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
.disclaimer-section h2 i {
            color: var(--primary);
            font-size: 1.3rem;
            width: 1.8rem;
        }
.disclaimer-section p, .disclaimer-section li {
            color: var(--text);
            font-weight: 300;
            line-height: 1.8;
            font-size: 0.98rem;
        }
.disclaimer-section ul {
            padding-left: 1.2rem;
            list-style-type: none;
        }
.disclaimer-section ul li {
            margin-bottom: 0.5rem;
            position: relative;
            padding-left: 1.3rem;
        }
.disclaimer-section ul li::before {
            content: "·";
            color: var(--primary);
            font-weight: 900;
            font-size: 1.4rem;
            position: absolute;
            left: 0;
            top: -0.2rem;
        }
.text-muted-custom {
            color: var(--muted) !important;
        }
.small-note {
            font-size: 0.85rem;
            color: var(--muted);
            border-left: 2px solid var(--border);
            padding-left: 1rem;
            margin-top: 1.5rem;
        }
.footer-link {
            color: var(--muted);
            text-decoration: none;
            transition: color 0.2s;
        }
.footer-link:hover {
            color: var(--accent);
        }
/* 覆盖 Bootstrap 默认白底 */
        .navbar, .navbar-collapse, .navbar-nav, .nav-item {
            background: transparent !important;
        }
.navbar .nav-link {
            color: var(--text) !important;
            background: transparent !important;
        }
.navbar .nav-link:hover,
        .navbar .nav-link.active {
            color: var(--accent) !important;
        }
.btn-outline-accent {
            border-color: var(--accent);
            color: var(--accent);
            background: transparent;
            transition: all 0.2s;
        }
.btn-outline-accent:hover {
            background: var(--accent);
            color: var(--bg);
            border-color: var(--accent);
        }
.bg-brand-soft {
            background-color: rgba(220, 38, 38, 0.08);
        }
.border-brand {
            border-color: var(--border) !important;
        }

/* --- 子页面追加 --- */
.guide-hero {
            background: linear-gradient(135deg, rgba(20,16,19,.95) 0%, rgba(220,38,38,.15) 100%);
            border-bottom: 1px solid var(--border);
            padding: 3.5rem 0 2.5rem;
        }
.guide-hero h1 {
            font-size: 2.4rem;
            font-weight: 800;
            color: var(--text);
            margin-bottom: .8rem;
        }
.guide-hero h1 span {
            color: var(--accent);
        }
.guide-hero p {
            color: var(--muted);
            font-size: 1.05rem;
            max-width: 720px;
            line-height: 1.8;
        }
.guide-section {
            padding: 3rem 0;
            border-bottom: 1px solid var(--border);
        }
.guide-section:last-child {
            border-bottom: none;
        }
.guide-section h2 {
            font-size: 1.6rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 1.5rem;
            padding-left: 1rem;
            border-left: 4px solid var(--primary);
        }
.guide-section h3 {
            font-size: 1.15rem;
            font-weight: 600;
            color: var(--text);
            margin: 1.5rem 0 .8rem;
        }
.guide-section p, .guide-section li {
            color: var(--muted);
            line-height: 1.85;
            font-size: .98rem;
        }
.guide-section ul, .guide-section ol {
            padding-left: 1.4rem;
            margin-bottom: 1rem;
        }
.guide-section li {
            margin-bottom: .45rem;
        }
.guide-step {
            display: flex;
            gap: 1rem;
            margin-bottom: 1.2rem;
            align-items: flex-start;
        }
.guide-step-num {
            background: var(--primary);
            color: #fff;
            min-width: 30px;
            height: 30px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: .9rem;
            margin-top: .2rem;
        }
.guide-step-content {
            flex: 1;
        }
.guide-tip {
            background: rgba(251,146,60,.08);
            border: 1px solid rgba(251,146,60,.2);
            border-radius: 8px;
            padding: 1rem 1.2rem;
            margin: 1.2rem 0;
            font-size: .95rem;
            color: var(--text);
        }
.guide-tip i {
            color: var(--accent);
            margin-right: .5rem;
        }
.guide-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 1.2rem;
            margin: 1.2rem 0;
        }
.guide-card {
            background: rgba(255,255,255,.03);
            border: 1px solid var(--border);
            border-radius: 10px;
            padding: 1.2rem 1.3rem;
            transition: border-color .3s;
        }
.guide-card:hover {
            border-color: var(--primary);
        }
.guide-card i {
            font-size: 1.4rem;
            color: var(--accent);
            margin-bottom: .6rem;
            display: block;
        }
.guide-card h4 {
            font-size: 1.05rem;
            font-weight: 600;
            color: var(--text);
            margin-bottom: .4rem;
        }
.guide-card p {
            font-size: .9rem;
            color: var(--muted);
            margin: 0;
        }
.faq-item {
            margin-bottom: 1.2rem;
            padding: 1.2rem;
            background: rgba(255,255,255,.02);
            border: 1px solid var(--border);
            border-radius: 8px;
        }
.faq-item h4 {
            color: var(--text);
            font-size: 1.05rem;
            font-weight: 600;
            margin-bottom: .4rem;
        }
.faq-item p {
            margin: 0;
            font-size: .95rem;
            color: var(--muted);
        }

/* --- 子页面追加 --- */
.privacy-content { max-width: 900px; margin: 0 auto; padding: 60px 20px 80px; }
.privacy-title { text-align: center; margin-bottom: 20px; font-size: 2.4rem; font-weight: 800; color: var(--text); }
.privacy-subtitle { text-align: center; color: var(--muted); margin-bottom: 60px; font-size: 1.1rem; }
.privacy-section { margin-bottom: 50px; }
.privacy-section h2 { color: var(--primary); font-size: 1.5rem; font-weight: 700; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--border); position: relative; }
.privacy-section h2::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 60px; height: 2px; background: var(--accent); }
.privacy-section p { color: var(--muted); line-height: 1.8; margin-bottom: 16px; font-size: 0.95rem; }
.privacy-section ul, .privacy-section ol { color: var(--muted); line-height: 1.8; margin-bottom: 16px; padding-left: 20px; }
.privacy-section li { margin-bottom: 8px; font-size: 0.95rem; }
.privacy-section strong { color: var(--text); }
.highlight-box { background: rgba(220, 38, 38, 0.08); border: 1px solid var(--border); border-radius: 8px; padding: 20px 24px; margin: 20px 0; }
.highlight-box p { margin-bottom: 0; }
.contact-box { background: rgba(251, 146, 60, 0.08); border: 1px solid var(--border); border-radius: 8px; padding: 24px; margin-top: 40px; }
.contact-box h3 { color: var(--accent); font-size: 1.2rem; margin-bottom: 16px; font-weight: 700; }
.contact-box p { color: var(--muted); margin-bottom: 8px; font-size: 0.95rem; }
.last-updated { text-align: center; color: var(--muted); font-size: 0.85rem; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); }