:root {
    --primary: #2563eb;
    --accent: #06b6d4;
    --bg: #f4f8ff;
    --text: #0f1e3d;
    --white: #ffffff;
    --border-color: #0f1e3d;
    --shadow-offset: 6px;
  }

  * {
    box-sizing: border-box;
  }

  body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Inter', '思源黑体', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
  }

  h1, h2, h3, h4, h5, h6, .serif-title {
    font-family: 'Inter', '思源宋体', Georgia, 'Times New Roman', serif;
    font-weight: 700;
  }

  /* 全直角硬朗风 */
  .sharp, .card, .btn, .navbar, .modal-content, .banner, .list-group-item {
    border-radius: 0 !important;
  }

  /* 块状硬阴影 */
  .hard-shadow {
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0 0 var(--border-color);
  }
  .hard-shadow-sm {
    box-shadow: 4px 4px 0 0 var(--border-color);
  }

  .btn-outline-dark {
    border: 2px solid var(--border-color);
    border-radius: 0;
    box-shadow: 3px 3px 0 0 var(--border-color);
    transition: all 0.15s ease;
  }
  .btn-outline-dark:hover {
    background-color: var(--primary);
    color: white;
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0 0 var(--border-color);
  }

  /* 导航 */
  .navbar {
    background: var(--white);
    border-bottom: 3px solid var(--border-color);
    padding: 0.75rem 1rem;
  }
  .navbar-brand {
    font-family: 'Inter', '思源宋体', serif;
    font-weight: 900;
    font-size: 1.6rem;
    color: var(--text) !important;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
  }
  .navbar-brand i {
    color: var(--primary);
    margin-right: 8px;
    font-size: 1.4rem;
  }
  .navbar-dark .navbar-nav .nav-link, .navbar-light .navbar-nav .nav-link {
    color: var(--text);
    font-weight: 600;
    margin: 0 8px;
    padding: 8px 12px;
    border: 2px solid transparent;
    transition: all 0.15s ease;
  }
  .navbar-light .navbar-nav .nav-link:hover, .navbar-light .navbar-nav .nav-link.active {
    border-bottom-color: var(--primary);
    color: var(--primary);
  }
  .navbar-toggler {
    border: 2px solid var(--border-color);
    border-radius: 0;
  }
  .navbar-toggler:focus {
    box-shadow: none;
  }

  /* 轮播 */
  .hero-carousel {
    border-bottom: 3px solid var(--border-color);
    background-color: var(--white);
    position: relative;
    overflow: hidden;
  }
  .carousel-item {
    height: 480px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    position: relative;
  }
  .carousel-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230f1e3d' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
  }
  .carousel-item .container {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: white;
  }
  .hero-title {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 16px;
    text-shadow: 4px 4px 0 rgba(0,0,0,0.3);
    background: linear-gradient(135deg, #fff 0%, #e0f2fe 50%, #fef08a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
  }
  .hero-sub {
    font-size: 1.15rem;
    max-width: 600px;
    margin-bottom: 24px;
    text-shadow: 2px 2px 0 rgba(0,0,0,0.2);
    font-weight: 400;
  }
  .hero-badge {
    display: inline-block;
    background: var(--white);
    color: var(--text);
    font-weight: 700;
    padding: 8px 20px;
    margin-right: 12px;
    border: 2px solid var(--border-color);
    box-shadow: 3px 3px 0 0 var(--border-color);
    font-size: 0.9rem;
  }
  .carousel-indicators [data-bs-target] {
    width: 30px;
    height: 8px;
    background-color: var(--text);
    border-radius: 0;
    border: 2px solid white;
  }
  .carousel-control-prev, .carousel-control-next {
    background-color: rgba(15,30,61,0.3);
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    border: 2px solid var(--white);
    border-radius: 0;
  }
  .carousel-control-prev { left: 30px; }
  .carousel-control-next { right: 30px; }

  /* 浮动装饰 */
  .float-decor {
    position: absolute;
    border: 3px solid rgba(255,255,255,0.5);
    transform: rotate(10deg);
    pointer-events: none;
    z-index: 1;
  }
  .float-decor-1 { width: 80px; height: 80px; top: 20%; right: 10%; background: rgba(255,255,255,0.1); animation: floatAnim 6s ease-in-out infinite; }
  .float-decor-2 { width: 50px; height: 50px; top: 60%; right: 25%; background: rgba(254,240,138,0.2); animation: floatAnim 8s ease-in-out infinite reverse; }
  .float-decor-3 { width: 30px; height: 30px; top: 30%; left: 15%; background: rgba(255,255,255,0.3); animation: floatAnim 5s ease-in-out infinite; }

  @keyframes floatAnim {
    0%, 100% { transform: translateY(0) rotate(10deg); }
    50% { transform: translateY(-20px) rotate(15deg); }
  }

  /* 区块 */
  .section-block {
    padding: 60px 0;
  }
  .section-header {
    margin-bottom: 40px;
    border-bottom: 3px solid var(--border-color);
    padding-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .section-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0;
    position: relative;
    padding-left: 20px;
  }
  .section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10%;
    height: 80%;
    width: 6px;
    background: var(--primary);
  }
  .section-more {
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    border: 2px solid var(--border-color);
    padding: 6px 16px;
    background: white;
    transition: all 0.15s;
  }
  .section-more:hover {
    background: var(--primary);
    color: white;
    text-decoration: none;
  }

  /* 影片卡片 */
  .movie-card {
    background: var(--white);
    border: 2px solid var(--border-color);
    box-shadow: 4px 4px 0 0 var(--border-color);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
    cursor: pointer;
    position: relative;
    overflow: hidden;
  }
  .movie-card:hover {
    transform: translate(-3px, -3px) scale(1.02);
    box-shadow: 8px 8px 0 0 var(--primary);
    border-color: var(--primary);
  }
  .movie-poster {
    position: relative;
    overflow: hidden;
    background: #e2e8f0;
    aspect-ratio: 2 / 3;
  }
  .movie-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
  }
  .movie-card:hover .movie-poster img {
    transform: scale(1.05);
  }
  .quality-tag {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(15,30,61,0.85);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    letter-spacing: 1px;
    z-index: 2;
  }
  .rating-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: var(--primary);
    color: white;
    font-weight: 800;
    font-size: 0.85rem;
    padding: 2px 8px;
    z-index: 2;
  }
  .movie-info {
    padding: 12px 12px 14px;
  }
  .movie-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: 'Inter', '思源宋体', serif;
  }
  .movie-meta {
    font-size: 0.8rem;
    color: #64748b;
    display: flex;
    justify-content: space-between;
  }

  /* 榜单 */
  .rank-list {
    background: white;
    border: 2px solid var(--border-color);
    box-shadow: 4px 4px 0 0 var(--border-color);
  }
  .rank-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px dashed #cbd5e1;
    transition: background 0.2s;
    cursor: pointer;
  }
  .rank-item:last-child { border-bottom: none; }
  .rank-item:hover { background: var(--bg); }
  .rank-num {
    font-family: 'Inter', '思源宋体', serif;
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--primary);
    width: 50px;
    text-align: center;
    margin-right: 16px;
  }
  .rank-item:nth-child(-n+3) .rank-num { color: var(--accent); }
  .rank-thumb {
    width: 45px;
    height: 60px;
    object-fit: cover;
    border: 1px solid var(--border-color);
    margin-right: 16px;
  }
  .rank-title {
    font-weight: 600;
    font-size: 0.95rem;
    flex: 1;
  }
  .rank-score {
    font-weight: 700;
    color: var(--primary);
    margin-left: 16px;
  }

  /* 分类海报矩阵 */
  .cat-tabs .btn {
    border: 2px solid var(--border-color);
    margin-right: 8px;
    margin-bottom: 8px;
    font-weight: 600;
    background: white;
  }
  .cat-tabs .btn.active, .cat-tabs .btn:hover {
    background: var(--primary);
    color: white;
    box-shadow: 3px 3px 0 0 var(--border-color);
  }

  /* 专题 */
  .topic-card {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: 2px solid var(--border-color);
    box-shadow: 6px 6px 0 0 var(--border-color);
    color: white;
    padding: 30px;
    position: relative;
    overflow: hidden;
  }
  .topic-card h3 {
    font-weight: 800;
    margin-bottom: 12px;
  }
  .topic-card p {
    opacity: 0.95;
    font-size: 0.95rem;
  }
  .topic-tags {
    margin-top: 16px;
  }
  .topic-tags span {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    border: 1px solid white;
    padding: 4px 12px;
    margin-right: 8px;
    font-size: 0.85rem;
    font-weight: 500;
  }

  /* 小贴士 */
  .tip-item {
    background: white;
    border: 2px solid var(--border-color);
    padding: 20px;
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    box-shadow: 3px 3px 0 0 var(--border-color);
  }
  .tip-icon {
    font-size: 1.6rem;
    color: var(--primary);
    margin-right: 16px;
    min-width: 40px;
    text-align: center;
  }
  .tip-item h5 {
    font-weight: 700;
    margin-bottom: 4px;
    font-size: 1rem;
  }
  .tip-item p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: #475569;
  }

  /* FAQ */
  .faq-item {
    background: white;
    border: 2px solid var(--border-color);
    margin-bottom: 12px;
  }
  .faq-question {
    padding: 16px 20px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid transparent;
    transition: all 0.2s;
    font-size: 1rem;
  }
  .faq-question:hover { background: var(--bg); }
  .faq-question i {
    color: var(--primary);
    transition: transform 0.2s;
  }
  .faq-question[aria-expanded="true"] {
    border-bottom-color: var(--border-color);
  }
  .faq-question[aria-expanded="true"] i {
    transform: rotate(45deg);
  }
  .faq-answer {
    padding: 16px 20px;
    font-size: 0.95rem;
    background: #f8fafc;
    color: #334155;
  }

  /* 友链 */
  .friend-links {
    background: var(--white);
    border-top: 3px solid var(--border-color);
    padding: 40px 0;
    margin-top: 40px;
  }
  .friend-links h4 {
    font-weight: 800;
    margin-bottom: 20px;
    font-size: 1.2rem;
  }
  .friend-links a {
    color: var(--text);
    text-decoration: none;
    margin-right: 20px;
    font-size: 0.9rem;
    border-bottom: 1px solid transparent;
  }
  .friend-links a:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
  }

  /* 页脚 */
  footer {
    background: var(--text);
    color: white;
    padding: 50px 0 30px;
    border-top: 4px solid var(--primary);
  }
  footer a {
    color: #cbd5e1;
    text-decoration: none;
  }
  footer a:hover {
    color: white;
  }
  .footer-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 16px;
    font-family: 'Inter', '思源宋体', serif;
  }
  .footer-links li {
    margin-bottom: 8px;
    list-style: none;
  }
  .copyright {
    border-top: 1px solid #334155;
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
    color: #94a3b8;
  }

  /* 弹窗 */
  .movie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1080;
    display: none;
    background: rgba(15,30,61,0.6);
    backdrop-filter: blur(4px);
  }
  .movie-modal.show {
    display: block;
  }
  .modal-drawer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    border-top: 4px solid var(--primary);
    transform: translateY(100%);
    transition: transform 0.3s ease;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 -8px 20px rgba(0,0,0,0.2);
  }
  .movie-modal.show .modal-drawer {
    transform: translateY(0);
  }
  .modal-drawer-header {
    padding: 20px 24px;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: white;
    z-index: 5;
  }
  .modal-drawer-body {
    padding: 24px;
  }
  .modal-close {
    background: none;
    border: 2px solid var(--border-color);
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.15s;
  }
  .modal-close:hover {
    background: var(--primary);
    color: white;
  }
  .movie-detail-plot {
    margin-top: 16px;
    font-size: 0.95rem;
    line-height: 1.8;
    color: #334155;
    background: var(--bg);
    padding: 16px;
    border-left: 4px solid var(--primary);
  }
  .detail-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin: 16px 0;
  }
  .detail-meta-item {
    background: var(--bg);
    padding: 10px;
    border: 1px solid #e2e8f0;
  }
  .detail-meta-item span {
    display: block;
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  .detail-meta-item strong {
    font-size: 0.95rem;
  }

  /* 滚动动画 */
  .fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  .fade-up.show {
    opacity: 1;
    transform: translateY(0);
  }

  /* Hero parallax */
  .parallax-section {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }

  @media (max-width: 768px) {
    .carousel-item { height: 380px; }
    .hero-title { font-size: 2.2rem; }
    .section-block { padding: 40px 0; }
    .carousel-control-prev { left: 10px; }
    .carousel-control-next { right: 10px; }
  }

  @media (max-width: 576px) {
    .carousel-item { height: 320px; }
    .hero-title { font-size: 1.8rem; }
    .hero-sub { font-size: 0.95rem; }
  }

/* --- 子页面追加 --- */
.doc-hero {
            padding: 60px 0 40px;
            background: linear-gradient(135deg, #e8f0ff 0%, #f4f8ff 50%, #e0f7fa 100%);
        }
.doc-hero h1 {
            font-size: 2.5rem;
            font-weight: 800;
            margin-bottom: 16px;
        }
.doc-hero .lead {
            font-size: 1.1rem;
            color: #4a5568;
            max-width: 700px;
            margin: 0 auto;
        }
.doc-section {
            padding: 50px 0;
            border-bottom: 1px solid rgba(15, 30, 61, 0.08);
        }
.doc-section-title {
            font-size: 1.6rem;
            font-weight: 700;
            margin-bottom: 24px;
            display: flex;
            align-items: center;
            gap: 12px;
        }
.doc-section-title i {
            color: var(--primary);
        }
.doc-card {
            background: var(--white);
            border: 2px solid var(--border-color);
            border-radius: 12px;
            padding: 24px;
            box-shadow: var(--shadow-offset) var(--shadow-offset) 0 rgba(15, 30, 61, 0.1);
            height: 100%;
            transition: transform 0.2s;
        }
.doc-card:hover {
            transform: translate(-2px, -2px);
            box-shadow: calc(var(--shadow-offset) + 2px) calc(var(--shadow-offset) + 2px) 0 rgba(15, 30, 61, 0.12);
        }
.doc-card h3 {
            font-size: 1.1rem;
            font-weight: 700;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
.doc-card h3 i {
            color: var(--accent);
        }
.doc-card p {
            color: #4a5568;
            font-size: 0.95rem;
            line-height: 1.7;
            margin-bottom: 0;
        }
.doc-feature-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }
.doc-feature-list li {
            padding: 10px 0;
            border-bottom: 1px dashed rgba(15, 30, 61, 0.1);
            display: flex;
            align-items: center;
            gap: 12px;
        }
.doc-feature-list li:last-child {
            border-bottom: none;
        }
.doc-feature-list i {
            color: var(--primary);
            width: 24px;
            text-align: center;
        }
.doc-update-note {
            background: var(--bg);
            border: 2px solid var(--border-color);
            border-radius: 12px;
            padding: 20px 24px;
            margin-top: 30px;
            font-size: 0.95rem;
            display: flex;
            align-items: center;
            gap: 12px;
        }
.doc-update-note i {
            color: var(--accent);
            font-size: 1.3rem;
        }
.doc-tag {
            display: inline-block;
            background: var(--primary);
            color: var(--white);
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 500;
            margin-right: 8px;
            margin-bottom: 8px;
        }
.doc-tag-outline {
            display: inline-block;
            border: 1.5px solid var(--primary);
            color: var(--primary);
            padding: 3px 12px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 500;
            margin-right: 8px;
            margin-bottom: 8px;
            background: transparent;
        }
.doc-hero h1 {
                font-size: 1.9rem;
            }
.doc-section-title {
                font-size: 1.3rem;
            }
.doc-card {
                padding: 18px;
            }

/* --- 子页面追加 --- */
.rank-hero {
            background: linear-gradient(135deg, var(--bg) 0%, #e0ecff 100%);
            padding: 60px 0 40px;
            border-bottom: 3px solid var(--border-color);
            position: relative;
            overflow: hidden;
        }
.rank-hero::before {
            content: '🏆';
            position: absolute;
            right: -20px;
            top: -10px;
            font-size: 120px;
            opacity: 0.08;
            transform: rotate(-15deg);
        }
.rank-badge {
            display: inline-block;
            background: var(--primary);
            color: var(--white);
            font-weight: 700;
            padding: 4px 14px;
            font-size: 14px;
            border-radius: 30px;
            margin-bottom: 16px;
            letter-spacing: 1px;
            box-shadow: 3px 3px 0 var(--border-color);
        }
.rank-subtitle {
            font-size: 17px;
            color: #55607a;
            max-width: 640px;
            line-height: 1.7;
        }
.rank-section {
            padding: 50px 0;
        }
.rank-section-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 30px;
            border-bottom: 3px solid var(--border-color);
            padding-bottom: 14px;
        }
.rank-section-title {
            font-size: 26px;
            font-weight: 800;
            color: var(--text);
            margin: 0;
            display: flex;
            align-items: center;
            gap: 10px;
        }
.rank-section-title i {
            color: var(--primary);
        }
.rank-section-sub {
            font-size: 14px;
            color: #77819c;
            font-weight: 500;
        }
.rank-card {
            background: var(--white);
            border: 2px solid var(--border-color);
            border-radius: 12px;
            padding: 20px;
            margin-bottom: 20px;
            box-shadow: var(--shadow-offset) var(--shadow-offset) 0 rgba(15, 30, 61, 0.12);
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }
.rank-card:hover {
            transform: translate(-2px, -2px);
            box-shadow: 8px 8px 0 rgba(15, 30, 61, 0.15);
        }
.rank-number {
            font-size: 32px;
            font-weight: 900;
            color: #b8c6e0;
            min-width: 52px;
            text-align: center;
            font-style: italic;
            line-height: 1;
        }
.rank-item:nth-child(1) .rank-number,
        .rank-item:nth-child(2) .rank-number,
        .rank-item:nth-child(3) .rank-number {
            color: var(--primary);
            font-size: 38px;
        }
.rank-item-info {
            flex: 1;
        }
.rank-item-title {
            font-size: 17px;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 4px;
        }
.rank-item-meta {
            font-size: 13px;
            color: #77819c;
        }
.rank-item-score {
            background: var(--accent);
            color: var(--white);
            font-weight: 800;
            padding: 6px 14px;
            border-radius: 8px;
            font-size: 18px;
            box-shadow: 3px 3px 0 rgba(15, 30, 61, 0.15);
            min-width: 64px;
            text-align: center;
        }
.rank-tag {
            display: inline-block;
            background: rgba(37, 99, 235, 0.1);
            color: var(--primary);
            font-size: 12px;
            font-weight: 600;
            padding: 2px 10px;
            border-radius: 20px;
            margin-left: 8px;
            vertical-align: 2px;
        }
.rank-tag.hot {
            background: rgba(239, 68, 68, 0.1);
            color: #ef4444;
        }
.rank-tag.new {
            background: rgba(6, 182, 212, 0.1);
            color: #0891b2;
        }
.rank-tip {
            background: rgba(37, 99, 235, 0.06);
            border-left: 4px solid var(--primary);
            padding: 16px 20px;
            border-radius: 0 10px 10px 0;
            margin: 30px 0;
            font-size: 15px;
            color: #4a5678;
            line-height: 1.7;
        }
.rank-tip strong {
            color: var(--primary);
        }
.rank-note {
            text-align: center;
            padding: 40px 0 10px;
            color: #77819c;
            font-size: 14px;
        }
.rank-note i {
            margin-right: 6px;
            color: var(--primary);
        }
.rank-section-title {
                font-size: 20px;
            }
.rank-number {
                font-size: 24px;
                min-width: 36px;
            }
.rank-item:nth-child(1) .rank-number,
            .rank-item:nth-child(2) .rank-number,
            .rank-item:nth-child(3) .rank-number {
                font-size: 28px;
            }
.rank-item-score {
                font-size: 15px;
                padding: 4px 10px;
                min-width: 52px;
            }
.rank-item-title {
                font-size: 15px;
            }
.rank-section-sub {
                display: none;
            }

/* --- 子页面追加 --- */
/* 覆盖 Bootstrap 组件默认白底, 与本站点配色统一 */
        .search-form-wrapper {
            background: var(--bg);
            border: 2px solid var(--border-color);
            box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--border-color);
            padding: 2rem 1.5rem;
            border-radius: 12px;
        }
.form-control, .form-select {
            background: rgba(255, 255, 255, 0.7);
            border: 2px solid var(--border-color);
            color: var(--text);
            font-weight: 500;
            border-radius: 8px;
            padding: 0.6rem 1rem;
        }
.form-control:focus, .form-select:focus {
            background: white;
            border-color: var(--primary);
            box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.1);
        }
