:root {
      --primary: #f472b6;
      --accent: #fbbf24;
      --bg: #fff5f7;
      --text: #4a2530;
      --shadow: 0 8px 20px rgba(244, 114, 182, 0.2);
      --card-radius: 16px;
      --glass: rgba(255,255,255,0.7);
    }

    * { box-sizing: border-box; }
    body {
      background-color: var(--bg);
      color: var(--text);
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
      line-height: 1.7;
      padding-top: 70px;
    }
    h1,h2,h3,h4,h5 { font-weight: 700; letter-spacing: -0.02em; }

    /* 导航栏 */
    .navbar-piao {
      background: var(--glass);
      backdrop-filter: blur(12px);
      box-shadow: 0 4px 15px rgba(244, 114, 182, 0.15);
      transition: background 0.3s ease, box-shadow 0.3s ease;
    }
    .navbar-piao.scrolled {
      background: rgba(255,255,255,0.95);
      box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    }
    .navbar-brand {
      font-weight: 800;
      color: var(--primary) !important;
      font-size: 1.6rem;
      letter-spacing: -0.5px;
    }
    .nav-link {
      font-weight: 500;
      color: var(--text) !important;
      margin: 0 0.4rem;
      position: relative;
      opacity: 0.9;
      transition: opacity 0.2s;
    }
    .nav-link:hover { opacity: 1; }
    .navbar-toggler { border: none; }
    .navbar-toggler:focus { box-shadow: none; }

    /* hero 视差 */
    .hero-parallax {
      background-image: url('{随机图片}'); 
      background-size: cover;
      background-position: center;
      background-attachment: fixed;
      position: relative;
      min-height: 70vh;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 0 0 3rem 3rem;
      box-shadow: inset 0 -60px 60px -20px rgba(0,0,0,0.6);
      margin-bottom: 3rem;
    }
    .hero-overlay {
      background: linear-gradient(135deg, rgba(74,37,48,0.5) 0%, rgba(244,114,182,0.25) 100%);
      padding: 4rem 2rem;
      border-radius: inherit;
      text-align: center;
      width: 100%;
    }
    .hero-title {
      color: white;
      font-size: 3.5rem;
      font-weight: 900;
      text-shadow: 0 8px 20px rgba(0,0,0,0.5);
      letter-spacing: -1px;
    }
    .hero-sub {
      color: #fff;
      font-size: 1.2rem;
      font-weight: 400;
      text-shadow: 0 2px 10px rgba(0,0,0,0.4);
      max-width: 700px;
      margin: 1rem auto 0;
    }

    /* 板块标题 */
    .section-title {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      margin: 2.5rem 0 1.5rem;
      font-weight: 800;
      font-size: 1.8rem;
    }
    .section-title i {
      color: var(--accent);
      font-size: 2rem;
    }
    .section-title span { background: var(--accent); width: 6px; height: 30px; border-radius: 3px; }

    /* 卡片 */
    .movie-card {
      background: white;
      border-radius: var(--card-radius);
      box-shadow: var(--shadow);
      overflow: hidden;
      transition: transform 0.25s ease, border 0.3s, box-shadow 0.4s;
      border: 2px solid rgba(244,114,182,0.15);
      height: 100%;
      cursor: pointer;
      position: relative;
    }
    .movie-card:hover {
      transform: scale(1.02);
      border-color: var(--primary);
      box-shadow: 0 18px 30px rgba(244,114,182,0.3);
    }
    .card-img-wrapper {
      position: relative;
      overflow: hidden;
      aspect-ratio: 2/3;
      background: #ffe0ea;
    }
    .card-img-wrapper img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.4s;
    }
    .movie-card:hover img { transform: scale(1.05); }
    .play-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(0,0,0,0.5), transparent 60%);
      display: flex;
      align-items: flex-end;
      justify-content: center;
      padding-bottom: 1.2rem;
      opacity: 0;
      transition: opacity 0.3s;
    }
    .movie-card:hover .play-overlay { opacity: 1; }
    .play-overlay i {
      font-size: 2.5rem;
      color: white;
      text-shadow: 0 4px 15px rgba(0,0,0,0.7);
      background: rgba(244,114,182,0.6);
      border-radius: 50%;
      padding: 0.6rem;
    }
    .card-body {
      padding: 0.9rem;
    }
    .card-title {
      font-weight: 700;
      font-size: 1rem;
      margin-bottom: 0.3rem;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .badge-score {
      background: var(--accent);
      color: #3a2a10;
      font-weight: 700;
      border-radius: 6px;
      padding: 0.1rem 0.5rem;
      font-size: 0.8rem;
    }

    /* 横向滚动 */
    .poster-row {
      display: flex;
      gap: 1.2rem;
      overflow-x: auto;
      padding-bottom: 1rem;
      scroll-snap-type: x mandatory;
    }
    .poster-row > div { flex: 0 0 200px; scroll-snap-align: start; }

    /* 周榜 */
    .rank-list {
      background: white;
      border-radius: 20px;
      padding: 1.2rem 1.8rem;
      box-shadow: var(--shadow);
    }
    .rank-item {
      display: flex;
      align-items: center;
      padding: 0.8rem 0;
      border-bottom: 1px dashed #f1c3d3;
    }
    .rank-item:last-child { border-bottom: none; }
    .rank-num {
      font-weight: 900;
      color: var(--primary);
      width: 2.2rem;
      font-size: 1.4rem;
    }

    /* 表格风格 */
    .compare-table {
      background: white;
      border-radius: 20px;
      overflow: hidden;
      box-shadow: var(--shadow);
    }
    .compare-table table {
      margin: 0;
    }
    .compare-table th, .compare-table td {
      padding: 1rem;
      border-bottom: 1px solid #fad5e0;
    }
    .compare-table th {
      background: #fff0f5;
      font-weight: 700;
    }

    /* 弹窗 */
    .modal-mask {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.6);
      backdrop-filter: blur(4px);
      z-index: 1050;
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s;
    }
    .modal-mask.show { opacity: 1; pointer-events: auto; }
    .modal-card {
      background: white;
      border-radius: 24px;
      max-width: 800px;
      width: 92%;
      padding: 1.5rem;
      box-shadow: 0 30px 60px rgba(0,0,0,0.3);
      display: flex;
      flex-wrap: wrap;
      gap: 1.5rem;
      position: relative;
    }
    .modal-card img { width: 100%; max-width: 180px; border-radius: 16px; }
    .modal-info { flex: 1; min-width: 200px; }
    .modal-close {
      position: absolute;
      top: 12px;
      right: 16px;
      font-size: 2rem;
      line-height: 1;
      background: none;
      border: none;
      color: #aaa;
      cursor: pointer;
    }
    .modal-close:hover { color: var(--primary); }

    /* 其他 */
    .btn-accent {
      background: var(--primary);
      border: none;
      color: white;
      padding: 0.5rem 1.5rem;
      border-radius: 40px;
      font-weight: 600;
    }
    .btn-accent:hover { background: #e05fa3; }
    footer {
      background: #3a1f28;
      color: #f8c4d8;
      padding: 2.5rem 0;
      margin-top: 4rem;
      border-radius: 30px 30px 0 0;
    }
    .friend-links {
      background: white;
      border-radius: 20px;
      padding: 1.5rem 2rem;
      box-shadow: var(--shadow);
      margin: 3rem 0;
    }
    .faq-section { background: #fff; border-radius: 24px; padding: 1.8rem; box-shadow: var(--shadow); margin: 2rem 0; }

/* --- 子页面追加 --- */
.rank-hero { background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%); padding: 80px 0 60px; text-align: center; }
.rank-hero h1 { color: #fff; font-weight: 900; font-size: 2.8rem; text-shadow: 0 2px 10px rgba(0,0,0,0.15); }
.rank-hero p { color: rgba(255,255,255,0.9); font-size: 1.1rem; margin-top: 10px; }
.rank-section { padding: 60px 0; }
.rank-section:nth-child(even) { background: rgba(244, 114, 182, 0.05); }
.section-title::after { content: ''; position: absolute; bottom: 0; left: 0; width: 60px; height: 4px; background: var(--primary); border-radius: 2px; }
.rank-item:hover { transform: translateY(-3px); box-shadow: 0 12px 25px rgba(244, 114, 182, 0.25); }
.rank-num.top-1 { color: #ffd700; }
.rank-num.top-2 { color: #c0c0c0; }
.rank-num.top-3 { color: #cd7f32; }
.rank-item img { width: 80px; height: 110px; object-fit: cover; border-radius: 8px; margin-right: 20px; box-shadow: 0 4px 10px rgba(0,0,0,0.15); }
.rank-item .rank-info { flex: 1; }
.rank-item .rank-info h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 5px; color: var(--text); }
.rank-item .rank-info p { font-size: 0.9rem; color: #666; margin-bottom: 8px; }
.rank-item .rank-meta { display: flex; gap: 15px; align-items: center; }
.rank-item .badge-score { background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; padding: 3px 12px; border-radius: 20px; font-size: 0.9rem; font-weight: 600; }
.rank-item .rank-trend { font-size: 0.9rem; color: #999; }
.rank-item .rank-trend i { margin-right: 3px; }
.rank-item .rank-trend.up { color: #22c55e; }
.rank-item .rank-trend.down { color: #ef4444; }
.rank-badge { display: inline-block; background: var(--primary); color: #fff; padding: 4px 14px; border-radius: 20px; font-size: 0.85rem; font-weight: 600; margin-right: 8px; }
.rank-badge.alt { background: var(--accent); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: rgba(244, 114, 182, 0.05); }
.rank-footer { background: #fff; padding: 20px 0; text-align: center; border-top: 1px solid rgba(244, 114, 182, 0.15); }
.rank-footer a { color: var(--primary); text-decoration: none; font-weight: 600; }
.rank-footer a:hover { text-decoration: underline; }
.rank-hero h1 { font-size: 2rem; }
.rank-item img { width: 60px; height: 85px; }
.rank-item .rank-info h3 { font-size: 1rem; }

/* --- 子页面追加 --- */
/* 高分动漫页专属样式 */
        .anime-hero {
            background: linear-gradient(135deg, rgba(244,114,182,0.15) 0%, rgba(251,191,36,0.1) 100%);
            border-radius: var(--card-radius);
            padding: 3rem 2rem;
            margin-bottom: 2.5rem;
            position: relative;
            overflow: hidden;
        }
.anime-hero::before {
            content: '🎌';
            position: absolute;
            right: 30px;
            top: 20px;
            font-size: 6rem;
            opacity: 0.1;
            transform: rotate(-15deg);
        }
.anime-badge {
            display: inline-block;
            background: var(--primary);
            color: #fff;
            padding: 4px 14px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
            margin-bottom: 1rem;
            letter-spacing: 0.5px;
        }
.anime-card {
            background: var(--glass);
            border-radius: var(--card-radius);
            border: 1px solid rgba(244,114,182,0.15);
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            height: 100%;
            display: flex;
            flex-direction: column;
        }
.anime-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow);
        }
.anime-card-img {
            position: relative;
            aspect-ratio: 3/4;
            overflow: hidden;
            background: #fce7f3;
        }
.anime-card-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
.anime-card:hover .anime-card-img img {
            transform: scale(1.05);
        }
.anime-card-img .play-overlay {
            position: absolute;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(74,37,48,0.5);
            opacity: 0;
            transition: opacity 0.3s ease;
        }
.anime-card:hover .play-overlay {
            opacity: 1;
        }
.anime-card-img .play-overlay i {
            font-size: 2.5rem;
            color: #fff;
            background: var(--primary);
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 15px rgba(244,114,182,0.4);
        }
.anime-card-body {
            padding: 1.2rem;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
.anime-card-title {
            font-size: 1.05rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 0.4rem;
            line-height: 1.3;
        }
.anime-card-meta {
            font-size: 0.85rem;
            color: rgba(74,37,48,0.6);
            margin-bottom: 0.6rem;
        }
.anime-card-desc {
            font-size: 0.88rem;
            color: rgba(74,37,48,0.75);
            line-height: 1.5;
            flex: 1;
        }
.anime-card-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 0.8rem;
            padding-top: 0.8rem;
            border-top: 1px solid rgba(244,114,182,0.15);
        }
.anime-score {
            background: var(--accent);
            color: var(--text);
            font-weight: 800;
            font-size: 0.9rem;
            padding: 2px 10px;
            border-radius: 12px;
        }
.anime-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            margin-bottom: 0.8rem;
        }
.anime-tag {
            background: rgba(244,114,182,0.1);
            color: var(--primary);
            font-size: 0.75rem;
            padding: 2px 10px;
            border-radius: 12px;
            font-weight: 500;
        }
.section-desc {
            color: rgba(74,37,48,0.7);
            font-size: 0.95rem;
            max-width: 700px;
            margin-bottom: 1.5rem;
        }
.anime-tips {
            background: var(--glass);
            border-radius: var(--card-radius);
            padding: 1.5rem;
            border-left: 4px solid var(--primary);
            margin-top: 2rem;
        }
.anime-tips h4 {
            color: var(--primary);
            font-weight: 700;
            margin-bottom: 0.8rem;
        }
.anime-tips p {
            color: var(--text);
            margin-bottom: 0.5rem;
            line-height: 1.7;
        }
.anime-tips i {
            color: var(--accent);
            margin-right: 6px;
        }
.piao-list {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            margin-top: 1rem;
        }
.piao-list-item {
            background: rgba(244,114,182,0.08);
            border-radius: 12px;
            padding: 0.6rem 1.2rem;
            font-size: 0.9rem;
            color: var(--text);
            display: flex;
            align-items: center;
            gap: 8px;
        }
.piao-list-item i {
            color: var(--primary);
        }

/* --- 子页面追加 --- */
/* 口碑剧集页微调 */
    .section-title {
      border-left: 6px solid var(--primary);
      padding-left: 1rem;
      letter-spacing: -0.02em;
    }
.drama-hero {
      background: linear-gradient(120deg, #ffe4ef, #fff0d9);
      border-radius: 2rem;
      padding: 2rem 1.5rem;
      margin-bottom: 2.5rem;
    }
.card-text {
      font-size: 0.95rem;
      opacity: 0.9;
    }
.tag-cloud a {
      background: var(--glass);
      padding: 0.35rem 1rem;
      border-radius: 50rem;
      font-size: 0.85rem;
      font-weight: 500;
      color: var(--text);
      border: 1px solid rgba(244, 114, 182, 0.2);
      margin-right: 0.5rem;
      display: inline-block;
      margin-bottom: 0.5rem;
      text-decoration: none;
    }
.tag-cloud a:hover {
      background: var(--primary);
      color: #fff;
      border-color: var(--primary);
    }

/* --- 子页面追加 --- */
/* 覆盖 Bootstrap 组件类，保证与站点粉色系一致 */
        .movie-card, .card-body { background: var(--glass); color: var(--text); border-color: rgba(244,114,182,0.2); }
/* 确保导航链接高亮当前页 */
        .navbar-piao .nav-link.active {
            color: var(--primary);
            font-weight: 700;
        }
/* 小标题强调品牌 */
        .section-title-brand {
            font-size: 1.85rem;
            font-weight: 800;
            letter-spacing: -0.02em;
            color: var(--text);
            border-left: 6px solid var(--primary);
            padding-left: 1rem;
            margin-top: 2.5rem;
            margin-bottom: 1.5rem;
        }
.section-title-brand i {
            color: var(--primary);
            margin-right: 0.5rem;
        }
/* 卡片悬停微效 */
        .movie-card {
            transition: transform .25s ease, box-shadow .25s ease;
        }
/* 影院特色标记 */
        .feature-tag {
            background: var(--accent);
            color: var(--text);
            border-radius: 50px;
            padding: 0.25rem 1rem;
            font-weight: 600;
            font-size: 0.85rem;
            display: inline-block;
        }

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