  :root {
    --primary-dark: #0A0E1A;
    --primary-darker: #050810;
    --primary-light: #FAFAF7;
    --accent-red: #B8001F;
    --accent-gold: #B8860B;
    --tech-cyan: #00D4FF;
    --tech-blue: #0080FF;
    --tech-glow: rgba(0, 212, 255, 0.5);
    --grid-line: rgba(0, 212, 255, 0.08);
    --up-green: #00E676;
    --down-red: #FF3D5A;
    --gray-900: #212121;
    --gray-700: #424242;
    --gray-500: #757575;
    --gray-300: #BDBDBD;
    --gray-100: #F5F5F5;
    --gray-50: #FAFAFA;
    --paper: #FAF6EE;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  body {
    font-family: "Noto Sans JP", sans-serif;
    color: var(--gray-900);
    background: var(--primary-light);
    line-height: 1.6;
  }
  .serif { font-family: "Noto Serif JP", "Playfair Display", serif; }
  .mono { font-family: "JetBrains Mono", "Inter", monospace; }

  /* ========== CYBER UTILITIES ========== */
  .cyber-frame {
    position: relative;
    border: 1px solid var(--tech-cyan);
    box-shadow: 0 0 0 1px rgba(0, 212, 255, 0.2), inset 0 0 30px rgba(0, 212, 255, 0.05);
  }
  .cyber-frame::before,
  .cyber-frame::after,
  .cyber-frame > .corner-tl,
  .cyber-frame > .corner-tr,
  .cyber-frame > .corner-bl,
  .cyber-frame > .corner-br {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    border-color: var(--tech-cyan);
    border-style: solid;
    z-index: 2;
  }
  .corner-tl { top: -2px; left: -2px; border-width: 2px 0 0 2px; }
  .corner-tr { top: -2px; right: -2px; border-width: 2px 2px 0 0; }
  .corner-bl { bottom: -2px; left: -2px; border-width: 0 0 2px 2px; }
  .corner-br { bottom: -2px; right: -2px; border-width: 0 2px 2px 0; }

  .glow-text {
    text-shadow: 0 0 10px var(--tech-glow), 0 0 20px rgba(0, 212, 255, 0.3);
  }

  .grid-bg {
    background-image:
      linear-gradient(var(--grid-line) 1px, transparent 1px),
      linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 30px 30px;
  }

  .scan-line {
    position: relative;
    overflow: hidden;
  }
  .scan-line::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--tech-cyan), transparent);
    animation: scan 4s linear infinite;
  }
  @keyframes scan {
    0% { top: 0; }
    100% { top: 100%; }
  }

  /* ========== TOP BAR (TICKER) ========== */
  .top-bar {
    background: var(--primary-darker);
    color: var(--primary-light);
    padding: 8px 0;
    overflow: hidden;
    border-bottom: 1px solid var(--tech-cyan);
    box-shadow: 0 1px 8px rgba(0, 212, 255, 0.3);
    position: relative;
  }
  .top-bar::before {
    content: '';
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--tech-cyan) 50%, transparent 100%);
  }
  .ticker {
    display: flex;
    gap: 32px;
    white-space: nowrap;
    font-family: "JetBrains Mono", monospace;
    font-size: 14px;
    font-weight: 500;
    padding: 0 24px;
  }
  .ticker-item { display: flex; align-items: center; gap: 6px; }
  .ticker-name { color: var(--tech-cyan); font-size: 11px; letter-spacing: 1px; font-weight: 600; }
  .ticker-value { color: var(--primary-light); font-weight: 600; }
  .up { color: var(--up-green); }
  .down { color: var(--down-red); }

  /* ========== HEADER (MASTHEAD) ========== */
  .header {
    background: var(--primary-light);
    border-top: 1px solid var(--gray-300);
    border-bottom: 1px solid var(--gray-300);
    padding: 32px 0 28px;
    position: relative;
  }
  .header::before, .header::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--tech-cyan), transparent);
    opacity: 0.4;
  }
  .header::before { top: -1px; }
  .header::after { bottom: -1px; }
  .header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
    position: relative;
  }
  .header-utility {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 12px;
    align-items: center;
  }
  .header-utility.left { left: 24px; }
  .header-utility.right { right: 24px; }
  .header-date {
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    color: var(--gray-700);
    letter-spacing: 1px;
    text-align: left;
    line-height: 1.5;
  }
  .header-date-day {
    color: var(--accent-red);
    font-weight: 700;
    font-size: 12px;
  }
  .masthead {
    display: inline-flex;
    align-items: center;
    padding: 8px 0;
    position: relative;
  }
  .logo {
    font-family: "Inter", "Plus Jakarta Sans", "Manrope", "Noto Sans JP", sans-serif;
    font-size: 56px;
    font-weight: 900;
    color: var(--primary-dark);
    letter-spacing: -1px;
    line-height: 1;
    text-transform: uppercase;
    position: relative;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.12);
    font-feature-settings: "ss01", "cv11";
  }
  .logo-sub {
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    color: var(--gray-700);
    letter-spacing: 6px;
    text-transform: uppercase;
    font-weight: 500;
    margin-top: 12px;
    text-align: center;
  }
  .logo-sub .accent {
    color: var(--tech-cyan);
    margin: 0 8px;
    font-weight: 700;
  }
  .btn-text {
    color: var(--gray-700);
    font-size: 12px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: "JetBrains Mono", monospace;
    letter-spacing: 1px;
    text-transform: uppercase;
  }
  .btn-text:hover { color: var(--tech-blue); }
  .btn-primary {
    background: var(--primary-dark);
    color: var(--primary-light);
    padding: 10px 20px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid var(--tech-cyan);
    cursor: pointer;
    letter-spacing: 1.5px;
    position: relative;
    transition: all 0.2s;
    font-family: "JetBrains Mono", monospace;
    text-transform: uppercase;
  }
  .btn-primary:hover {
    box-shadow: 0 0 12px var(--tech-glow);
    background: var(--tech-blue);
  }

  /* ========== SUB NAV (CATEGORIES) ========== */
  .sub-nav {
    background: var(--primary-light);
    border-bottom: 1px solid var(--gray-300);
    padding: 12px 0;
    position: relative;
  }
  .sub-nav::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--tech-cyan), transparent);
    opacity: 0.4;
  }
  .sub-nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    gap: 24px;
    overflow-x: auto;
  }
  .sub-nav a {
    color: var(--gray-700);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    padding: 4px 0;
    border-bottom: 2px solid transparent;
  }
  .sub-nav a:hover { border-bottom-color: var(--tech-cyan); color: var(--primary-dark); }
  .sub-nav a.active {
    border-bottom-color: var(--tech-cyan);
    color: var(--primary-dark);
    font-weight: 700;
    text-shadow: 0 0 4px rgba(0, 212, 255, 0.2);
  }

  /* ========== MAIN ========== */
  .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 32px 24px;
  }

  /* ========== HERO ========== */
  .hero {
    display: block;
    margin-bottom: 48px;
  }
  .hero-main {
    background: var(--primary-light);
  }
  .hero-tag {
    display: inline-block;
    color: var(--accent-red);
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
  }
  .hero-title {
    font-family: "Noto Serif JP", serif;
    font-size: 42px;
    font-weight: 900;
    line-height: 1.25;
    color: var(--primary-dark);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
  }
  .hero-subtitle {
    font-size: 17px;
    color: var(--gray-700);
    margin-bottom: 20px;
    line-height: 1.7;
  }
  .hero-meta {
    display: flex;
    gap: 16px;
    align-items: center;
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 20px;
    font-family: "JetBrains Mono", monospace;
  }
  .audio-player {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--primary-dark);
    color: var(--primary-light);
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 8px;
    border: 1px solid var(--tech-cyan);
    box-shadow: 0 0 16px rgba(0, 212, 255, 0.2);
    position: relative;
  }
  .audio-player::before, .audio-player::after {
    content: '';
    position: absolute;
    width: 8px; height: 8px;
    border: 1px solid var(--tech-cyan);
  }
  .audio-player::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
  .audio-player::after { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }
  .audio-player:hover {
    background: var(--tech-blue);
    box-shadow: 0 0 24px var(--tech-glow);
  }
  .audio-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--tech-cyan);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
  }
  .audio-text { font-size: 13px; font-weight: 500; }
  .audio-time {
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    color: var(--tech-cyan);
  }
  .hero-image {
    width: 100%;
    height: 320px;
    background:
      linear-gradient(135deg, #0a0e1a 0%, #001a2e 50%, #050810 100%);
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--tech-cyan);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.2), inset 0 0 60px rgba(0, 212, 255, 0.05);
  }
  .hero-image::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
      linear-gradient(rgba(0, 212, 255, 0.1) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0, 212, 255, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
  }
  .hero-image::after {
    content: '[ 記事画像 ]';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-family: "JetBrains Mono", monospace;
    font-size: 14px;
    font-weight: 500;
    color: rgba(0, 212, 255, 0.5);
    letter-spacing: 2px;
  }
  .hero-image-corners > div {
    position: absolute;
    width: 20px; height: 20px;
    border: 2px solid var(--tech-cyan);
    z-index: 3;
  }
  .hi-tl { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
  .hi-tr { top: 12px; right: 12px; border-left: 0; border-bottom: 0; }
  .hi-bl { bottom: 12px; left: 12px; border-right: 0; border-top: 0; }
  .hi-br { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }

  /* ========== AITX SIDEBAR ========== */
  .aitx-card {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-darker) 100%);
    color: var(--primary-light);
    padding: 24px;
    margin-bottom: 16px;
    border: 1px solid var(--tech-cyan);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
    position: relative;
    overflow: hidden;
  }
  .aitx-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
      linear-gradient(rgba(0, 212, 255, 0.05) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0, 212, 255, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
  }
  .aitx-card > * { position: relative; z-index: 1; }
  .aitx-label {
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    color: var(--tech-cyan);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .aitx-label::before {
    content: '▸';
    color: var(--accent-gold);
  }
  .aitx-name {
    font-family: "Noto Serif JP", serif;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
  }
  .aitx-value {
    font-family: "JetBrains Mono", monospace;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 4px;
    color: var(--tech-cyan);
    text-shadow: 0 0 12px var(--tech-glow);
  }
  .aitx-change {
    font-family: "JetBrains Mono", monospace;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
  }
  .aitx-period-toggle {
    display: flex;
    gap: 4px;
    margin-bottom: 8px;
  }
  .period-btn {
    flex: 1;
    background: transparent;
    color: var(--gray-500);
    border: 1px solid rgba(0, 212, 255, 0.25);
    padding: 5px 0;
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.15s;
  }
  .period-btn:hover {
    color: var(--tech-cyan);
    border-color: var(--tech-cyan);
  }
  .period-btn.active {
    background: rgba(0, 212, 255, 0.12);
    color: var(--tech-cyan);
    border-color: var(--tech-cyan);
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.3);
  }
  .aitx-chart {
    height: 140px;
    background: linear-gradient(to top, rgba(0, 212, 255, 0.15), transparent);
    position: relative;
    margin-bottom: 16px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    padding-left: 36px;
    padding-bottom: 20px;
  }
  .aitx-chart svg { width: 100%; height: 100%; display: block; }
  .chart-y-labels {
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 24px;
    width: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-family: "JetBrains Mono", monospace;
    font-size: 9px;
    color: rgba(0, 212, 255, 0.7);
    text-align: right;
    padding-right: 4px;
    line-height: 1;
    pointer-events: none;
  }
  .chart-x-labels {
    position: absolute;
    left: 36px;
    right: 4px;
    bottom: 4px;
    height: 14px;
    display: flex;
    justify-content: space-between;
    font-family: "JetBrains Mono", monospace;
    font-size: 9px;
    color: rgba(0, 212, 255, 0.7);
    align-items: flex-end;
    pointer-events: none;
  }
  .aitx-meta {
    display: flex;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    color: var(--tech-cyan);
  }
  .aitx-link {
    display: block;
    background: transparent;
    color: var(--tech-cyan);
    border: 1px solid var(--tech-cyan);
    padding: 10px;
    text-align: center;
    text-decoration: none;
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-top: 16px;
    transition: all 0.2s;
  }
  .aitx-link:hover {
    background: var(--tech-cyan);
    color: var(--primary-dark);
    box-shadow: 0 0 16px var(--tech-glow);
  }

  .audio-side-card {
    background: var(--paper);
    border: 1px solid var(--gray-300);
    padding: 20px;
    position: relative;
  }
  .audio-side-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 30%; height: 2px;
    background: var(--tech-cyan);
    box-shadow: 0 0 8px var(--tech-glow);
  }
  .audio-side-card-label {
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    color: var(--accent-red);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 8px;
  }
  .audio-side-card-title {
    font-family: "Noto Serif JP", serif;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.5;
  }
  .audio-side-list {
    list-style: none;
  }
  .audio-side-list li {
    padding: 10px 0;
    border-top: 1px solid var(--gray-300);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .audio-icon-sm {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary-dark);
    color: var(--tech-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
    border: 1px solid var(--tech-cyan);
    box-shadow: 0 0 6px rgba(0, 212, 255, 0.3);
  }

  /* ========== SECTION ========== */
  .section { margin-bottom: 48px; }
  .section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-dark);
    position: relative;
  }
  .section-header::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0; width: 60px;
    height: 2px;
    background: var(--tech-cyan);
    box-shadow: 0 0 8px var(--tech-glow);
  }
  .section-title {
    font-family: "Playfair Display", "Noto Serif JP", serif;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .section-title::before {
    content: '';
    display: inline-block;
    width: 4px; height: 24px;
    background: var(--tech-cyan);
    box-shadow: 0 0 6px var(--tech-glow);
  }
  .section-link {
    color: var(--accent-red);
    text-decoration: none;
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
  }

  /* ========== ARTICLE GRID ========== */
  .grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
  .article-card {
    background: var(--primary-light);
    transition: all 0.2s;
  }
  .article-card:hover {
    transform: translateY(-2px);
  }
  .article-img {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
  }
  .article-img::before {
    content: '';
    position: absolute;
    top: 8px; left: 8px;
    width: 14px; height: 14px;
    border: 1px solid var(--tech-cyan);
    border-right: 0; border-bottom: 0;
  }
  .article-img::after {
    content: '';
    position: absolute;
    bottom: 8px; right: 8px;
    width: 14px; height: 14px;
    border: 1px solid var(--tech-cyan);
    border-left: 0; border-top: 0;
  }
  .article-img.img-2 { background: linear-gradient(135deg, #8e44ad, #2c3e50); }
  .article-img.img-3 { background: linear-gradient(135deg, #c0392b, #2c3e50); }
  .article-cat {
    display: inline-block;
    color: var(--accent-red);
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
  }
  .article-title {
    font-family: "Noto Serif JP", serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--primary-dark);
    margin-bottom: 12px;
  }
  .article-excerpt {
    font-size: 14px;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 12px;
  }
  .article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    color: var(--gray-500);
  }
  .article-meta-audio {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--tech-blue);
    font-weight: 600;
  }

  /* ========== AITX30 TABLE ========== */
  .aitx-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-darker) 100%);
    color: var(--primary-light);
    padding: 48px 0;
    margin: 48px -24px;
    position: relative;
    overflow: hidden;
  }
  .aitx-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
      linear-gradient(rgba(0, 212, 255, 0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0, 212, 255, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
  }
  .aitx-section::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--tech-cyan), transparent);
  }
  .aitx-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
  }
  .aitx-section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.3);
  }
  .aitx-section-title {
    font-family: "Playfair Display", serif;
    font-size: 36px;
    font-weight: 900;
    color: var(--primary-light);
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    display: flex;
    align-items: center;
    gap: 16px;
  }
  .aitx-section-title::before {
    content: '[';
    color: var(--tech-cyan);
    font-size: 40px;
  }
  .aitx-section-title::after {
    content: ']';
    color: var(--tech-cyan);
    font-size: 40px;
  }
  .aitx-section-subtitle {
    color: var(--tech-cyan);
    font-family: "JetBrains Mono", monospace;
    font-size: 13px;
    margin-top: 8px;
    letter-spacing: 1px;
  }
  .aitx-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 32px;
  }
  .aitx-stat {
    border: 1px solid rgba(0, 212, 255, 0.3);
    padding: 20px;
    position: relative;
    background: rgba(0, 212, 255, 0.02);
  }
  .aitx-stat::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 30px; height: 1px;
    background: var(--tech-cyan);
    box-shadow: 0 0 4px var(--tech-glow);
  }
  .aitx-stat-label {
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    color: var(--tech-cyan);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
  }
  .aitx-stat-value {
    font-family: "JetBrains Mono", monospace;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--primary-light);
  }
  .aitx-stat-change {
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
  }
  .aitx-table {
    width: 100%;
    border-collapse: collapse;
    font-family: "JetBrains Mono", monospace;
    font-size: 13px;
  }
  .aitx-table th {
    text-align: left;
    padding: 12px;
    color: var(--tech-cyan);
    font-weight: 600;
    border-bottom: 1px solid rgba(0, 212, 255, 0.4);
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
  }
  .aitx-table td {
    padding: 14px 12px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
  }
  .aitx-table tr:hover { background: rgba(0, 212, 255, 0.05); }
  .aitx-table .ticker-symbol {
    font-weight: 700;
    color: var(--accent-gold);
  }
  .aitx-table .company-name {
    font-family: "Noto Sans JP", sans-serif;
    color: var(--primary-light);
  }
  .aitx-table .num { text-align: right; font-variant-numeric: tabular-nums; }

  /* ========== INSIGHTS ========== */
  .insight-card {
    background: var(--paper);
    padding: 32px;
    border: 1px solid var(--gray-300);
    border-left: 4px solid var(--tech-cyan);
    position: relative;
  }
  .insight-card::before, .insight-card::after {
    content: '';
    position: absolute;
    width: 16px; height: 16px;
    border: 2px solid var(--tech-cyan);
  }
  .insight-card::before { top: -2px; right: -2px; border-left: 0; border-bottom: 0; }
  .insight-card::after { bottom: -2px; right: -2px; border-left: 0; border-top: 0; }
  .insight-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
  }
  .insight-tag {
    display: inline-block;
    color: var(--accent-red);
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
  }
  .insight-title {
    font-family: "Noto Serif JP", serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 16px;
  }
  .insight-text {
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 16px;
  }
  .insight-chart {
    background: var(--primary-dark);
    height: 200px;
    padding: 20px;
    border: 1px solid var(--tech-cyan);
    box-shadow: inset 0 0 20px rgba(0, 212, 255, 0.1);
    position: relative;
  }

  /* ========== FOOTER ========== */
  .footer {
    background: var(--primary-darker);
    color: var(--primary-light);
    padding: 48px 0 24px;
    margin-top: 48px;
    border-top: 1px solid var(--tech-cyan);
    box-shadow: 0 -2px 20px rgba(0, 212, 255, 0.2);
    position: relative;
  }
  .footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
      linear-gradient(rgba(0, 212, 255, 0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0, 212, 255, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
  }
  .footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
  }
  .footer-grid {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 32px;
  }
  .footer-category-list {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(5, auto);
    column-gap: 24px;
    row-gap: 8px;
  }
  .footer-brand {
    font-family: "Inter", "Plus Jakarta Sans", "Manrope", "Noto Sans JP", sans-serif;
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 12px;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: -0.5px;
    text-shadow: 0 0 12px rgba(0, 212, 255, 0.3);
  }
  .footer-section h4 {
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    color: var(--tech-cyan);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .footer-section h4::before {
    content: '▸';
    color: var(--accent-gold);
  }
  .footer-section ul { list-style: none; }
  .footer-section li {
    margin-bottom: 8px;
  }
  .footer-section a {
    color: var(--gray-300);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
  }
  .footer-section a:hover { color: var(--tech-cyan); }
  .footer-bottom {
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    padding-top: 24px;
    text-align: center;
    color: var(--gray-500);
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    letter-spacing: 1px;
  }

/* ==========================================================
   GHOST THEME ADDITIONS
   ========================================================== */

/* ---- links inherit design ---- */
a.logo { text-decoration: none; }
.hero-title a, .article-title a, .insight-title a {
  color: inherit;
  text-decoration: none;
}
.hero-title a:hover, .article-title a:hover, .insight-title a:hover {
  color: var(--tech-blue);
}

/* ---- real feature images ---- */
.hero-image { display: block; }
.hero-image.has-image {
  background-size: cover;
  background-position: center;
}
.hero-image.has-image::before,
.hero-image.has-image::after { content: none; }
a.article-img { display: block; }
.article-img.has-image {
  background-size: cover;
  background-position: center;
}
.insight-chart.has-image {
  background-size: cover;
  background-position: center;
  border: 1px solid var(--tech-cyan);
}

/* ---- tag archive header ---- */
.tag-header { flex-direction: column; align-items: flex-start; gap: 8px; }
.tag-description {
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.7;
  max-width: 640px;
}

/* ---- post / page ---- */
.post-container { max-width: 840px; }
.post-header { margin-bottom: 32px; }
.post-header .hero-title { font-size: 36px; }
.post-header .hero-tag { text-decoration: none; }
.post-feature-image { margin-bottom: 40px; }
.post-feature-image img {
  width: 100%;
  height: auto;
  border: 1px solid var(--tech-cyan);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.15);
}
.post-feature-image figcaption {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--gray-500);
  margin-top: 10px;
}