.form-control::placeholder {
            color: rgba(15, 30, 61, 0.5);
            font-weight: 400;
        }
.form-select {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%230f1e3d' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
            background-repeat: no-repeat;
            background-position: right 0.75rem center;
            background-size: 16px 12px;
        }
.search-btn {
            background: var(--primary);
            border: 2px solid var(--border-color);
            color: white;
            font-weight: 600;
            padding: 0.6rem 1.5rem;
            border-radius: 8px;
            box-shadow: 3px 3px 0 var(--border-color);
            transition: all 0.15s ease;
            white-space: nowrap;
        }
.search-btn:hover {
            background: var(--accent);
            transform: translate(-1px, -1px);
            box-shadow: 5px 5px 0 var(--border-color);
            color: #fff;
        }
.filter-tag {
            background: var(--white);
            border: 2px solid var(--border-color);
            border-radius: 30px;
            padding: 0.25rem 1rem;
            font-size: 0.85rem;
            font-weight: 500;
            color: var(--text);
            cursor: pointer;
            transition: all 0.1s;
        }
.filter-tag.active, .filter-tag:hover {
            background: var(--primary);
            color: white;
            border-color: var(--border-color);
        }
.result-card {
            background: var(--white);
            border: 2px solid var(--border-color);
            border-radius: 12px;
            box-shadow: 4px 4px 0 rgba(15, 30, 61, 0.1);
            transition: transform 0.15s, box-shadow 0.15s;
        }
