:root {
  --primary: #2563eb;
  --accent: #06b6d4;
  --bg: #f4f8ff;
  --text: #0f1e3d;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow-soft: 0 10px 30px rgba(37, 99, 235, 0.08), 0 4px 12px rgba(6, 182, 212, 0.06);
  --shadow-hover: 0 20px 45px rgba(37, 99, 235, 0.18), 0 10px 25px rgba(6, 182, 212, 0.12);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg); color: var(--text); font-family: 'Inter', sans-serif; line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: color 0.2s; }
img { max-width: 100%; display: block; }

/* 导航 */
.navbar-main { position: sticky; top: 0; z-index: 1000; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(15px); border-bottom: 1px solid rgba(37, 99, 235, 0.1); }
.navbar-inner { max-width: 1320px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; height: 68px; }
.navbar-brand { display: flex; align-items: center; font-size: 1.7rem; font-weight: 900; letter-spacing: -0.5px; color: var(--primary); }
.navbar-brand i { color: var(--accent); margin-right: 8px; font-size: 1.4rem; }
.nav-links { display: flex; align-items: center; gap: 8px; list-style: none; }
.nav-links a { padding: 8px 18px; border-radius: 50px; font-weight: 600; font-size: 0.95rem; color: var(--text); transition: all 0.2s; }
.nav-links a:hover, .nav-links a.active { background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; box-shadow: 0 4px 15px rgba(37, 99, 235, 0.25); }
.nav-toggle { display: none; font-size: 1.5rem; color: var(--primary); background: none; border: none; cursor: pointer; }
@media (max-width: 992px) {
  .nav-toggle { display: block; }
  .nav-links { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; background: #fff; padding: 20px 24px; gap: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); display: none; }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; text-align: center; }
}

/* Hero */
.hero { position: relative; padding: 110px 0 90px; background: linear-gradient(145deg, #e9f0ff 0%, var(--bg) 45%, #f0faff 100%); overflow: hidden; }
.hero-bg { position: absolute; top: -20%; left: 10%; width: 80%; height: 130%; background: radial-gradient(circle at 30% 40%, rgba(37, 99, 235, 0.18) 0%, transparent 50%), radial-gradient(circle at 80% 70%, rgba(6, 182, 212, 0.2) 0%, transparent 45%); filter: blur(10px); z-index: 0; animation: parallaxMove 18s ease-in-out infinite alternate; }
@keyframes parallaxMove { 0% { transform: translateY(0) scale(1); } 100% { transform: translateY(-45px) scale(1.08); } }
.hero-content { position: relative; z-index: 1; max-width: 1320px; margin: 0 auto; padding: 0 24px; text-align: center; }
.hero h1 { font-size: 3.8rem; font-weight: 900; letter-spacing: -2px; line-height: 1.15; background: linear-gradient(120deg, var(--primary), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 20px; }
.hero-sub { font-size: 1.35rem; font-weight: 400; color: #5b6b8c; max-width: 600px; margin: 0 auto 40px; }
.hero-btns { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.btn-hero { padding: 16px 44px; border-radius: 50px; font-weight: 700; font-size: 1.1rem; border: none; cursor: pointer; position: relative; overflow: hidden; transition: all 0.3s; }
.btn-hero-primary { background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3); }
.btn-hero-primary::after { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent); transition: left 0.5s; }
.btn-hero-primary:hover::after { left: 100%; }
.btn-hero-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 35px rgba(37, 99, 235, 0.4); }
.btn-hero-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn-hero-outline:hover { background: var(--primary); color: #fff; transform: translateY(-3px); box-shadow: 0 8px 25px rgba(37, 99, 235, 0.25); }

/* 通用区块 */
.section { max-width: 1320px; margin: 0 auto; padding: 70px 24px; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.section-title { font-size: 2rem; font-weight: 900; letter-spacing: -1px; position: relative; padding-left: 18px; }
.section-title::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 6px; height: 28px; background: linear-gradient(var(--primary), var(--accent)); border-radius: 3px; }
.section-more { font-weight: 600; font-size: 0.9rem; color: var(--primary); border: 1.5px solid var(--primary); padding: 8px 20px; border-radius: 50px; transition: all 0.2s; }
.section-more:hover { background: var(--primary); color: #fff; }

/* 分类入口 */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px; }
.cat-card { background: #fff; border-radius: var(--radius-lg); padding: 28px 16px; text-align: center; box-shadow: var(--shadow-soft); transition: all 0.3s; cursor: pointer; border: 1px solid rgba(37, 99, 235, 0.05); }
.cat-card i { font-size: 2rem; color: var(--primary); margin-bottom: 12px; display: block; }
.cat-card span { font-weight: 700; font-size: 0.95rem; }
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; }
.cat-card:hover i { color: #fff; }

/* 海报卡片 */
.movie-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 24px; }
.movie-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); transition: all 0.4s; cursor: pointer; position: relative; border: 1px solid rgba(37, 99, 235, 0.05); }
.movie-card:hover { transform: translateY(-8px) scale(1.03); box-shadow: var(--shadow-hover); }
.movie-poster { position: relative; aspect-ratio: 2 / 3; overflow: hidden; background: linear-gradient(135deg, #e2e8f0, #f1f5f9); }
.movie-poster img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; opacity: 0; }
.movie-poster img.loaded { opacity: 1; animation: fadeInImg 0.6s ease; }
@keyframes fadeInImg { from { opacity: 0; transform: scale(1.02); } to { opacity: 1; transform: scale(1); } }
.movie-card:hover .movie-poster img { transform: scale(1.06); }
.quality-badge { position: absolute; top: 10px; right: 10px; background: rgba(15, 30, 61, 0.8); color: #fff; padding: 4px 8px; border-radius: 8px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.5px; }
.rating-badge { position: absolute; top: 10px; left: 10px; background: rgba(255, 255, 255, 0.92); color: #f59e0b; padding: 4px 8px; border-radius: 8px; font-size: 0.8rem; font-weight: 800; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.movie-info { padding: 14px 14px 18px; }
.movie-title { font-weight: 700; font-size: 0.98rem; margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.movie-meta { font-size: 0.8rem; color: #64748b; display: flex; justify-content: space-between; }

/* 排行榜 */
.rank-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.rank-item { display: flex; align-items: center; background: #fff; border-radius: var(--radius-md); padding: 12px 16px; box-shadow: var(--shadow-soft); transition: all 0.3s; gap: 14px; border: 1px solid rgba(37, 99, 235, 0.04); }
.rank-item:hover { transform: translateX(6px); box-shadow: var(--shadow-hover); }
.rank-num { font-size: 1.6rem; font-weight: 900; width: 48px; text-align: center; font-family: 'Courier New', monospace; color: var(--primary); }
.rank-item:nth-child(1) .rank-num, .rank-item:nth-child(2) .rank-num, .rank-item:nth-child(3) .rank-num { color: #f59e0b; }
.rank-item img { width: 60px; height: 80px; object-fit: cover; border-radius: 8px; }
.rank-info { flex: 1; }
.rank-title { font-weight: 700; font-size: 0.9rem; margin-bottom: 4px; }
.rank-meta { font-size: 0.78rem; color: #64748b; }
.rank-score { font-weight: 800; font-size: 1.1rem; color: var(--primary); font-family: 'Courier New', monospace; }
@media (max-width: 768px) { .rank-list { grid-template-columns: 1fr; } }

/* 步骤条 */
.steps-wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; margin-top: 40px; }
.step-item { text-align: center; padding: 30px 20px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }
.step-icon { width: 60px; height: 60px; margin: 0 auto 18px; background: linear-gradient(135deg, var(--primary), var(--accent)); border-radius: 18px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: #fff; }
.step-item h4 { font-weight: 800; margin-bottom: 8px; font-size: 1.05rem; }
.step-item p { font-size: 0.88rem; color: #64748b; }

/* FAQ */
.faq-wrap { max-width: 900px; margin: 0 auto; }
.faq-item { background: #fff; border-radius: var(--radius-md); padding: 20px 24px; margin-bottom: 14px; box-shadow: var(--shadow-soft); border: 1px solid rgba(37, 99, 235, 0.04); }
.faq-item h5 { font-weight: 700; font-size: 1rem; margin-bottom: 8px; color: var(--primary); }
.faq-item p { font-size: 0.92rem; color: #475569; }

/* 专题 */
.topic-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.topic-card { background: #fff; border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-soft); transition: all 0.3s; border: 1px solid rgba(37, 99, 235, 0.05); }
.topic-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.topic-card h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 12px; color: var(--primary); }
.topic-card p { font-size: 0.9rem; color: #64748b; line-height: 1.7; }
.topic-tag { display: inline-block; background: rgba(37, 99, 235, 0.08); color: var(--primary); padding: 4px 12px; border-radius: 30px; font-size: 0.8rem; font-weight: 600; margin-top: 12px; }

/* 推荐看了还看 */
.related-wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.related-card { background: #fff; border-radius: var(--radius-md); padding: 20px; text-align: center; box-shadow: var(--shadow-soft); transition: all 0.3s; font-weight: 700; font-size: 0.95rem; border: 1px solid rgba(37, 99, 235, 0.05); }
.related-card i { display: block; font-size: 1.6rem; margin-bottom: 10px; color: var(--accent); }
.related-card:hover { background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.related-card:hover i { color: #fff; }

/* 友链 */
.friend-links { background: #fff; border-radius: var(--radius-lg); padding: 28px 30px; margin-top: 40px; box-shadow: var(--shadow-soft); border: 1px solid rgba(37, 99, 235, 0.05); }
.friend-links h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 16px; color: var(--primary); }
.friend-links a { display: inline-block; margin: 0 10px 8px 0; color: #475569; font-size: 0.9rem; padding: 6px 14px; background: var(--bg); border-radius: 30px; transition: all 0.2s; }
.friend-links a:hover { background: var(--primary); color: #fff; }

/* 页脚 */
.footer { background: var(--text); color: #a5b4cf; padding: 60px 0 0; margin-top: 40px; }
.footer-inner { max-width: 1320px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; padding-bottom: 50px; }
.footer-brand { font-size: 1.8rem; font-weight: 900; color: #fff; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.footer-brand i { color: var(--accent); }
.footer p { font-size: 0.9rem; line-height: 1.8; }
.footer h4 { color: #fff; font-weight: 700; font-size: 1rem; margin-bottom: 18px; }
.footer-links a { display: block; color: #a5b4cf; font-size: 0.88rem; margin-bottom: 10px; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 24px; text-align: center; font-size: 0.85rem; color: #8b9bb5; }

/* 侧边弹窗 */
.side-detail { position: fixed; top: 0; right: -420px; width: 380px; height: 100vh; background: #fff; z-index: 9999; box-shadow: -10px 0 40px rgba(0,0,0,0.15); transition: right 0.4s ease; overflow-y: auto; padding: 32px 24px; }
.side-detail.open { right: 0; }
.detail-backdrop { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 30, 61, 0.5); z-index: 9998; opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; }
.detail-backdrop.open { opacity: 1; visibility: visible; }
.detail-close { position: absolute; top: 20px; right: 20px; width: 36px; height: 36px; border-radius: 50%; background: var(--bg); border: none; font-size: 1rem; color: var(--text); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s; }
.detail-close:hover { background: var(--primary); color: #fff; transform: rotate(90deg); }
.detail-poster { width: 100%; border-radius: var(--radius-md); margin-bottom: 22px; aspect-ratio: 2/3; object-fit: cover; }
.detail-title { font-size: 1.5rem; font-weight: 900; margin-bottom: 12px; }
.detail-info { margin-bottom: 8px; font-size: 0.9rem; color: #475569; }
.detail-info strong { color: var(--primary); font-weight: 700; margin-right: 6px; }
.detail-plot { font-size: 0.92rem; line-height: 1.8; color: #475569; margin-top: 16px; padding-top: 16px; border-top: 1px solid #e2e8f0; }
@media (max-width: 480px) { .side-detail { width: 100%; right: -100%; } }

/* 懒加载渐显 */
.lazy-placeholder { background: linear-gradient(110deg, #e2e8f0 30%, #f8fafc 50%, #e2e8f0 70%); background-size: 200% 100%; animation: shimmer 1.5s infinite; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* Banner 轮播 */
.banner-carousel { max-width: 1320px; margin: 0 auto; padding: 40px 24px 0; }
.carousel-box { border-radius: var(--radius-lg); overflow: hidden; position: relative; height: 380px; background: linear-gradient(120deg, #dbeafe, #e0f2fe); box-shadow: var(--shadow-soft); }
.carousel-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.8s; padding: 60px 50px; display: flex; align-items: center; }
.carousel-slide.active { opacity: 1; }
.carousel-slide h2 { font-size: 2.5rem; font-weight: 900; max-width: 400px; line-height: 1.2; margin-bottom: 16px; }
.carousel-slide p { font-size: 1rem; max-width: 380px; color: #475569; }
.carousel-ctrl { position: absolute; bottom: 20px; right: 30px; display: flex; gap: 8px; }
.carousel-ctrl button { width: 38px; height: 38px; border-radius: 50%; border: none; background: rgba(255,255,255,0.85); color: var(--primary); font-weight: 800; cursor: pointer; transition: all 0.2s; }
.carousel-ctrl button:hover { background: var(--primary); color: #fff; }

/* 统计数字 */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; margin-top: 40px; }
.stat-item { background: #fff; border-radius: var(--radius-md); padding: 20px; text-align: center; box-shadow: var(--shadow-soft); }
.stat-item .num { font-size: 2.2rem; font-weight: 900; font-family: 'Courier New', monospace; color: var(--primary); }
.stat-item .label { font-size: 0.8rem; color: #64748b; margin-top: 4px; font-weight: 600; }

@media (max-width: 768px) {
  .hero h1 { font-size: 2.4rem; }
  .hero-sub { font-size: 1.05rem; }
  .section { padding: 50px 18px; }
  .movie-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
  .carousel-box { height: 280px; }
  .carousel-slide h2 { font-size: 1.6rem; }
}

/* --- 子页面追加 --- */
.about-page { padding-top: 2rem; }
.about-hero { background: linear-gradient(135deg, var(--primary), var(--accent)); border-radius: var(--radius-lg); padding: 3rem 2.5rem; margin-bottom: 3rem; color: #fff; position: relative; overflow: hidden; }
.about-hero h1 { font-size: 2.2rem; font-weight: 800; margin-bottom: 1rem; }
.about-hero p { font-size: 1.05rem; opacity: .9; max-width: 680px; margin-bottom: 0; }
.about-hero::after { content: ''; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: rgba(255,255,255,.08); }
.about-hero::before { content: ''; position: absolute; right: 80px; bottom: -100px; width: 160px; height: 160px; border-radius: 50%; background: rgba(255,255,255,.06); }
.about-section { margin-bottom: 3.5rem; }
.about-section h2 { font-size: 1.6rem; font-weight: 800; color: var(--text); margin-bottom: 1.2rem; padding-left: 1rem; border-left: 4px solid var(--primary); }
.about-section p { color: #4a5a7a; line-height: 1.8; margin-bottom: 1rem; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; margin-top: 1.5rem; }
.feature-item { background: #fff; border-radius: var(--radius-md); padding: 1.8rem 1.5rem; box-shadow: var(--shadow-soft); transition: all .3s ease; border: 1px solid rgba(37,99,235,.06); }
.feature-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.feature-item i { font-size: 1.8rem; color: var(--primary); margin-bottom: .8rem; display: inline-block; }
.feature-item h3 { font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: .5rem; }
.feature-item p { font-size: .9rem; color: #5a6a8a; line-height: 1.6; margin-bottom: 0; }
.about-stats { display: flex; flex-wrap: wrap; gap: 2.5rem; margin-top: 2rem; padding: 2rem; background: linear-gradient(135deg, rgba(37,99,235,.05), rgba(6,182,212,.05)); border-radius: var(--radius-md); }
.stat-block { flex: 1; min-width: 140px; text-align: center; }
.stat-block .num { font-size: 2rem; font-weight: 800; color: var(--primary); }
.stat-block .label { font-size: .85rem; color: #6a7a9a; margin-top: .3rem; }
.values-list { list-style: none; padding: 0; }
.values-list li { padding: .8rem 0; border-bottom: 1px dashed rgba(37,99,235,.15); display: flex; align-items: flex-start; gap: .8rem; color: #4a5a7a; }
.values-list li i { color: var(--primary); margin-top: .2rem; }
.values-list li:last-child { border-bottom: none; }
.guide-box { background: #fff; border-radius: var(--radius-md); padding: 2rem; box-shadow: var(--shadow-soft); margin-top: 1.5rem; }
.guide-box h3 { font-size: 1.2rem; font-weight: 700; color: var(--text); margin-bottom: 1rem; }
.guide-box ol { padding-left: 1.2rem; }
.guide-box ol li { margin-bottom: .8rem; color: #4a5a7a; line-height: 1.6; }
.guide-box ol li strong { color: var(--text); }
.about-page .btn-hero { display: inline-block; padding: .7rem 1.8rem; border-radius: 50px; font-weight: 600; font-size: .95rem; text-decoration: none; transition: all .3s ease; }
.about-page .btn-hero-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 15px rgba(37,99,235,.3); }
.about-page .btn-hero-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(37,99,235,.4); }
.about-page .btn-hero-outline { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.about-page .btn-hero-outline:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }
.about-hero { padding: 2rem 1.5rem; }
.about-hero h1 { font-size: 1.7rem; }
.about-stats { gap: 1.5rem; }

/* --- 子页面追加 --- */
.disclaimer-hero { background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%); padding: 80px 0 60px; color: #fff; }
.disclaimer-hero h1 { font-weight: 800; font-size: 2.5rem; margin-bottom: 15px; }
.disclaimer-hero p { font-size: 1.1rem; opacity: .9; }
.disclaimer-section { padding: 50px 0; }
.disclaimer-card { background: #fff; border-radius: var(--radius-lg); padding: 35px; box-shadow: var(--shadow-soft); margin-bottom: 30px; border: 1px solid rgba(37, 99, 235, 0.08); }
.disclaimer-card h2 { color: var(--primary); font-size: 1.5rem; font-weight: 700; margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.disclaimer-card h2 i { font-size: 1.3rem; color: var(--accent); }
.disclaimer-card p { color: var(--text); line-height: 1.8; margin-bottom: 15px; }
.disclaimer-card ul { padding-left: 20px; margin-bottom: 15px; }
.disclaimer-card li { color: var(--text); line-height: 1.8; margin-bottom: 8px; }
.disclaimer-card .highlight-box { background: var(--bg); border-left: 4px solid var(--accent); padding: 15px 20px; border-radius: 0 var(--radius-md) var(--radius-md) 0; margin: 20px 0; }
.disclaimer-card .highlight-box p { margin-bottom: 5px; }
.update-date { text-align: center; color: #6b7280; font-size: .9rem; margin-top: 30px; }

/* --- 子页面追加 --- */
/* 保证 Bootstrap 组件不破坏午夜影院视费x看的配色 */
        .guide-section .card, .guide-section .card-body {
            background: var(--card-bg, #ffffff);
            color: var(--text);
            border: 1px solid var(--border-color, #e2e8f0);
            border-radius: var(--radius-md);
            box-shadow: var(--shadow-soft);
        }
.guide-section .list-group-item {
            background: transparent;
            color: var(--text);
            border-color: rgba(37, 99, 235, 0.15);
        }
.guide-section .accordion-button, .guide-section .accordion-body {
            background: var(--card-bg, #ffffff);
            color: var(--text);
            border: none;
        }
.guide-section .accordion-button:not(.collapsed) {
            background: rgba(37, 99, 235, 0.08);
            color: var(--primary);
        }
.guide-section .accordion-button:focus {
            box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.15);
        }
.guide-section .form-control, .guide-section .form-select {
            background: var(--card-bg, #ffffff);
            border: 1px solid rgba(15, 30, 61, 0.2);
            color: var(--text);
        }
.guide-section .form-control::placeholder {
            color: rgba(15, 30, 61, 0.4);
        }
.guide-section .table {
            --bs-table-bg: transparent;
            color: var(--text);
            border-color: rgba(37, 99, 235, 0.2);
        }
/* 小工具类 */
        .guide-card-custom {
            background: var(--card-bg, #ffffff);
            border-radius: var(--radius-md);
            padding: 1.8rem;
            box-shadow: var(--shadow-soft);
            border: 1px solid rgba(37, 99, 235, 0.1);
            height: 100%;
            transition: transform 0.2s ease, box-shadow 0.2s;
        }
.guide-card-custom:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-hover);
        }
.guide-icon-badge {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 52px;
            height: 52px;
            background: rgba(37, 99, 235, 0.1);
            color: var(--primary);
            border-radius: 16px;
            font-size: 1.6rem;
            margin-bottom: 1.2rem;
        }
.step-line {
            position: relative;
            padding-left: 2.2rem;
        }
.step-line::before {
            content: "";
            position: absolute;
            left: 8px;
            top: 8px;
            bottom: 8px;
            width: 3px;
            background: linear-gradient(to bottom, var(--primary), var(--accent));
            border-radius: 4px;
            opacity: 0.3;
        }
.step-item .step-num {
            position: absolute;
            left: -2.2rem;
            top: 0;
            width: 28px;
            height: 28px;
            background: var(--primary);
            color: #fff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.85rem;
            font-weight: 600;
            box-shadow: 0 4px 8px rgba(37, 99, 235, 0.2);
        }
.tag-mini {
            background: rgba(6, 182, 212, 0.1);
            color: var(--accent);
            padding: 0.2rem 0.8rem;
            border-radius: 30px;
            font-size: 0.8rem;
            font-weight: 500;
            display: inline-block;
        }
.guide-subtitle {
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--primary);
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
.guide-subtitle i {
            color: var(--accent);
        }

/* --- 子页面追加 --- */
/* 页面专属样式 */
        .rank-hero {
            background: linear-gradient(135deg, rgba(37,99,235,0.08) 0%, rgba(6,182,212,0.06) 100%);
            padding: 80px 0 60px;
            border-bottom: 1px solid rgba(37,99,235,0.08);
        }
.rank-hero .rank-hero-title {
            font-size: 2.4rem;
            font-weight: 900;
            color: var(--text);
            margin-bottom: 16px;
            line-height: 1.2;
        }
.rank-hero .rank-hero-sub {
            font-size: 1.05rem;
            color: #5a6b8c;
            max-width: 640px;
            margin: 0 auto;
        }
.rank-tabs {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            justify-content: center;
            margin-top: 36px;
        }
.rank-tab-btn {
            background: #fff;
            border: 1px solid rgba(37,99,235,0.15);
            color: var(--text);
            padding: 8px 22px;
            border-radius: 40px;
            font-size: 0.9rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }
.rank-tab-btn:hover,
        .rank-tab-btn.active {
            background: var(--primary);
            color: #fff;
            border-color: var(--primary);
            box-shadow: 0 4px 12px rgba(37,99,235,0.25);
        }
.rank-number {
            font-size: 1.6rem;
            font-weight: 900;
            color: var(--primary);
            min-width: 48px;
            text-align: center;
            opacity: 0.85;
        }
.rank-item:nth-child(1) .rank-number { color: #f59e0b; opacity: 1; }
.rank-item:nth-child(2) .rank-number { color: #94a3b8; opacity: 1; }
.rank-item:nth-child(3) .rank-number { color: #b45309; opacity: 1; }
.rank-poster {
            width: 80px;
            height: 110px;
            border-radius: 12px;
            object-fit: cover;
            flex-shrink: 0;
            background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
        }
.rank-desc {
            font-size: 0.9rem;
            color: #5a6b8c;
            line-height: 1.5;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
.rank-tag {
            display: inline-block;
            background: rgba(37,99,235,0.08);
            color: var(--primary);
            font-size: 0.75rem;
            padding: 2px 10px;
            border-radius: 20px;
            margin-right: 6px;
            font-weight: 600;
        }
.rank-badge {
            display: inline-block;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            color: #fff;
            font-size: 0.7rem;
            padding: 2px 12px;
            border-radius: 20px;
            margin-left: 8px;
            font-weight: 700;
            vertical-align: middle;
        }
.rank-section-title {
            font-size: 1.5rem;
            font-weight: 800;
            color: var(--text);
            margin-top: 60px;
            margin-bottom: 10px;
            position: relative;
            padding-left: 18px;
        }
.rank-section-title::before {
            content: '';
            position: absolute;
            left: 0;
            top: 6px;
            width: 6px;
            height: 24px;
            background: var(--primary);
            border-radius: 4px;
        }
.rank-section-sub {
            color: #7a8ba8;
            font-size: 0.9rem;
            margin-bottom: 24px;
        }
.rank-note {
            background: rgba(37,99,235,0.04);
            border: 1px solid rgba(37,99,235,0.1);
            border-radius: var(--radius-md);
            padding: 18px 24px;
            margin-top: 40px;
            font-size: 0.9rem;
            color: #5a6b8c;
            line-height: 1.7;
        }
.rank-note i {
            color: var(--primary);
            margin-right: 8px;
        }
.rank-hero { padding: 50px 0 40px; }
.rank-hero .rank-hero-title { font-size: 1.8rem; }
.rank-poster { width: 64px; height: 88px; }
.rank-number { min-width: 36px; font-size: 1.3rem; }
.rank-desc { -webkit-line-clamp: 1; }