ai {
  display: block;
  font-family: system-ui, -apple-system, sans-serif;
  --bg-deep: #0a0b0e;      /* 极夜黑：暗网底色 */
  --panel-bg: #14161a;     /* 深空灰：冷酷办公室 */
  --neon-blue: #05d9e8;    /* 冰蓝：理智/上位者的凝视 */
  --neon-pink: #ff2a6d;    /* 淫靡粉：情欲/羞耻度 */
  --alert-red: #ff003c;    /* 警告红：破防/失控 */
  --text-main: #d1d8e0;
  --text-sub: #7a8b9e;
  
  background-color: var(--bg-deep);
  color: var(--text-main);
  border-radius: 6px;
  padding: 8px;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.8), 0 4px 15px rgba(0,0,0,0.5);
  line-height: 1.5;
  font-size: 14px;
}

/* 折叠块骨架：冰冷职场感 */
ai details {
  margin-bottom: 8px;
  background: var(--panel-bg);
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.04);
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  overflow: hidden;
}

/* 标题栏：理智的面具 */
ai summary {
  background: linear-gradient(90deg, #0f1115 0%, var(--panel-bg) 100%);
  padding: 10px 12px;
  font-weight: bold;
  color: var(--neon-blue);
  list-style: none;
  border-left: 3px solid var(--neon-blue);
  font-size: 14px;
  letter-spacing: 1px;
  text-shadow: 0 0 8px rgba(5,217,232,0.2);
  transition: all 0.3s ease;
}
ai summary::-webkit-details-marker { display: none; }

/* 展开状态：情欲与羞耻的暴露 */
ai details[open] summary {
  border-left-color: var(--neon-pink);
  color: var(--neon-pink);
  background: linear-gradient(90deg, rgba(255,42,109,0.1) 0%, transparent 100%);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  text-shadow: 0 0 10px rgba(255,42,109,0.4);
}

/* 正文区：情境特写 */
ai article {
  display: block;
  padding: 12px 14px;
  font-size: 15px;
  color: #fff;
  background: linear-gradient(135deg, rgba(255,255,255,0.02) 0%, transparent 100%);
  border-left: 2px dashed var(--neon-pink);
  margin: 10px 4px;
  line-height: 1.7;
}

/* 基础信息行：档案记录 */
ai d { 
  display: flex; 
  padding: 7px 10px; 
  border-bottom: 1px solid rgba(255,255,255,0.02); 
  flex-wrap: wrap; 
  align-items: baseline;
}
ai d:last-of-type { border-bottom: none; }
ai f { 
  color: var(--text-sub); 
  font-size: 12px; 
  font-weight: 600; 
  min-width: 60px;
}
ai f::after { content: ' :'; margin-right: 6px; color: rgba(255,255,255,0.2); }
ai v { 
  flex: 1; 
  min-width: 50%; 
  color: var(--text-main); 
}

/* 核心数值行：高亮脉搏跳动感 */
ai g {
  display: flex; 
  padding: 8px 12px; 
  margin: 6px 8px;
  background: rgba(255,42,109,0.05);
  border: 1px solid rgba(255,42,109,0.15);
  border-radius: 4px;
  align-items: center; 
  justify-content: space-between;
}
ai g f { 
  color: var(--neon-pink); 
  font-size: 13px; 
  text-transform: uppercase;
  letter-spacing: 1px;
}
ai g f::after { display: none; }
ai g v { 
  flex: none; 
  font-family: ui-monospace, monospace; 
  font-size: 16px; 
  font-weight: bold; 
  color: #fff; 
  text-shadow: 0 0 5px var(--neon-pink);
}

/* 弹幕模块：暗网监控台 */
ai t { 
  display: block; 
  padding: 6px 10px; 
  background: rgba(5,217,232,0.1); 
  color: var(--neon-blue); 
  font-size: 12px; 
  margin: 8px 0 4px 0;
  text-transform: uppercase;
  border-top: 1px solid rgba(5,217,232,0.2);
  border-bottom: 1px solid rgba(5,217,232,0.2);
}
ai c {
  display: block; 
  padding: 8px 10px; 
  margin: 4px 8px;
  background: #000;
  border-left: 2px solid var(--alert-red);
  font-size: 13px; 
  color: #aaa;
  border-radius: 0 4px 4px 0;
}
ai c b { 
  color: var(--neon-blue); /* ID高亮 */
  font-family: ui-monospace, monospace; 
  margin-right: 4px;
}
ai c:nth-of-type(even) { 
  border-left-color: var(--neon-pink); 
  background: rgba(20,0,10,0.3);
}

/* 记忆区表格：机密档案 */
ai table { 
  width: calc(100% - 16px); 
  margin: 8px; 
  border-collapse: collapse; 
  font-size: 12px; 
}
ai th { 
  background: rgba(255,255,255,0.03); 
  padding: 6px; 
  text-align: left; 
  color: var(--text-sub); 
  font-weight: normal;
}
ai td { 
  border: 1px solid rgba(255,255,255,0.05); 
  padding: 6px; 
  color: var(--text-main);
}

/* 交互行动：全息面板指令 */
ai act {
  display: block; 
  padding: 10px 12px; 
  margin: 6px 8px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-left: 3px solid #444;
  border-radius: 4px;
  color: #ccc;
}
/* 鼠标悬停时的沉浸反馈 */
@media (hover: hover) {
  ai act:hover { 
    background: rgba(5,217,232,0.08); 
    border-color: rgba(5,217,232,0.3);
    border-left-color: var(--neon-blue);
    color: #fff;
    transform: translateX(4px);
    transition: all 0.2s ease;
  }
  ai summary:hover {
    background: rgba(255,255,255,0.02);
  }
}