.result-card:hover {
            transform: translate(-2px, -2px);
            box-shadow: 6px 6px 0 rgba(15, 30, 61, 0.15);
        }
.result-poster {
            border-radius: 8px 0 0 8px;
            object-fit: cover;
            height: 100%;
            min-height: 160px;
            background: var(--bg);
        }
.result-title {
            font-weight: 700;
            color: var(--text);
        }
.result-meta {
            font-size: 0.85rem;
            color: #3b4a6b;
        }
.quality-badge {
            background: var(--accent);
            color: #fff;
            font-size: 0.7rem;
            font-weight: 600;
            padding: 0.15rem 0.6rem;
            border-radius: 20px;
            letter-spacing: 0.3px;
        }
.type-badge {
            background: var(--primary);
            color: #fff;
            font-size: 0.7rem;
            font-weight: 600;
            padding: 0.15rem 0.6rem;
            border-radius: 20px;
        }
.search-divider {
            border-top: 2px dashed var(--border-color);
            opacity: 0.4;
            margin: 1.8rem 0;
        }

/* --- 子页面追加 --- */
/* 本页专属微调 —— 保持站点风格 */
        .today-hero {
            background: linear-gradient(135deg, rgba(37,99,235,.08) 0%, rgba(6,182,212,.06) 100%);
            border-bottom: 2px solid var(--border-color);
            padding: 2.5rem 0 1.8rem;
        }
