/* 全局样式 - 适配《这恋爱非谈不可吗》 */
.nt-wrap {
  max-width: 800px;
  margin: 0 auto;
  background: #0a0a14;
  color: #d8d8d8;
  font-family: 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.7;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

/* 思维链折叠框 */
.nt-cot {
  background: #0f0f1a;
  border-radius: 14px;
  border: 1px solid #2a2a3a;
  margin-bottom: 20px;
}
.nt-cot summary {
  color: #ffb6c1;
  font-weight: bold;
  cursor: pointer;
  padding: 12px 16px;
  font-size: 15px;
  user-select: none;
}
.nt-cot-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 16px;
  padding: 12px 16px;
  border-top: 1px solid #2a2a3a;
  font-size: 13px;
  background: #08080f;
  border-radius: 0 0 14px 14px;
}
.nt-cot-item {
  display: flex;
  justify-content: space-between;
}
.nt-cot-label {
  color: #888;
}
.nt-cot-val {
  color: #ffb6c1;
  font-weight: 500;
}

/* 场景环境 */
.nt-scene {
  background: rgba(255,182,193,0.05);
  padding: 16px 20px;
  border-radius: 16px;
  font-style: italic;
  color: #bbb;
  margin-bottom: 20px;
  border-left: 3px solid #ffb6c1;
}

/* 正文 */
.nt-text {
  font-size: 15px;
  text-align: justify;
  margin-bottom: 16px;
  white-space: pre-wrap;
  word-break: break-word;
}
.nt-text p {
  margin-bottom: 1em;
}
.nt-name {
  color: #ffb6c1;
  font-weight: bold;
  margin-right: 6px;
}
.nt-name::after {
  content: '：';
  font-weight: normal;
}

/* 知意内心独白 */
.nt-think {
  background: #12121e;
  padding: 12px 18px;
  border-radius: 12px;
  color: #aaa;
  font-style: italic;
  margin: 16px 0;
  border: 1px dashed #3a2a3a;
}

/* 分隔线 */
.nt-div {
  border: none;
  border-top: 1px solid #2a2a3a;
  margin: 20px 0;
}

/* 行动选项区域 */
.nt-acts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
  justify-content: center;
}
.nt-act {
  background: linear-gradient(135deg, #1a1a2a, #12121e);
  border: 1px solid #3a2a4a;
  border-radius: 40px;
  padding: 8px 18px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #ccc;
}
.nt-act:hover {
  background: #2a2a3e;
  border-color: #ffb6c1;
  color: #ffb6c1;
  transform: translateY(-2px);
}

/* 状态面板 */
.nt-panel {
  background: #0f0f1a;
  border-radius: 14px;
  border: 1px solid #2a2a3a;
  margin: 20px 0 12px;
}
.nt-panel summary {
  color: #ffb6c1;
  font-weight: bold;
  cursor: pointer;
  padding: 10px 16px;
  font-size: 13px;
  user-select: none;
  list-style: none;
}
.nt-panel summary::-webkit-details-marker { display: none; }
.nt-panel summary::before { content: '▶'; display: inline-block; margin-right: 8px; font-size: 11px; transition: transform 0.2s; }
.nt-panel[open] summary::before { transform: rotate(90deg); }
.nt-panel-in {
  padding: 0 16px 12px 16px;
  border-top: 1px solid #2a2a3a;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
}
.nt-panel-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.nt-panel-label {
  color: #888;
  white-space: nowrap;
}
.nt-panel-value {
  color: #ffb6c1;
  text-align: right;
  font-weight: 500;
}

/* 记忆区 */
.nt-mem {
  background: #0f0f1a;
  border-radius: 14px;
  border: 1px solid #2a2a3a;
  margin-top: 12px;
}
.nt-mem summary {
  color: #ffb6c1;
  font-weight: bold;
  cursor: pointer;
  padding: 10px 16px;
  font-size: 13px;
  user-select: none;
  list-style: none;
}
.nt-mem summary::-webkit-details-marker { display: none; }
.nt-mem summary::before { content: '▶'; display: inline-block; margin-right: 8px; font-size: 11px; transition: transform 0.2s; }
.nt-mem[open] summary::before { transform: rotate(90deg); }
.nt-mem-in {
  padding: 0 16px 12px 16px;
  border-top: 1px solid #2a2a3a;
}
.nt-mem-section {
  margin-bottom: 12px;
}
.nt-mem-title {
  color: #aaa;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.nt-mem-content {
  color: #ccc;
  font-size: 12px;
  line-height: 1.5;
  padding-left: 12px;
  border-left: 2px solid #ffb6c1;
}

/* 响应式 */
@media (max-width: 600px) {
  .nt-wrap { padding: 12px; }
  .nt-act { padding: 6px 12px; font-size: 12px; }
  .nt-cot-inner { grid-template-columns: 1fr; }
  .nt-panel-in { grid-template-columns: 1fr; gap: 8px; }
}

/* 滚动条 */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #0a0a14;
}
::-webkit-scrollbar-thumb {
  background: #ffb6c1;
  border-radius: 3px;
}