ai {
  --bg-deep: #0a0a12;
  --bg-card: #12121f;
  --bg-card-hover: #1a1a2e;
  --bg-article: #f5f5f0;
  --accent-pink: #ff2d78;
  --accent-purple: #9d4edd;
  --bar-sleep: #4cc9f0;
  --bar-awake: #f72585;
  --bar-pleasure: #ff6b6b;
  --bar-dev: #c77dff;
  --text-light: #e0e0e0;
  --text-muted: #888;
  --text-dark: #2d2d2d;
  --glow-pink: 0 0 10px rgba(255, 45, 120, 0.5), 0 0 20px rgba(255, 45, 120, 0.3);
  --glow-purple: 0 0 10px rgba(157, 78, 221, 0.5), 0 0 20px rgba(157, 78, 221, 0.3);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  display: block;
  background: var(--bg-deep);
  min-height: 100vh;
  padding: 20px;
  box-sizing: border-box;
}
ai h1 {
  color: var(--accent-pink);
  text-align: center;
  font-size: 1.6em;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  text-shadow: var(--glow-pink);
  margin: 0 0 24px 0;
  animation: neon-pulse 3s ease-in-out infinite;
}
@keyframes neon-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}
ai h2 {
  color: var(--accent-pink);
  font-size: 0.95em;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-left: 3px solid var(--accent-pink);
  padding-left: 10px;
  margin: 20px 0 12px 0;
  text-shadow: 0 0 8px rgba(255, 45, 120, 0.4);
}
ai .scene-card {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border: 1px solid rgba(255, 45, 120, 0.25);
  border-radius: 10px;
  padding: 16px 20px;
  margin: 12px 0;
}
ai .scene-card h2 {
  margin-top: 0;
}
ai .scene-card p {
  color: #f0f0f0;
  font-size: 0.88em;
  line-height: 1.9;
  background: rgba(0, 0, 0, 0.25);
  padding: 12px 14px;
  border-radius: 6px;
  border-left: 3px solid var(--accent-pink);
}
ai .profile-card {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border: 1px solid rgba(157, 78, 221, 0.25);
  border-radius: 10px;
  padding: 16px 20px;
  margin: 12px 0;
}
ai .profile-card h2 {
  border-left-color: var(--accent-purple);
  color: var(--accent-purple);
  text-shadow: 0 0 8px rgba(157, 78, 221, 0.4);
}
ai .profile-card p {
  color: #f0f0f0;
  font-size: 0.88em;
  line-height: 1.9;
  background: rgba(0, 0, 0, 0.25);
  padding: 12px 14px;
  border-radius: 6px;
  border-left: 3px solid var(--accent-purple);
}
ai details {
  background: var(--bg-card);
  border: 1px solid rgba(255, 45, 120, 0.2);
  border-radius: 8px;
  margin: 10px 0;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}
