:root {
      --primary: #f97316;
      --accent: #facc15;
      --bg-dark: #1a1410;
      --text-light: #fff7ed;
      --border-thick: 4px solid #f97316;
      --shadow-hard: 8px 8px 0px 0px rgba(249, 115, 22, 0.3);
    }
    * { border-radius: 0 !important; }
    body {
      background-color: var(--bg-dark);
      color: var(--text-light);
      font-family: 'Noto Sans SC', 'Inter', sans-serif;
      font-size: 14px;
      line-height: 1.5;
    }
    h1, h2, h3, h4, .font-serif {
      font-family: 'Noto Serif SC', 'Times New Roman', serif;
      font-weight: 700;
    }
    /* 全直角粗边框 */
    .card, .banner-item, .list-group-item, .accordion-item, .nav-cat, .footer-box {
      border: 2px solid #f97316;
      box-shadow: 4px 4px 0px 0px rgba(249, 115, 22, 0.5);
    }
    /* 导航 */
    .navbar-king {
      background: #201a14;
      border-bottom: 4px solid var(--primary);
    }
    .navbar-king .navbar-brand {
      font-family: 'Noto Serif SC', serif;
      font-weight: 900;
      color: var(--accent) !important;
      font-size: 1.8rem;
      letter-spacing: 2px;
    }
    .navbar-king .nav-link {
      color: var(--text-light) !important;
      font-weight: 500;
      padding: 0.5rem 1rem;
      border-left: 2px solid #3a2b1e;
      text-transform: uppercase;
    }
    .navbar-king .nav-link:hover {
      background: var(--primary);
      color: #1a1410 !important;
    }
    /* 打字机动画 */
    @keyframes typing {
      0% { width: 0; }
      100% { width: 100%; }
    }
    .typewriter {
      display: inline-block;
      overflow: hidden;
      white-space: nowrap;
      animation: typing 3s steps(20, end) infinite alternate;
      border-right: 4px solid var(--accent);
    }
    /* 区块标题 */
    .section-title {
      border-left: 10px solid var(--primary);
      padding-left: 1rem;
      margin: 2rem 0 1.5rem;
      font-size: 1.8rem;
      font-weight: 700;
      display: flex;
      align-items: center;
      gap: 10px;
    }
    /* 卡片 */
    .movie-card {
      background: #241d16;
      border: 2px solid #f97316;
      box-shadow: 6px 6px 0 0 rgba(249, 115, 22, 0.2);
      transition: transform 0.15s ease, border-color 0.15s;
      height: 100%;
      cursor: pointer;
    }
    .movie-card:hover {
      transform: scale(1.02);
      border-color: var(--accent);
      box-shadow: 10px 10px 0 0 rgba(250, 204, 21, 0.4);
    }
    .movie-card img {
      width: 100%;
      height: 260px;
      object-fit: cover;
      border-bottom: 2px solid var(--primary);
      background: #2d231b;
    }
    .card-body {
      padding: 0.75rem 0.5rem;
      background: transparent;
    }
    .badge-cat {
      background: var(--primary);
      color: #1a1410;
      font-weight: 600;
      padding: 0.2rem 0.6rem;
      border: 1px solid var(--accent);
      border-radius: 30px !important;
      text-transform: uppercase;
    }
    .score {
      color: var(--accent);
      font-weight: 700;
      font-size: 1.1rem;
    }
    /* 奖牌 */
    .medal {
      display: inline-block;
      width: 28px;
      height: 28px;
      line-height: 28px;
      text-align: center;
      background: var(--primary);
      color: #1a1410;
      font-weight: 800;
      margin-right: 6px;
      border: 1px solid var(--accent);
    }
    .rank-1 { background: gold; color: #1a1410; }
    .rank-2 { background: silver; color: #1a1410; }
    .rank-3 { background: #cd7f32; color: #1a1410; }
    /* 抽屉弹窗 */
    .drawer-overlay {
      position: fixed;
      top:0; left:0; width:100%; height:100%;
      background: rgba(0,0,0,0.7);
      display: none;
      z-index: 9999;
    }
    .drawer-panel {
      position: fixed;
      left:0; right:0; bottom:0;
      background: #2b2119;
      border-top: 6px solid var(--primary);
      padding: 1.5rem;
      transform: translateY(100%);
      transition: transform 0.3s ease;
      z-index: 10000;
      max-height: 80vh;
      overflow-y: auto;
    }
    .drawer-panel.show {
      transform: translateY(0);
    }
    /* 动画显现 */
    .fade-up {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.5s ease, transform 0.5s ease;
    }
    .fade-up.visible {
      opacity: 1;
      transform: translateY(0);
    }
    .delay-1 { transition-delay: 0.05s; }
    .delay-2 { transition-delay: 0.1s; }
    .delay-3 { transition-delay: 0.15s; }
    .footer-box {
      background: #201812;
      border-top: 4px solid var(--primary);
      padding: 2rem 0;
    }
    .friend-link a {
      color: var(--accent);
      margin: 0 1rem;
    }
    .accordion-button {
      background: #241d16;
      color: var(--text-light);
      border: 1px solid var(--primary);
    }
    .accordion-button:not(.collapsed) {
      background: var(--primary);
      color: #1a1410;
    }

/* --- 子页面追加 --- */
/* 排行榜专属样式 */
    .rank-hero {
      padding: 60px 0 30px;
      text-align: center;
    }
.rank-hero h1 {
      font-size: 2.8rem;
      font-weight: 900;
      margin-bottom: 15px;
      color: var(--text-light);
    }
.rank-hero p {
      color: rgba(255, 247, 237, 0.7);
      font-size: 1.1rem;
      max-width: 600px;
      margin: 0 auto;
    }
.rank-tabs {
      display: flex;
      justify-content: center;
      gap: 12px;
      margin-bottom: 40px;
      flex-wrap: wrap;
    }
.rank-tab-btn {
      background: transparent;
      border: 2px solid var(--primary);
      color: var(--text-light);
      padding: 8px 24px;
      border-radius: 30px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
    }
.rank-tab-btn:hover, .rank-tab-btn.active {
      background: var(--primary);
      color: #fff;
      box-shadow: var(--shadow-hard);
    }
.rank-section {
      margin-bottom: 50px;
    }
.rank-list {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
.rank-item {
      display: flex;
      align-items: center;
      gap: 15px;
      background: rgba(249, 115, 22, 0.08);
      border: 1px solid rgba(249, 115, 22, 0.3);
      border-radius: 10px;
      padding: 12px 18px;
      transition: all 0.3s ease;
    }
.rank-item:hover {
      transform: translateX(5px);
      background: rgba(249, 115, 22, 0.15);
      border-color: var(--primary);
    }
.rank-number {
      font-size: 1.5rem;
      font-weight: 900;
      min-width: 40px;
      text-align: center;
    }
.rank-number.rank-1 {
      color: var(--accent);
      font-size: 2rem;
    }
.rank-number.rank-2 {
      color: #c0c0c0;
      font-size: 1.8rem;
    }
.rank-number.rank-3 {
      color: #cd7f32;
      font-size: 1.6rem;
    }
.rank-info {
      flex: 1;
    }
.rank-title {
      font-weight: 600;
      color: var(--text-light);
      margin-bottom: 4px;
    }
.rank-meta {
      font-size: 0.85rem;
      color: rgba(255, 247, 237, 0.6);
    }
.rank-score {
      font-weight: 800;
      color: var(--accent);
      font-size: 1.2rem;
    }
.rank-trend {
      color: #4ade80;
      font-size: 0.85rem;
    }
.rank-trend.down {
      color: #f87171;
    }
.rank-note {
      background: rgba(250, 204, 21, 0.1);
      border-left: 4px solid var(--accent);
      padding: 15px 20px;
      border-radius: 0 8px 8px 0;
      margin-bottom: 30px;
      color: var(--text-light);
    }
.rank-note i {
      color: var(--accent);
      margin-right: 8px;
    }
.rank-hero h1 {
        font-size: 2rem;
      }
.rank-item {
        flex-wrap: wrap;
      }

/* --- 子页面追加 --- */
.about-hero {
            padding: 100px 0 60px;
            background: linear-gradient(135deg, rgba(249,115,22,0.15) 0%, rgba(250,204,21,0.05) 50%, transparent 100%);
        }
.about-section {
            padding: 60px 0;
        }
.about-card {
            background: rgba(255,247,237,0.05);
            border: 2px solid rgba(249,115,22,0.3);
            border-radius: 12px;
            padding: 30px;
            margin-bottom: 30px;
            transition: all 0.3s ease;
            height: 100%;
        }
.about-card:hover {
            border-color: var(--primary);
            transform: translateY(-5px);
            box-shadow: var(--shadow-hard);
        }
.about-icon {
            font-size: 2.5rem;
            color: var(--primary);
            margin-bottom: 15px;
        }
.about-title {
            color: var(--primary);
            font-weight: 700;
            margin-bottom: 15px;
            font-size: 1.4rem;
        }
.about-text {
            color: var(--text-light);
            opacity: 0.9;
            line-height: 1.8;
        }
.about-stats {
            background: rgba(249,115,22,0.1);
            border: 2px solid rgba(249,115,22,0.3);
            border-radius: 12px;
            padding: 40px 20px;
            margin: 40px 0;
        }
.stat-number {
            font-size: 2.5rem;
            font-weight: 800;
            color: var(--primary);
            display: block;
        }
.stat-label {
            color: var(--text-light);
            opacity: 0.8;
            font-size: 0.95rem;
            margin-top: 5px;
        }
.about-features {
            background: rgba(250,204,21,0.05);
            border-radius: 12px;
            padding: 40px;
            margin: 40px 0;
        }
.feature-item {
            display: flex;
            align-items: flex-start;
            margin-bottom: 25px;
            padding: 15px;
            border-radius: 8px;
            background: rgba(255,247,237,0.03);
            transition: all 0.3s ease;
        }
.feature-item:hover {
            background: rgba(249,115,22,0.1);
            transform: translateX(5px);
        }
.feature-icon {
            color: var(--accent);
            font-size: 1.5rem;
            margin-right: 20px;
            flex-shrink: 0;
            margin-top: 3px;
        }
.feature-text {
            color: var(--text-light);
            line-height: 1.7;
        }
.feature-text strong {
            color: var(--primary);
            display: block;
            margin-bottom: 5px;
            font-size: 1.1rem;
        }
.about-values {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 25px;
            margin: 40px 0;
        }
.value-item {
            background: rgba(255,247,237,0.05);
            border: 2px solid rgba(249,115,22,0.2);
            border-radius: 12px;
            padding: 25px;
            text-align: center;
            transition: all 0.3s ease;
        }
.value-item:hover {
            border-color: var(--accent);
            transform: translateY(-3px);
        }
.value-icon {
            font-size: 2rem;
            margin-bottom: 15px;
            display: block;
        }
.value-title {
            color: var(--primary);
            font-weight: 600;
            margin-bottom: 10px;
        }
.value-desc {
            color: var(--text-light);
            opacity: 0.85;
            line-height: 1.6;
            font-size: 0.95rem;
        }
.about-cta {
            background: linear-gradient(135deg, rgba(249,115,22,0.2) 0%, rgba(250,204,21,0.1) 100%);
            border-radius: 12px;
            padding: 50px;
            text-align: center;
            margin: 40px 0;
        }
.about-cta h2 {
            color: var(--primary);
            margin-bottom: 15px;
        }
.about-cta p {
            color: var(--text-light);
            opacity: 0.9;
            margin-bottom: 25px;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

/* --- Bootstrap 组件配色适配(程序自动补,避免白底黑字) --- */
.accordion-body { background:transparent !important; color:#fff7ed !important; }
.accordion-header { background:transparent !important; }
