:root {
      --color-primary: #dc2626;
      --color-accent: #fb923c;
      --color-bg: #141013;
      --color-text: #fef2f2;
      --border-thick: 3px solid var(--color-primary);
      --shadow-hard: 6px 6px 0 0 var(--color-accent);
    }

    * { border-radius: 0 !important; }

    body {
      background-color: var(--color-bg);
      color: var(--color-text);
      font-family: 'Noto Sans SC', sans-serif;
      line-height: 1.7;
      letter-spacing: 0.02em;
    }

    h1, h2, h3, h4, .navbar-brand, .hero-title, .section-title {
      font-family: 'Noto Serif SC', serif;
      font-weight: 700;
    }

    /* 全直角 + 硬阴影 */
    .card, .rank-item, .badge, .tag-pill, .btn, .modal-content, .hero-box, .footer-box {
      border-radius: 0 !important;
    }

    .card {
      background: #1d171c;
      border: 2px solid #3d2a2e;
      box-shadow: 4px 4px 0 0 #2a1f22;
      transition: transform 0.2s, border 0.2s, box-shadow 0.2s;
      overflow: hidden;
    }

    .card:hover {
      transform: scale(1.02);
      border-color: var(--color-primary);
      box-shadow: 6px 6px 0 0 var(--color-accent);
    }

    .card-img-wrapper {
      position: relative;
      background: linear-gradient(145deg, #2b1e22, #20181b);
      min-height: 200px;
    }

    .card-img-wrapper img {
      width: 100%;
      height: auto;
      min-height: 200px;
      object-fit: cover;
      opacity: 0;  /* 渐显占位 */
      transition: opacity 0.6s;
      background: #3a2d31;
    }

    .card-img-wrapper img.loaded {
      opacity: 1;
    }

    .ep-badge {
      position: absolute;
      top: 8px;
      left: 8px;
      background: #000000aa;
      border-left: 4px solid var(--color-primary);
      padding: 4px 10px;
      font-size: 12px;
      font-weight: 600;
      color: #fff;
      letter-spacing: 1px;
    }

    .rating-badge {
      position: absolute;
      bottom: 8px;
      right: 8px;
      background: #141013dd;
      padding: 4px 10px;
      border: 1px solid var(--color-accent);
      color: var(--color-accent);
      font-weight: 700;
      font-size: 14px;
    }

    .card-body {
      padding: 14px 12px 12px;
    }

    .card-title {
      font-size: 1.05rem;
      font-weight: 700;
      margin-bottom: 6px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .card-meta {
      font-size: 0.8rem;
      color: #ccc;
    }

    .section-title {
      border-left: 6px solid var(--color-primary);
      padding-left: 14px;
      margin: 40px 0 20px;
      font-weight: 900;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .section-title i {
      color: var(--color-accent);
    }

    /* 导航 */
    .navbar {
      background: #1d1518;
      border-bottom: 3px solid var(--color-primary);
    }

    .navbar-brand {
      font-weight: 900;
      font-size: 1.7rem;
      color: var(--color-text) !important;
      letter-spacing: 1px;
    }

    .navbar-nav .nav-link {
      color: #fcdada;
      font-weight: 500;
      margin: 0 8px;
    }

    .navbar-nav .nav-link:hover {
      color: var(--color-accent);
    }

    /* 打字机 Hero */
    .hero-box {
      background: linear-gradient(145deg, #1d1518 0%, #2e1e22 100%);
      border: 3px solid var(--color-primary);
      padding: 40px 30px;
      margin: 25px 0;
      box-shadow: var(--shadow-hard);
    }

    .hero-title {
      font-size: 2.5rem;
      font-weight: 900;
      display: inline-block;
      border-right: 3px solid var(--color-accent);
      padding-right: 6px;
      white-space: nowrap;
      overflow: hidden;
      animation: blink-caret 0.8s step-end infinite;
      min-height: 1.5em;
    }

    @keyframes blink-caret {
      50% { border-color: transparent; }
    }

    /* 榜单样式 */
    .rank-list .rank-item {
      background: #1d171c;
      border: 2px solid #3d2a2e;
      padding: 12px 18px;
      margin-bottom: 10px;
      display: flex;
      align-items: center;
      gap: 15px;
      box-shadow: 3px 3px 0 0 #2a1f22;
    }

    .rank-num {
      font-size: 1.8rem;
      font-weight: 900;
      color: var(--color-accent);
      width: 50px;
      text-align: center;
      font-family: 'Noto Serif SC', serif;
    }

    .rank-info {
      flex: 1;
    }

    .rank-info h5 {
      margin-bottom: 4px;
      font-weight: 700;
    }

    .rank-info small {
      color: #aaa;
    }

    .hot-badge {
      background: var(--color-primary);
      color: white;
      font-size: 12px;
      padding: 3px 8px;
      font-weight: 600;
      margin-left: 10px;
    }

    /* 时间线 */
    .timeline {
      border-left: 3px solid var(--color-primary);
      margin-left: 10px;
      padding-left: 25px;
    }
    .timeline-item {
      position: relative;
      margin-bottom: 20px;
    }
    .timeline-item:before {
      content: "";
      position: absolute;
      left: -32px;
      top: 5px;
      width: 12px;
      height: 12px;
      background: var(--color-accent);
      border: 2px solid var(--color-primary);
    }

    /* 标签页 */
    .nav-tabs .nav-link {
      border: 2px solid #3d2a2e;
      background: #1d171c;
      color: var(--color-text);
      margin-right: 5px;
      border-radius: 0;
      font-weight: 600;
    }
    .nav-tabs .nav-link.active {
      background: var(--color-primary);
      border-color: var(--color-primary);
      color: white;
    }

    /* 影片卡片通用 */
    .movie-card {
      cursor: pointer;
    }

    /* 弹窗 */
    .modal-content {
      background: #fef2f2;
      color: #1f1517;
      border: 4px solid var(--color-primary);
      box-shadow: 10px 10px 0 0 rgba(0,0,0,0.5);
    }

    .modal-close-btn {
      background: transparent;
      border: none;
      font-size: 2rem;
      line-height: 1;
      margin-left: auto;
    }

    /* footer */
    .footer-box {
      background: #1d1518;
      border-top: 4px solid var(--color-primary);
      padding: 30px 0;
      margin-top: 50px;
    }

    .friend-links {
      border: 2px solid #3d2a2e;
      padding: 18px;
      background: #1d171c;
      margin: 25px 0;
    }

    /* 滚动渐显 */
    .reveal {
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }

/* --- 子页面追加 --- */
/* 保证品牌名完整连续，不额外覆盖站点变量 */
    .about-hero {
      background: linear-gradient(145deg, rgba(220,38,38,.12) 0%, rgba(20,16,19,.9) 100%);
      border-bottom: var(--border-thick);
    }
.about-section-title {
      display: flex;
      align-items: center;
      gap: 12px;
    }
.about-section-title i {
      color: var(--color-accent);
      font-size: 1.6rem;
    }
.about-card {
      background: rgba(255,255,255,.03);
      border: 1px solid rgba(251,146,60,.25);
      border-radius: 20px;
      padding: 1.6rem 1.4rem;
      height: 100%;
      transition: transform .2s, box-shadow .2s;
    }
.about-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hard);
    }
.about-card i {
      color: var(--color-primary);
      font-size: 2rem;
      margin-bottom: 12px;
    }
.about-card h3 {
      color: var(--color-text);
      font-weight: 700;
      font-size: 1.25rem;
      letter-spacing: .5px;
    }
.about-card p {
      color: rgba(254,242,242,.75);
      font-size: .95rem;
      line-height: 1.7;
      margin-bottom: 0;
    }
.timeline-about {
      border-left: 2px solid var(--color-accent);
      padding-left: 2rem;
    }
.timeline-about .timeline-item {
      position: relative;
    }
.timeline-about .timeline-item::before {
      content: "\f111";
      font-family: "Font Awesome 6 Free";
      font-weight: 900;
      color: var(--color-primary);
      background: var(--color-bg);
      border-radius: 50%;
      position: absolute;
      left: -2.75rem;
      top: .2rem;
      font-size: 1.1rem;
      width: 1.4rem;
      text-align: center;
    }
.footer-note {
      border-top: 1px solid rgba(251,146,60,.2);
      padding-top: 1.2rem;
      margin-top: 2rem;
      font-size: .9rem;
      color: rgba(254,242,242,.5);
    }
/* 保证 Bootstrap 卡片/表单等无白底干扰，这里统一覆盖 */
    .card, .card-body, .card-title, .card-text, .card-header, .card-footer,
    .form-control, .form-select, .modal-content, .list-group-item {
      background: transparent !important;
      color: var(--color-text) !important;
      border-color: rgba(251,146,60,.3) !important;
    }
.form-control::placeholder {
      color: rgba(254,242,242,.4) !important;
    }

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