.update-card {
            background: var(--white);
            border: 2px solid var(--border-color);
            box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--border-color);
            transition: all .2s ease;
            height: 100%;
        }
.update-card:hover {
            transform: translate(-2px, -2px);
            box-shadow: calc(var(--shadow-offset) + 2px) calc(var(--shadow-offset) + 2px) 0 var(--primary);
        }
.update-badge {
            background: var(--primary);
            color: #fff;
            font-size: .7rem;
            font-weight: 700;
            padding: .2rem .7rem;
            border: 1.5px solid var(--border-color);
            letter-spacing: .5px;
        }
.update-title {
            font-weight: 700;
            color: var(--text);
            font-size: 1.1rem;
            line-height: 1.4;
            margin-bottom: .4rem;
        }
.update-meta {
            font-size: .8rem;
            color: #3a4b6b;
            border-top: 1px dashed #b0c4de;
            padding-top: .6rem;
            margin-top: .6rem;
        }
.day-divider {
            display: flex;
            align-items: center;
            gap: .8rem;
            margin: 2rem 0 1.2rem;
            font-weight: 800;
            color: var(--primary);
            text-transform: uppercase;
            letter-spacing: .5px;
            font-size: 1.1rem;
        }
.day-divider::after {
            content: "";
            flex: 1;
            height: 2px;
            background: var(--border-color);
            opacity: .15;
        }
