ai {
  --bg: #16161e;
  --panel-bg: rgba(30, 30, 46, 0.8);
  --text-main: #c0caf5;
  --text-muted: #7aa2f7;
  --pink-lust: #f7768e;
  --blue-pure: #7dcfff;
  --border: #292e42;
  
  display: block;
  background: var(--bg);
  color: var(--text-main);
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  padding: 12px;
  border-radius: 8px;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
}

ai hd {
  display: block;
  background: linear-gradient(90deg, rgba(247, 118, 142, 0.15), rgba(125, 207, 255, 0.15));
  color: #fff;
  text-align: center;
  padding: 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 1px;
  border: 1px solid rgba(247, 118, 142, 0.3);
  margin: 12px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

ai details {
  background: var(--panel-bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  margin: 6px 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

ai details[open] {
  border-color: rgba(247, 118, 142, 0.4);
  box-shadow: 0 0 8px rgba(247, 118, 142, 0.1);
}

ai summary {
  background: linear-gradient(90deg, rgba(255,255,255,0.03), transparent);
  padding: 8px 12px;
  font-weight: bold;
  color: var(--blue-pure);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

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

ai details[open] summary {
  border-bottom: 1px solid var(--border);
  color: var(--pink-lust);
}

ai t {
  display: flex;
  flex-direction: column;
  padding: 8px 12px;
  gap: 6px;
}

ai d {
  display: block;
  font-size: 13px;
  border-bottom: 1px dashed rgba(255,255,255,0.05);
  padding-bottom: 4px;
}

ai d:last-child {
  border-bottom: none;
}

ai h {
  display: block;
  color: var(--text-muted);
  font-size: 12px;
  text-align: center;
  margin: 4px 0;
}

ai hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 4px 0;
}

ai article {
  display: block;
  padding: 10px 4px;
  font-size: 15px;
  color: #e0af68; /* 正文带点暖色调，区分UI */
}

ai q {
  display: block;
  color: var(--pink-lust);
  background: linear-gradient(90deg, rgba(247, 118, 142, 0.1), transparent);
  border-left: 3px solid var(--pink-lust);
  padding: 6px 10px;
  margin: 10px 0;
  font-style: italic;
  border-radius: 0 4px 4px 0;
}

ai st {
  display: block;
  text-align: center;
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 4px;
  margin: 16px 0 8px;
  position: relative;
}

ai st::before, ai st::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 30%;
  height: 1px;
  background: var(--border);
}
ai st::before { left: 0; }
ai st::after { right: 0; }

ai os {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

ai o {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--border);
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--text-main);
  transition: all 0.2s;
}

ai o i {
  color: var(--blue-pure);
  font-style: normal;
  font-weight: bold;
  background: rgba(125, 207, 255, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
}

ai o:hover {
  border-color: var(--pink-lust);
  background: rgba(247, 118, 142, 0.05);
  transform: translateX(4px);
}
ai o:hover i {
  color: var(--pink-lust);
  background: rgba(247, 118, 142, 0.15);
}