/* ---- article body (Ghost content) ---- */
.gh-content {
  font-size: 17px;
  line-height: 2;
  color: var(--gray-900);
}
.gh-content > * + * { margin-top: 1.4em; }
.gh-content h2, .gh-content h3, .gh-content h4 {
  font-family: "Noto Serif JP", serif;
  color: var(--primary-dark);
  line-height: 1.4;
  margin-top: 2em;
}
.gh-content h2 {
  font-size: 26px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-dark);
  position: relative;
}
.gh-content h2::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; width: 48px; height: 2px;
  background: var(--tech-cyan);
  box-shadow: 0 0 8px var(--tech-glow);
}
.gh-content h3 { font-size: 21px; }
.gh-content h4 { font-size: 18px; }
.gh-content a { color: var(--tech-blue); }
.gh-content strong { font-weight: 700; }
.gh-content blockquote {
  border-left: 4px solid var(--tech-cyan);
  background: var(--paper);
  padding: 20px 24px;
  font-family: "Noto Serif JP", serif;
  color: var(--gray-700);
}
.gh-content ul, .gh-content ol { padding-left: 1.6em; }
.gh-content li + li { margin-top: 0.4em; }
.gh-content img { max-width: 100%; height: auto; }
.gh-content figcaption {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--gray-500);
  text-align: center;
  margin-top: 10px;
}
.gh-content hr {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--tech-cyan), transparent);
  margin: 3em 0;
}
.gh-content code {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.85em;
  background: var(--gray-100);
  padding: 2px 6px;
}
.gh-content pre {
  background: var(--primary-dark);
  color: var(--primary-light);
  padding: 20px;
  overflow-x: auto;
  border: 1px solid var(--tech-cyan);
}
.gh-content pre code { background: none; padding: 0; }
.gh-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.gh-content table th, .gh-content table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--gray-300);
  text-align: left;
}
.gh-content table th {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--primary-dark);
  border-bottom: 2px solid var(--primary-dark);
}
.kg-width-wide { margin-left: -80px; margin-right: -80px; }
.kg-width-full { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.kg-card figcaption { text-align: center; }

/* ---- pagination ---- */
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 48px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-300);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.pagination a {
  color: var(--accent-red);
  text-decoration: none;
  font-weight: 600;
}
.pagination a:hover { color: var(--tech-blue); }
.pagination .page-number { color: var(--gray-500); }

/* ---- responsive ---- */
@media (max-width: 980px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .insight-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .logo { font-size: 36px; }
  .kg-width-wide { margin-left: 0; margin-right: 0; }
}
@media (max-width: 640px) {
  .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .header { padding: 20px 0 56px; }
  .logo { font-size: 26px; letter-spacing: 0; }
  .header-utility.right {
    top: auto; bottom: -40px; right: 24px;
    transform: none;
  }
  .hero-title { font-size: 28px; }
  .post-header .hero-title { font-size: 26px; }
  .hero-image { height: 200px; }
  .insight-title { font-size: 22px; }
  .container { padding: 24px 16px; }
}

/* ---- Ghost custom fonts support ---- */
body { font-family: var(--gh-font-body, "Noto Sans JP", sans-serif); }
h1, h2, h3, h4, h5, h6 { font-family: var(--gh-font-heading, "Noto Serif JP", serif); }

/* ---- multiple tags ---- */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-bottom: 16px;
}
.tag-list .hero-tag,
.tag-list .article-cat {
  margin-bottom: 0;
  text-decoration: none;
}
.article-card .tag-list { margin-bottom: 8px; }
.tag-list a:hover { text-decoration: underline; }
