/* roulang page: index */
/* ========================================================
       DESIGN SYSTEM & CSS VARIABLES (Dark Console Precision)
       ======================================================== */
    :root {
      --bg-canvas: #0A0C10;
      --bg-panel: #12161F;
      --bg-card: #181E2A;
      --bg-card-hover: #1E2638;
      --border-color: #252F42;
      --border-subtle: rgba(255, 255, 255, 0.08);
      --accent-magenta: #FF2A6D;
      --accent-cyan: #05D9E8;
      --accent-amber: #FFB800;
      --text-muted: #94A3B8;
      --text-dim: #6C7D93;
      --text-body: #E2E8F0;
      --text-white: #FFFFFF;
      --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
      --font-mono: "JetBrains Mono", "Fira Code", monospace;
      --radius-sm: 4px;
      --radius-md: 6px;
      --glow-magenta: 0 0 15px rgba(255, 42, 109, 0.35);
      --glow-cyan: 0 0 15px rgba(5, 217, 232, 0.3);
      --shadow-panel: 0 0 0 1px #252F42, 0 8px 32px rgba(0, 0, 0, 0.65);
    }

    /* Base Reset */
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }
    body {
      background-color: var(--bg-canvas);
      color: var(--text-body);
      font-family: var(--font-sans);
      line-height: 1.8;
      font-size: 15px;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }
    a {
      color: var(--accent-cyan);
      text-decoration: none;
      transition: all 0.2s ease;
    }
    a:hover {
      color: var(--accent-magenta);
    }
    h1, h2, h3, h4, h5, h6 {
      color: var(--text-white);
      font-weight: 700;
      letter-spacing: -0.02em;
    }
    .font-mono {
      font-family: var(--font-mono);
    }

    /* Layout & Panels */
    .container {
      max-width: 1240px;
    }
    .console-panel {
      background: var(--bg-panel);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      box-shadow: var(--shadow-panel);
      position: relative;
    }
    .console-card {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-sm);
      transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    }
    .console-card:hover {
      border-color: var(--accent-cyan);
      box-shadow: var(--glow-cyan);
      transform: translateY(-2px);
    }

    /* Terminal Window Frame */
    .terminal-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 10px 16px;
      background: rgba(10, 12, 16, 0.85);
      border-bottom: 1px solid var(--border-color);
      border-top-left-radius: var(--radius-md);
      border-top-right-radius: var(--radius-md);
    }
    .terminal-dots {
      display: flex;
      gap: 6px;
    }
    .terminal-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: #3a4454;
      display: inline-block;
    }
    .terminal-dot.red { background: #ff5f56; }
    .terminal-dot.yellow { background: #ffbd2e; }
    .terminal-dot.green { background: #27c93f; }

    /* Badges & Tags */
    .badge-console {
      font-family: var(--font-mono);
      font-size: 11px;
      font-weight: 600;
      padding: 3px 8px;
      border-radius: var(--radius-sm);
      letter-spacing: 0.05em;
      text-transform: uppercase;
    }
    .badge-magenta {
      background: rgba(255, 42, 109, 0.15);
      color: var(--accent-magenta);
      border: 1px solid rgba(255, 42, 109, 0.35);
    }
    .badge-cyan {
      background: rgba(5, 217, 232, 0.12);
      color: var(--accent-cyan);
      border: 1px solid rgba(5, 217, 232, 0.35);
    }
    .badge-amber {
      background: rgba(255, 184, 0, 0.12);
      color: var(--accent-amber);
      border: 1px solid rgba(255, 184, 0, 0.35);
    }
    .badge-gray {
      background: rgba(255, 255, 255, 0.05);
      color: var(--text-muted);
      border: 1px solid var(--border-color);
    }

    /* Buttons */
    .btn-console {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-family: var(--font-mono);
      font-size: 13px;
      font-weight: 600;
      padding: 10px 22px;
      border-radius: var(--radius-sm);
      letter-spacing: 0.04em;
      text-transform: uppercase;
      transition: all 0.25s ease;
      cursor: pointer;
      border: 1px solid transparent;
      text-decoration: none;
    }
    .btn-magenta {
      background: var(--accent-magenta);
      color: #fff;
      box-shadow: var(--glow-magenta);
    }
    .btn-magenta:hover {
      background: #ff4781;
      color: #fff;
      box-shadow: 0 0 25px rgba(255, 42, 109, 0.6);
      transform: translateY(-1px);
    }
    .btn-outline-cyan {
      background: transparent;
      color: var(--accent-cyan);
      border-color: var(--accent-cyan);
    }
    .btn-outline-cyan:hover {
      background: rgba(5, 217, 232, 0.1);
      color: var(--accent-cyan);
      box-shadow: var(--glow-cyan);
    }

    /* Live Blinking Indicator */
    .pulse-dot {
      width: 8px;
      height: 8px;
      background-color: #00ff88;
      border-radius: 50%;
      display: inline-block;
      margin-right: 6px;
      box-shadow: 0 0 8px #00ff88;
      animation: pulse 1.8s infinite;
    }
    @keyframes pulse {
      0% { transform: scale(0.95); opacity: 0.8; }
      50% { transform: scale(1.25); opacity: 1; box-shadow: 0 0 14px #00ff88; }
      100% { transform: scale(0.95); opacity: 0.8; }
    }

    /* Header & Navigation */
    .site-header {
      background: rgba(10, 12, 16, 0.92);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border-color);
      position: sticky;
      top: 0;
      z-index: 1020;
    }
    .navbar-brand {
      font-family: var(--font-sans);
      font-size: 18px;
      font-weight: 800;
      color: var(--text-white) !important;
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .navbar-brand span {
      background: linear-gradient(90deg, #FFFFFF, var(--accent-cyan));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    .nav-link {
      color: var(--text-muted) !important;
      font-size: 14px;
      font-weight: 500;
      padding: 8px 16px !important;
      border-radius: var(--radius-sm);
      transition: all 0.2s ease;
    }
    .nav-link:hover, .nav-link.active {
      color: var(--accent-cyan) !important;
      background: rgba(5, 217, 232, 0.08);
    }

    /* Hero Video Overlay Banner */
    .hero-stage {
      position: relative;
      background: radial-gradient(circle at 50% 20%, rgba(255, 42, 109, 0.12) 0%, rgba(10, 12, 16, 0.95) 75%), #0A0C10;
      border-bottom: 1px solid var(--border-color);
      padding: 85px 0 95px;
      overflow: hidden;
    }
    .hero-grid-bg {
      position: absolute;
      inset: 0;
      background-image: 
        linear-gradient(to right, rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.02) 1px, transparent 1px);
      background-size: 40px 40px;
      pointer-events: none;
    }
    .hero-play-stage {
      position: relative;
      background: #000;
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      overflow: hidden;
      aspect-ratio: 16/9;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 15px 45px rgba(0,0,0,0.8);
    }
    .hero-overlay-mask {
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(18, 22, 31, 0.3) 0%, rgba(10, 12, 16, 0.85) 100%);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      padding: 24px;
    }
    .pulse-play-btn {
      width: 74px;
      height: 74px;
      background: rgba(255, 42, 109, 0.9);
      border: 2px solid #FFFFFF;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-size: 26px;
      cursor: pointer;
      box-shadow: var(--glow-magenta);
      transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      margin: auto;
    }
    .pulse-play-btn:hover {
      transform: scale(1.1);
      background: var(--accent-magenta);
      box-shadow: 0 0 35px rgba(255, 42, 109, 0.8);
    }

    /* Sections */
    .section-wrap {
      padding: 70px 0;
      border-bottom: 1px solid var(--border-color);
      position: relative;
    }
    .section-head {
      margin-bottom: 40px;
    }
    .section-head .sub-title {
      font-family: var(--font-mono);
      font-size: 12px;
      color: var(--accent-cyan);
      text-transform: uppercase;
      letter-spacing: 0.1em;
      margin-bottom: 8px;
    }
    .section-head h2 {
      font-size: 26px;
      margin-bottom: 12px;
    }
    .section-head p {
      color: var(--text-muted);
      max-width: 820px;
      line-height: 1.8;
      font-size: 15px;
    }

    /* Accordion Custom */
    .accordion-console .accordion-item {
      background-color: var(--bg-card);
      border: 1px solid var(--border-color);
      margin-bottom: 12px;
      border-radius: var(--radius-sm) !important;
      overflow: hidden;
    }
    .accordion-console .accordion-button {
      background-color: var(--bg-card);
      color: var(--text-white);
      font-weight: 600;
      padding: 16px 20px;
      box-shadow: none;
    }
    .accordion-console .accordion-button:not(.collapsed) {
      color: var(--accent-cyan);
      background-color: rgba(5, 217, 232, 0.05);
      border-bottom: 1px solid var(--border-color);
    }
    .accordion-console .accordion-body {
      background-color: var(--bg-panel);
      color: var(--text-body);
      font-size: 14.5px;
      line-height: 1.8;
      padding: 20px;
    }
    .accordion-console .accordion-button::after {
      filter: invert(1) grayscale(100%) brightness(200%);
    }

    /* Media Feed Table */
    .feed-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 16px 20px;
      border-bottom: 1px solid var(--border-subtle);
      transition: background 0.2s ease;
    }
    .feed-row:last-child {
      border-bottom: none;
    }
    .feed-row:hover {
      background: rgba(255, 255, 255, 0.02);
    }

    /* CDN Nodes Table */
    .node-status-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-family: var(--font-mono);
      font-size: 12px;
      color: #00ff88;
    }
    .node-status-badge::before {
      content: "";
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: #00ff88;
      box-shadow: 0 0 6px #00ff88;
    }

    /* Footer */
    .site-footer {
      background: #07080c;
      border-top: 1px solid var(--border-color);
      padding: 60px 0 30px;
      font-size: 14px;
    }
    .footer-title {
      font-family: var(--font-mono);
      font-size: 13px;
      color: var(--text-white);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      margin-bottom: 20px;
    }
    .footer-links {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    .footer-links li {
      margin-bottom: 10px;
    }
    .footer-links a {
      color: var(--text-muted);
      font-size: 13.5px;
    }
    .footer-links a:hover {
      color: var(--accent-cyan);
    }
    .footer-bottom {
      margin-top: 50px;
      padding-top: 25px;
      border-top: 1px solid var(--border-subtle);
      font-family: var(--font-mono);
      font-size: 12px;
      color: var(--text-dim);
    }

    /* Responsive */
    @media (max-width: 991px) {
      .hero-stage { padding: 50px 0 60px; }
      .section-wrap { padding: 50px 0; }
    }

/* roulang page: category1 */
:root {
      --bg-canvas: #0A0C10;
      --bg-panel: #12161F;
      --bg-card: #181E2A;
      --bg-card-hover: #1E2638;
      --border-color: #252F42;
      --border-subtle: rgba(255, 255, 255, 0.08);
      --accent-magenta: #FF2A6D;
      --accent-cyan: #05D9E8;
      --accent-amber: #FFB800;
      --text-muted: #94A3B8;
      --text-dim: #6C7D93;
      --text-body: #E2E8F0;
      --text-white: #FFFFFF;
      --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
      --font-mono: "JetBrains Mono", "Fira Code", monospace;
      --radius-sm: 4px;
      --radius-md: 6px;
      --glow-magenta: 0 0 15px rgba(255, 42, 109, 0.35);
      --glow-cyan: 0 0 15px rgba(5, 217, 232, 0.3);
      --shadow-panel: 0 0 0 1px #252F42, 0 8px 32px rgba(0, 0, 0, 0.65);
    }
    body {
      background-color: var(--bg-canvas);
      color: var(--text-body);
      font-family: var(--font-sans);
      line-height: 1.8;
      font-size: 15px;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }
    a {
      color: var(--accent-cyan);
      text-decoration: none;
      transition: all 0.2s ease;
    }
    a:hover {
      color: var(--accent-magenta);
    }
    .container {
      max-width: 1240px;
    }
    .font-mono {
      font-family: var(--font-mono);
    }
    .site-header {
      background: rgba(10, 12, 16, 0.92);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border-color);
      position: sticky;
      top: 0;
      z-index: 1020;
    }
    .navbar-brand {
      font-family: var(--font-sans);
      font-size: 18px;
      font-weight: 800;
      color: var(--text-white) !important;
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .navbar-brand span {
      background: linear-gradient(90deg, #FFFFFF, var(--accent-cyan));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    .pulse-dot {
      width: 8px;
      height: 8px;
      background-color: #00E676;
      border-radius: 50%;
      box-shadow: 0 0 8px #00E676;
      display: inline-block;
    }
    .nav-link {
      color: var(--text-muted) !important;
      font-size: 14px;
      font-weight: 500;
      padding: 8px 16px !important;
      border-radius: var(--radius-sm);
      transition: all 0.2s ease;
    }
    .nav-link:hover, .nav-link.active {
      color: var(--accent-cyan) !important;
      background: rgba(5, 217, 232, 0.08);
    }
    .badge-console {
      font-family: var(--font-mono);
      font-size: 11px;
      font-weight: 600;
      padding: 3px 8px;
      border-radius: var(--radius-sm);
      letter-spacing: 0.05em;
      text-transform: uppercase;
      display: inline-flex;
      align-items: center;
    }
    .badge-magenta {
      background: rgba(255, 42, 109, 0.15);
      color: var(--accent-magenta);
      border: 1px solid rgba(255, 42, 109, 0.35);
    }
    .badge-cyan {
      background: rgba(5, 217, 232, 0.12);
      color: var(--accent-cyan);
      border: 1px solid rgba(5, 217, 232, 0.35);
    }
    .badge-amber {
      background: rgba(255, 184, 0, 0.12);
      color: var(--accent-amber);
      border: 1px solid rgba(255, 184, 0, 0.35);
    }
    .badge-gray {
      background: rgba(255, 255, 255, 0.05);
      color: var(--text-muted);
      border: 1px solid var(--border-color);
    }
    .btn-console {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-family: var(--font-mono);
      font-size: 13px;
      font-weight: 600;
      padding: 10px 22px;
      border-radius: var(--radius-sm);
      letter-spacing: 0.04em;
      text-transform: uppercase;
      transition: all 0.25s ease;
      cursor: pointer;
      border: 1px solid transparent;
      text-decoration: none;
    }
    .btn-magenta {
      background: var(--accent-magenta);
      color: #fff;
      box-shadow: var(--glow-magenta);
    }
    .btn-magenta:hover {
      background: #ff4781;
      color: #fff;
      box-shadow: 0 0 25px rgba(255, 42, 109, 0.6);
      transform: translateY(-1px);
    }
    .btn-outline-cyan {
      background: transparent;
      color: var(--accent-cyan);
      border-color: var(--accent-cyan);
    }
    .btn-outline-cyan:hover {
      background: rgba(5, 217, 232, 0.1);
      color: var(--accent-cyan);
      box-shadow: var(--glow-cyan);
    }
    .btn-outline-dim {
      background: rgba(255, 255, 255, 0.03);
      color: var(--text-muted);
      border-color: var(--border-color);
    }
    .btn-outline-dim:hover, .btn-outline-dim.active {
      background: rgba(5, 217, 232, 0.12);
      color: var(--accent-cyan);
      border-color: var(--accent-cyan);
    }

    /* Section 1: Compact Banner */
    .category-header-bar {
      background: linear-gradient(180deg, #12161F 0%, #0A0C10 100%);
      border-bottom: 1px solid var(--border-color);
      padding: 32px 0 28px;
    }
    .category-h1 {
      font-size: 26px;
      font-weight: 800;
      color: var(--text-white);
      letter-spacing: -0.02em;
      margin-bottom: 8px;
    }
    .category-subtext {
      color: var(--text-muted);
      font-size: 14px;
      margin-bottom: 0;
    }

    /* Section 2: Filter Console */
    .filter-console {
      background: #10141D;
      border: 1px solid var(--border-color);
      border-radius: var(--radius-sm);
      padding: 16px 20px;
      margin-top: -1px;
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
    }
    .filter-row {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 12px;
    }
    .filter-label {
      font-family: var(--font-mono);
      font-size: 12px;
      color: var(--text-dim);
      text-transform: uppercase;
      min-width: 90px;
    }

    /* Section 3: Content Cards */
    .grid-section {
      padding: 48px 0;
    }
    .media-card {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-sm);
      overflow: hidden;
      height: 100%;
      display: flex;
      flex-direction: column;
      transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    }
    .media-card:hover {
      border-color: var(--accent-cyan);
      box-shadow: var(--glow-cyan);
      transform: translateY(-3px);
    }
    .media-thumb-box {
      position: relative;
      width: 100%;
      aspect-ratio: 16/10;
      background: #0B0E14;
      overflow: hidden;
    }
    .media-visual {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      background-size: cover;
      background-position: center;
      transition: transform 0.4s ease;
    }
    .media-card:hover .media-visual {
      transform: scale(1.04);
    }
    .thumb-badge-top {
      position: absolute;
      top: 10px;
      left: 10px;
      right: 10px;
      display: flex;
      justify-content: space-between;
      pointer-events: none;
      z-index: 2;
    }
    .thumb-badge-bottom {
      position: absolute;
      bottom: 8px;
      right: 10px;
      font-family: var(--font-mono);
      font-size: 11px;
      background: rgba(0, 0, 0, 0.78);
      color: #FFF;
      padding: 2px 6px;
      border-radius: var(--radius-sm);
      border: 1px solid rgba(255,255,255,0.1);
      z-index: 2;
    }
    .media-info {
      padding: 16px 18px 18px;
      display: flex;
      flex-direction: column;
      flex-grow: 1;
    }
    .media-title {
      font-size: 15px;
      font-weight: 700;
      line-height: 1.5;
      color: var(--text-white);
      margin-bottom: 8px;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .media-desc {
      font-size: 13px;
      color: var(--text-muted);
      line-height: 1.6;
      margin-bottom: 14px;
      flex-grow: 1;
    }
    .media-meta-bar {
      border-top: 1px solid var(--border-subtle);
      padding-top: 10px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-size: 12px;
    }

    /* Section 4: Narrative Guide */
    .narrative-guide {
      background: var(--bg-panel);
      border-top: 1px solid var(--border-color);
      border-bottom: 1px solid var(--border-color);
      padding: 56px 0;
    }
    .narrative-card {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-sm);
      padding: 24px 28px;
      height: 100%;
    }
    .narrative-card h3 {
      font-size: 18px;
      font-weight: 700;
      color: var(--text-white);
      margin-bottom: 14px;
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .narrative-card p {
      color: var(--text-muted);
      font-size: 14px;
      margin-bottom: 12px;
      line-height: 1.75;
    }

    /* Section 5: Ranking List */
    .ranking-section {
      padding: 56px 0;
    }
    .ranking-row {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-sm);
      padding: 14px 20px;
      display: flex;
      align-items: center;
      gap: 18px;
      margin-bottom: 12px;
      transition: all 0.2s ease;
    }
    .ranking-row:hover {
      border-color: var(--accent-magenta);
      transform: translateX(4px);
      background: var(--bg-card-hover);
    }
    .rank-num {
      font-family: var(--font-mono);
      font-size: 20px;
      font-weight: 800;
      min-width: 36px;
      color: var(--accent-cyan);
    }
    .rank-num.top-rank {
      color: var(--accent-magenta);
    }
    .rank-main {
      flex-grow: 1;
    }
    .rank-title {
      font-size: 15px;
      font-weight: 700;
      color: var(--text-white);
      margin-bottom: 4px;
    }
    .rank-tags {
      font-size: 12px;
      color: var(--text-dim);
    }

    /* Section 6: Commit Log */
    .log-section {
      background: #0D1017;
      border-top: 1px solid var(--border-color);
      border-bottom: 1px solid var(--border-color);
      padding: 56px 0;
    }
    .timeline-wrap {
      border-left: 2px solid var(--border-color);
      margin-left: 14px;
      padding-left: 24px;
    }
    .timeline-node {
      position: relative;
      margin-bottom: 28px;
    }
    .timeline-node:last-child {
      margin-bottom: 0;
    }
    .node-dot {
      position: absolute;
      left: -31px;
      top: 4px;
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: var(--bg-canvas);
      border: 2px solid var(--accent-cyan);
    }
    .node-header {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 6px;
      flex-wrap: wrap;
    }
    .node-hash {
      font-family: var(--font-mono);
      font-size: 12px;
      color: var(--accent-cyan);
      background: rgba(5,217,232,0.1);
      padding: 1px 6px;
      border-radius: 3px;
    }
    .node-text {
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.6;
    }

    /* Section 7: Cross Index */
    .cross-index {
      padding: 48px 0 60px;
    }
    .cross-box {
      background: var(--bg-panel);
      border: 1px dashed var(--border-color);
      border-radius: var(--radius-sm);
      padding: 24px;
    }

    /* Footer */
    .console-footer {
      background: #080A0E;
      border-top: 1px solid var(--border-color);
      padding: 60px 0 28px;
    }
    .footer-brand {
      font-size: 18px;
      font-weight: 800;
      color: var(--text-white);
      letter-spacing: -0.01em;
    }
    .footer-title {
      font-family: var(--font-mono);
      font-size: 12px;
      font-weight: 700;
      color: var(--text-white);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      margin-bottom: 16px;
    }
    .footer-links {
      list-style: none;
      padding-left: 0;
      margin-bottom: 0;
    }
    .footer-links li {
      margin-bottom: 8px;
    }
    .footer-links a {
      color: var(--text-muted);
      font-size: 13px;
    }
    .footer-links a:hover {
      color: var(--accent-cyan);
    }
    .footer-bottom {
      border-top: 1px solid var(--border-subtle);
      padding-top: 24px;
      margin-top: 40px;
    }

    @media (max-width: 991px) {
      .category-h1 {
        font-size: 22px;
      }
      .filter-label {
        width: 100%;
        margin-bottom: 4px;
      }
    }

/* roulang page: category2 */
:root {
      --bg-canvas: #0A0C10;
      --bg-panel: #12161F;
      --bg-card: #181E2A;
      --bg-card-hover: #1E2638;
      --border-color: #252F42;
      --border-subtle: rgba(255, 255, 255, 0.08);
      --accent-magenta: #FF2A6D;
      --accent-cyan: #05D9E8;
      --accent-amber: #FFB800;
      --text-muted: #94A3B8;
      --text-dim: #6C7D93;
      --text-body: #E2E8F0;
      --text-white: #FFFFFF;
      --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
      --font-mono: "JetBrains Mono", "Fira Code", monospace;
      --radius-sm: 4px;
      --radius-md: 6px;
      --glow-magenta: 0 0 15px rgba(255, 42, 109, 0.35);
      --glow-cyan: 0 0 15px rgba(5, 217, 232, 0.3);
      --shadow-panel: 0 0 0 1px #252F42, 0 8px 32px rgba(0, 0, 0, 0.65);
    }

    body {
      background-color: var(--bg-canvas);
      color: var(--text-body);
      font-family: var(--font-sans);
      line-height: 1.8;
      font-size: 15px;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }

    a {
      color: var(--accent-cyan);
      text-decoration: none;
      transition: all 0.2s ease;
    }
    a:hover {
      color: var(--accent-magenta);
    }

    .container {
      max-width: 1240px;
    }

    /* Console Badges & Dot */
    .pulse-dot {
      display: inline-block;
      width: 8px;
      height: 8px;
      background: #00FF66;
      border-radius: 50%;
      box-shadow: 0 0 8px #00FF66;
      animation: pulse-green 2s infinite ease-in-out;
    }
    @keyframes pulse-green {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.4; transform: scale(0.85); }
    }

    .badge-console {
      font-family: var(--font-mono);
      font-size: 11px;
      font-weight: 600;
      padding: 3px 8px;
      border-radius: var(--radius-sm);
      letter-spacing: 0.05em;
      text-transform: uppercase;
      display: inline-flex;
      align-items: center;
    }
    .badge-magenta {
      background: rgba(255, 42, 109, 0.15);
      color: var(--accent-magenta);
      border: 1px solid rgba(255, 42, 109, 0.35);
    }
    .badge-cyan {
      background: rgba(5, 217, 232, 0.12);
      color: var(--accent-cyan);
      border: 1px solid rgba(5, 217, 232, 0.35);
    }
    .badge-amber {
      background: rgba(255, 184, 0, 0.12);
      color: var(--accent-amber);
      border: 1px solid rgba(255, 184, 0, 0.35);
    }
    .badge-gray {
      background: rgba(255, 255, 255, 0.05);
      color: var(--text-muted);
      border: 1px solid var(--border-color);
    }

    /* Button System */
    .btn-console {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-family: var(--font-mono);
      font-size: 13px;
      font-weight: 600;
      padding: 10px 22px;
      border-radius: var(--radius-sm);
      letter-spacing: 0.04em;
      text-transform: uppercase;
      transition: all 0.25s ease;
      cursor: pointer;
      border: 1px solid transparent;
      text-decoration: none;
    }
    .btn-magenta {
      background: var(--accent-magenta);
      color: #fff;
      box-shadow: var(--glow-magenta);
    }
    .btn-magenta:hover {
      background: #ff4781;
      color: #fff;
      box-shadow: 0 0 25px rgba(255, 42, 109, 0.6);
      transform: translateY(-1px);
    }
    .btn-outline-cyan {
      background: transparent;
      color: var(--accent-cyan);
      border-color: var(--accent-cyan);
    }
    .btn-outline-cyan:hover {
      background: rgba(5, 217, 232, 0.1);
      color: var(--accent-cyan);
      box-shadow: var(--glow-cyan);
    }
    .btn-outline-magenta {
      background: transparent;
      color: var(--accent-magenta);
      border-color: var(--accent-magenta);
    }
    .btn-outline-magenta:hover {
      background: rgba(255, 42, 109, 0.1);
      color: var(--accent-magenta);
      box-shadow: var(--glow-magenta);
    }

    /* Site Header */
    .site-header {
      background: rgba(10, 12, 16, 0.92);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border-color);
      position: sticky;
      top: 0;
      z-index: 1020;
    }
    .navbar-brand {
      font-family: var(--font-sans);
      font-size: 18px;
      font-weight: 800;
      color: var(--text-white) !important;
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .navbar-brand span {
      background: linear-gradient(90deg, #FFFFFF, var(--accent-cyan));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    .nav-link {
      color: var(--text-muted) !important;
      font-size: 14px;
      font-weight: 500;
      padding: 8px 16px !important;
      border-radius: var(--radius-sm);
      transition: all 0.2s ease;
    }
    .nav-link:hover, .nav-link.active {
      color: var(--accent-cyan) !important;
      background: rgba(5, 217, 232, 0.08);
    }

    /* Terminal Window Style Card */
    .console-card {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-sm);
      transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
      position: relative;
    }
    .console-card:hover {
      border-color: var(--accent-cyan);
      box-shadow: var(--glow-cyan);
      transform: translateY(-2px);
    }
    .console-header-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 8px 14px;
      background: rgba(18, 22, 31, 0.9);
      border-bottom: 1px solid var(--border-color);
      border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    }
    .terminal-dots {
      display: flex;
      gap: 6px;
    }
    .terminal-dot {
      width: 9px;
      height: 9px;
      border-radius: 50%;
    }
    .dot-red { background: #FF5F56; }
    .dot-yellow { background: #FFBD2E; }
    .dot-green { background: #27C93F; }

    /* Category 2 Custom Sections */
    .cat2-banner {
      background: radial-gradient(circle at 80% 20%, rgba(5, 217, 232, 0.08) 0%, rgba(10, 12, 16, 0.95) 70%), #0A0C10;
      border-bottom: 1px solid var(--border-color);
      padding: 45px 0 40px;
      position: relative;
    }
    .cat2-banner::before {
      content: "";
      position: absolute;
      inset: 0;
      background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
                        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
      background-size: 32px 32px;
      pointer-events: none;
    }

    /* Segmented Control Filter */
    .segmented-filter-bar {
      background: var(--bg-panel);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-sm);
      padding: 18px 24px;
      margin-top: -24px;
      position: relative;
      z-index: 10;
      box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }
    .seg-btn-group {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }
    .seg-btn {
      font-family: var(--font-mono);
      font-size: 13px;
      background: var(--bg-canvas);
      border: 1px solid var(--border-color);
      color: var(--text-muted);
      padding: 7px 16px;
      border-radius: var(--radius-sm);
      transition: all 0.2s ease;
      cursor: pointer;
    }
    .seg-btn:hover {
      color: var(--text-white);
      border-color: var(--accent-cyan);
    }
    .seg-btn.active {
      background: rgba(5, 217, 232, 0.15);
      border-color: var(--accent-cyan);
      color: var(--accent-cyan);
      box-shadow: 0 0 10px rgba(5, 217, 232, 0.2);
    }

    /* Video Card Core Grid */
    .video-card-wide {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-sm);
      overflow: hidden;
      display: flex;
      flex-direction: column;
      height: 100%;
      transition: all 0.25s ease;
    }
    .video-card-wide:hover {
      border-color: var(--accent-magenta);
      box-shadow: var(--glow-magenta);
      transform: translateY(-3px);
    }
    .video-thumb-holder {
      position: relative;
      aspect-ratio: 16/9;
      background: #000;
      overflow: hidden;
    }
    .video-thumb-visual {
      width: 100%;
      height: 100%;
      background-size: cover;
      background-position: center;
      transition: transform 0.4s ease;
      filter: contrast(1.05) brightness(0.9);
    }
    .video-card-wide:hover .video-thumb-visual {
      transform: scale(1.04);
    }
    .thumb-watermark {
      position: absolute;
      top: 10px;
      left: 10px;
      font-family: var(--font-mono);
      font-size: 10px;
      background: rgba(10, 12, 16, 0.85);
      border: 1px solid rgba(5, 217, 232, 0.4);
      color: var(--accent-cyan);
      padding: 2px 7px;
      border-radius: 2px;
      backdrop-filter: blur(4px);
    }
    .thumb-duration {
      position: absolute;
      bottom: 10px;
      right: 10px;
      font-family: var(--font-mono);
      font-size: 11px;
      background: rgba(0, 0, 0, 0.8);
      color: #FFF;
      padding: 2px 6px;
      border-radius: 2px;
    }
    .thumb-overlay-tag {
      position: absolute;
      bottom: 10px;
      left: 10px;
    }

    /* Specs Matrix Table */
    .specs-table {
      width: 100%;
      border-collapse: separate;
      border-spacing: 0;
      color: var(--text-body);
      font-size: 14px;
    }
    .specs-table th {
      background: #11151F;
      color: var(--text-muted);
      font-family: var(--font-mono);
      font-size: 12px;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      padding: 14px 18px;
      border-bottom: 2px solid var(--border-color);
    }
    .specs-table td {
      padding: 16px 18px;
      border-bottom: 1px solid var(--border-color);
      background: var(--bg-card);
    }
    .specs-table tr:hover td {
      background: var(--bg-card-hover);
    }

    /* Expert Rating Section */
    .rating-metric-item {
      margin-bottom: 12px;
    }
    .rating-label-row {
      display: flex;
      justify-content: space-between;
      font-size: 13px;
      margin-bottom: 4px;
    }
    .rating-bar-bg {
      height: 6px;
      background: rgba(255,255,255,0.08);
      border-radius: 3px;
      overflow: hidden;
    }
    .rating-bar-fill {
      height: 100%;
      border-radius: 3px;
    }

    /* Code Block Box */
    .code-console-box {
      background: #07090D;
      border: 1px solid var(--border-color);
      border-radius: var(--radius-sm);
      padding: 18px 22px;
      font-family: var(--font-mono);
      font-size: 13px;
      color: #A5D6FF;
      line-height: 1.7;
    }
    .code-comment { color: #6C7D93; }
    .code-param { color: var(--accent-magenta); }
    .code-val { color: var(--accent-cyan); }

    /* Single Frame CTA Box */
    .cta-single-frame {
      border: 1px solid var(--border-color);
      background: linear-gradient(90deg, #12161F 0%, #161C28 100%);
      border-left: 4px solid var(--accent-magenta);
      border-radius: var(--radius-sm);
      padding: 32px 36px;
    }

    /* Console Footer */
    .console-footer {
      background: #080A0E;
      border-top: 1px solid var(--border-color);
      padding: 60px 0 30px;
      margin-top: 80px;
    }
    .footer-brand {
      font-size: 18px;
      font-weight: 800;
      color: var(--text-white);
      letter-spacing: 0.02em;
    }
    .footer-title {
      font-size: 14px;
      font-weight: 700;
      color: var(--text-white);
      margin-bottom: 18px;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }
    .footer-links {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    .footer-links li {
      margin-bottom: 9px;
    }
    .footer-links a {
      color: var(--text-muted);
      font-size: 14px;
    }
    .footer-links a:hover {
      color: var(--accent-cyan);
      padding-left: 3px;
    }
    .footer-bottom {
      border-top: 1px solid rgba(255,255,255,0.06);
      padding-top: 24px;
      margin-top: 40px;
    }

    @media (max-width: 991px) {
      .segmented-filter-bar {
        margin-top: 0;
      }
      .specs-table {
        min-width: 600px;
      }
      .specs-table-wrapper {
        overflow-x: auto;
      }
    }

/* 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}
