:root {
      --bg-black: #000000;
      --border-line: rgba(255, 255, 255, 0.08);
      --border-hover: rgba(255, 255, 255, 0.18);
      --accent-blue: #0052FF;
      --accent-blue-hover: #3B82F6;
      --accent-gradient: linear-gradient(116.57deg, rgba(0, 60, 245, 0.9) 16.67%, #8DCAFE 100%);
      --text-white: #FFFFFF;
      --text-body: #C4C9D4;
      --text-muted: #7E8695;
      --text-dim: #4B5262;
      --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
      --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    html {
      scroll-behavior: auto;
    }

    body {
      background-color: var(--bg-black);
      color: var(--text-body);
      font-family: var(--font-body);
      line-height: 1.8;
      font-size: 16px;
      -webkit-font-smoothing: antialiased;
      min-height: 100vh;
      position: relative;
    }

    body::before {
      content: '';
      position: fixed;
      inset: 0;
      width: 100%;
      height: 100%;
      background-image: 
        radial-gradient(circle at 18% 0%, rgba(0, 60, 245, 0.16) 0%, transparent 42%),
        radial-gradient(circle at 82% 12%, rgba(0, 40, 190, 0.10) 0%, transparent 48%),
        radial-gradient(circle at 50% 50%, rgba(10, 16, 32, 0.4) 0%, transparent 70%);
      pointer-events: none;
      z-index: -1;
      transform: translateZ(0);
      will-change: transform;
    }

    #progress-bar {
      position: fixed;
      top: 0;
      left: 0;
      height: 3px;
      background: var(--accent-gradient);
      width: 0%;
      z-index: 9999;
      box-shadow: 0 0 10px rgba(0, 82, 255, 0.5);
    }

    .site-nav {
      background: rgba(0, 0, 0, 0.85);
      border-bottom: 1px solid var(--border-line);
      padding: 18px 48px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      position: sticky;
      top: 0;
      z-index: 1000;
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      width: 100%;
      box-sizing: border-box;
      transform: translateZ(0);
    }

    .nav-left {
      display: flex;
      align-items: center;
      gap: 14px;
      min-width: 0;
    }

    .nav-back-btn {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      color: #8DCAFE;
      text-decoration: none;
      font-size: 12.5px;
      font-weight: 600;
      font-family: var(--font-display);
      background: rgba(0, 82, 255, 0.12);
      border: 1px solid rgba(0, 82, 255, 0.3);
      padding: 5px 12px;
      border-radius: 6px;
      transition: all 0.2s ease;
      white-space: nowrap;
      flex-shrink: 0;
    }

    .nav-back-btn:hover {
      background: var(--accent-blue);
      border-color: #0052FF;
      color: #FFFFFF;
      box-shadow: 0 0 12px rgba(0, 82, 255, 0.4);
    }

    .nav-breadcrumbs {
      display: flex;
      align-items: center;
      gap: 12px;
      font-size: 13.5px;
      color: var(--text-muted);
      min-width: 0;
    }

    .brand-title {
      font-family: var(--font-display);
      font-weight: 800;
      font-size: 14.5px;
      letter-spacing: 0.5px;
      text-transform: uppercase;
      color: var(--text-white);
      text-decoration: none;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .brand-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--accent-blue);
      box-shadow: 0 0 10px #0052FF;
      display: inline-block;
    }

    .meta-divider {
      color: var(--text-dim);
      font-size: 12px;
    }

    .nav-actions {
      display: flex;
      align-items: center;
      gap: 14px;
    }

    .btn-ioc-copy {
      background: rgba(0, 82, 255, 0.12);
      color: #8DCAFE;
      border: 1px solid rgba(0, 82, 255, 0.3);
      padding: 7px 16px;
      border-radius: 20px;
      font-size: 12.5px;
      font-weight: 600;
      cursor: pointer;
      font-family: var(--font-display);
      transition: all 0.2s ease;
    }

    .btn-ioc-copy:hover {
      background: var(--accent-blue);
      color: #FFFFFF;
      box-shadow: 0 0 15px rgba(0, 82, 255, 0.4);
    }

    .badge-tlp {
      font-size: 11px;
      font-family: var(--font-mono);
      color: #10B981;
      background: rgba(16, 185, 129, 0.1);
      padding: 4px 10px;
      border-radius: 4px;
      border: 1px solid rgba(16, 185, 129, 0.25);
    }

    .article-wrap {
      max-width: 1360px;
      margin: 0 auto;
      padding: 56px 48px 120px;
    }

    .article-header {
      margin-bottom: 56px;
      border-bottom: 1px solid var(--border-line);
      padding-bottom: 40px;
    }

    .meta-pills {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 20px;
      flex-wrap: wrap;
    }

    .pill-category {
      background: rgba(0, 82, 255, 0.12);
      border: 1px solid rgba(0, 82, 255, 0.35);
      color: #8DCAFE;
      padding: 4px 12px;
      border-radius: 20px;
      font-size: 11px;
      text-transform: uppercase;
      font-weight: 700;
      letter-spacing: 0.8px;
      font-family: var(--font-display);
    }

    .pill-ref {
      color: var(--text-muted);
      font-size: 12px;
      font-family: var(--font-mono);
    }

    h1.article-title {
      font-family: var(--font-display);
      font-size: 42px;
      line-height: 1.25;
      font-weight: 800;
      color: var(--text-white);
      margin-bottom: 24px;
      letter-spacing: -0.8px;
    }

    .article-lead {
      font-size: 18.5px;
      color: var(--text-body);
      line-height: 1.65;
      margin-bottom: 28px;
      max-width: 980px;
      font-weight: 400;
    }

    .article-meta-info {
      display: flex;
      align-items: center;
      gap: 14px;
      font-size: 13.5px;
      color: var(--text-muted);
      flex-wrap: wrap;
    }

    .author-name {
      color: var(--text-white);
      font-weight: 600;
    }

    .article-layout {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 280px;
      gap: 64px;
      align-items: start;
      position: relative;
    }

    /* Sticky Independently Scrollable Sidebar */
    .sidebar-sticky {
      position: -webkit-sticky;
      position: sticky;
      top: 84px;
      align-self: start;
      max-height: calc(100vh - 100px);
      overflow-y: auto;
      overflow-x: hidden;
      overscroll-behavior: contain;
      scrollbar-width: thin;
      scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
      padding-right: 8px;
      display: flex;
      flex-direction: column;
      gap: 36px;
      z-index: 10;
    }

    .sidebar-sticky::-webkit-scrollbar {
      width: 4px;
    }
    .sidebar-sticky::-webkit-scrollbar-track {
      background: transparent;
    }
    .sidebar-sticky::-webkit-scrollbar-thumb {
      background: rgba(255, 255, 255, 0.15);
      border-radius: 4px;
    }
    .sidebar-sticky::-webkit-scrollbar-thumb:hover {
      background: rgba(0, 82, 255, 0.5);
    }

    .sidebar-block-title {
      font-family: var(--font-display);
      font-size: 15px;
      text-transform: uppercase;
      letter-spacing: 1.2px;
      font-weight: 800;
      color: var(--text-white);
      margin-bottom: 16px;
      padding-bottom: 8px;
      border-bottom: 1px solid var(--border-line);
    }

    .toc-nav {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 2px;
    }

    .toc-nav a {
      color: var(--text-muted);
      text-decoration: none;
      font-size: 13.5px;
      padding: 7px 0 7px 12px;
      display: block;
      transition: all 0.2s ease;
      border-left: 2px solid transparent;
      font-family: var(--font-body);
    }

    .toc-nav a:hover {
      color: var(--text-white);
    }

    .toc-nav a.active {
      color: var(--text-white);
      border-left: 2px solid #0052FF;
      font-weight: 600;
      background: linear-gradient(90deg, rgba(0, 82, 255, 0.12), transparent);
    }

    .threat-info-list {
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

    .threat-row {
      display: flex;
      flex-direction: column;
      gap: 2px;
    }

    .threat-k {
      font-size: 10.5px;
      text-transform: uppercase;
      letter-spacing: 1px;
      color: var(--text-muted);
      font-weight: 600;
      font-family: var(--font-display);
    }

    .threat-v {
      font-size: 13.5px;
      color: var(--text-white);
      font-weight: 500;
    }

    .threat-aliases {
      font-size: 11.5px;
      color: var(--text-muted);
      font-weight: 400;
    }

    .highlight-actor {
      color: #35E5D0;
      font-weight: 600;
    }

    .badge-severity {
      display: inline-block;
      padding: 2px 7px;
      border-radius: 4px;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.5px;
      font-family: var(--font-mono);
      text-transform: uppercase;
      line-height: 1.4;
    }

    .badge-sev-critical {
      background: rgba(239, 68, 68, 0.15);
      color: #F87171;
      border: 1px solid rgba(239, 68, 68, 0.35);
    }

    .badge-sev-high {
      background: rgba(245, 158, 11, 0.15);
      color: #FBBF24;
      border: 1px solid rgba(245, 158, 11, 0.35);
    }

    .badge-sev-medium {
      background: rgba(53, 229, 208, 0.15);
      color: #35E5D0;
      border: 1px solid rgba(53, 229, 208, 0.35);
    }

    .badge-sev-low {
      background: rgba(148, 163, 184, 0.15);
      color: #94A3B8;
      border: 1px solid rgba(148, 163, 184, 0.35);
    }

    .badge-tlp-tag {
      display: inline-block;
      padding: 2px 7px;
      border-radius: 4px;
      font-size: 10.5px;
      font-weight: 600;
      font-family: var(--font-mono);
      background: rgba(255, 255, 255, 0.08);
      color: #E2E8F0;
      border: 1px solid rgba(255, 255, 255, 0.15);
    }

    .threat-v.mono {
      font-family: var(--font-mono);
      font-size: 11px;
      color: #8DCAFE;
      word-break: break-all;
      line-height: 1.45;
      letter-spacing: 0.2px;
    }

    .hash-interactive {
      cursor: pointer;
      display: block;
      padding: 7px 12px;
      margin-top: 5px;
      border-radius: 4px;
      background: rgba(0, 82, 255, 0.08);
      border: 1px solid rgba(0, 82, 255, 0.2);
      font-size: 11px;
      line-height: 1.45;
      word-break: break-all;
      transition: all 0.2s ease;
      position: relative;
    }

    .hash-interactive:hover {
      background: rgba(0, 82, 255, 0.22);
      border-color: #0052FF;
      color: #FFFFFF;
    }

    .hash-interactive.copied {
      background: rgba(16, 185, 129, 0.15) !important;
      border-color: #10B981 !important;
      color: #34D399 !important;
      text-align: center;
      font-weight: 600;
      letter-spacing: 0.3px;
    }

    .article-content section {
      margin-bottom: 56px;
      scroll-margin-top: 84px;
    }

    /* Target Heading & Section Glow (Option 1) */
    @keyframes headingGlow {
      0% {
        color: #8DCAFE;
        text-shadow: 0 0 20px rgba(0, 82, 255, 0.85), 0 0 35px rgba(59, 130, 246, 0.65);
        transform: translateX(4px);
      }
      40% {
        color: #FFFFFF;
        text-shadow: 0 0 16px rgba(0, 82, 255, 0.6);
      }
      100% {
        color: var(--text-white);
        text-shadow: none;
        transform: translateX(0);
      }
    }

    .heading-target-pulse {
      animation: headingGlow 1.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
      will-change: transform, text-shadow, color;
    }

    @keyframes sectionTargetFlash {
      0% {
        background: rgba(0, 82, 255, 0.12);
        box-shadow: inset 3px 0 0 #0052FF, 0 0 24px rgba(0, 82, 255, 0.16);
      }
      60% {
        background: rgba(0, 82, 255, 0.04);
        box-shadow: inset 3px 0 0 rgba(0, 82, 255, 0.5);
      }
      100% {
        background: transparent;
        box-shadow: none;
      }
    }

    section.section-targeted {
      animation: sectionTargetFlash 1.4s ease-out forwards;
      border-radius: 6px;
    }

    h1.content-h1 {
      font-family: var(--font-display);
      font-size: 28px;
      line-height: 1.3;
      font-weight: 800;
      color: var(--text-white, #FFFFFF);
      margin: 48px 0 20px;
      letter-spacing: -0.5px;
      border-left: none;
      padding-left: 0;
      transition: color 0.3s ease;
    }

    h2 {
      font-family: var(--font-display);
      font-size: 23px;
      font-weight: 700;
      color: var(--text-white, #FFFFFF);
      border-left: 3.5px solid #35E5D0;
      padding-left: 14px;
      margin: 40px 0 18px;
      letter-spacing: -0.3px;
      padding-top: 4px;
      padding-bottom: 4px;
      transition: color 0.3s ease;
    }

    h3 {
      font-family: var(--font-display);
      font-size: 19px;
      font-weight: 600;
      color: #79C0FF;
      margin: 32px 0 14px;
      letter-spacing: -0.2px;
    }

    h4 {
      font-family: var(--font-display);
      font-size: 15px;
      font-weight: 600;
      color: #B7FF3C;
      margin: 24px 0 10px;
      letter-spacing: 0.02em;
    }

    p {
      margin-bottom: 22px;
      color: var(--text-body);
      font-size: 16px;
      line-height: 1.8;
      word-break: break-word;
      overflow-wrap: break-word;
    }

    p :not(pre) > code, td code, th code, li :not(pre) > code, a :not(pre) > code, span :not(pre) > code {
      background: rgba(255, 255, 255, 0.06);
      padding: 2px 7px;
      border-radius: 4px;
      font-family: var(--font-mono);
      font-size: 13.5px;
      color: #8DCAFE;
      border: 1px solid rgba(255, 255, 255, 0.08);
      word-break: break-word;
      overflow-wrap: anywhere;
      white-space: normal;
    }

    .callout-box {
      border-left: 3px solid #3B82F6;
      background: rgba(255, 255, 255, 0.02);
      padding: 18px 22px;
      margin: 24px 0;
      border-radius: 0 4px 4px 0;
    }

    .callout-box p {
      margin-bottom: 0;
      color: var(--text-body);
      font-size: 15px;
    }

    .list-bullet-item {
      display: flex;
      align-items: baseline;
      gap: 12px;
      margin-bottom: 12px;
      font-size: 15.5px;
      line-height: 1.7;
      word-break: break-word;
      overflow-wrap: break-word;
    }

    .list-bullet-item > span:last-child {
      flex: 1;
      min-width: 0;
    }

    .bullet-dot {
      color: #0052FF;
      font-size: 12px;
      flex-shrink: 0;
    }

    .bullet-num {
      color: #8DCAFE;
      font-weight: 700;
      font-family: var(--font-mono);
      font-size: 14px;
      flex-shrink: 0;
    }

    .figure-wrapper {
      margin: 40px 0;
      background: #030303;
      border: 1px solid var(--border-line);
      border-radius: 4px;
      overflow: hidden;
    }

    .figure-image-container {
      padding: 12px;
      text-align: center;
      cursor: zoom-in;
      min-height: 120px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(5, 9, 15, 0.4);
    }

    .figure-image-container img,
    .article-content img {
      max-width: 100%;
      height: auto;
      max-height: 520px;
      object-fit: contain;
      display: block;
      margin: 0 auto;
      cursor: zoom-in;
      transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .figure-image-container img:hover {
      opacity: 0.95;
      transform: scale(1.008);
    }

    .figure-caption {
      padding: 12px 20px;
      border-top: 1px solid var(--border-line);
      font-size: 13.5px;
      color: var(--text-muted);
      display: flex;
      justify-content: space-between;
      align-items: center;
      background: rgba(255, 255, 255, 0.02);
    }

    .figure-caption strong {
      color: var(--text-white);
    }

    .table-responsive {
      overflow-x: auto;
      margin: 28px 0 36px;
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 8px;
      background: #0B0F14;
      -webkit-overflow-scrolling: touch;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
      position: relative;
    }

    .table-responsive::-webkit-scrollbar {
      height: 6px;
    }

    .table-responsive::-webkit-scrollbar-track {
      background: rgba(255, 255, 255, 0.02);
      border-bottom-left-radius: 8px;
      border-bottom-right-radius: 8px;
    }

    .table-responsive::-webkit-scrollbar-thumb {
      background: rgba(183, 255, 60, 0.25);
      border-radius: 3px;
    }

    .table-responsive::-webkit-scrollbar-thumb:hover {
      background: rgba(183, 255, 60, 0.5);
    }

    table {
      width: 100%;
      border-collapse: separate;
      border-spacing: 0;
      font-size: 13.5px;
      line-height: 1.55;
      text-align: left;
    }

    /* Universal Anti-Squish Rule: Never break plain text words across letter boundaries */
    th, td {
      word-break: normal;
      overflow-wrap: normal;
      hyphens: none;
    }

    th {
      padding: 13px 18px;
      color: var(--text-muted, #8B949E);
      font-weight: 600;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      background: #141A22;
      font-family: var(--font-mono, 'JetBrains Mono', monospace);
      font-size: 11.5px;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      vertical-align: middle;
      white-space: nowrap;
    }

    td {
      padding: 13px 18px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.04);
      color: var(--text-body, #C9D1D9);
      vertical-align: top;
    }

    tbody tr:last-child td {
      border-bottom: none;
    }

    tbody tr:nth-child(even) {
      background: rgba(255, 255, 255, 0.015);
    }

    tbody tr:hover {
      background: rgba(183, 255, 60, 0.03);
    }

    /* First column in all tables gets distinct structural emphasis */
    tbody td:first-child {
      font-weight: 600;
      color: var(--text-white, #FFFFFF);
    }

    /* Code badges inside table cells */
    th code,
    td code {
      word-break: normal;
      overflow-wrap: normal;
      white-space: nowrap;
      font-size: 12.5px;
      padding: 2px 6px;
      border-radius: 4px;
      background: rgba(255, 255, 255, 0.06);
    }

    .hash-cell-wrapper code {
      word-break: break-all;
      overflow-wrap: anywhere;
      white-space: normal;
      max-width: 320px;
    }

    /* 2-Column Metadata / Hash / Telemetry Tables */
    .table-metadata {
      min-width: 480px;
    }

    .table-metadata th:first-child,
    .table-metadata td:first-child {
      width: 220px;
      min-width: 170px;
      max-width: 280px;
      white-space: nowrap;
      color: var(--text-white, #FFFFFF);
      font-weight: 600;
      border-right: 1px solid rgba(255, 255, 255, 0.04);
    }

    .table-metadata th:last-child,
    .table-metadata td:last-child {
      width: auto;
      min-width: 280px;
    }

    /* 3-Column Tables (e.g. Index | Identifier | Description) */
    .table-three-col {
      min-width: 620px;
    }

    .table-three-col th:first-child,
    .table-three-col td:first-child {
      width: 120px;
      min-width: 100px;
      white-space: nowrap;
      border-right: 1px solid rgba(255, 255, 255, 0.03);
    }

    .table-three-col th:nth-child(2),
    .table-three-col td:nth-child(2) {
      width: 180px;
      min-width: 140px;
      white-space: nowrap;
      color: var(--text-white, #FFFFFF);
      border-right: 1px solid rgba(255, 255, 255, 0.03);
    }

    .table-three-col th:last-child,
    .table-three-col td:last-child {
      min-width: 280px;
    }

    /* 4+ Column Tables (Wide Data Tables) */
    .table-wide {
      min-width: 760px;
    }

    /* MITRE ATT&CK Mapping Tables */
    .table-mitre {
      min-width: 820px;
    }

    .table-mitre th:first-child,
    .table-mitre td:first-child {
      width: 150px;
      min-width: 140px;
      white-space: nowrap;
      color: var(--neon-lime, #B7FF3C);
      font-weight: 600;
      border-right: 1px solid rgba(255, 255, 255, 0.04);
    }

    .table-mitre th:nth-child(2),
    .table-mitre td:nth-child(2) {
      width: 145px;
      min-width: 135px;
      white-space: nowrap;
      border-right: 1px solid rgba(255, 255, 255, 0.04);
    }

    .table-mitre th:nth-child(3),
    .table-mitre td:nth-child(3) {
      width: 220px;
      min-width: 180px;
      color: var(--text-white, #FFFFFF);
      font-weight: 500;
      line-height: 1.45;
      border-right: 1px solid rgba(255, 255, 255, 0.04);
    }

    .table-mitre th:nth-child(4),
    .table-mitre td:nth-child(4) {
      min-width: 300px;
      line-height: 1.6;
      color: var(--text-body, #8B949E);
    }

    /* Section / PE / Mach-O Binary Offset Tables */
    .table-sections {
      min-width: 700px;
    }

    .table-sections td {
      font-family: var(--font-mono, 'JetBrains Mono', monospace);
      font-size: 12.5px;
      white-space: nowrap;
    }

    .code-box {
      margin: 28px 0 36px;
      background: #020204;
      border: 1px solid var(--border-line);
      border-radius: 6px;
      overflow: hidden;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
      transition: border-color 0.2s ease;
    }

    .code-box:hover {
      border-color: rgba(255, 255, 255, 0.16);
    }

    .code-box-header {
      padding: 10px 18px;
      background: #141A22;
      border-bottom: 1px solid rgba(255, 255, 255, 0.06);
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 11.5px;
      font-family: var(--font-mono);
      color: var(--text-muted);
    }

    .code-box-title {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-weight: 600;
      letter-spacing: 0.04em;
    }

    .code-box-dot {
      display: inline-block;
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: #8B949E;
      box-shadow: 0 0 6px rgba(139, 148, 158, 0.4);
      flex-shrink: 0;
    }

    /* Language Ecosystem Accents */
    .lang-disasm .code-box-title { color: #35E5D0; }
    .lang-disasm .code-box-dot { background: #35E5D0; box-shadow: 0 0 8px rgba(53, 229, 208, 0.55); }

    .lang-terminal .code-box-title { color: #B7FF3C; }
    .lang-terminal .code-box-dot { background: #B7FF3C; box-shadow: 0 0 8px rgba(183, 255, 60, 0.55); }

    .lang-yara .code-box-title { color: #FF7B72; }
    .lang-yara .code-box-dot { background: #FF7B72; box-shadow: 0 0 8px rgba(255, 123, 114, 0.55); }

    .lang-xml .code-box-title { color: #FFA657; }
    .lang-xml .code-box-dot { background: #FFA657; box-shadow: 0 0 8px rgba(255, 166, 87, 0.55); }

    .lang-c .code-box-title { color: #79C0FF; }
    .lang-c .code-box-dot { background: #79C0FF; box-shadow: 0 0 8px rgba(121, 192, 255, 0.55); }

    .lang-python .code-box-title { color: #F59E0B; }
    .lang-python .code-box-dot { background: #F59E0B; box-shadow: 0 0 8px rgba(245, 158, 11, 0.55); }

    .lang-hex .code-box-title { color: #A78BFA; }
    .lang-hex .code-box-dot { background: #A78BFA; box-shadow: 0 0 8px rgba(167, 139, 250, 0.55); }

    .lang-powershell .code-box-title { color: #38BDF8; }
    .lang-powershell .code-box-dot { background: #38BDF8; box-shadow: 0 0 8px rgba(56, 189, 248, 0.55); }

    .lang-config .code-box-title { color: #FFA657; }
    .lang-config .code-box-dot { background: #FFA657; box-shadow: 0 0 8px rgba(255, 166, 87, 0.55); }

    .lang-go .code-box-title { color: #00ADD8; }
    .lang-go .code-box-dot { background: #00ADD8; box-shadow: 0 0 8px rgba(0, 173, 216, 0.55); }

    .lang-rust .code-box-title { color: #DEA584; }
    .lang-rust .code-box-dot { background: #DEA584; box-shadow: 0 0 8px rgba(222, 165, 132, 0.55); }

    .lang-swift .code-box-title { color: #F05138; }
    .lang-swift .code-box-dot { background: #F05138; box-shadow: 0 0 8px rgba(240, 81, 56, 0.55); }

    .code-box pre {
      padding: 20px 24px;
      overflow-x: auto;
      font-family: var(--font-mono);
      font-size: 13.5px;
      line-height: 1.65;
      color: #C9D1D9;
      background: #0A0D14;
      white-space: pre !important;
      word-break: normal !important;
      overflow-wrap: normal !important;
    }

    .code-box pre code {
      display: block !important;
      background: transparent !important;
      border: none !important;
      padding: 0 !important;
      border-radius: 0 !important;
      color: inherit !important;
      font-family: inherit !important;
      font-size: inherit !important;
      line-height: inherit !important;
      white-space: pre !important;
      word-break: normal !important;
      overflow-wrap: normal !important;
      box-shadow: none !important;
    }

    .code-box pre code span {
      background: transparent !important;
      border: none !important;
      padding: 0 !important;
      border-radius: 0 !important;
      white-space: inherit !important;
    }

    /* Syntax Highlight Tokens */
    .tok-kw {
      color: #FF7B72; /* Keyword / Opcode (Soft Coral) */
      font-weight: 500;
    }
    .tok-fn {
      color: #D2A8FF; /* Function / Command / Routine / Identifier (Soft Purple) */
    }
    .tok-str {
      color: #A5D6FF; /* String literal / Path (Ice Blue) */
    }
    .tok-num {
      color: #79C0FF; /* Address / Immediate / Constant (Sky Blue) */
    }
    .tok-reg {
      color: #35E5D0; /* Register / Variable / Identifier (Electric Cyan) */
    }
    .tok-cmt {
      color: #8B949E; /* Comment (Muted Slate Italic) */
      font-style: italic;
    }
    .tok-tag {
      color: #FFA657; /* Preprocessor / XML Tag / Section (Warm Amber) */
      font-weight: 500;
    }
    .tok-prompt {
      color: #B7FF3C; /* Terminal Prompt (Neon Lime) */
      font-weight: 700;
      user-select: none;
    }
    .tok-op {
      color: #F0F6FC; /* Operators & Punctuation */
    }

    .btn-copy {
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid var(--border-line);
      color: var(--text-muted);
      padding: 4px 12px;
      border-radius: 3px;
      font-size: 11.5px;
      font-family: var(--font-mono);
      cursor: pointer;
      transition: all 0.2s ease;
    }

    .btn-copy:hover {
      background: var(--accent-blue);
      color: #FFFFFF;
      border-color: #0052FF;
    }

    .btn-copy.btn-copied,
    .btn-ioc-copy.btn-copied {
      background: rgba(16, 185, 129, 0.2) !important;
      border-color: #10B981 !important;
      color: #6EE7B7 !important;
    }

    .hash-cell-wrapper {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      width: 100%;
      flex-wrap: nowrap;
    }

    .hash-cell-wrapper code {
      word-break: break-all;
      color: #8DCAFE;
      background: rgba(0, 82, 255, 0.08);
      border: 1px solid rgba(0, 82, 255, 0.2);
      padding: 3px 8px;
      border-radius: 4px;
      font-family: var(--font-mono);
      font-size: 12px;
      cursor: pointer;
      transition: all 0.2s ease;
      flex: 1;
      min-width: 0;
    }

    .hash-cell-wrapper code:hover {
      background: rgba(0, 82, 255, 0.18);
      border-color: #0052FF;
      color: #FFFFFF;
    }

    .hash-cell-wrapper .btn-copy {
      flex-shrink: 0;
      white-space: nowrap;
      padding: 3px 10px;
      font-size: 11px;
    }

    .tlsh-code, .ssdeep-code {
      font-size: 11px !important;
      word-break: break-all;
      display: inline-block;
    }

    .lightbox-modal {
      display: none;
      position: fixed;
      z-index: 10000;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.94);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      align-items: center;
      justify-content: center;
      padding: 24px;
      box-sizing: border-box;
    }

    .lightbox-content-wrap {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      max-width: 95vw;
      max-height: 95vh;
      position: relative;
    }

    .lightbox-modal img {
      max-width: 92vw;
      max-height: 85vh;
      border-radius: 6px;
      border: 1px solid rgba(255, 255, 255, 0.15);
      box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
      cursor: zoom-in;
      transition: max-width 0.2s ease, max-height 0.2s ease;
      object-fit: contain;
    }

    .lightbox-modal img.expanded {
      max-width: 98vw;
      max-height: 94vh;
      cursor: zoom-out;
    }

    .lightbox-caption-text {
      margin-top: 14px;
      font-size: 13.5px;
      color: #A0AEC0;
      font-family: var(--font-body);
      text-align: center;
      max-width: 850px;
      background: rgba(0, 0, 0, 0.6);
      padding: 6px 16px;
      border-radius: 20px;
      border: 1px solid var(--border-line);
    }

    .lightbox-close {
      position: fixed;
      top: 24px;
      right: 32px;
      color: #FFFFFF;
      font-size: 34px;
      cursor: pointer;
      font-weight: 300;
      width: 44px;
      height: 44px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.15);
      transition: all 0.2s ease;
      z-index: 10001;
    }

    .lightbox-close:hover {
      background: rgba(255, 255, 255, 0.2);
      transform: scale(1.08);
    }

    #toast-msg {
      position: fixed;
      bottom: 24px;
      right: 24px;
      background: #0A0A0A;
      border: 1px solid #0052FF;
      color: #8DCAFE;
      padding: 10px 18px;
      border-radius: 4px;
      font-size: 13px;
      font-family: var(--font-mono);
      opacity: 0;
      transform: translateY(10px);
      transition: opacity 0.25s ease, transform 0.25s ease;
      z-index: 99999;
      pointer-events: none;
      box-shadow: 0 4px 20px rgba(0, 82, 255, 0.3);
    }

    #toast-msg.toast-show {
      opacity: 1;
      transform: translateY(0);
    }

    /* MalOps Challenge Banner & Badges */
    .pill-malops {
      background: rgba(53, 229, 208, 0.15) !important;
      color: #35E5D0 !important;
      border: 1px solid rgba(53, 229, 208, 0.45) !important;
      font-weight: 700 !important;
    }
    .pill-difficulty {
      font-family: var(--font-mono);
      font-size: 11px;
      font-weight: 700;
      padding: 3px 8px;
      border-radius: 4px;
      letter-spacing: 0.5px;
    }
    .difficulty-easy {
      background: rgba(183, 255, 60, 0.15);
      color: #B7FF3C;
      border: 1px solid rgba(183, 255, 60, 0.4);
    }
    .difficulty-medium {
      background: rgba(255, 170, 0, 0.15);
      color: #FFAA00;
      border: 1px solid rgba(255, 170, 0, 0.4);
    }
    .difficulty-hard {
      background: rgba(255, 60, 100, 0.15);
      color: #FF3C64;
      border: 1px solid rgba(255, 60, 100, 0.4);
    }
    .difficulty-badge {
      font-family: var(--font-mono);
      font-size: 11px;
      font-weight: 700;
      padding: 3px 8px;
      border-radius: 4px;
      letter-spacing: 0.5px;
    }
    .malops-challenge-callout {
      background: rgba(10, 20, 30, 0.7);
      border: 1px solid rgba(53, 229, 208, 0.25);
      border-left: 3px solid #35E5D0;
      border-radius: 8px;
      padding: 16px 20px;
      margin-bottom: 30px;
    }
    .callout-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 10px;
    }
    .callout-title-group {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .callout-tag {
      font-family: var(--font-mono);
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 1px;
      color: #35E5D0;
    }
    .btn-external-challenge {
      font-family: var(--font-mono);
      font-size: 12px;
      font-weight: 600;
      color: #05080C;
      background: #35E5D0;
      padding: 5px 12px;
      border-radius: 6px;
      text-decoration: none;
      transition: all 0.2s ease;
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }
    .btn-external-challenge:hover {
      background: #B7FF3C;
      transform: translateY(-1px);
    }
    .callout-meta-row {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
      font-size: 13px;
      color: var(--text-muted);
    }
    .callout-meta-row strong {
      color: var(--text-primary);
    }
    .callout-meta-row a {
      color: #35E5D0;
      text-decoration: none;
    }
    .callout-meta-row a:hover {
      text-decoration: underline;
    }

    /* Mobile Table of Contents Drawer */
    .mobile-toc-drawer {
      display: none;
      background: rgba(10, 17, 24, 0.85);
      border: 1px solid rgba(0, 82, 255, 0.28);
      border-radius: 10px;
      margin-bottom: 28px;
      overflow: hidden;
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
      contain: paint;
    }

    .mobile-toc-summary {
      list-style: none;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 13px 16px;
      cursor: pointer;
      user-select: none;
      transition: background 0.2s ease;
    }

    .mobile-toc-summary::-webkit-details-marker {
      display: none;
    }

    .mobile-toc-summary:hover {
      background: rgba(0, 82, 255, 0.08);
    }

    .mobile-toc-summary-left {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .mobile-toc-icon {
      color: #3B82F6;
      flex-shrink: 0;
    }

    .mobile-toc-label {
      font-family: var(--font-display);
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.5px;
      text-transform: uppercase;
      color: var(--text-white);
    }

    .mobile-toc-summary-right {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .mobile-toc-pill {
      font-family: var(--font-mono);
      font-size: 11px;
      color: #8DCAFE;
      background: rgba(0, 82, 255, 0.15);
      border: 1px solid rgba(0, 82, 255, 0.3);
      padding: 2px 8px;
      border-radius: 12px;
      font-weight: 600;
    }

    .mobile-toc-chevron {
      color: var(--text-muted);
      transition: transform 0.25s ease;
      flex-shrink: 0;
    }

    .mobile-toc-drawer[open] .mobile-toc-chevron {
      transform: rotate(180deg);
      color: #8DCAFE;
    }

    .mobile-toc-content {
      border-top: 1px solid rgba(255, 255, 255, 0.06);
      padding: 10px 12px 14px;
      max-height: 52vh;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
    }

    .mobile-toc-nav {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 3px;
    }

    .mobile-toc-nav a {
      color: var(--text-muted);
      text-decoration: none;
      font-size: 13px;
      padding: 8px 10px;
      display: block;
      border-radius: 6px;
      transition: all 0.15s ease;
      line-height: 1.45;
    }

    .mobile-toc-nav a:hover,
    .mobile-toc-nav a:active {
      color: var(--text-white);
      background: rgba(0, 82, 255, 0.15);
    }

    .mobile-toc-nav a.active {
      color: var(--text-white);
      background: rgba(0, 82, 255, 0.2);
      font-weight: 600;
      border-left: 3px solid #0052FF;
    }

    /* Floating Back to Top Button */
    .btn-floating-top {
      position: fixed;
      bottom: 24px;
      right: 20px;
      width: 42px;
      height: 42px;
      border-radius: 50%;
      background: rgba(10, 17, 24, 0.9);
      border: 1px solid rgba(0, 82, 255, 0.4);
      color: #8DCAFE;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      z-index: 999;
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      opacity: 0;
      visibility: hidden;
      transform: translateY(12px);
      transition: all 0.25s ease;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    }
    .btn-floating-top.visible {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }
    .btn-floating-top:hover {
      background: var(--accent-blue);
      color: #FFFFFF;
      border-color: #0052FF;
      box-shadow: 0 0 15px rgba(0, 82, 255, 0.5);
    }

    /* Responsive Breakpoints (Cascaded at bottom) */
    @media (max-width: 1024px) {
      html, body {
        overflow-x: hidden;
      }
      .article-layout {
        grid-template-columns: 1fr;
        gap: 32px;
      }
      .article-content {
        min-width: 0;
        max-width: 100%;
        width: 100%;
      }
      .article-content section {
        margin-bottom: 48px;
        scroll-margin-top: 72px;
      }
      .mobile-toc-drawer {
        display: block;
      }
      .sidebar-desktop-toc {
        display: none !important;
      }
      .sidebar-sticky {
        position: static;
        max-height: none;
        overflow-y: visible;
        padding-right: 0;
        margin-top: 24px;
        padding-top: 0;
        border-top: none;
        display: block;
      }
      .sidebar-threat-profile {
        background: rgba(10, 17, 24, 0.6);
        border: 1px solid var(--border-line);
        border-radius: 8px;
        padding: 20px 22px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
      }
      h1.article-title {
        font-size: 32px;
      }
      .article-wrap {
        padding: 36px 24px 80px;
      }
      .site-nav {
        padding: 16px 24px;
      }
    }

    @media (max-width: 768px) {
      .site-nav {
        padding: 12px 14px;
        gap: 8px;
      }
      .nav-back-btn {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        padding: 4px 9px;
        font-size: 11.5px;
      }
      .nav-section-title,
      .nav-breadcrumbs .meta-divider {
        display: none !important;
      }
      .nav-subtitle, .nav-slash {
        display: none !important;
      }
      .brand-title {
        font-size: 13px;
        gap: 6px;
      }
      .badge-tlp {
        font-size: 10px;
        padding: 3px 8px;
      }
      .article-wrap {
        padding: 20px 14px 60px;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
      }
      .article-header {
        margin-bottom: 24px;
        padding-bottom: 20px;
      }
      .meta-pills {
        gap: 6px;
        margin-bottom: 14px;
      }
      .pill-category {
        font-size: 10px;
        padding: 3px 9px;
      }
      .pill-ref {
        font-size: 11px;
      }
      .pill-difficulty {
        font-size: 10px;
        padding: 2px 7px;
      }
      h1.article-title {
        font-size: 23px;
        line-height: 1.3;
        letter-spacing: -0.3px;
        word-break: break-word;
        margin-bottom: 16px;
      }
      .article-lead {
        font-size: 14.5px;
        line-height: 1.6;
        margin-bottom: 18px;
        word-break: break-word;
      }
      .article-meta-info {
        font-size: 11.5px;
        gap: 6px 8px;
      }
      .article-content section {
        margin-bottom: 40px;
        scroll-margin-top: 60px;
      }
      h1.content-h1 {
        font-size: 22px;
        line-height: 1.32;
        font-weight: 800;
        margin-top: 36px;
        margin-bottom: 14px;
        letter-spacing: -0.3px;
        border-left: none;
        padding-left: 0;
        word-break: break-word;
      }
      h2 {
        font-size: 20px;
        margin-top: 32px;
        margin-bottom: 12px;
        letter-spacing: -0.2px;
        border-left-width: 3px;
        padding-left: 10px;
        word-break: break-word;
      }
      h3 {
        font-size: 16.5px;
        color: #79C0FF;
        margin-top: 24px;
        margin-bottom: 10px;
        word-break: break-word;
      }
      h4 {
        font-size: 14px;
        color: #B7FF3C;
        margin-top: 18px;
        margin-bottom: 8px;
        word-break: break-word;
      }
      p {
        font-size: 14.5px;
        line-height: 1.7;
        margin-bottom: 18px;
        word-break: break-word;
      }
      .list-bullet-item {
        font-size: 14px;
        line-height: 1.6;
        gap: 8px;
        margin-bottom: 10px;
        word-break: break-word;
      }
      .callout-box {
        padding: 14px 16px;
        margin: 18px 0;
        font-size: 13.5px;
      }
      .code-box {
        margin: 18px 0 24px;
        max-width: 100%;
        border-radius: 6px;
      }
      .code-box-header {
        padding: 8px 12px;
        font-size: 11px;
        gap: 6px;
      }
      .code-box-header span:first-child {
        max-width: calc(100% - 95px);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }
      .code-box pre {
        padding: 12px 14px;
        font-size: 11.5px;
        line-height: 1.55;
        max-width: 100%;
        -webkit-overflow-scrolling: touch;
      }
      .btn-copy {
        padding: 3px 8px;
        font-size: 10.5px;
      }
      .table-responsive {
        margin: 18px 0 24px;
        max-width: 100%;
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        -webkit-overflow-scrolling: touch;
      }
      table {
        font-size: 13px;
      }
      th {
        padding: 10px 14px;
        font-size: 11px;
        letter-spacing: 0.05em;
        white-space: nowrap;
        word-break: normal;
      }
      td {
        padding: 10px 14px;
        font-size: 13px;
        word-break: normal;
      }
      .table-metadata th:first-child,
      .table-metadata td:first-child {
        width: 140px;
        min-width: 125px;
        white-space: nowrap;
        font-size: 12px;
        padding: 10px 12px;
      }
      .table-metadata th:last-child,
      .table-metadata td:last-child {
        padding: 10px 12px;
        font-size: 12.5px;
      }
      .hash-cell-wrapper {
        flex-wrap: wrap;
        gap: 6px;
      }
      .hash-cell-wrapper code {
        font-size: 10.5px;
        padding: 3px 6px;
        width: 100%;
        word-break: break-all;
      }
      .hash-cell-wrapper .btn-copy {
        width: 100%;
        text-align: center;
        padding: 4px 8px;
        font-size: 10px;
      }
      .figure-wrapper {
        margin: 20px 0;
        max-width: 100%;
        border-radius: 6px;
      }
      .figure-image-container {
        padding: 6px;
      }
      .figure-image-container img {
        max-height: 380px;
      }
      .figure-caption {
        padding: 8px 12px;
        font-size: 11.5px;
        flex-wrap: wrap;
        gap: 6px;
      }
      .sidebar-block-title {
        font-size: 12.5px;
        margin-bottom: 12px;
        padding-bottom: 6px;
      }
      .threat-info-list {
        gap: 12px;
      }
      .threat-k {
        font-size: 9.5px;
      }
      .threat-v {
        font-size: 12px;
      }
      .threat-v.mono {
        font-size: 10.5px;
      }
      .hash-interactive {
        font-size: 10.5px;
        padding: 6px 8px;
      }
      .malops-challenge-callout {
        padding: 12px 14px;
        margin-bottom: 22px;
        border-radius: 6px;
      }
      .callout-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
      }
      .btn-external-challenge {
        width: 100%;
        justify-content: center;
        padding: 7px 12px;
        font-size: 11.5px;
      }
      .callout-meta-row {
        flex-direction: column;
        gap: 6px;
        font-size: 12px;
      }
      .lightbox-modal {
        padding: 10px;
      }
      .lightbox-close {
        top: max(12px, env(safe-area-inset-top));
        right: max(12px, env(safe-area-inset-right));
        width: 36px;
        height: 36px;
        font-size: 24px;
      }
      .lightbox-caption-text {
        font-size: 11.5px;
        padding: 6px 12px;
        max-width: 92vw;
      }
      #toast-msg {
        bottom: 16px;
        right: 16px;
        left: 16px;
        text-align: center;
        font-size: 12px;
      }
    }

    @media (max-width: 480px) {
      .site-nav {
        padding: 10px 12px;
      }
      .article-wrap {
        padding: 16px 12px 50px;
      }
      h1.article-title {
        font-size: 20px;
        line-height: 1.32;
        letter-spacing: -0.3px;
      }
      .article-lead {
        font-size: 13.5px;
        line-height: 1.55;
      }
      h1.content-h1 {
        font-size: 19px;
        line-height: 1.35;
        font-weight: 800;
        margin-top: 28px;
        margin-bottom: 10px;
        border-left: none;
        padding-left: 0;
        word-break: break-word;
      }
      h2 {
        font-size: 17.5px;
        margin-top: 26px;
        border-left-width: 2.5px;
        padding-left: 8px;
      }
      h3 {
        font-size: 15px;
        color: #79C0FF;
        margin-top: 20px;
      }
      h4 {
        font-size: 13px;
        color: #B7FF3C;
        margin-top: 16px;
      }
      .figure-image-container img {
        max-height: 280px;
      }
      .code-box pre {
        padding: 10px;
        font-size: 11px;
      }
      .table-metadata th:first-child,
      .table-metadata td:first-child {
        width: 85px;
        min-width: 75px;
        max-width: 95px;
        font-size: 11px;
        padding: 6px 6px;
      }
    }
    
    /* ==========================================================================
       MARE GLOBAL COMMAND PALETTE MODAL (⌘K / /)
       ========================================================================== */
    .cmd-palette-backdrop {
      position: fixed;
      inset: 0;
      z-index: 10000;
      background: rgba(5, 8, 12, 0.82);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      display: flex;
      align-items: flex-start;
      justify-content: center;
      padding: 8vh 16px 24px;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .cmd-palette-backdrop.open {
      opacity: 1;
      pointer-events: auto;
    }
    .cmd-palette-modal {
      width: 100%;
      max-width: 680px;
      background: #0D1117;
      border: 1px solid rgba(53, 229, 208, 0.28);
      border-radius: 12px;
      box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 25px rgba(53, 229, 208, 0.12);
      overflow: hidden;
      display: flex;
      flex-direction: column;
      max-height: 80vh;
      transform: translateY(-8px) scale(0.98);
      transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .cmd-palette-backdrop.open .cmd-palette-modal {
      transform: translateY(0) scale(1);
    }
    .cmd-palette-header {
      display: flex;
      align-items: center;
      padding: 14px 18px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      gap: 12px;
      background: #0A0D12;
    }
    .cmd-search-icon {
      color: var(--neon-cyan, #35E5D0);
      flex-shrink: 0;
    }
    .cmd-palette-input {
      flex: 1;
      background: transparent;
      border: none;
      outline: none;
      color: #F0F6FC;
      font-size: 15px;
      font-family: inherit;
    }
    .cmd-palette-input::placeholder {
      color: #6E7681;
    }
    .cmd-palette-esc-badge {
      font-family: var(--font-mono, monospace);
      font-size: 11px;
      color: #8B949E;
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.12);
      padding: 2px 7px;
      border-radius: 4px;
      cursor: pointer;
      transition: all 0.15s;
      user-select: none;
    }
    .cmd-palette-esc-badge:hover {
      color: #FFF;
      border-color: rgba(255, 255, 255, 0.25);
      background: rgba(255, 255, 255, 0.1);
    }
    .cmd-palette-filters {
      display: flex;
      gap: 6px;
      padding: 10px 18px;
      background: #0E131A;
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
      overflow-x: auto;
      white-space: nowrap;
    }
    .cmd-filter-pill {
      background: rgba(255, 255, 255, 0.04);
      color: #8B949E;
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 9999px;
      padding: 3px 10px;
      font-size: 11px;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.15s;
      font-family: inherit;
    }
    .cmd-filter-pill:hover {
      color: #E6EDF3;
      border-color: rgba(255, 255, 255, 0.2);
    }
    .cmd-filter-pill.active {
      background: rgba(183, 255, 60, 0.12);
      color: #B7FF3C;
      border-color: rgba(183, 255, 60, 0.35);
    }
    .cmd-palette-results {
      flex: 1;
      overflow-y: auto;
      padding: 8px;
      max-height: 52vh;
    }
    .cmd-palette-results::-webkit-scrollbar {
      width: 6px;
    }
    .cmd-palette-results::-webkit-scrollbar-track {
      background: transparent;
    }
    .cmd-palette-results::-webkit-scrollbar-thumb {
      background: rgba(255, 255, 255, 0.15);
      border-radius: 3px;
    }
    .cmd-item {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      padding: 10px 14px;
      border-radius: 8px;
      text-decoration: none;
      color: inherit;
      transition: background 0.12s ease, border-color 0.12s ease;
      border-left: 2px solid transparent;
      cursor: pointer;
      margin-bottom: 2px;
    }
    .cmd-item:hover, .cmd-item.selected {
      background: rgba(53, 229, 208, 0.07);
      border-left-color: #35E5D0;
    }
    .cmd-item-platform {
      font-family: var(--font-mono, monospace);
      font-size: 10px;
      font-weight: 600;
      padding: 2px 7px;
      border-radius: 4px;
      flex-shrink: 0;
      margin-top: 2px;
      letter-spacing: 0.3px;
      text-transform: uppercase;
    }
    .platform-macos {
      color: #35E5D0;
      background: rgba(53, 229, 208, 0.12);
      border: 1px solid rgba(53, 229, 208, 0.25);
    }
    .platform-windows {
      color: #58a6ff;
      background: rgba(88, 166, 255, 0.12);
      border: 1px solid rgba(88, 166, 255, 0.25);
    }
    .platform-linux {
      color: #f0883e;
      background: rgba(240, 136, 62, 0.12);
      border: 1px solid rgba(240, 136, 62, 0.25);
    }
    .platform-cross-platform {
      color: #B7FF3C;
      background: rgba(183, 255, 60, 0.12);
      border: 1px solid rgba(183, 255, 60, 0.25);
    }
    .platform-malops {
      color: #bc8cff;
      background: rgba(188, 140, 255, 0.12);
      border: 1px solid rgba(188, 140, 255, 0.25);
    }
    .cmd-item-main {
      flex: 1;
      min-width: 0;
    }
    .cmd-item-title {
      color: #F0F6FC;
      font-size: 13.5px;
      font-weight: 600;
      line-height: 1.35;
      margin-bottom: 3px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .cmd-item:hover .cmd-item-title, .cmd-item.selected .cmd-item-title {
      color: #FFF;
    }
    .cmd-item-snippet {
      color: #8B949E;
      font-size: 12px;
      line-height: 1.4;
      margin-bottom: 4px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .cmd-item-meta {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 11px;
      color: #6E7681;
    }
    .cmd-meta-dot {
      opacity: 0.5;
    }
    .cmd-meta-family {
      color: #8B949E;
      font-weight: 500;
    }
    .cmd-match-tag {
      font-family: var(--font-mono, monospace);
      font-size: 9.5px;
      font-weight: 700;
      padding: 1px 4px;
      border-radius: 3px;
      background: rgba(183, 255, 60, 0.15);
      color: #B7FF3C;
      border: 1px solid rgba(183, 255, 60, 0.3);
      margin-right: 4px;
    }
    .cmd-match-code {
      font-family: var(--font-mono, monospace);
      font-size: 11px;
      color: #C9D1D9;
    }
    .cmd-highlight {
      background: rgba(183, 255, 60, 0.22);
      color: #B7FF3C;
      padding: 0 2px;
      border-radius: 2px;
      font-weight: 600;
    }
    .cmd-item-action {
      align-self: center;
      flex-shrink: 0;
      opacity: 0;
      transform: translateX(-4px);
      transition: all 0.15s ease;
    }
    .cmd-item:hover .cmd-item-action, .cmd-item.selected .cmd-item-action {
      opacity: 1;
      transform: translateX(0);
    }
    .cmd-item-enter {
      font-family: var(--font-mono, monospace);
      font-size: 13px;
      color: #B7FF3C;
      background: rgba(183, 255, 60, 0.1);
      border: 1px solid rgba(183, 255, 60, 0.25);
      padding: 3px 6px;
      border-radius: 4px;
      line-height: 1;
    }
    .cmd-palette-empty {
      padding: 36px 20px;
      text-align: center;
      color: #8B949E;
    }
    .cmd-palette-empty h4 {
      font-size: 14px;
      color: #E6EDF3;
      margin: 0 0 6px 0;
      font-weight: 600;
    }
    .cmd-palette-empty p {
      font-size: 12px;
      color: #6E7681;
      margin: 0;
      line-height: 1.5;
    }
    .cmd-palette-footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 9px 18px;
      background: #0A0D12;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      font-size: 11px;
      color: #6E7681;
    }
    .cmd-footer-shortcuts {
      display: flex;
      gap: 12px;
    }
    .cmd-footer-shortcuts span {
      display: inline-flex;
      align-items: center;
      gap: 4px;
    }
    .cmd-footer-shortcuts kbd {
      font-family: var(--font-mono, monospace);
      font-size: 10px;
      padding: 1px 4px;
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 3px;
      color: #8B949E;
    }
    .cmd-section-label {
      font-size: 11px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      color: #6E7681;
      padding: 8px 12px 4px;
      font-family: var(--font-mono, monospace);
    }
    .nav-search-btn {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      padding: 5px 10px;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 6px;
      color: #8B949E;
      cursor: pointer;
      font-size: 12px;
      font-family: inherit;
      transition: all 0.2s ease;
      line-height: 1;
    }
    .nav-search-btn:hover {
      background: rgba(53, 229, 208, 0.08);
      border-color: rgba(53, 229, 208, 0.35);
      color: #E6EDF3;
    }
    .nav-search-btn kbd {
      font-size: 10px;
      font-family: var(--font-mono, monospace);
      padding: 1px 5px;
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.14);
      border-radius: 3px;
      color: #C9D1D9;
    }
    @media (max-width: 640px) {
      .cmd-palette-backdrop {
        padding: 10px;
      }
      .cmd-palette-modal {
        max-height: 90vh;
      }
      .cmd-footer-shortcuts {
        display: none;
      }
      .nav-search-btn {
        width: 34px !important;
        height: 34px !important;
        padding: 0 !important;
        justify-content: center !important;
        box-sizing: border-box !important;
      }
      .nav-search-btn span,
      .nav-search-btn kbd {
        display: none !important;
      }
    }

/* ==========================================================================
   INTERACTIVE MITRE ATT&CK BADGE COMPONENT
   ========================================================================== */
.mitre-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(53, 229, 208, 0.08);
  border: 1px solid rgba(53, 229, 208, 0.28);
  border-radius: 4px;
  padding: 1px 7px;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 12px;
  font-weight: 600;
  color: var(--neon-cyan, #35E5D0);
  text-decoration: none;
  white-space: nowrap;
  vertical-align: middle;
  transition: all 0.18s ease;
  line-height: 1.45;
  cursor: pointer;
}

.mitre-badge:hover {
  background: rgba(53, 229, 208, 0.18);
  border-color: var(--neon-cyan, #35E5D0);
  box-shadow: 0 0 10px rgba(53, 229, 208, 0.35);
  color: #FFFFFF;
  text-decoration: none;
}

.mitre-badge .mitre-label {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: var(--text-muted, #7E8695);
  text-transform: uppercase;
}

.mitre-badge:hover .mitre-label {
  color: var(--neon-lime, #B7FF3C);
}

.mitre-badge .mitre-id {
  color: var(--neon-cyan, #35E5D0);
  letter-spacing: -0.2px;
}

.mitre-badge:hover .mitre-id {
  color: #FFFFFF;
}

.mitre-badge .mitre-arrow {
  font-size: 11px;
  opacity: 0.7;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.mitre-badge:hover .mitre-arrow {
  opacity: 1;
  transform: translate(1px, -1px);
}

@media (max-width: 768px) {
  .mitre-badge {
    font-size: 11px;
    padding: 1px 6px;
    gap: 4px;
  }
  .mitre-badge .mitre-label {
    font-size: 8.5px;
  }
}
