.novel-reply-root {
  --bg: #12141c;
  --text: #e8e8ed;
  --text-muted: #00BFFF;
  --line: #2d3142;
  --scene-border: #60a5fa;
  --thought-bar: #34d399;
  --thought-fg: #a7f3d0;
  --thought-bg: rgba(52, 211, 153, 0.1);
  --dialog-bar: #fbbf24;
  --dialog-who: #fcd34d;
  --dialog-fg: #fde68a;
  --dialog-bg: rgba(251, 191, 36, 0.08);
  --status-bg: #1a1d28;
  --status-edge: #475569;
  --status-fg: #00CED1;
  --status-title: #8A2BE2;

  box-sizing: border-box;
  max-width: 42em;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  font-family: "SF Pro Text", "Segoe UI", "PingFang SC", sans-serif;
  font-size: clamp(16px, 3.9vw, 18px);
  line-height: 1.75;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.novel-reply-root *,
.novel-reply-root *::before,
.novel-reply-root *::after {
  box-sizing: border-box;
}

.novel-reply-root .blk {
  margin-bottom: 1rem;
}
.novel-reply-root .blk:last-child {
  margin-bottom: 0;
}

.novel-reply-root .blk--think > summary {
  cursor: pointer;
  color: var(--text-muted);
  font-size: 0.88em;
  list-style: none;
}
.novel-reply-root .blk--think > summary::-webkit-details-marker {
  display: none;
}
.novel-reply-root .blk--think .blk-body {
  margin-top: 0.5rem;
  font-size: 0.78em;
  color: var(--text-muted);
  border-left: 2px solid #3b82f6;
  padding-left: 0.75rem;
}

.novel-reply-root .blk--scene .blk-title {
  font-size: 0.98rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--status-title);
  margin: 0 0 0.35rem;
  font-weight: 600;
}
.novel-reply-root .blk--scene .blk-body {
  margin: 0;
  padding: 0.5rem 0.75rem;
  border-left: 3px solid var(--scene-border);
  border-radius: 0 8px 8px 0;
  background: rgba(96, 165, 250, 0.06);
  color: var(--text-muted);
  font-size: 0.95em;
}

.novel-reply-root .blk--story {
  padding: 0.15rem 0 0.35rem;
}

.novel-reply-root .blk--story .para {
  margin: 0 0 0.85rem;
}
.novel-reply-root .blk--story .para:last-child {
  margin-bottom: 0;
}

.novel-reply-root .para--narrative .para--rwmx {
  color: var(--text);
  font-weight: 400;
}

.novel-reply-root .para--thought {
  margin-left: 0;
  padding: 0.5rem 0.65rem 0.55rem 0.85rem;
  border-left: 3px solid var(--thought-bar);
  border-radius: 0 6px 6px 0;
  background: var(--thought-bg);
  color: var(--thought-fg);
  font-style: italic;
}

.novel-reply-root .para--dialog {
  margin-left: 0;
  padding: 0.5rem 0.65rem 0.55rem 0.85rem;
  border-left: 3px solid var(--dialog-bar);
  border-radius: 0 6px 6px 0;
  background: var(--dialog-bg);
  color: var(--dialog-fg);
  font-style: normal;
}

.novel-reply-root .para--dialog .who {
  display: inline;
  font-size: 0.78em;
  font-weight: 600;
  font-style: normal;
  color: var(--dialog-who);
  margin-right: 0.35em;
}

.novel-reply-root .para--dialog .speech {
  display: inline;
  color: var(--dialog-fg);
  font-weight: 450;
}

.novel-reply-root .blk--status,
.novel-reply-root .blk--status2, 
.novel-reply-root .blk--status3, 
.novel-reply-root .blk--status4 {
  margin-top: 0.35rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--status-edge);
  background: var(--status-bg);
  color: var(--status-fg);
  overflow: hidden;
}

.novel-reply-root .blk--status .blk-title,
.novel-reply-root .blk--status2 .blk-title,
.novel-reply-root .blk--status3 .blk-title, 
.novel-reply-root .blk--status4 .blk-title {
  font-size: 0.98rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--status-title);
  margin: 0 0 0.5rem;
  font-weight: 700;
  cursor: pointer; 
  user-select: none; 
}

.novel-reply-root .blk--status .blk-body,
.novel-reply-root .blk--status2 .blk-body,
.novel-reply-root .blk--status3 .blk-body,
.novel-reply-root .blk--status4 .blk-body {
  font-size: 0.82em;
  line-height: 1.65;
  color: var(--status-fg);
}