ai {
  display: block;
  background: url('https://api.dujin.org/bing/1920.php') center/cover fixed;
  background-color: #0a0505;
  background-blend-mode: multiply;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #3a0000;
  box-shadow: inset 0 0 80px rgba(20,0,0,0.9);
  color: #d0c0c0;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}
ai p { margin: 0 0 5px 0; }
ai b, ai strong { color: #f0e0e0; }
ai article {
  background: rgba(15,5,5,0.7);
  padding: 15px;
  border-left: 3px solid #8a0000;
  margin-bottom: 15px;
  text-align: justify;
  font-size: 15px;
  color: #e0d0d0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}
ai article p { margin-bottom: 10px; text-indent: 2em; }
ai details {
  background: rgba(20,10,10,0.85);
  border: 1px solid #4a1010;
  border-radius: 4px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}
ai summary {
  padding: 8px 12px;
  cursor: pointer;
  font-weight: bold;
  background: linear-gradient(90deg, rgba(40,10,10,0.9), rgba(20,5,5,0.8));
  user-select: none;
  list-style: none;
}
ai summary::-webkit-details-marker { display: none; }
ai details[open] { box-shadow: 0 0 15px rgba(80,0,0,0.3); }

/* --- 隐式思维链 --- */
ai .cot summary { color: #666; background: rgba(10,10,10,0.9); border-bottom: 1px solid #222; font-size: 12px;}
ai .cot c { display: block; padding: 10px; font-family: monospace; color: #888; font-size: 12px; white-space: pre-wrap; }

/* --- 深渊情报网重构样式 --- */
ai .nw { border: 1px solid #590000; background: rgba(10,0,0,0.9); }
ai .nw summary { color: #ff4d4d; border-left: 3px solid #ff4d4d; background: linear-gradient(90deg, rgba(60,0,0,0.8), transparent); }
ai .nb { padding: 10px; display: flex; flex-direction: column; gap: 12px; }

/* 各板块容器 */
ai .nb > div { 
    background: rgba(20,20,20,0.6); 
    padding: 8px; 
    border-radius: 4px; 
    border: 1px solid #333;
    position: relative;
}

/* 标题样式 */
ai .nb h4 { 
    margin: 0 0 6px 0; 
    font-size: 13px; 
    text-transform: uppercase; 
    letter-spacing: 1px;
    border-bottom: 1px solid #444;
    padding-bottom: 4px;
}

/* 板块区分色 */
ai .nb [t="world"] h4 { color: #4facfe; border-color: #2a5c8a; }
ai .nb [t="area"] h4 { color: #00ff00; border-color: #006600; }
ai .nb [t="bounty"] h4 { color: #ffd700; border-color: #886600; }

/* 条目样式 */
ai .nb p { 
    margin: 0 0 2px 0; 
    font-family: 'Courier New', Courier, monospace; 
    font-size: 12px; 
    color: #bbb; 
    line-height: 1.4;
    text-shadow: 1px 1px 2px #000;
}

/* 悬停高亮效果 */
ai .nb > div:hover { 
    background: rgba(40,10,10,0.4); 
    border-color: #590000; 
    transition: 0.3s; 
}

/* --- 环境时间 --- */
ai .ev {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  background: rgba(15,15,20,0.8);
  padding: 8px 12px;
  border: 1px solid #223;
  border-radius: 4px;
  color: #aaa;
  font-size: 13px;
  margin-bottom: 15px;
}

/* --- 记忆与成就 --- */
ai .mm summary { color: #4facfe; border-left: 3px solid #4facfe; }
ai .ac summary { color: #ffd700; border-left: 3px solid #ffd700; }
ai .mb, ai .ab { padding: 10px; }
ai .mt { color: #4facfe; font-weight: bold; margin-top: 8px; border-bottom: 1px solid #224; }
ai ul { margin: 5px 0; padding-left: 20px; color: #ccc; }
ai li { margin-bottom: 4px; }

/* --- 主控面板 --- */
ai .mc summary { color: #ff3333; border-left: 3px solid #ff3333; }
ai .gd { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 8px; padding: 10px; }
ai .hr { border-top: 1px dashed #552222; padding: 10px; background: rgba(30,10,10,0.5); }
ai .ht { color: #ff6666; font-weight: bold; margin-bottom: 8px; text-shadow: 0 0 3px #ff0000; }
ai .hr g p { font-size: 13px; color: #ddd; background: rgba(0,0,0,0.3); padding: 4px 8px; border-radius: 3px; border-left: 2px solid #ff6666; }

/* --- 女性面板 (评阶动态变色核心) --- */
ai .fm { border-width: 1px; border-style: solid; }
ai .fm .fb { padding: 10px; }
ai .fs { display: flex; justify-content: space-between; flex-wrap: wrap; border-bottom: 1px solid #444; padding-bottom: 6px; margin-bottom: 8px; font-size: 13px; }
ai .rd { color: #ff4d4d; } ai .gr { color: #00ff00; }
ai .fw { grid-column: 1 / -1; }
ai .fw i { color: #ff99cc; }

/* 评阶颜色映射 */
ai .fm[r="D"] { border-color: #888; } ai .fm[r="D"] summary { color: #aaa; border-left: 3px solid #888; }
ai .fm[r="C"] { border-color: #2e8b57; } ai .fm[r="C"] summary { color: #55ff55; border-left: 3px solid #55ff55; }
ai .fm[r="B"] { border-color: #4169e1; } ai .fm[r="B"] summary { color: #5555ff; border-left: 3px solid #5555ff; }
ai .fm[r="A"] { border-color: #8a2be2; } ai .fm[r="A"] summary { color: #aa55ff; border-left: 3px solid #aa55ff; }
ai .fm[r="S"] { border-color: #daa520; box-shadow: 0 0 10px rgba(218,165,32,0.2); } ai .fm[r="S"] summary { color: #ffd700; border-left: 3px solid #ffd700; text-shadow: 0 0 5px rgba(255,215,0,0.5); }
ai .fm[r="S+"] { border-color: #ff1493; box-shadow: 0 0 15px rgba(255,20,147,0.3); } ai .fm[r="S+"] summary { color: #ff69b4; border-left: 3px solid #ff69b4; text-shadow: 0 0 8px rgba(255,105,180,0.8); }

/* --- 躯体检视 --- */
ai .bd { background: rgba(5,0,5,0.6); padding: 10px; border-radius: 4px; border: 1px solid #4a2040; margin-top: 5px; }
ai .bt { color: #ff69b4; font-weight: bold; margin-bottom: 8px; text-shadow: 0 0 3px #ff1493; }
ai .bg { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 6px; font-size: 13px; }
ai .bg p { background: rgba(20,5,15,0.5); padding: 4px 6px; border-radius: 2px; border-left: 2px solid #8a2be2; }

/* --- 选项 --- */
ai .op { background: rgba(10,15,30,0.8); padding: 15px; border-top: 2px solid #4facfe; margin-top: 15px; border-radius: 4px; }
ai .op h3 { color: #4facfe; margin: 0 0 10px 0; text-shadow: 0 0 5px rgba(79,172,254,0.5); }
ai .op p { padding: 6px 10px; background: rgba(0,0,0,0.4); border-radius: 4px; margin-bottom: 6px; transition: 0.2s; border-left: 2px solid transparent; }
ai .op p:hover { background: rgba(20,40,60,0.8); border-left: 2px solid #4facfe; transform: translateX(5px); cursor: pointer; }

/* --- 隐藏成就稀有度颜色映射 --- */
ai .ach { font-weight: bold; padding: 0 4px; border-radius: 2px; background: rgba(0,0,0,0.5); border: 1px solid transparent; }
ai .ach[r="N"] { color: #a0a0a0; border-color: #555; }
ai .ach[r="R"] { color: #4facfe; border-color: #2a5c8a; text-shadow: 0 0 3px rgba(79,172,254,0.4); }
ai .ach[r="SR"] { color: #ff3333; border-color: #8a1a1a; text-shadow: 0 0 4px rgba(255,51,51,0.6); }
ai .ach[r="SSR"] { color: #ffd700; border-color: #aa8800; text-shadow: 0 0 6px rgba(255,215,0,0.8); box-shadow: 0 0 5px rgba(255,215,0,0.2) inset; }
ai .ach[r="UR"] { color: #ff1493; border-color: #8a0b4e; text-shadow: 0 0 8px rgba(255,20,147,0.9); box-shadow: 0 0 8px rgba(255,20,147,0.3) inset; background: linear-gradient(45deg, rgba(20,0,10,0.8), rgba(40,0,20,0.8)); }