.genre-tag {
            background: rgba(6,182,212,.08);
            color: var(--accent);
            font-weight: 600;
            font-size: .75rem;
            padding: .15rem .6rem;
            border-radius: 0;
            border: 1px solid rgba(6,182,212,.3);
        }
.list-unstyled li {
            margin-bottom: .45rem;
        }

/* --- 子页面追加 --- */
/* 本页专属样式 */
        .hot-hero {
            background: linear-gradient(135deg, #0f1e3d 0%, #2563eb 100%);
            padding: 60px 0 80px;
            position: relative;
            overflow: hidden;
        }
.hot-hero .hero-badge {
            display: inline-block;
            background: var(--accent);
            color: var(--white);
            padding: 4px 16px;
            font-size: 14px;
            font-weight: 600;
            border-radius: 4px;
            margin-bottom: 16px;
            letter-spacing: 1px;
        }
.hot-hero h1 {
            color: var(--white);
            font-size: 42px;
            font-weight: 900;
            margin-bottom: 16px;
            line-height: 1.2;
        }
.hot-hero p {
            color: rgba(255,255,255,.85);
            font-size: 18px;
            max-width: 640px;
            margin-bottom: 24px;
        }
.hot-hero .hero-stats {
            display: flex;
            gap: 40px;
            margin-top: 24px;
        }
.hot-hero .hero-stats .stat-item {
            text-align: center;
        }
.hot-hero .hero-stats .stat-num {
            font-size: 36px;
            font-weight: 800;
            color: var(--white);
            display: block;
        }
.hot-hero .hero-stats .stat-label {
            font-size: 14px;
            color: rgba(255,255,255,.7);
        }
.score-filter {
            padding: 32px 0 16px;
        }
.score-filter .filter-btn {
            display: inline-block;
            padding: 8px 20px;
            margin: 4px 8px 4px 0;
            border: 2px solid var(--border-color);
            border-radius: 8px;
            font-weight: 600;
            font-size: 14px;
            cursor: pointer;
            transition: all .2s ease;
            background: var(--white);
            color: var(--text);
            text-decoration: none;
        }
.score-filter .filter-btn:hover,
        .score-filter .filter-btn.active {
            background: var(--primary);
            color: var(--white);
            border-color: var(--primary);
            box-shadow: 3px 3px 0 var(--border-color);
        }
.score-section {
            padding: 40px 0;
        }
.score-section + .score-section {
            border-top: 1px solid rgba(15,30,61,.1);
        }
.score-section .section-title-wrap {
            margin-bottom: 32px;
        }
.score-section .section-title-wrap h2 {
            font-size: 28px;
            font-weight: 800;
            color: var(--text);
            margin-bottom: 8px;
        }
.score-section .section-title-wrap p {
            color: rgba(15,30,61,.6);
            font-size: 15px;
        }
.movie-info .movie-title {
            font-size: 16px;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 6px;
            line-height: 1.3;
        }
.movie-info .movie-meta {
            font-size: 13px;
            color: rgba(15,30,61,.6);
            margin-bottom: 10px;
        }
.movie-info .movie-score {
            display: flex;
            align-items: center;
            gap: 8px;
        }
.movie-info .movie-score .score-badge {
            background: var(--primary);
            color: var(--white);
            font-weight: 700;
            font-size: 14px;
            padding: 2px 10px;
            border-radius: 20px;
        }
.movie-info .movie-score .score-imdb {
            background: #f5c518;
            color: #000;
            font-weight: 700;
            font-size: 14px;
            padding: 2px 10px;
            border-radius: 20px;
        }
.hot-list-note {
            background: var(--white);
            border: 2px solid var(--border-color);
            border-radius: 12px;
            padding: 24px;
            margin-top: 32px;
            box-shadow: 4px 4px 0 rgba(15,30,61,.1);
        }
.hot-list-note h3 {
            font-size: 18px;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 12px;
        }
.hot-list-note p {
            font-size: 14px;
            color: rgba(15,30,61,.7);
            line-height: 1.8;
            margin-bottom: 8px;
        }
.hot-list-note .note-tag {
            display: inline-block;
            background: rgba(6,182,212,.15);
            color: var(--accent);
            font-weight: 600;
            font-size: 13px;
            padding: 2px 12px;
            border-radius: 20px;
            margin: 4px 6px 4px 0;
        }
.page-nav-section {
            padding: 24px 0 56px;
        }
.pagination-custom {
            display: flex;
            justify-content: center;
            gap: 8px;
            flex-wrap: wrap;
        }
.pagination-custom .page-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 40px;
            height: 40px;
            padding: 0 14px;
            border: 2px solid var(--border-color);
            border-radius: 8px;
            font-weight: 600;
            font-size: 14px;
            color: var(--text);
            text-decoration: none;
            background: var(--white);
            transition: all .2s ease;
        }