ai details:hover {
  border-color: rgba(255, 45, 120, 0.4);
  background: var(--bg-card-hover);
}
ai details summary {
  color: var(--text-light);
  font-size: 0.88em;
  font-weight: 600;
  padding: 12px 16px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(255, 45, 120, 0.08), rgba(157, 78, 221, 0.05));
  border-bottom: 1px solid rgba(255, 45, 120, 0.1);
}
ai details summary::-webkit-details-marker { display: none; }
ai details summary::before {
  content: "▸";
  font-size: 0.7em;
  color: var(--accent-pink);
  transition: transform 0.25s ease;
}
ai details[open] summary::before { transform: rotate(90deg); }
ai details summary:hover { color: var(--accent-pink); }
ai details>p {
  color: var(--text-light);
  font-size: 0.85em;
  line-height: 1.8;
  padding: 12px 16px;
  margin: 0;
}
ai details>p br { display: block; margin: 2px 0; }
ai article {
  background: var(--bg-article);
  border-radius: 10px;
  padding: 24px 28px;
  margin: 16px 0;
  color: var(--text-dark);
  font-size: 0.95em;
  line-height: 2;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
ai article::first-letter {
  font-size: 1.4em;
  font-weight: 700;
  color: var(--accent-pink);
  float: left;
  margin-right: 4px;
  line-height: 1;
}
ai .r {
  color: var(--accent-pink);
  font-weight: 700;
  text-shadow: 0 0 12px rgba(255, 45, 120, 0.3);
  background: linear-gradient(180deg, transparent 60%, rgba(255, 45, 120, 0.15) 100%);
  padding: 1px 3px;
  border-radius: 3px;
}
ai p { margin: 0; }
ai p[title="action-a"] {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255, 45, 120, 0.08);
  color: var(--accent-pink);
  font-weight: 600;
  font-size: 0.9em;
  transition: all 0.2s ease;
}
ai p[title="action-a"]:hover {
  background: rgba(255, 45, 120, 0.12);
  padding-left: 24px;
}
ai p[title="action-a"]::before {
  content: "A";
  background: var(--accent-pink);
  color: var(--bg-deep);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75em;
  font-weight: 700;
  margin-right: 12px;
  flex-shrink: 0;
}
ai p[title="action-b"] {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(157, 78, 221, 0.08);
  color: var(--accent-purple);
  font-weight: 600;
  font-size: 0.9em;
  transition: all 0.2s ease;
}
ai p[title="action-b"]:hover {
  background: rgba(157, 78, 221, 0.12);
  padding-left: 24px;
}
ai p[title="action-b"]::before {
  content: "B";
  background: var(--accent-purple);
  color: var(--bg-deep);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75em;
  font-weight: 700;
  margin-right: 12px;
  flex-shrink: 0;
}
ai p[title="action-c"] {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(76, 201, 240, 0.08);
  color: var(--bar-sleep);
  font-weight: 600;
  font-size: 0.9em;
  transition: all 0.2s ease;
}
ai p[title="action-c"]:hover {
  background: rgba(76, 201, 240, 0.12);
  padding-left: 24px;
}
ai p[title="action-c"]::before {
  content: "C";
  background: var(--bar-sleep);
  color: var(--bg-deep);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75em;
  font-weight: 700;
  margin-right: 12px;
  flex-shrink: 0;
}
ai p[title="action-d"] {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9em;
  transition: all 0.2s ease;
}
ai p[title="action-d"]:hover {
  background: rgba(255, 255, 255, 0.05);
  padding-left: 24px;
}
ai p[title="action-d"]::before {
  content: "D";
  background: var(--text-muted);
  color: var(--bg-deep);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75em;
  font-weight: 700;
  margin-right: 12px;
  flex-shrink: 0;
}
ai .bar-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0;
}
ai .bar-label {
  width: 70px;
  font-size: 0.8em;
  color: var(--text-light);
  flex-shrink: 0;
}
ai .bar-bg {
  flex: 1;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
ai .bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.5s ease;
  position: relative;
}
ai .bar-fill::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
  animation: bar-shine 2s ease-in-out infinite;
}
@keyframes bar-shine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
ai .bar-fill.sleep { background: linear-gradient(90deg, var(--bar-sleep), #7dd3fc); }
ai .bar-fill.awake { background: linear-gradient(90deg, var(--bar-awake), #ff8fab); }
ai .bar-fill.pleasure { background: linear-gradient(90deg, var(--bar-pleasure), #ffb4a2); }
ai .bar-fill.dev { background: linear-gradient(90deg, var(--bar-dev), #e0aaff); }
ai .bar-val {
  width: 36px;
  font-size: 0.75em;
  font-weight: 700;
  text-align: right;
  flex-shrink: 0;
}
ai .bar-val.sleep { color: var(--bar-sleep); }
ai .bar-val.awake { color: var(--bar-awake); }
ai .bar-val.pleasure { color: var(--bar-pleasure); }
ai .bar-val.dev { color: var(--bar-dev); }
ai .bar-stage {
  font-size: 0.7em;
  color: var(--text-muted);
  margin-left: 4px;
}
ai .body-label {
  font-size: 0.78em;
  color: var(--text-muted);
  margin-top: 8px;
  border-bottom: 1px dashed rgba(255, 45, 120, 0.2);
  padding-bottom: 4px;
}
ai .body-text {
  font-size: 0.82em;
  color: var(--accent-pink);
  line-height: 1.6;
  padding-left: 8px;
  border-left: 2px solid rgba(255, 45, 120, 0.3);
}
ai .divider {
  border: none;
  border-top: 1px solid rgba(255, 45, 120, 0.15);
  margin: 16px 0;
}
ai .sub-details {
  background: rgba(0, 0, 0, 0.2);
  margin: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
ai ::-webkit-scrollbar { width: 6px; }
ai ::-webkit-scrollbar-track { background: var(--bg-deep); }
ai ::-webkit-scrollbar-thumb { background: var(--accent-pink); border-radius: 3px; }