/* roulang page: index */
:root {
      --bg-main: #0b111e;
      --bg-card: #151d2e;
      --bg-hover: #1f2b42;
      --bg-rank: #131b2c;
      --brand-orange: #ff7d1a;
      --brand-yellow: #f59e0b;
      --brand-blue: #3b82f6;
      --text-main: #ffffff;
      --text-muted: #8c9bb5;
      --text-dim: #5c6b84;
      --tag-bg: #1c263b;
      --border-card: rgba(255, 255, 255, 0.08);
      --border-light: rgba(255, 255, 255, 0.04);
    }
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }
    body {
      background-color: var(--bg-main);
      color: var(--text-main);
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
      line-height: 1.5;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }
    a {
      text-decoration: none;
      color: inherit;
      transition: all 0.25s ease;
    }
    a:hover {
      color: #fff;
    }
    /* 顶部导航严格还原参考图 */
    .site-header {
      background-color: #0d1424;
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
      position: sticky;
      top: 0;
      z-index: 1000;
    }
    .nav-container {
      max-width: 1140px;
      margin: 0 auto;
      padding: 0 16px;
      height: 64px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .brand-logo {
      font-size: 22px;
      font-weight: 800;
      letter-spacing: 0.5px;
      color: #fff;
      display: flex;
      align-items: center;
      white-space: nowrap;
    }
    .brand-logo i {
      color: var(--brand-orange);
      margin-right: 6px;
    }
    .nav-search-wrap {
      flex: 1;
      max-width: 320px;
      margin: 0 24px;
      position: relative;
    }
    .nav-search-wrap input {
      width: 100%;
      height: 36px;
      background-color: #1a2336;
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 18px;
      padding: 0 42px 0 16px;
      font-size: 13px;
      color: #fff;
      outline: none;
      transition: all 0.2s ease;
    }
    .nav-search-wrap input:focus {
      background-color: #212c44;
      border-color: rgba(255, 255, 255, 0.25);
    }
    .nav-search-wrap button {
      position: absolute;
      right: 4px;
      top: 3px;
      width: 30px;
      height: 30px;
      border-radius: 50%;
      background: none;
      border: none;
      color: #8c9bb5;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
    }
    .nav-search-wrap button:hover {
      color: #fff;
    }
    .nav-links {
      display: flex;
      align-items: center;
      gap: 24px;
      list-style: none;
      margin: 0;
      padding: 0;
    }
    .nav-links a {
      font-size: 14px;
      color: var(--text-muted);
      font-weight: 500;
      white-space: nowrap;
    }
    .nav-links a:hover, .nav-links a.active {
      color: #fff;
    }
    .nav-user-avatar {
      width: 34px;
      height: 34px;
      border-radius: 50%;
      background: linear-gradient(135deg, #f43f5e, #ec4899);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-left: 20px;
      flex-shrink: 0;
      color: #fff;
      font-size: 15px;
      cursor: pointer;
    }

    /* 页面主干 */
    .main-wrapper {
      max-width: 1140px;
      margin: 0 auto;
      padding: 16px 16px 60px;
    }
    /* 顶部面包屑/微标 */
    .top-crumb {
      font-size: 12px;
      color: var(--text-dim);
      margin-bottom: 12px;
      display: flex;
      gap: 6px;
      align-items: center;
    }

    /* 首屏大 Banner 严格还原 */
    .hero-banner {
      position: relative;
      border-radius: 20px;
      overflow: hidden;
      height: 370px;
      background-color: #172033;
      display: flex;
      align-items: flex-end;
      padding: 40px;
      box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
      border: 1px solid var(--border-card);
    }
    .hero-banner-bg {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center 30%;
      z-index: 1;
    }
    .hero-banner-mask {
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(11, 17, 30, 0.95) 10%, rgba(11, 17, 30, 0.45) 50%, rgba(11, 17, 30, 0.15) 100%),
                  linear-gradient(to right, rgba(11, 17, 30, 0.9) 0%, transparent 60%);
      z-index: 2;
    }
    .hero-banner-content {
      position: relative;
      z-index: 3;
      max-width: 520px;
    }
    .hero-title {
      font-size: 26px;
      font-weight: 700;
      margin-bottom: 8px;
      color: #ffffff;
      text-shadow: 0 2px 8px rgba(0,0,0,0.6);
    }
    .hero-desc {
      font-size: 13px;
      color: #cbd5e1;
      margin-bottom: 16px;
    }
    .btn-hero-play {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background-color: #ffffff;
      color: #0b111e;
      font-size: 13px;
      font-weight: 600;
      padding: 7px 22px;
      border-radius: 20px;
      box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
    }
    .btn-hero-play:hover {
      background-color: #e2e8f0;
      color: #000;
      transform: translateY(-1px);
    }
    .hero-arrow-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      z-index: 4;
      width: 38px;
      height: 38px;
      border-radius: 50%;
      background: rgba(0, 0, 0, 0.4);
      backdrop-filter: blur(4px);
      border: 1px solid rgba(255, 255, 255, 0.15);
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      font-size: 14px;
      transition: all 0.2s ease;
    }
    .hero-arrow-btn:hover {
      background: rgba(0, 0, 0, 0.75);
    }
    .hero-arrow-btn.prev { left: 16px; }
    .hero-arrow-btn.next { right: 16px; }

    /* 类型标签筛选条 */
    .filter-tags-row {
      display: flex;
      justify-content: center;
      gap: 12px;
      margin: 24px 0 32px;
      flex-wrap: wrap;
    }
    .filter-tag-pill {
      background-color: var(--tag-bg);
      color: var(--text-muted);
      border: 1px solid var(--border-light);
      padding: 6px 20px;
      border-radius: 18px;
      font-size: 13px;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.2s ease;
    }
    .filter-tag-pill:hover, .filter-tag-pill.active {
      background-color: #26344f;
      color: #fff;
      border-color: rgba(255, 255, 255, 0.2);
    }

    /* 板块通用头部 */
    .section-head {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 18px;
    }
    .section-icon {
      font-size: 18px;
    }
    .section-title {
      font-size: 17px;
      font-weight: 700;
      letter-spacing: 0.3px;
      color: #ffffff;
      margin: 0;
    }
    .section-bar {
      width: 4px;
      height: 16px;
      background: var(--brand-orange);
      border-radius: 2px;
    }

    /* 电影海报网格 (6列) */
    .movie-grid-6 {
      display: grid;
      grid-template-columns: repeat(6, 1fr);
      gap: 16px;
      margin-bottom: 36px;
    }
    .movie-card {
      background-color: var(--bg-card);
      border-radius: 12px;
      overflow: hidden;
      border: 1px solid var(--border-card);
      display: flex;
      flex-direction: column;
      position: relative;
      transition: transform 0.25s ease, box-shadow 0.25s ease;
    }
    .movie-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
      border-color: rgba(255, 255, 255, 0.18);
    }
    .movie-card-thumb-wrap {
      width: 100%;
      aspect-ratio: 2 / 2.9;
      position: relative;
      overflow: hidden;
      background-color: #0f1624;
    }
    .movie-card-thumb {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.35s ease;
    }
    .movie-card:hover .movie-card-thumb {
      transform: scale(1.05);
    }
    .movie-card-info {
      padding: 10px;
      display: flex;
      flex-direction: column;
      gap: 4px;
    }
    .movie-card-title {
      font-size: 13px;
      font-weight: 600;
      color: #fff;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      margin: 0;
    }
    .movie-card-meta {
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-size: 11px;
      color: var(--text-dim);
    }
    .movie-card-rating {
      color: var(--brand-orange);
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 3px;
    }
    .movie-card-foot {
      font-size: 11px;
      color: var(--text-dim);
    }

    /* 本周热度排行榜 TOP5 严格还原参考图 */
    .rank-board-box {
      background-color: var(--bg-card);
      border-radius: 16px;
      border: 1px solid var(--border-card);
      padding: 20px 24px;
      margin-bottom: 36px;
    }
    .rank-list-items {
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin-top: 14px;
    }
    .rank-item-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      background-color: var(--bg-rank);
      border: 1px solid rgba(255, 255, 255, 0.03);
      border-radius: 8px;
      padding: 12px 16px;
      transition: all 0.2s ease;
    }
    .rank-item-row:hover {
      background-color: var(--bg-hover);
      border-color: rgba(255, 255, 255, 0.1);
    }
    .rank-item-left {
      display: flex;
      align-items: center;
      gap: 16px;
    }
    .rank-num-icon {
      font-size: 18px;
      width: 24px;
      text-align: center;
      display: inline-block;
    }
    .rank-num-icon.medal-1 { color: #f59e0b; }
    .rank-num-icon.medal-2 { color: #94a3b8; }
    .rank-num-icon.medal-3 { color: #b45309; }
    .rank-num-icon.plain {
      font-size: 14px;
      font-weight: 700;
      color: var(--text-muted);
    }
    .rank-item-name {
      font-size: 13px;
      font-weight: 600;
      color: #e2e8f0;
    }
    .rank-item-hot {
      font-size: 11px;
      color: var(--text-dim);
      display: flex;
      align-items: center;
      gap: 4px;
    }
    .rank-item-hot i {
      color: var(--brand-orange);
      font-size: 10px;
    }

    /* 经典典藏·影史神作 (4列胶囊图文格) */
    .classic-grid-4 {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
      margin-bottom: 36px;
    }
    .classic-item-card {
      background-color: var(--bg-card);
      border: 1px solid var(--border-card);
      border-radius: 12px;
      padding: 10px 12px;
      display: flex;
      align-items: center;
      gap: 12px;
      transition: all 0.2s ease;
    }
    .classic-item-card:hover {
      background-color: var(--bg-hover);
      border-color: rgba(255, 255, 255, 0.16);
      transform: translateY(-2px);
    }
    .classic-item-thumb {
      width: 58px;
      height: 72px;
      border-radius: 6px;
      object-fit: cover;
      flex-shrink: 0;
    }
    .classic-item-info {
      overflow: hidden;
      display: flex;
      flex-direction: column;
      gap: 3px;
    }
    .classic-item-title {
      font-size: 13px;
      font-weight: 600;
      color: #fff;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      margin: 0;
    }
    .classic-item-sub {
      font-size: 11px;
      color: var(--text-dim);
      white-space: nowrap;
    }
    .classic-item-desc {
      font-size: 11px;
      color: var(--text-muted);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    /* 即将上线·新片预告 (3列卡片) */
    .upcoming-grid-3 {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
      margin-bottom: 36px;
    }
    .upcoming-card {
      background-color: var(--bg-card);
      border: 1px solid var(--border-card);
      border-radius: 14px;
      padding: 24px 16px;
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      position: relative;
      transition: all 0.2s ease;
    }
    .upcoming-card:hover {
      border-color: rgba(255, 255, 255, 0.2);
      transform: translateY(-3px);
    }
    .upcoming-badge {
      display: inline-block;
      font-size: 10px;
      color: #cbd5e1;
      border: 1px solid rgba(255, 255, 255, 0.15);
      border-radius: 10px;
      padding: 2px 10px;
      margin-bottom: 12px;
      background: rgba(255, 255, 255, 0.03);
    }
    .upcoming-title {
      font-size: 14px;
      font-weight: 700;
      color: #fff;
      margin-bottom: 8px;
    }
    .upcoming-date {
      font-size: 11px;
      color: var(--text-muted);
      margin-bottom: 12px;
      display: flex;
      align-items: center;
      gap: 4px;
    }
    .upcoming-action {
      font-size: 12px;
      color: #93c5fd;
      font-weight: 500;
      cursor: pointer;
    }
    .upcoming-action:hover {
      color: #fff;
    }

    /* 底部简介大文本框 */
    .site-intro-box {
      background-color: var(--bg-card);
      border: 1px solid var(--border-card);
      border-radius: 12px;
      padding: 24px 30px;
      text-align: center;
      margin-bottom: 40px;
    }
    .site-intro-text {
      font-size: 13px;
      color: var(--text-muted);
      line-height: 1.8;
      max-width: 900px;
      margin: 0 auto;
    }

    /* 页脚严格还原 */
    .site-footer {
      border-top: 1px solid rgba(255, 255, 255, 0.06);
      padding: 30px 16px 24px;
      text-align: center;
      font-size: 12px;
      color: var(--text-dim);
    }
    .footer-links {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 20px;
      margin-bottom: 14px;
      flex-wrap: wrap;
    }
    .footer-links a {
      color: var(--text-muted);
    }
    .footer-links a:hover {
      color: #fff;
    }
    .footer-copy {
      color: var(--text-dim);
      margin-bottom: 16px;
    }
    /* 底部白底快搜横条 (参考图最底部) */
    .footer-bottom-bar {
      background-color: #ffffff;
      padding: 10px 16px;
      font-size: 11px;
      color: #64748b;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 16px;
      flex-wrap: wrap;
    }
    .footer-bottom-bar a {
      color: #475569;
    }
    .footer-bottom-bar a:hover {
      color: #0f172a;
    }

    /* 移动端响应式覆盖 */
    @media (max-width: 1024px) {
      .movie-grid-6 {
        grid-template-columns: repeat(4, 1fr);
      }
      .classic-grid-4 {
        grid-template-columns: repeat(2, 1fr);
      }
    }
    @media (max-width: 768px) {
      .nav-search-wrap {
        display: none;
      }
      .nav-links {
        gap: 14px;
      }
      .hero-banner {
        height: 280px;
        padding: 24px 20px;
      }
      .hero-title {
        font-size: 20px;
      }
      .movie-grid-6 {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
      }
      .classic-grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
      }
      .upcoming-grid-3 {
        grid-template-columns: 1fr;
        gap: 12px;
      }
      .site-intro-box {
        padding: 16px;
      }
    }
    @media (max-width: 520px) {
      .movie-grid-6 {
        grid-template-columns: repeat(2, 1fr);
      }
      .classic-grid-4 {
        grid-template-columns: 1fr;
      }
      .hero-banner {
        height: 240px;
      }
      .nav-links a {
        font-size: 13px;
      }
      .filter-tags-row {
        gap: 8px;
      }
      .filter-tag-pill {
        padding: 4px 12px;
        font-size: 12px;
      }
    }

/* roulang page: article */
:root {
      --bg-main: #0b111e;
      --bg-card: #151d2e;
      --bg-hover: #1f2b42;
      --bg-rank: #131b2c;
      --brand-orange: #ff7d1a;
      --brand-yellow: #f59e0b;
      --brand-blue: #3b82f6;
      --text-main: #ffffff;
      --text-muted: #8c9bb5;
      --text-dim: #5c6b84;
      --tag-bg: #1c263b;
      --border-card: rgba(255, 255, 255, 0.08);
      --border-light: rgba(255, 255, 255, 0.04);
    }
    body {
      background-color: var(--bg-main);
      color: var(--text-main);
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }
    a {
      text-decoration: none;
      color: inherit;
      transition: all 0.25s ease;
    }
    a:hover {
      color: #fff;
    }

    /* 顶部导航统一 */
    .site-header {
      background-color: #0d1424;
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
      position: sticky;
      top: 0;
      z-index: 1000;
    }
    .nav-container {
      max-width: 1140px;
      margin: 0 auto;
      padding: 0 16px;
      height: 64px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .brand-logo {
      font-size: 22px;
      font-weight: 800;
      letter-spacing: 0.5px;
      color: #fff;
      display: flex;
      align-items: center;
      white-space: nowrap;
    }
    .brand-logo i {
      color: var(--brand-orange);
      margin-right: 6px;
    }
    .nav-search-wrap {
      flex: 1;
      max-width: 320px;
      margin: 0 24px;
      position: relative;
    }
    .nav-search-wrap input {
      width: 100%;
      height: 36px;
      background-color: #1a2336;
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 18px;
      padding: 0 42px 0 16px;
      font-size: 13px;
      color: #fff;
      outline: none;
      transition: all 0.2s ease;
    }
    .nav-search-wrap input:focus {
      background-color: #212c44;
      border-color: rgba(255, 255, 255, 0.25);
    }
    .nav-search-wrap button {
      position: absolute;
      right: 4px;
      top: 3px;
      width: 30px;
      height: 30px;
      border-radius: 50%;
      background: none;
      border: none;
      color: #8c9bb5;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
    }
    .nav-search-wrap button:hover {
      color: #fff;
    }
    .nav-links {
      display: flex;
      align-items: center;
      gap: 24px;
      list-style: none;
      margin: 0;
      padding: 0;
    }
    .nav-links a {
      font-size: 14px;
      color: var(--text-muted);
      font-weight: 500;
      white-space: nowrap;
    }
    .nav-links a:hover, .nav-links a.active {
      color: #fff;
    }
    .nav-user-avatar {
      width: 34px;
      height: 34px;
      border-radius: 50%;
      background: linear-gradient(135deg, #f43f5e, #ec4899);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-left: 20px;
      flex-shrink: 0;
      color: #fff;
      font-size: 15px;
      cursor: pointer;
    }

    /* 主容器 */
    .main-wrapper {
      max-width: 1140px;
      margin: 0 auto;
      padding: 24px 16px 60px;
    }

    /* 面包屑导航 */
    .article-breadcrumb {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 13px;
      color: var(--text-dim);
      margin-bottom: 24px;
      flex-wrap: wrap;
    }
    .article-breadcrumb a {
      color: var(--text-muted);
    }
    .article-breadcrumb a:hover {
      color: #fff;
    }
    .article-breadcrumb .divider {
      color: #334155;
    }
    .article-breadcrumb .current {
      color: #94a3b8;
      max-width: 380px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    /* 详情页双栏布局 */
    .article-layout {
      display: grid;
      grid-template-columns: 1fr 310px;
      gap: 24px;
      align-items: start;
    }

    /* 左侧文章卡片容器 */
    .article-card {
      background-color: var(--bg-card);
      border: 1px solid var(--border-card);
      border-radius: 16px;
      padding: 36px 40px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    }
    .article-header {
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      padding-bottom: 24px;
      margin-bottom: 28px;
    }
    .article-category-badge {
      display: inline-block;
      background: rgba(255, 125, 26, 0.15);
      color: var(--brand-orange);
      font-size: 12px;
      font-weight: 600;
      padding: 3px 12px;
      border-radius: 12px;
      margin-bottom: 12px;
      border: 1px solid rgba(255, 125, 26, 0.3);
    }
    .article-title {
      font-size: 26px;
      font-weight: 800;
      color: #ffffff;
      line-height: 1.4;
      margin: 0 0 16px;
      letter-spacing: -0.3px;
    }
    .article-meta {
      display: flex;
      align-items: center;
      gap: 20px;
      font-size: 13px;
      color: var(--text-dim);
      flex-wrap: wrap;
    }
    .article-meta-item {
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .article-meta-item i {
      color: var(--text-muted);
    }

    /* 正文排版 */
    .article-body {
      font-size: 15px;
      line-height: 1.85;
      color: #cbd5e1;
    }
    .article-body p {
      margin-bottom: 20px;
    }
    .article-body h2, .article-body h3, .article-body h4 {
      color: #ffffff;
      font-weight: 700;
      margin-top: 36px;
      margin-bottom: 16px;
      position: relative;
      padding-left: 12px;
    }
    .article-body h2::before {
      content: "";
      position: absolute;
      left: 0;
      top: 4px;
      bottom: 4px;
      width: 4px;
      background-color: var(--brand-orange);
      border-radius: 2px;
    }
    .article-body ul, .article-body ol {
      padding-left: 20px;
      margin-bottom: 24px;
    }
    .article-body li {
      margin-bottom: 8px;
    }
    .article-body img {
      max-width: 100%;
      height: auto;
      border-radius: 12px;
      margin: 20px 0;
      border: 1px solid var(--border-card);
    }
    .article-body blockquote {
      margin: 24px 0;
      padding: 16px 20px;
      background-color: rgba(255, 255, 255, 0.03);
      border-left: 4px solid var(--brand-blue);
      border-radius: 0 8px 8px 0;
      color: #94a3b8;
      font-style: normal;
    }

    /* 正文未找到提示 */
    .article-not-found {
      text-align: center;
      padding: 80px 20px;
    }
    .not-found-icon {
      font-size: 54px;
      color: var(--text-dim);
      margin-bottom: 16px;
    }
    .not-found-text {
      font-size: 17px;
      color: var(--text-muted);
      margin-bottom: 24px;
    }
    .btn-return-home {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background-color: var(--brand-orange);
      color: #fff;
      font-size: 14px;
      font-weight: 600;
      padding: 10px 28px;
      border-radius: 22px;
      transition: all 0.25s ease;
    }
    .btn-return-home:hover {
      background-color: #ea580c;
      transform: translateY(-2px);
      color: #fff;
    }

    /* 右侧侧边栏 */
    .article-sidebar {
      display: flex;
      flex-direction: column;
      gap: 24px;
    }
    .sidebar-widget {
      background-color: var(--bg-card);
      border: 1px solid var(--border-card);
      border-radius: 16px;
      padding: 20px;
    }
    .widget-title {
      font-size: 15px;
      font-weight: 700;
      color: #ffffff;
      margin-bottom: 16px;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .widget-title i {
      color: var(--brand-orange);
    }

    /* 侧边栏排行列表 */
    .sidebar-rank-list {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .sidebar-rank-item {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 13px;
    }
    .sidebar-rank-num {
      width: 20px;
      height: 20px;
      border-radius: 4px;
      background: #1c263b;
      color: var(--text-dim);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 11px;
      font-weight: 700;
      flex-shrink: 0;
    }
    .sidebar-rank-item:nth-child(1) .sidebar-rank-num {
      background: rgba(255, 125, 26, 0.2);
      color: var(--brand-orange);
    }
    .sidebar-rank-item:nth-child(2) .sidebar-rank-num {
      background: rgba(245, 158, 11, 0.2);
      color: var(--brand-yellow);
    }
    .sidebar-rank-item:nth-child(3) .sidebar-rank-num {
      background: rgba(59, 130, 246, 0.2);
      color: var(--brand-blue);
    }
    .sidebar-rank-link {
      color: #cbd5e1;
      flex: 1;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .sidebar-rank-link:hover {
      color: #fff;
    }

    /* 影迷服务小贴士 */
    .sidebar-card-guide {
      background: linear-gradient(145deg, #182236 0%, #121927 100%);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 14px;
      padding: 16px;
    }
    .sidebar-card-guide h4 {
      font-size: 14px;
      color: #fff;
      font-weight: 700;
      margin-bottom: 8px;
    }
    .sidebar-card-guide p {
      font-size: 12px;
      color: var(--text-muted);
      line-height: 1.6;
      margin: 0;
    }

    /* 底部统一 */
    .site-footer {
      background-color: #080c16;
      border-top: 1px solid rgba(255, 255, 255, 0.05);
      padding: 40px 16px 36px;
      text-align: center;
    }
    .footer-links {
      display: flex;
      justify-content: center;
      gap: 24px;
      flex-wrap: wrap;
      margin-bottom: 16px;
    }
    .footer-links a {
      color: var(--text-muted);
      font-size: 13px;
    }
    .footer-links a:hover {
      color: #fff;
    }
    .footer-copy {
      color: var(--text-dim);
      font-size: 12px;
      margin-bottom: 16px;
    }
    .footer-bottom-bar {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 12px;
      flex-wrap: wrap;
      font-size: 12px;
      color: var(--text-dim);
      padding-top: 16px;
      border-top: 1px solid rgba(255, 255, 255, 0.03);
    }
    .footer-bottom-bar a {
      color: var(--text-dim);
    }
    .footer-bottom-bar a:hover {
      color: var(--brand-orange);
    }

    /* 移动端响应式处理 */
    @media (max-width: 992px) {
      .article-layout {
        grid-template-columns: 1fr;
      }
    }
    @media (max-width: 768px) {
      .nav-container {
        height: auto;
        padding: 12px 16px;
        flex-wrap: wrap;
        gap: 12px;
      }
      .nav-search-wrap {
        order: 3;
        max-width: 100%;
        margin: 0;
        width: 100%;
      }
      .nav-links {
        gap: 16px;
      }
      .article-card {
        padding: 24px 18px;
      }
      .article-title {
        font-size: 20px;
      }
    }

/* roulang page: category1 */
:root {
      --bg-main: #0b111e;
      --bg-card: #151d2e;
      --bg-hover: #1f2b42;
      --bg-rank: #131b2c;
      --brand-orange: #ff7d1a;
      --brand-yellow: #f59e0b;
      --brand-blue: #3b82f6;
      --text-main: #ffffff;
      --text-muted: #8c9bb5;
      --text-dim: #5c6b84;
      --tag-bg: #1c263b;
      --border-card: rgba(255, 255, 255, 0.08);
      --border-light: rgba(255, 255, 255, 0.04);
    }
    body {
      background-color: var(--bg-main);
      color: var(--text-main);
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
      line-height: 1.5;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }
    a {
      text-decoration: none;
      color: inherit;
      transition: all 0.25s ease;
    }
    a:hover {
      color: #fff;
    }
    .site-header {
      background-color: #0d1424;
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
      position: sticky;
      top: 0;
      z-index: 1000;
    }
    .nav-container {
      max-width: 1140px;
      margin: 0 auto;
      padding: 0 16px;
      height: 64px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .brand-logo {
      font-size: 22px;
      font-weight: 800;
      letter-spacing: 0.5px;
      color: #fff;
      display: flex;
      align-items: center;
      white-space: nowrap;
    }
    .brand-logo i {
      color: var(--brand-orange);
      margin-right: 6px;
    }
    .nav-search-wrap {
      flex: 1;
      max-width: 320px;
      margin: 0 24px;
      position: relative;
    }
    .nav-search-wrap input {
      width: 100%;
      height: 36px;
      background-color: #1a2336;
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 18px;
      padding: 0 42px 0 16px;
      font-size: 13px;
      color: #fff;
      outline: none;
      transition: all 0.2s ease;
    }
    .nav-search-wrap input:focus {
      background-color: #212c44;
      border-color: rgba(255, 255, 255, 0.25);
    }
    .nav-search-wrap button {
      position: absolute;
      right: 4px;
      top: 3px;
      width: 30px;
      height: 30px;
      border-radius: 50%;
      background: none;
      border: none;
      color: #8c9bb5;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
    }
    .nav-search-wrap button:hover {
      color: #fff;
    }
    .nav-links {
      display: flex;
      align-items: center;
      gap: 24px;
      list-style: none;
      margin: 0;
      padding: 0;
    }
    .nav-links a {
      font-size: 14px;
      color: var(--text-muted);
      font-weight: 500;
      white-space: nowrap;
    }
    .nav-links a:hover, .nav-links a.active {
      color: #fff;
      font-weight: 700;
    }
    .nav-user-avatar {
      width: 34px;
      height: 34px;
      border-radius: 50%;
      background: linear-gradient(135deg, #f43f5e, #ec4899);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-left: 20px;
      flex-shrink: 0;
      color: #fff;
      font-size: 15px;
      cursor: pointer;
    }
    .main-wrapper {
      max-width: 1140px;
      margin: 0 auto;
      padding: 16px 16px 60px;
    }
    .category-hero {
      position: relative;
      border-radius: 20px;
      overflow: hidden;
      min-height: 280px;
      background-color: #172033;
      display: flex;
      align-items: center;
      padding: 36px 44px;
      margin-bottom: 28px;
      border: 1px solid var(--border-card);
      box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
    }
    .category-hero-bg {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center 25%;
      z-index: 1;
      filter: brightness(0.65);
    }
    .category-hero-mask {
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, rgba(11, 17, 30, 0.95) 0%, rgba(11, 17, 30, 0.75) 50%, rgba(11, 17, 30, 0.3) 100%);
      z-index: 2;
    }
    .category-hero-content {
      position: relative;
      z-index: 3;
      max-width: 650px;
    }
    .category-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: rgba(255, 125, 26, 0.18);
      color: var(--brand-orange);
      border: 1px solid rgba(255, 125, 26, 0.35);
      border-radius: 12px;
      padding: 4px 12px;
      font-size: 12px;
      font-weight: 600;
      margin-bottom: 12px;
    }
    .category-title {
      font-size: 28px;
      font-weight: 800;
      color: #fff;
      margin-bottom: 10px;
      letter-spacing: 0.5px;
    }
    .category-desc {
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.6;
      margin-bottom: 20px;
    }
    .category-stats-row {
      display: flex;
      gap: 24px;
      flex-wrap: wrap;
    }
    .stat-item {
      display: flex;
      flex-direction: column;
    }
    .stat-num {
      font-size: 20px;
      font-weight: 800;
      color: #fff;
    }
    .stat-lbl {
      font-size: 11px;
      color: var(--text-dim);
    }
    .filter-tags-row {
      display: flex;
      justify-content: flex-start;
      gap: 10px;
      margin-bottom: 28px;
      flex-wrap: wrap;
    }
    .filter-tag-pill {
      background-color: var(--tag-bg);
      color: var(--text-muted);
      border: 1px solid var(--border-light);
      padding: 6px 16px;
      border-radius: 16px;
      font-size: 13px;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.2s ease;
    }
    .filter-tag-pill:hover, .filter-tag-pill.active {
      background-color: #26344f;
      color: #fff;
      border-color: rgba(255, 255, 255, 0.2);
    }
    .section-head {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 18px;
    }
    .section-bar {
      width: 4px;
      height: 16px;
      background: var(--brand-orange);
      border-radius: 2px;
    }
    .section-title {
      font-size: 17px;
      font-weight: 700;
      color: #ffffff;
      margin: 0;
      letter-spacing: 0.3px;
    }
    .movie-grid {
      display: grid;
      grid-template-columns: repeat(6, 1fr);
      gap: 14px;
      margin-bottom: 36px;
    }
    .movie-card {
      background-color: var(--bg-card);
      border-radius: 10px;
      overflow: hidden;
      border: 1px solid var(--border-card);
      transition: transform 0.25s ease, border-color 0.25s ease;
      display: flex;
      flex-direction: column;
    }
    .movie-card:hover {
      transform: translateY(-4px);
      border-color: rgba(255, 255, 255, 0.25);
    }
    .card-thumb-wrap {
      position: relative;
      width: 100%;
      aspect-ratio: 2/3;
      background-color: #1f2b42;
      overflow: hidden;
    }
    .card-thumb-wrap img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.35s ease;
    }
    .movie-card:hover .card-thumb-wrap img {
      transform: scale(1.05);
    }
    .card-badge {
      position: absolute;
      top: 6px;
      right: 6px;
      background: rgba(0, 0, 0, 0.75);
      backdrop-filter: blur(4px);
      color: #fff;
      font-size: 11px;
      padding: 2px 6px;
      border-radius: 4px;
      font-weight: 600;
    }
    .card-rating {
      position: absolute;
      bottom: 6px;
      left: 6px;
      color: var(--brand-yellow);
      font-size: 11px;
      font-weight: 700;
      background: rgba(11, 17, 30, 0.85);
      padding: 1px 6px;
      border-radius: 4px;
      display: flex;
      align-items: center;
      gap: 3px;
    }
    .card-info {
      padding: 10px;
      display: flex;
      flex-direction: column;
      flex: 1;
    }
    .card-title {
      font-size: 13px;
      font-weight: 600;
      color: #fff;
      margin-bottom: 4px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .card-meta {
      font-size: 11px;
      color: var(--text-dim);
      display: flex;
      justify-content: space-between;
      margin-top: auto;
    }
    .curation-matrix {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
      margin-bottom: 36px;
    }
    .curation-box {
      background-color: var(--bg-card);
      border: 1px solid var(--border-card);
      border-radius: 12px;
      padding: 20px;
      transition: transform 0.2s ease, border-color 0.2s ease;
    }
    .curation-box:hover {
      transform: translateY(-2px);
      border-color: rgba(255, 255, 255, 0.18);
    }
    .curation-box-icon {
      font-size: 24px;
      color: var(--brand-orange);
      margin-bottom: 12px;
    }
    .curation-box-title {
      font-size: 15px;
      font-weight: 700;
      color: #fff;
      margin-bottom: 8px;
    }
    .curation-box-text {
      font-size: 12px;
      color: var(--text-muted);
      line-height: 1.6;
    }
    .faq-panel {
      background-color: var(--bg-card);
      border-radius: 12px;
      border: 1px solid var(--border-card);
      padding: 24px;
      margin-bottom: 36px;
    }
    .faq-item {
      border-bottom: 1px solid var(--border-light);
      padding: 14px 0;
    }
    .faq-item:last-child {
      border-bottom: none;
      padding-bottom: 0;
    }
    .faq-question {
      font-size: 14px;
      font-weight: 700;
      color: #ffffff;
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 6px;
    }
    .faq-question i {
      color: var(--brand-orange);
    }
    .faq-answer {
      font-size: 13px;
      color: var(--text-muted);
      line-height: 1.6;
      margin: 0;
    }
    .cta-banner {
      background: linear-gradient(135deg, #18233a 0%, #101828 100%);
      border-radius: 16px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      padding: 30px;
      text-align: center;
      margin-bottom: 40px;
    }
    .cta-title {
      font-size: 20px;
      font-weight: 700;
      color: #fff;
      margin-bottom: 8px;
    }
    .cta-sub {
      font-size: 13px;
      color: var(--text-muted);
      margin-bottom: 18px;
      max-width: 580px;
      margin-left: auto;
      margin-right: auto;
    }
    .cta-btn {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: var(--brand-orange);
      color: #fff;
      font-size: 13px;
      font-weight: 600;
      padding: 8px 24px;
      border-radius: 20px;
      box-shadow: 0 4px 14px rgba(255, 125, 26, 0.35);
    }
    .cta-btn:hover {
      background: #f06a00;
      color: #fff;
    }
    .site-footer {
      background-color: #080c16;
      border-top: 1px solid rgba(255, 255, 255, 0.06);
      padding: 32px 16px 24px;
      font-size: 12px;
      color: var(--text-dim);
      text-align: center;
    }
    .footer-links {
      display: flex;
      justify-content: center;
      gap: 20px;
      margin-bottom: 16px;
      flex-wrap: wrap;
    }
    .footer-links a {
      color: var(--text-muted);
    }
    .footer-links a:hover {
      color: #fff;
    }
    .footer-copy {
      margin-bottom: 14px;
    }
    .footer-bottom-bar {
      display: flex;
      justify-content: center;
      gap: 12px;
      flex-wrap: wrap;
      color: var(--text-dim);
      font-size: 11px;
    }
    .footer-bottom-bar a {
      color: var(--text-dim);
    }
    .footer-bottom-bar a:hover {
      color: var(--text-muted);
    }
    @media (max-width: 1024px) {
      .movie-grid {
        grid-template-columns: repeat(4, 1fr);
      }
      .curation-matrix {
        grid-template-columns: repeat(2, 1fr);
      }
    }
    @media (max-width: 768px) {
      .movie-grid {
        grid-template-columns: repeat(3, 1fr);
      }
      .category-hero {
        padding: 24px;
        min-height: auto;
      }
      .category-title {
        font-size: 22px;
      }
      .curation-matrix {
        grid-template-columns: 1fr;
      }
      .nav-search-wrap {
        display: none;
      }
    }
    @media (max-width: 520px) {
      .movie-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
      }
      .category-hero {
        padding: 18px;
      }
      .category-title {
        font-size: 19px;
      }
      .category-desc {
        font-size: 12px;
      }
      .nav-links {
        gap: 14px;
      }
    }

/* roulang: framework shim */
/* 覆盖 Bootstrap 等对 a/btn 的全局默认，避免导航出现下划线/蓝链 */
.site-header a,.site-header a:hover,.navbar a,.navbar a:hover,.nav-links a,.nav-links a:hover,header nav a,header nav a:hover{text-decoration:none}
.site-header .btn,.navbar .btn,.nav-cta{text-decoration:none}