.pagination-custom .page-btn:hover,
        .pagination-custom .page-btn.active {
            background: var(--primary);
            color: var(--white);
            border-color: var(--primary);
            box-shadow: 3px 3px 0 var(--border-color);
        }
.hot-hero h1 {
                font-size: 30px;
            }
.hot-hero .hero-stats {
                gap: 24px;
            }
.hot-hero .hero-stats .stat-num {
                font-size: 28px;
            }

/* --- 子页面追加 --- */
/* 页面专属样式 —— 榜单表格、标签、排序按钮等 */
        .rank-hero {
            background: var(--primary);
            color: var(--white);
            padding: 70px 0 50px;
            position: relative;
            overflow: hidden;
        }
.rank-hero::after {
            content: "";
            position: absolute;
            right: -60px;
            top: -60px;
            width: 260px;
            height: 260px;
            background: var(--accent);
            border-radius: 50%;
            opacity: .2;
        }
.rank-hero h1 {
            font-weight: 900;
            font-size: 2.6rem;
            position: relative;
            z-index: 2;
        }
.rank-hero p {
            font-size: 1.1rem;
            max-width: 640px;
            opacity: .9;
            position: relative;
            z-index: 2;
        }
.rank-hero .hero-tag {
            display: inline-block;
            background: rgba(255,255,255,.18);
            border: 1px solid rgba(255,255,255,.4);
            padding: 4px 14px;
            border-radius: 40px;
            font-size: .85rem;
            font-weight: 600;
            margin-right: 8px;
            margin-top: 10px;
            position: relative;
            z-index: 2;
        }
