/* roulang page: index */
:root {
      --bg-main: #0E1015;
      --bg-card: #161922;
      --bg-hover: #1E222D;
      --primary: #E50914;
      --primary-hover: #ff1f2d;
      --accent-amber: #FF9F1C;
      --accent-teal: #00C9A7;
      --text-white: #F5F6FA;
      --text-muted: #D1D5DB;
      --text-dim: #8C93A3;
      --border-subtle: rgba(255, 255, 255, 0.08);
      --shadow-base: 0 4px 20px rgba(0, 0, 0, 0.35);
      --radius-sm: 6px;
      --radius-md: 8px;
    }

    /* Reset & Base */
    *, *::before, *::after { box-sizing: border-box; }
    body {
      background-color: var(--bg-main);
      color: var(--text-muted);
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
      line-height: 1.75;
      margin: 0;
      padding: 0;
      -webkit-font-smoothing: antialiased;
    }
    h1, h2, h3, h4 {
      color: var(--text-white);
      font-weight: 700;
      line-height: 1.3;
    }
    h1 { font-size: 2.35rem; }
    h2 { font-size: 1.85rem; margin-bottom: 1.25rem; }
    h3 { font-size: 1.3rem; margin-bottom: 0.75rem; }
    a { color: var(--text-white); text-decoration: none; transition: color 0.2s ease; }
    a:hover { color: var(--primary); }

    /* Layout Containers */
    .site-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 1.25rem;
    }
    .wiki-section {
      margin-bottom: 4.5rem;
      border-bottom: 1px solid var(--border-subtle);
      padding-bottom: 4.5rem;
    }
    .wiki-section:last-of-type {
      border-bottom: none;
      padding-bottom: 1rem;
    }

    /* Component: Navbar */
    .wiki-nav-bar {
      position: sticky;
      top: 0;
      z-index: 1000;
      background: rgba(14, 16, 21, 0.95);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--border-subtle);
      padding: 0.85rem 0;
    }
    .brand-logo {
      font-size: 1.25rem;
      font-weight: 800;
      color: var(--text-white);
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }
    .brand-logo span {
      background: var(--primary);
      padding: 0.15rem 0.5rem;
      border-radius: var(--radius-sm);
      font-size: 0.8rem;
      letter-spacing: 0.05em;
    }
    .nav-links {
      display: flex;
      gap: 1.75rem;
      list-style: none;
      margin: 0;
      padding: 0;
    }
    .nav-links li a {
      font-size: 0.95rem;
      color: var(--text-muted);
      font-weight: 500;
    }
    .nav-links li a.active, .nav-links li a:hover {
      color: var(--primary);
    }
    .nav-cta-btn {
      background: var(--primary);
      color: #fff;
      padding: 0.45rem 1.15rem;
      border-radius: var(--radius-sm);
      font-weight: 600;
      font-size: 0.9rem;
      display: inline-block;
      transition: background 0.2s ease, transform 0.2s ease;
    }
    .nav-cta-btn:hover {
      background: var(--primary-hover);
      transform: translateY(-1px);
      color: #fff;
    }

    /* Hero Specific */
    .hero-banner {
      background: radial-gradient(circle at top right, rgba(229, 9, 20, 0.12), transparent 50%),
                  linear-gradient(180deg, #161922 0%, #0E1015 100%);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      padding: 3rem 2rem;
      margin-top: 2rem;
      box-shadow: var(--shadow-base);
      position: relative;
      overflow: hidden;
    }
    .countdown-ribbon {
      display: inline-flex;
      align-items: center;
      gap: 0.75rem;
      background: rgba(255, 159, 28, 0.12);
      border: 1px solid var(--accent-amber);
      color: var(--accent-amber);
      padding: 0.35rem 0.85rem;
      border-radius: 50px;
      font-size: 0.85rem;
      font-weight: 600;
      margin-bottom: 1.5rem;
    }
    .hero-lead-text {
      font-size: 1.05rem;
      color: var(--text-muted);
      margin-bottom: 2rem;
      max-width: 820px;
      line-height: 1.8;
    }
    .hero-actions {
      display: flex;
      gap: 1.25rem;
      flex-wrap: wrap;
    }
    .btn-action-main {
      background: var(--primary);
      color: #fff;
      padding: 0.75rem 1.75rem;
      border-radius: var(--radius-sm);
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4);
    }
    .btn-action-main:hover {
      background: var(--primary-hover);
      color: #fff;
      transform: translateY(-2px);
    }
    .btn-action-secondary {
      background: transparent;
      border: 1px solid var(--border-subtle);
      color: var(--text-white);
      padding: 0.75rem 1.5rem;
      border-radius: var(--radius-sm);
      font-weight: 500;
    }
    .btn-action-secondary:hover {
      background: rgba(255, 255, 255, 0.05);
      border-color: rgba(255, 255, 255, 0.2);
    }

    /* Cards & Badges */
    .wiki-card {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      padding: 1.5rem;
      box-shadow: var(--shadow-base);
      transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
      height: 100%;
    }
    .wiki-card:hover {
      transform: translateY(-2px);
      border-color: rgba(229, 9, 20, 0.4);
      box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
    }
    .badge-status {
      display: inline-block;
      padding: 0.2rem 0.6rem;
      font-size: 0.75rem;
      font-weight: 600;
      border-radius: 4px;
      margin-bottom: 0.75rem;
    }
    .badge-green { background: rgba(0, 201, 167, 0.15); color: var(--accent-teal); border: 1px solid var(--accent-teal); }
    .badge-amber { background: rgba(255, 159, 28, 0.15); color: var(--accent-amber); border: 1px solid var(--accent-amber); }
    .badge-red { background: rgba(229, 9, 20, 0.15); color: var(--primary); border: 1px solid var(--primary); }

    /* Tables */
    .wiki-table {
      width: 100%;
      border-collapse: collapse;
      margin-top: 1.25rem;
      background: var(--bg-card);
      border-radius: var(--radius-md);
      overflow: hidden;
      border: 1px solid var(--border-subtle);
    }
    .wiki-table th, .wiki-table td {
      padding: 1rem 1.25rem;
      text-align: left;
      border-bottom: 1px solid var(--border-subtle);
      font-size: 0.95rem;
    }
    .wiki-table th {
      background: #12141B;
      color: var(--text-white);
      font-weight: 600;
      text-transform: uppercase;
      font-size: 0.85rem;
      letter-spacing: 0.05em;
    }
    .wiki-table tr:last-child td { border-bottom: none; }
    .wiki-table tr:hover td { background: var(--bg-hover); }

    /* Coupon Wall Component */
    .coupon-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 1.25rem;
      margin-top: 1.5rem;
    }
    .coupon-ticket {
      background: linear-gradient(135deg, #1C202B 0%, #161922 100%);
      border: 1px dashed var(--accent-amber);
      border-radius: var(--radius-md);
      padding: 1.25rem;
      position: relative;
      overflow: hidden;
    }
    .coupon-value {
      font-size: 1.8rem;
      font-weight: 800;
      color: var(--accent-amber);
      margin-bottom: 0.25rem;
    }
    .coupon-desc { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1rem; }
    .coupon-btn {
      display: block;
      width: 100%;
      text-align: center;
      background: rgba(255, 159, 28, 0.15);
      border: 1px solid var(--accent-amber);
      color: var(--accent-amber);
      padding: 0.45rem 0;
      border-radius: var(--radius-sm);
      font-size: 0.85rem;
      font-weight: 600;
      transition: all 0.2s ease;
    }
    .coupon-btn:hover {
      background: var(--accent-amber);
      color: #0E1015;
    }

    /* Key-Value Pair */
    .kv-list {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    .kv-list li {
      display: flex;
      justify-content: space-between;
      padding: 0.45rem 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.04);
      font-size: 0.9rem;
    }
    .kv-list li:last-child { border-bottom: none; }
    .kv-key { color: var(--text-dim); }
    .kv-val { color: var(--text-white); font-weight: 500; }

    /* Accordion / FAQ */
    .faq-item {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      margin-bottom: 0.85rem;
      overflow: hidden;
    }
    .faq-title {
      padding: 1.15rem 1.5rem;
      font-size: 1.05rem;
      font-weight: 600;
      color: var(--text-white);
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      user-select: none;
    }
    .faq-title:hover { background: var(--bg-hover); }
    .faq-content {
      padding: 0 1.5rem 1.25rem 1.5rem;
      color: var(--text-muted);
      font-size: 0.95rem;
      line-height: 1.7;
      display: block;
    }

    /* Forms */
    .form-control {
      width: 100%;
      background: #111319;
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-sm);
      padding: 0.75rem 1rem;
      color: var(--text-white);
      font-size: 0.95rem;
      margin-bottom: 1rem;
      transition: border-color 0.2s ease;
    }
    .form-control:focus {
      outline: none;
      border-color: var(--primary);
      background: #141720;
    }

    /* Footer */
    .site-footer {
      background: #090B0E;
      border-top: 1px solid var(--border-subtle);
      padding: 4rem 0 2.5rem;
      margin-top: 4rem;
      font-size: 0.9rem;
    }
    .footer-col-title {
      color: var(--text-white);
      font-size: 1rem;
      font-weight: 600;
      margin-bottom: 1.25rem;
    }
    .footer-links {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    .footer-links li { margin-bottom: 0.6rem; }
    .footer-links a { color: var(--text-dim); }
    .footer-links a:hover { color: var(--text-white); }
    .footer-bottom {
      border-top: 1px solid rgba(255, 255, 255, 0.05);
      margin-top: 3rem;
      padding-top: 1.5rem;
      text-align: center;
      color: var(--text-dim);
      font-size: 0.85rem;
    }

    /* Responsive */
    @media (max-width: 768px) {
      h1 { font-size: 1.85rem; }
      h2 { font-size: 1.45rem; }
      .wiki-section { margin-bottom: 2.75rem; padding-bottom: 2.75rem; }
      .hero-banner { padding: 1.75rem 1.25rem; }
      .nav-links { display: none; }
    }

/* roulang page: category2 */
:root {
      --bg-main: #0E1015;
      --bg-card: #161922;
      --bg-hover: #1E222D;
      --primary: #E50914;
      --primary-hover: #ff1f2d;
      --accent-amber: #FF9F1C;
      --accent-teal: #00C9A7;
      --text-white: #F5F6FA;
      --text-muted: #D1D5DB;
      --text-dim: #8C93A3;
      --border-subtle: rgba(255, 255, 255, 0.08);
      --shadow-base: 0 4px 20px rgba(0, 0, 0, 0.35);
      --radius-sm: 6px;
      --radius-md: 8px;
    }
    body {
      background-color: var(--bg-main);
      color: var(--text-muted);
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
      line-height: 1.75;
      margin: 0;
      padding: 0;
      -webkit-font-smoothing: antialiased;
    }
    a { color: var(--text-white); text-decoration: none; transition: color 0.2s ease; }
    a:hover { color: var(--primary); }

    /* Layout Containers */
    .site-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 1.25rem;
    }
    .wiki-section {
      margin-bottom: 4.5rem;
      border-bottom: 1px solid var(--border-subtle);
      padding-bottom: 4.5rem;
    }
    .wiki-section:last-of-type {
      border-bottom: none;
      padding-bottom: 2rem;
    }

    /* Component: Navbar */
    .wiki-nav-bar {
      position: sticky;
      top: 0;
      z-index: 1000;
      background: rgba(14, 16, 21, 0.95);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--border-subtle);
      padding: 0.85rem 0;
    }
    .brand-logo {
      font-size: 1.25rem;
      font-weight: 800;
      color: var(--text-white);
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }
    .brand-logo span {
      background: var(--primary);
      padding: 0.15rem 0.5rem;
      border-radius: var(--radius-sm);
      font-size: 0.8rem;
      letter-spacing: 0.05em;
    }
    .nav-links {
      display: flex;
      gap: 1.75rem;
      list-style: none;
      margin: 0;
      padding: 0;
    }
    .nav-links li a {
      font-size: 0.95rem;
      color: var(--text-muted);
      font-weight: 500;
    }
    .nav-links li a.active, .nav-links li a:hover {
      color: var(--primary);
    }
    .nav-cta-btn {
      background: var(--primary);
      color: #fff;
      padding: 0.45rem 1.15rem;
      border-radius: var(--radius-sm);
      font-weight: 600;
      font-size: 0.9rem;
      display: inline-block;
      transition: background 0.2s ease, transform 0.2s ease;
    }
    .nav-cta-btn:hover {
      background: var(--primary-hover);
      transform: translateY(-1px);
      color: #fff;
    }

    /* Breadcrumb Component */
    .breadcrumb-bar {
      background: #12151C;
      border-bottom: 1px solid var(--border-subtle);
      padding: 0.65rem 0;
      font-size: 0.85rem;
    }
    .breadcrumb-nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 0.5rem;
    }
    .breadcrumb-path {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      color: var(--text-dim);
    }
    .breadcrumb-path a {
      color: var(--text-muted);
    }
    .breadcrumb-path a:hover {
      color: var(--primary);
    }
    .breadcrumb-path span.current {
      color: var(--accent-amber);
    }
    .badge-hash {
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid var(--border-subtle);
      padding: 0.15rem 0.5rem;
      border-radius: 4px;
      font-family: monospace;
      color: var(--accent-teal);
      font-size: 0.75rem;
    }

    /* Typography & Headers */
    h1.wiki-h1 {
      font-size: 2.25rem;
      line-height: 1.3;
      color: var(--text-white);
      font-weight: 800;
      margin-bottom: 0.75rem;
    }
    h2.wiki-h2 {
      font-size: 1.65rem;
      line-height: 1.35;
      color: var(--text-white);
      font-weight: 700;
      margin-bottom: 0.5rem;
      display: flex;
      align-items: center;
      gap: 0.65rem;
    }
    h2.wiki-h2::before {
      content: "";
      display: inline-block;
      width: 4px;
      height: 1.25rem;
      background: var(--primary);
      border-radius: 2px;
    }
    h3.wiki-h3 {
      font-size: 1.25rem;
      color: var(--text-white);
      font-weight: 600;
      margin-bottom: 0.5rem;
    }
    p.section-lead {
      color: var(--text-dim);
      font-size: 0.95rem;
      line-height: 1.7;
      margin-bottom: 1.5rem;
    }

    /* Cards & Badges */
    .wiki-card {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      padding: 1.5rem;
      box-shadow: var(--shadow-base);
      transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
      height: 100%;
    }
    .wiki-card:hover {
      transform: translateY(-2px);
      border-color: rgba(229, 9, 20, 0.4);
      box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
    }
    .badge-status {
      display: inline-block;
      padding: 0.2rem 0.6rem;
      font-size: 0.75rem;
      font-weight: 600;
      border-radius: 4px;
      margin-bottom: 0.75rem;
    }
    .badge-green { background: rgba(0, 201, 167, 0.15); color: var(--accent-teal); border: 1px solid var(--accent-teal); }
    .badge-amber { background: rgba(255, 159, 28, 0.15); color: var(--accent-amber); border: 1px solid var(--accent-amber); }
    .badge-red { background: rgba(229, 9, 20, 0.15); color: var(--primary); border: 1px solid var(--primary); }

    /* Key-Value Pair */
    .kv-list {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    .kv-list li {
      display: flex;
      justify-content: space-between;
      padding: 0.45rem 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.04);
      font-size: 0.9rem;
    }
    .kv-list li:last-child { border-bottom: none; }
    .kv-list span.key { color: var(--text-dim); }
    .kv-list span.val { color: var(--text-white); font-weight: 500; }

    /* Leaderboard Item Styling */
    .leaderboard-row {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-sm);
      padding: 1rem 1.25rem;
      margin-bottom: 0.75rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 1rem;
      transition: all 0.2s ease;
    }
    .leaderboard-row:hover {
      background: var(--bg-hover);
      border-color: rgba(229, 9, 20, 0.4);
      transform: translateX(4px);
    }
    .rank-num {
      width: 36px;
      height: 36px;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid var(--border-subtle);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 800;
      font-size: 1.1rem;
      color: var(--text-white);
    }
    .rank-1 { background: rgba(229, 9, 20, 0.2); border-color: var(--primary); color: #ff4d4d; }
    .rank-2 { background: rgba(255, 159, 28, 0.2); border-color: var(--accent-amber); color: var(--accent-amber); }
    .rank-3 { background: rgba(0, 201, 167, 0.2); border-color: var(--accent-teal); color: var(--accent-teal); }
    .item-main-info {
      flex: 1 1 240px;
    }
    .item-main-title {
      font-size: 1.05rem;
      font-weight: 700;
      color: var(--text-white);
      margin-bottom: 0.25rem;
    }
    .item-meta {
      font-size: 0.8rem;
      color: var(--text-dim);
      display: flex;
      gap: 0.85rem;
      flex-wrap: wrap;
    }
    .item-stats {
      display: flex;
      gap: 1.5rem;
      text-align: right;
    }
    .stat-box {
      font-size: 0.8rem;
      color: var(--text-dim);
    }
    .stat-box strong {
      display: block;
      font-size: 1rem;
      color: var(--text-white);
    }

    /* Data Matrix Table */
    .wiki-table {
      width: 100%;
      border-collapse: separate;
      border-spacing: 0;
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      overflow: hidden;
      margin-bottom: 1rem;
    }
    .wiki-table th, .wiki-table td {
      padding: 0.85rem 1.15rem;
      border-bottom: 1px solid var(--border-subtle);
      text-align: left;
      font-size: 0.9rem;
    }
    .wiki-table th {
      background: #11141B;
      color: var(--text-white);
      font-weight: 600;
      border-bottom: 2px solid var(--border-subtle);
    }
    .wiki-table tbody tr:hover {
      background: var(--bg-hover);
    }
    .wiki-table tbody tr:last-child td {
      border-bottom: none;
    }

    /* Formula & Benchmark Graph Visual */
    .benchmark-hero-box {
      background: linear-gradient(135deg, #161922 0%, #1A1E29 100%);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      padding: 2rem;
      margin-top: 1.5rem;
    }
    .formula-tag {
      background: rgba(255, 255, 255, 0.05);
      border-left: 3px solid var(--primary);
      padding: 0.85rem 1.25rem;
      font-family: monospace;
      font-size: 0.92rem;
      color: var(--text-white);
      margin-bottom: 1rem;
      border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    }

    /* Accordion / Fold Box */
    .tuning-box {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      margin-bottom: 0.85rem;
      overflow: hidden;
    }
    .tuning-header {
      padding: 1.15rem 1.5rem;
      font-size: 1.05rem;
      font-weight: 600;
      color: var(--text-white);
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      user-select: none;
      background: #151820;
    }
    .tuning-header:hover {
      background: var(--bg-hover);
    }
    .tuning-content {
      padding: 1.25rem 1.5rem;
      border-top: 1px solid var(--border-subtle);
      font-size: 0.92rem;
      color: var(--text-muted);
      line-height: 1.75;
    }

    /* Submission Form */
    .submission-bar {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      padding: 1.75rem;
    }
    .form-control-wiki {
      background: #0E1015;
      border: 1px solid var(--border-subtle);
      color: var(--text-white);
      padding: 0.65rem 1rem;
      border-radius: var(--radius-sm);
      width: 100%;
      outline: none;
      font-size: 0.9rem;
    }
    .form-control-wiki:focus {
      border-color: var(--primary);
      box-shadow: 0 0 0 2px rgba(229, 9, 20, 0.2);
    }

    /* Extended Portal Tag Grid */
    .portal-tag-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 1rem;
    }
    .portal-tag-card {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      padding: 1rem;
      border-radius: var(--radius-sm);
      display: flex;
      flex-direction: column;
      gap: 0.35rem;
      transition: all 0.2s ease;
    }
    .portal-tag-card:hover {
      border-color: var(--accent-amber);
      background: var(--bg-hover);
    }
    .portal-tag-card strong {
      color: var(--text-white);
      font-size: 0.95rem;
    }
    .portal-tag-card span {
      color: var(--text-dim);
      font-size: 0.8rem;
    }

    /* Footer Component */
    .site-footer {
      background: #090A0D;
      border-top: 1px solid var(--border-subtle);
      padding: 3.5rem 0 2rem;
      margin-top: 3rem;
    }
    .footer-col-title {
      font-size: 0.95rem;
      font-weight: 700;
      color: var(--text-white);
      margin-bottom: 1.15rem;
    }
    .footer-links {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    .footer-links li {
      margin-bottom: 0.5rem;
    }
    .footer-links a {
      color: var(--text-dim);
      font-size: 0.85rem;
      transition: color 0.2s ease;
    }
    .footer-links a:hover {
      color: var(--primary);
    }
    .footer-bottom {
      border-top: 1px solid var(--border-subtle);
      margin-top: 2.5rem;
      padding-top: 1.5rem;
      text-align: center;
      font-size: 0.85rem;
      color: var(--text-dim);
    }

    @media screen and (max-width: 768px) {
      .wiki-section {
        margin-bottom: 3rem;
        padding-bottom: 3rem;
      }
      h1.wiki-h1 {
        font-size: 1.75rem;
      }
      .leaderboard-row {
        flex-direction: column;
        align-items: flex-start;
      }
      .item-stats {
        width: 100%;
        justify-content: space-between;
      }
    }

/* roulang page: category1 */
:root {
        --bg-main: #0E1015;
        --bg-card: #161922;
        --bg-hover: #1E222D;
        --primary: #E50914;
        --primary-hover: #ff1f2d;
        --accent-amber: #FF9F1C;
        --accent-teal: #00C9A7;
        --text-white: #F5F6FA;
        --text-muted: #D1D5DB;
        --text-dim: #8C93A3;
        --border-subtle: rgba(255, 255, 255, 0.08);
        --shadow-base: 0 4px 20px rgba(0, 0, 0, 0.35);
        --radius-sm: 6px;
        --radius-md: 8px;
    }
    body {
        background-color: var(--bg-main);
        color: var(--text-muted);
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
        line-height: 1.75;
        margin: 0;
        padding: 0;
        -webkit-font-smoothing: antialiased;
    }
    a { color: var(--text-white); text-decoration: none; transition: color 0.2s ease; }
    a:hover { color: var(--primary); }
    .site-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 1.25rem;
    }
    .wiki-section {
        margin-bottom: 4.5rem;
        border-bottom: 1px solid var(--border-subtle);
        padding-bottom: 4.5rem;
    }
    .wiki-section:last-of-type {
        border-bottom: none;
        padding-bottom: 1rem;
    }
    .wiki-nav-bar {
        position: sticky;
        top: 0;
        z-index: 1000;
        background: rgba(14, 16, 21, 0.95);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid var(--border-subtle);
        padding: 0.85rem 0;
    }
    .brand-logo {
        font-size: 1.25rem;
        font-weight: 800;
        color: var(--text-white);
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    .brand-logo span {
        background: var(--primary);
        padding: 0.15rem 0.5rem;
        border-radius: var(--radius-sm);
        font-size: 0.8rem;
        letter-spacing: 0.05em;
    }
    .nav-links {
        display: flex;
        gap: 1.75rem;
        list-style: none;
        margin: 0;
        padding: 0;
    }
    .nav-links li a {
        font-size: 0.95rem;
        color: var(--text-muted);
        font-weight: 500;
    }
    .nav-links li a.active, .nav-links li a:hover {
        color: var(--primary);
    }
    .nav-cta-btn {
        background: var(--primary);
        color: #fff;
        padding: 0.45rem 1.15rem;
        border-radius: var(--radius-sm);
        font-weight: 600;
        font-size: 0.9rem;
        display: inline-block;
        transition: background 0.2s ease, transform 0.2s ease;
    }
    .nav-cta-btn:hover {
        background: var(--primary-hover);
        transform: translateY(-1px);
        color: #fff;
    }
    /* Breadcrumb Component */
    .breadcrumb-bar {
        background: var(--bg-card);
        border-bottom: 1px solid var(--border-subtle);
        padding: 0.75rem 0;
        font-size: 0.88rem;
    }
    .breadcrumb-inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    .breadcrumb-trail {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        color: var(--text-dim);
    }
    .breadcrumb-trail a { color: var(--text-dim); }
    .breadcrumb-trail a:hover { color: var(--primary); }
    .breadcrumb-trail .current { color: var(--text-white); font-weight: 600; }
    .node-hash-tag {
        font-family: monospace;
        font-size: 0.78rem;
        color: var(--accent-teal);
        background: rgba(0, 201, 167, 0.1);
        padding: 0.15rem 0.5rem;
        border-radius: var(--radius-sm);
        border: 1px solid rgba(0, 201, 167, 0.2);
    }
    /* Section 1: Strip Header */
    .cat-header-strip {
        background: linear-gradient(180deg, #161922 0%, #0E1015 100%);
        border: 1px solid var(--border-subtle);
        border-radius: var(--radius-md);
        padding: 2.25rem 2rem;
        margin-top: 2rem;
        box-shadow: var(--shadow-base);
    }
    .cat-h1 {
        font-size: 2.25rem;
        line-height: 1.3;
        font-weight: 800;
        color: var(--text-white);
        margin-bottom: 0.75rem;
    }
    .cat-lead {
        font-size: 1.05rem;
        color: var(--text-muted);
        line-height: 1.8;
        margin-bottom: 1.5rem;
        max-width: 900px;
    }
    .cat-meta-metrics {
        display: flex;
        gap: 1.5rem;
        flex-wrap: wrap;
        border-top: 1px solid var(--border-subtle);
        padding-top: 1.25rem;
    }
    .metric-badge-item {
        display: flex;
        align-items: center;
        gap: 0.4rem;
        font-size: 0.88rem;
        color: var(--text-dim);
    }
    .metric-badge-item strong {
        color: var(--text-white);
        font-weight: 700;
    }
    /* Section 2: Filter Matrix */
    .filter-matrix-card {
        background: var(--bg-card);
        border: 1px solid var(--border-subtle);
        border-radius: var(--radius-md);
        padding: 1.75rem;
    }
    .filter-row {
        display: flex;
        align-items: flex-start;
        padding: 0.65rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
        font-size: 0.9rem;
    }
    .filter-row:last-child { border-bottom: none; }
    .filter-label {
        width: 100px;
        flex-shrink: 0;
        color: var(--text-dim);
        font-weight: 600;
        padding-top: 0.2rem;
    }
    .filter-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        flex-grow: 1;
    }
    .filter-tag {
        background: rgba(255, 255, 255, 0.04);
        color: var(--text-muted);
        padding: 0.2rem 0.75rem;
        border-radius: 4px;
        font-size: 0.85rem;
        cursor: pointer;
        border: 1px solid transparent;
        transition: all 0.2s ease;
    }
    .filter-tag:hover, .filter-tag.active {
        background: rgba(229, 9, 20, 0.15);
        color: var(--primary);
        border-color: var(--primary);
    }
    /* Section 3: Resource Grid */
    .sec-header {
        margin-bottom: 2rem;
    }
    .sec-h2 {
        font-size: 1.75rem;
        line-height: 1.35;
        font-weight: 700;
        color: var(--text-white);
        display: flex;
        align-items: center;
        gap: 0.6rem;
    }
    .sec-h2::before {
        content: "";
        display: inline-block;
        width: 4px;
        height: 1.25rem;
        background: var(--primary);
        border-radius: 2px;
    }
    .sec-desc {
        font-size: 0.95rem;
        color: var(--text-dim);
        margin-top: 0.4rem;
    }
    .resource-card {
        background: var(--bg-card);
        border: 1px solid var(--border-subtle);
        border-radius: var(--radius-md);
        overflow: hidden;
        box-shadow: var(--shadow-base);
        transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
        height: 100%;
        display: flex;
        flex-direction: column;
    }
    .resource-card:hover {
        transform: translateY(-3px);
        border-color: rgba(229, 9, 20, 0.4);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    }
    .card-thumb-holder {
        height: 150px;
        background: linear-gradient(135deg, #1E222D 0%, #161922 100%);
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        border-bottom: 1px solid var(--border-subtle);
    }
    .card-thumb-code {
        font-size: 1.75rem;
        font-weight: 900;
        letter-spacing: 0.1em;
        color: rgba(255, 255, 255, 0.12);
        user-select: none;
    }
    .card-resolution-pill {
        position: absolute;
        top: 0.75rem;
        left: 0.75rem;
        background: rgba(14, 16, 21, 0.85);
        color: var(--accent-amber);
        font-size: 0.75rem;
        font-weight: 700;
        padding: 0.15rem 0.5rem;
        border-radius: 4px;
        border: 1px solid rgba(255, 159, 28, 0.3);
    }
    .card-fps-pill {
        position: absolute;
        bottom: 0.75rem;
        right: 0.75rem;
        background: rgba(0, 201, 167, 0.15);
        color: var(--accent-teal);
        font-size: 0.75rem;
        font-weight: 600;
        padding: 0.1rem 0.4rem;
        border-radius: 4px;
        border: 1px solid var(--accent-teal);
    }
    .card-body {
        padding: 1.25rem;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }
    .card-title {
        font-size: 1.05rem;
        font-weight: 700;
        color: var(--text-white);
        margin-bottom: 0.75rem;
        line-height: 1.4;
    }
    .card-spec-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
        margin-bottom: 1rem;
        background: rgba(0, 0, 0, 0.2);
        padding: 0.65rem 0.75rem;
        border-radius: var(--radius-sm);
        font-size: 0.82rem;
    }
    .spec-item {
        color: var(--text-dim);
    }
    .spec-item span {
        color: var(--text-white);
        font-weight: 600;
    }
    .card-footer-action {
        margin-top: auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-top: 0.85rem;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }
    .card-score {
        font-size: 0.85rem;
        color: var(--accent-amber);
        font-weight: 700;
    }
    .card-play-link {
        font-size: 0.85rem;
        color: var(--primary);
        font-weight: 600;
    }
    .card-play-link:hover {
        color: var(--primary-hover);
        text-decoration: underline;
    }
    .btn-load-more {
        display: inline-block;
        background: transparent;
        border: 1px solid var(--primary);
        color: var(--primary);
        padding: 0.75rem 2.5rem;
        border-radius: var(--radius-sm);
        font-weight: 600;
        font-size: 0.95rem;
        transition: all 0.25s ease;
        margin-top: 2rem;
    }
    .btn-load-more:hover {
        background: var(--primary);
        color: #fff;
        box-shadow: 0 4px 18px rgba(229, 9, 20, 0.35);
    }
    /* Section 4: Server Status Bar */
    .status-panel-card {
        background: var(--bg-card);
        border: 1px solid var(--border-subtle);
        border-radius: var(--radius-md);
        padding: 1.75rem;
    }
    .status-metric-cell {
        padding: 1rem;
        background: rgba(0, 0, 0, 0.25);
        border-radius: var(--radius-sm);
        border-left: 3px solid var(--accent-teal);
    }
    .status-metric-cell.amber-border {
        border-left-color: var(--accent-amber);
    }
    .status-metric-cell.primary-border {
        border-left-color: var(--primary);
    }
    .status-name {
        font-size: 0.85rem;
        color: var(--text-dim);
        margin-bottom: 0.35rem;
    }
    .status-val {
        font-size: 1.4rem;
        font-weight: 800;
        color: var(--text-white);
        line-height: 1.2;
    }
    .status-sub {
        font-size: 0.78rem;
        color: var(--accent-teal);
        margin-top: 0.35rem;
    }
    /* Section 5: Cross-Linked Collections */
    .collection-card {
        background: var(--bg-card);
        border: 1px solid var(--border-subtle);
        border-radius: var(--radius-md);
        padding: 1.5rem;
        height: 100%;
        transition: transform 0.2s ease, border-color 0.2s ease;
    }
    .collection-card:hover {
        transform: translateY(-2px);
        border-color: rgba(229, 9, 20, 0.4);
    }
    .collection-badge {
        display: inline-block;
        font-size: 0.75rem;
        font-weight: 600;
        padding: 0.15rem 0.5rem;
        border-radius: 4px;
        background: rgba(255, 255, 255, 0.06);
        color: var(--text-muted);
        margin-bottom: 0.75rem;
    }
    .collection-h3 {
        font-size: 1.15rem;
        color: var(--text-white);
        font-weight: 700;
        margin-bottom: 0.5rem;
    }
    .collection-info {
        font-size: 0.88rem;
        color: var(--text-dim);
        line-height: 1.6;
        margin-bottom: 1rem;
    }
    .collection-enter {
        font-size: 0.85rem;
        color: var(--primary);
        font-weight: 600;
    }
    /* Section 6: Category FAQ */
    .faq-block {
        background: var(--bg-card);
        border: 1px solid var(--border-subtle);
        border-radius: var(--radius-md);
        margin-bottom: 1rem;
        padding: 1.35rem 1.5rem;
    }
    .faq-q {
        font-size: 1.05rem;
        font-weight: 700;
        color: var(--text-white);
        margin-bottom: 0.5rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    .faq-q::before {
        content: "Q";
        color: var(--primary);
        font-weight: 800;
    }
    .faq-a {
        font-size: 0.92rem;
        color: var(--text-muted);
        line-height: 1.7;
        margin: 0;
        padding-left: 1.25rem;
    }
    /* Section 7: Search Trend Metrics */
    .trend-board-card {
        background: var(--bg-card);
        border: 1px solid var(--border-subtle);
        border-radius: var(--radius-md);
        padding: 1.5rem;
    }
    .trend-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
        font-size: 0.9rem;
    }
    .trend-item:last-child { border-bottom: none; }
    .trend-rank {
        width: 24px;
        height: 24px;
        background: rgba(255, 255, 255, 0.08);
        border-radius: 4px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 0.8rem;
        font-weight: 700;
        color: var(--text-muted);
        margin-right: 0.75rem;
    }
    .trend-rank.top1 { background: var(--primary); color: #fff; }
    .trend-rank.top2 { background: var(--accent-amber); color: #0E1015; }
    .trend-rank.top3 { background: var(--accent-teal); color: #0E1015; }
    .trend-name {
        color: var(--text-white);
        font-weight: 500;
    }
    .trend-heat {
        font-family: monospace;
        color: var(--text-dim);
        font-size: 0.85rem;
    }
    /* Global Footer */
    .site-footer {
        background: #080A0D;
        border-top: 1px solid var(--border-subtle);
        padding: 4rem 0 2rem;
        margin-top: 5rem;
    }
    .footer-col-title {
        font-size: 1rem;
        font-weight: 700;
        color: var(--text-white);
        margin-bottom: 1.25rem;
        letter-spacing: 0.02em;
    }
    .footer-links {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .footer-links li {
        margin-bottom: 0.6rem;
    }
    .footer-links li a {
        font-size: 0.88rem;
 color: var(--text-dim);
    }
    .footer-links li a:hover {
        color: var(--primary);
    }
    .footer-bottom {
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        margin-top: 3rem;
        padding-top: 1.5rem;
        text-align: center;
        font-size: 0.85rem;
        color: var(--text-dim);
    }
    @media (max-width: 768px) {
        .cat-h1 { font-size: 1.75rem; }
        .wiki-section { margin-bottom: 2.75rem; padding-bottom: 2.75rem; }
        .filter-row { flex-direction: column; gap: 0.5rem; }
        .filter-label { width: 100%; }
        .site-footer { padding-top: 2.5rem; }
    }
