ai {
  display: block;
  --c-bg: #0d0d12;
  --c-m: #d43f65;
  --c-txt: #e0e0e0;
  --c-sub: #888;
  --c-glow: rgba(212, 63, 101, 0.6);
  --panel: rgba(255, 255, 255, 0.03);
  --brd: rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, #181216 0%, var(--c-bg) 100%);
  color: var(--c-txt);
  border-radius: 8px;
  padding: 12px;
  font-size: 14px;
  line-height: 1.6;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.8), 0 4px 15px rgba(0,0,0,0.5);
  border: 1px solid #2a1a20;
}
ai hd {
  display: block;
  text-align: center;
  color: var(--c-m);
  text-shadow: 0 0 8px var(--c-glow);
  font-size: 1.05em;
  letter-spacing: 1px;
  border-bottom: 1px dashed var(--brd);
  padding-bottom: 10px;
  margin-bottom: 15px;
}
ai details {
  background: var(--panel);
  border: 1px solid var(--brd);
  border-radius: 6px;
  padding: 12px;
  margin-top: 15px;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}
ai details:hover {
  border-color: rgba(212, 63, 101, 0.3);
  box-shadow: 0 0 15px rgba(212, 63, 101, 0.1);
}
ai summary {
  color: var(--c-m);
  font-weight: bold;
  cursor: pointer;
  border-bottom: 1px dashed var(--brd);
  padding-bottom: 8px;
  margin-bottom: 12px;
  outline: none;
  font-size: 0.95em;
  user-select: none;
}
ai gc {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}
ai gc:last-child {
  margin-bottom: 0;
}
ai t {
  align-self: flex-start;
  font-size: 12px;
  background: rgba(212, 63, 101, 0.15);
  color: #ff8ba7;
  padding: 2px 8px;
  border-radius: 3px;
  border-left: 2px solid var(--c-m);
  margin-bottom: 4px;
}
ai d {
  display: flex;
  align-items: center;
  background: rgba(0,0,0,0.4);
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 13px;
}
ai d span {
  color: var(--c-sub);
  min-width: 60px;
  font-size: 12px;
}
ai d i {
  color: #cfcfcf;
  font-style: normal;
  margin-left: auto;
  text-align: right;
  flex: 1;
  word-break: break-all;
}
ai d b {
  color: var(--c-m);
  font-family: monospace;
  min-width: 28px;
  text-align: right;
  text-shadow: 0 0 5px var(--c-glow);
}
ai progress {
  appearance: none;
  -webkit-appearance: none;
  height: 4px;
  flex-grow: 1;
  margin: 0 12px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
}
ai progress::-webkit-progress-bar {
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
}
ai progress::-webkit-progress-value {
  background: linear-gradient(90deg, #8c2741, var(--c-m));
  border-radius: 2px;
  box-shadow: 0 0 8px var(--c-glow);
}
@keyframes breathGlow {
  0% { text-shadow: 0 0 3px rgba(255,139,167,0.3); color: #ff8ba7; }
  100% { text-shadow: 0 0 10px rgba(255,139,167,0.9); color: #fff; }
}
ai hl {
  font-weight: bold;
  animation: breathGlow 2.5s infinite alternate;
  display: inline-block;
}