.rank-toolbar {
            background: var(--white);
            border: 2px solid var(--border-color);
            border-radius: 14px;
            box-shadow: var(--shadow-offset) var(--shadow-offset) 0 rgba(15,30,61,.06);
            padding: 16px 20px;
            margin-top: -28px;
            position: relative;
            z-index: 10;
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            align-items: center;
            justify-content: space-between;
        }
.rank-toolbar .btn-group {
            display: flex;
            gap: 6px;
            flex-wrap: wrap;
        }
.rank-toolbar .btn-filter {
            border: 2px solid var(--border-color);
            background: var(--bg);
            color: var(--text);
            font-weight: 600;
            font-size: .85rem;
            padding: 5px 16px;
            border-radius: 40px;
            transition: all .2s;
        }
.rank-toolbar .btn-filter:hover,
        .rank-toolbar .btn-filter.active {
            background: var(--primary);
            color: var(--white);
            border-color: var(--primary);
        }
.rank-toolbar .search-box {
            display: flex;
            align-items: center;
            gap: 8px;
            background: var(--bg);
            border: 2px solid var(--border-color);
            border-radius: 40px;
            padding: 4px 8px 4px 16px;
            flex: 1;
            min-width: 220px;
            max-width: 360px;
        }
.rank-toolbar .search-box input {
            border: none;
            outline: none;
            background: transparent;
            width: 100%;
            font-size: .9rem;
            color: var(--text);
        }
.rank-toolbar .search-box i {
            color: var(--primary);
            background: var(--primary);
            border-radius: 50%;
            padding: 6px;
            color: #fff;
            font-size: .75rem;
        }
.rank-table-section {
            padding: 50px 0 70px;
        }
.rank-table-wrapper {
            background: var(--white);
            border: 2px solid var(--border-color);
            border-radius: 16px;
            box-shadow: var(--shadow-offset) var(--shadow-offset) 0 rgba(15,30,61,.05);
            overflow: hidden;
        }
.rank-table {
            width: 100%;
            font-size: .92rem;
        }
.rank-table thead th {
            background: var(--primary);
            color: var(--white);
            font-weight: 700;
            font-size: .85rem;
            padding: 14px 16px;
            text-align: left;
            border-bottom: 3px solid var(--border-color);
            white-space: nowrap;
        }
.rank-table tbody td {
            padding: 14px 16px;
            border-bottom: 1px solid rgba(15,30,61,.08);
            vertical-align: middle;
        }
.rank-table tbody tr:last-child td {
            border-bottom: none;
        }
.rank-table tbody tr:hover {
            background: rgba(6,182,212,.06);
        }
