/* roulang page: index */
:root {
      --bg-canvas: #121316;
      --bg-card: #1A1B20;
      --bg-layer: #22242B;
      --primary-amber: #F59E0B;
      --border-line: #2D3039;
      --border-muted: #374151;
      --text-main: #F3F4F6;
      --text-muted: #9CA3AF;
      --text-dim: #6B7280;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      background-color: var(--bg-canvas);
      color: var(--text-muted);
      font-family: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }

    a {
      color: inherit;
      text-decoration: none;
      transition: all 0.2s ease;
    }

    /* Grid Notebook subtle border & background pattern */
    .bg-grid-notebook {
      background-size: 24px 24px;
      background-image: 
        linear-gradient(to right, rgba(45, 48, 57, 0.4) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(45, 48, 57, 0.4) 1px, transparent 1px);
    }

    /* Card accent stripe */
    .card-accent-left {
      border-left: 2px solid var(--primary-amber);
    }
    .card-accent-top {
      border-top: 2px solid var(--primary-amber);
    }

    /* Scrollbar refinement */
    .scrollbar-none::-webkit-scrollbar {
      display: none;
    }
    .scrollbar-none {
      -ms-overflow-style: none;
      scrollbar-width: none;
    }

    /* Highlight pen marker effect */
    .mark-highlight {
      background-color: rgba(253, 224, 71, 0.15);
      color: #FEF08A;
      padding: 1px 6px;
      border-radius: 3px;
    }

    /* Transition & Hover elevation */
    .interactive-card {
      transition: border-color 0.2s ease, transform 0.2s ease;
    }
    .interactive-card:hover {
      border-color: var(--primary-amber);
      transform: translateY(-2px);
    }

    .status-pulse {
      display: inline-block;
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background-color: #10B981;
      box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
      animation: pulse-ring 1.8s infinite;
    }
    @keyframes pulse-ring {
      0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
      70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
      100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
    }

/* roulang page: category2 */
:root {
      --bg-canvas: #121316;
      --bg-card: #1A1B20;
      --bg-layer: #22242B;
      --primary-amber: #F59E0B;
      --border-line: #2D3039;
      --border-muted: #374151;
      --text-main: #F3F4F6;
      --text-muted: #9CA3AF;
      --text-dim: #6B7280;
    }
    body {
      background-color: var(--bg-canvas);
      color: var(--text-muted);
      font-family: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }
    a {
      color: inherit;
      text-decoration: none;
      transition: all 0.2s ease;
    }
    .bg-grid-notebook {
      background-size: 24px 24px;
      background-image: 
        linear-gradient(to right, rgba(45, 48, 57, 0.4) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(45, 48, 57, 0.4) 1px, transparent 1px);
    }
    .card-accent-left {
      border-left: 2px solid var(--primary-amber);
    }
    .card-accent-top {
      border-top: 2px solid var(--primary-amber);
    }
    .interactive-card {
      transition: border-color 0.2s ease, transform 0.2s ease;
    }
    .interactive-card:hover {
      border-color: var(--primary-amber);
      transform: translateY(-2px);
    }
    .status-pulse {
      width: 6px;
      height: 6px;
      background-color: #10B981;
      border-radius: 50%;
      display: inline-block;
      box-shadow: 0 0 8px #10B981;
    }
    .mark-highlight {
      background-color: rgba(253, 224, 71, 0.15);
      color: #FDE047;
      padding: 0 4px;
      border-radius: 2px;
    }

/* roulang page: category1 */
:root {
      --bg-canvas: #121316;
      --bg-card: #1A1B20;
      --bg-layer: #22242B;
      --primary-amber: #F59E0B;
      --border-line: #2D3039;
      --border-muted: #374151;
      --text-main: #F3F4F6;
      --text-muted: #9CA3AF;
      --text-dim: #6B7280;
    }
    body {
      background-color: var(--bg-canvas);
      color: var(--text-muted);
      font-family: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }
    a {
      color: inherit;
      text-decoration: none;
      transition: all 0.2s ease;
    }
    .bg-grid-notebook {
      background-size: 24px 24px;
      background-image: 
        linear-gradient(to right, rgba(45, 48, 57, 0.4) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(45, 48, 57, 0.4) 1px, transparent 1px);
    }
    .card-accent-left {
      border-left: 2px solid var(--primary-amber);
    }
    .card-accent-top {
      border-top: 2px solid var(--primary-amber);
    }
    .interactive-card {
      transition: border-color 0.2s ease, transform 0.2s ease;
    }
    .interactive-card:hover {
      border-color: var(--primary-amber);
      transform: translateY(-2px);
    }
    .status-pulse {
      display: inline-block;
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background-color: #10B981;
      box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
      animation: pulse-ring 1.8s infinite cubic-bezier(0.66, 0, 0, 1);
    }
    @keyframes pulse-ring {
      0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
      70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
      100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
    }
    .scrollbar-none::-webkit-scrollbar {
      display: none;
    }
    .scrollbar-none {
      -ms-overflow-style: none;
      scrollbar-width: none;
    }
