css
/* 核心容器：强化漫画厚重边框 */
ai {
  display: block;
  background: #fdfbf0;
  color: #1a1a1a;
  font-family: 'Segoe UI', sans-serif;
  border: 6px solid #1a1a1a;
  box-shadow: 0 0 0 2px #ffd700 inset;
  overflow: hidden;
  margin: 5px;
}

/* 顶部档案夹设计 - 修复边框割裂 */
h {
  display: block;
  background: #ffd700;
  border-bottom: 4px solid #1a1a1a;
  padding: 5px 0;
}

h details {
  margin: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

h summary {
  background: #1a1a1a !important;
  color: #ffd700 !important;
  text-align: center;
  font-size: 16px;
  padding: 12px !important;
  clip-path: polygon(5% 0%, 95% 0%, 100% 100%, 0% 100%);
  margin: 0 10px !important;
}

h d {
  display: flex;
  justify-content: space-between;
  padding: 5px 20px !important;
  font-weight: bold;
  color: #1a1a1a;
  background: rgba(255,255,255,0.3);
  margin-bottom: 2px;
}

/* 正文区域 */
article {
  display: block;
  padding: 20px 15px;
  background: #ffffff;
  margin: 15px;
  border: 3px solid #1a1a1a;
  box-shadow: 6px 6px 0px #1a1a1a;
  color: #000000 !important;
  font-size: 16px;
  line-height: 1.7;
}

/* 状态栏部分 */
section { padding-bottom: 10px; }

details {
  margin: 8px 15px;
  border: 2px solid #1a1a1a;
  background: #fff;
  box-shadow: 3px 3px 0px #1a1a1a;
}

summary {
  padding: 10px 15px;
  background: #1a1a1a;
  color: #ffd700;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

summary::-webkit-details-marker { display: none; }

/* 记忆区表格优化 */
.stm-table, .ltm-table {
  width: calc(100% - 20px);
  margin: 10px;
  border-collapse: collapse;
  font-size: 13px;
}

.stm-table th, .ltm-table th {
  background: #1a1a1a;
  color: #ffd700;
  padding: 6px;
  text-align: left;
  border: 1px solid #1a1a1a;
}

.stm-table td, .ltm-table td {
  border: 1px solid #1a1a1a;
  padding: 8px;
  background: #fff;
  vertical-align: top;
}

.stm-table td:first-child {
  background: #ffd700;
  font-weight: bold;
  text-align: center;
  width: 25px;
}

/* 属性网格 */
g {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 5px;
  background: #f0f0f0;
  padding: 10px !important;
  margin: 10px 15px !important;
  border-left: 5px solid #ffd700;
}

l { display: block; font-weight: bold; font-size: 12px; color: #333; }

h3 {
  font-size: 14px;
  margin: 15px 15px 5px;
  padding: 2px 10px;
  background: #1a1a1a;
  color: #ffd700;
  display: inline-block;
}

q {
  display: block;
  margin: 10px 15px;
  padding: 12px;
  background: #fff9fa;
  border: 1px solid #ffccd5;
  border-left: 5px solid #ff4d6d;
  font-style: italic;
  color: #c9184a;
}

ol { margin: 10px 15px; padding-left: 25px; }
ol li { margin-bottom: 10px; color: #d00000; font-weight: bold; border-bottom: 1px dashed #ccc; }

ai::after {
  content: "HACHIMITSU ACADEMY - MEMORY TRACING SYSTEM ACTIVE";
  display: block;
  font-size: 9px;
  text-align: center;
  padding: 5px;
  background: #1a1a1a;
  color: #666;
}