.rank-title .year {
            color: rgba(15,30,61,.5);
            font-weight: 400;
            font-size: .85rem;
            margin-left: 6px;
        }
.rank-meta {
            font-size: .82rem;
            color: rgba(15,30,61,.65);
        }
.rank-badge.hot {
            background: rgba(37,99,235,.1);
            border-color: var(--primary);
            color: var(--primary);
        }
.rank-badge.new {
            background: rgba(6,182,212,.12);
            border-color: var(--accent);
            color: #0284a7;
        }
.rank-badge.classic {
            background: rgba(255,193,7,.15);
            border-color: #f59e0b;
            color: #b45309;
        }
.rank-type-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            border-radius: 10px;
            background: var(--bg);
            border: 1.5px solid var(--border-color);
            color: var(--primary);
            font-size: .85rem;
            margin-right: 10px;
        }
.rank-more-btn {
            background: var(--white);
            border: 2px solid var(--border-color);
            border-radius: 40px;
            padding: 10px 30px;
            font-weight: 700;
            font-size: .9rem;
            color: var(--text);
            transition: all .2s;
            box-shadow: var(--shadow-offset) var(--shadow-offset) 0 rgba(15,30,61,.06);
            margin-top: 30px;
        }
.rank-more-btn:hover {
            background: var(--primary);
            color: var(--white);
            border-color: var(--primary);
            transform: translateY(-2px);
        }
.rank-note strong {
            color: var(--text);
        }
.rank-hero h1 { font-size: 1.9rem; }
.rank-toolbar { flex-direction: column; align-items: stretch; }
.rank-toolbar .btn-group { justify-content: center; }
.rank-toolbar .search-box { max-width: 100%; }
.rank-table thead th:nth-child(4),
            .rank-table tbody td:nth-child(4) { display: none; }
.rank-title .year { display: block; margin-left: 0; }

/* --- 子页面追加 --- */
/* 确保所有bootstrap组件都继承本站配色 */
    .card, .card-body, .card-header, .card-footer, .form-control, .form-select,
    .list-group-item, .accordion-item, .accordion-button, .accordion-body,
    .modal-content, .dropdown-menu, .dropdown-item, .nav-link, .navbar, .navbar-brand {
      background-color: var(--white) !important;
      color: var(--text) !important;
      border-color: var(--border-color) !important;
    }
.navbar-toggler-icon {
      filter: invert(15%) sepia(40%) saturate(500%) hue-rotate(200deg);
    }
/* 覆盖bootstrap默认的卡片阴影 */
    .card {
      box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--border-color) !important;
    }
/* 联系页特有元素 */
    .contact-info-card {
      border: 2px solid var(--border-color);
      box-shadow: 6px 6px 0 var(--border-color);
      transition: all 0.2s ease;
      background-color: var(--white);
    }
.contact-info-card:hover {
      transform: translate(-2px, -2px);
      box-shadow: 8px 8px 0 var(--border-color);
    }
.contact-icon {
      color: var(--primary);
      font-size: 2rem;
    }
.form-label {
      font-weight: 600;
      color: var(--text);
    }
.btn-submit {
      background-color: var(--primary);
      border: 2px solid var(--border-color);
      color: var(--white);
      font-weight: 600;
      box-shadow: 4px 4px 0 var(--border-color);
      transition: all 0.2s;
    }
.btn-submit:hover {
      background-color: var(--accent);
      color: var(--text);
      box-shadow: 2px 2px 0 var(--border-color);
      transform: translate(2px, 2px);
    }
.section-title::after {
      content: '';
      position: absolute;
      bottom: -6px;
      left: 0;
      width: 60px;
      height: 4px;
      background: var(--accent);
      border-radius: 2px;
    }

/* --- 子页面追加 --- */
/* 确保隐私政策页面的卡片/表格等使用深色或品牌色调 (覆盖 bootstrap 默认白底) */
        .privacy-card, .privacy-card-body {
            background: var(--bg, #f4f8ff);
            color: var(--text, #0f1e3d);
            border: 1px solid var(--border-color, #0f1e3d);
            box-shadow: var(--shadow-offset, 6px) var(--shadow-offset, 6px) 0 rgba(15, 30, 61, 0.08);
        }
.privacy-card .card-title {
            color: var(--primary, #2563eb);
        }
.privacy-list-group-item {
            background: transparent;
            color: var(--text, #0f1e3d);
            border-color: rgba(15, 30, 61, 0.15);
        }
.privacy-list-group-item i {
            color: var(--accent, #06b6d4);
            margin-right: 8px;
        }
.privacy-muted {
            color: #3b4b6b;
            opacity: 0.8;
        }
/* 高亮当前导航项 */
        .navbar-nav .nav-link.active {
            font-weight: 700;
            color: var(--primary, #2563eb) !important;
            border-bottom: 2px solid var(--accent, #06b6d4);
        }
/* 小标题更醒目 */
        .section-header h2 {
            font-weight: 800;
            letter-spacing: -0.02em;
        }