/* ============================================
   蓝桥网咖 · 内置CSS
   风格：大理石台面 / 暖色卡片 / 阅读舒适
   配色不考虑霓虹，以浅色暖调为主
   配套主提示词【输出模板】中的class
   ============================================ */

/* ---- 回复内容根容器（自包含，独立于平台气泡） ---- */
.lc-root {
  /* 透明容器：不设背景/边框/圆角/内边距，避免与平台气泡形成双层包裹
     只负责继承文字颜色与字体，实际背景由正文卡片(story-card)与各面板承载 */
  color: #40382e;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  line-height: 1.9;
}



/* ---- 全局基调（作用于AI回复内容） ---- */
.cot-check, .time-header, .narrative-p,
.panel-details, .choice-panel, .story-card {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  color: #40382e;
  line-height: 1.9;
  letter-spacing: 0.01em;
}

/* ---- 对话颜色标记：林雪台词=蓝，玩家台词=橙，叙述=默认暖棕 ---- */
.lx-talk {
  color: #2f7fa5;
  font-weight: 600;
}
.user-talk {
  color: #c06f1f;
  font-weight: 600;
}

/* ---- 前置检查（低调折叠，不干扰阅读） ---- */
.cot-check {
  background: rgba(253, 250, 243, 0.72);
  border: 1px dashed #cfc4ae;
  border-radius: 10px;
  margin: 10px 0 14px;
  font-size: 12px;
  opacity: 0.78;
  white-space: pre-line;
}
.cot-check summary {
  cursor: pointer;
  padding: 6px 12px;
  color: #9a8f7c;
  font-size: 12px;
  user-select: none;
}
.cot-check summary:hover { color: #2f7fa5; }
.cot-check div {
  padding: 8px 14px 10px;
  white-space: pre-wrap;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 11.5px;
  color: #8c8171;
  border-top: 1px dashed #ddd3c2;
}

/* ---- 时间头（网吧LED滚动公告条） ----
   容错双模式：
   - 默认 overflow-x:auto：AI若简化模板、未输出 th-track 嵌套结构时，
     内容完整可见、可横向滑动，绝不裁剪
   - 仅当存在 .th-track 嵌套结构时（:has），启用 overflow:hidden + LED跑马灯 */
.time-header {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(180deg, #fdfaf3 0%, #f5efe2 100%);
  border: 1px solid #ddd0bb;
  border-radius: 10px;
  padding: 8px 10px;
  margin: 8px 0 16px;
  font-size: 13px;
  color: #6f6556;
  box-shadow: 0 2px 8px rgba(120, 100, 70, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  overflow-x: auto;
  white-space: nowrap;
  position: relative;
}
.time-header:has(.th-track) {
  overflow: hidden;
}
/* 网吧公告标签（固定在左侧） */
.th-notice-label {
  flex-shrink: 0;
  font-size: 10.5px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #4da6cf, #2f7fa5);
  border-radius: 4px;
  padding: 2px 8px;
  letter-spacing: 0.15em;
  white-space: nowrap;
}
/* 滚动轨道：裁切区域 */
.th-track {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}
/* 滚动内容：右→左跑马灯 */
.th-track-inner {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  animation: thScroll 16s linear infinite;
}
@keyframes thScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
/* 内容不足一行时静止（动画仍存在但无位移，视觉静止） */
.th-track-inner:hover { animation-play-state: paused; }
.th-led {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4da6cf;
  box-shadow: 0 0 6px rgba(77, 166, 207, 0.7);
  animation: ledPulse 2.4s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes ledPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.th-time {
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 18px;
  font-weight: 700;
  color: #2f4a5c;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.th-date {
  font-size: 12px;
  color: #8c8171;
  flex-shrink: 0;
}
.th-divider {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(77, 166, 207, 0.35), transparent);
}
.th-status {
  font-size: 12px;
  color: #7a5f8a;
  background: rgba(156, 120, 178, 0.12);
  border: 1px solid rgba(156, 120, 178, 0.3);
  border-radius: 12px;
  padding: 2px 10px;
  white-space: nowrap;
  flex-shrink: 0;
}
.th-flow {
  font-size: 12px;
  color: #8c8171;
  white-space: nowrap;
}

/* ---- 正文暖色卡片 ---- */
.story-card {
  background: linear-gradient(180deg, #fffdf7 0%, #fbf6ec 100%);
  border: 1px solid #e7dcc6;
  border-radius: 14px;
  padding: 20px 24px;
  margin: 4px 0 18px;
  box-shadow: 0 6px 18px rgba(120, 100, 70, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.narrative-p {
  margin: 10px 0;
  font-size: 16px;
  color: #40382e;
  text-align: justify;
  text-indent: 2em;
  line-height: 1.95;
}
.narrative-p.dialog-start {
  text-indent: 0;
  margin-top: 12px;
  border-left: 3px solid rgba(56,189,248,.35);
  padding-left: 10px;
}
.narrative-p:first-of-type { margin-top: 4px; }

/* ---- 折叠面板（玩家档案 / 状态栏） ---- */
.panel-details {
  margin: 16px 0 8px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(253, 250, 243, 0.85);
  box-shadow: 0 4px 14px rgba(120, 100, 70, 0.1);
}
.panel-details summary {
  cursor: pointer;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  color: #6f6556;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 12px;
  user-select: none;
  transition: background 0.2s;
}
.panel-details summary::-webkit-details-marker { display: none; }
.panel-details summary::before {
  content: "▸";
  color: #2f7fa5;
  font-size: 12px;
  transition: transform 0.2s;
}
.panel-details[open] summary::before { transform: rotate(90deg); }
.panel-details summary:hover { background: #f5efe2; }

/* 玩家档案：暖棕主题 */
.player-panel { border: 1px solid #d5c9b2; }
.player-panel summary { color: #3a86a8; }

/* 状态栏·林小雪：浅紫主题 */
.lx-panel { border: 1px solid #d9c3d5; }
.lx-panel summary { color: #8a5f9e; }

/* ============================================
   林小雪立绘：状态栏顶部大图（双图切换）
   正常图 + 隐藏图，PC悬停切换 / 手机点击切换
   纯CSS实现：checkbox hack + :hover 双支持
   ============================================ */
.lx-art {
  position: relative;
  display: block;
  margin: 10px 14px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(77, 166, 207, 0.4);
  box-shadow: 0 4px 16px rgba(77, 166, 207, 0.18);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.lx-art .lx-art-img {
  display: block;
  width: 100%;
  height: auto;
}



/* ============================================
   正文·游戏对话框（过肩表情差分）
   上下格式：上面大立绘，下面对话框
   ============================================ */
.talk-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 16px 0 18px;
}
.talk-head {
  width: 190px;
  max-width: 72%;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  border: 1px solid rgba(77, 166, 207, 0.35);
  border-bottom: none;
  box-shadow: 0 -2px 10px rgba(120, 100, 70, 0.1);
  background: #f5efe2;
}
.talk-head img {
  display: block;
  width: 100%;
  height: auto;
}
.talk-bubble {
  position: relative;
  width: 100%;
  max-width: 560px;
  padding: 10px 16px 12px;
  font-size: 15.5px;
  line-height: 1.85;
  color: #40382e;
  background: #fffdf7;
  border: 1px solid #d9cdb6;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(120, 100, 70, 0.1);
}
.talk-bubble::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  margin-left: -6px;
  width: 12px;
  height: 12px;
  background: #fffdf7;
  border-top: 1px solid #d9cdb6;
  border-left: 1px solid #d9cdb6;
  transform: rotate(45deg);
}
.talk-name {
  display: inline;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: #8a5f9e;
}
.talk-name + .talk-state {
  margin-left: 4px;
}
.talk-text {
  display: block;
  margin-top: 4px;
}
/* 手机：立绘缩放 */
@media (max-width: 640px) {
  .talk-head {
    width: 140px;
  }
  .talk-bubble {
    font-size: 14.5px;
    padding: 9px 12px;
  }
}

/* 林雪状态栏 · 游戏面板（浅色） */
.gh-hud {
  margin: 0 14px 12px;
  padding: 10px 12px 12px;
  font-size: 12.5px;
  color: #4a4338;
  background: linear-gradient(165deg, #fdfaf3, #f7f0e6);
  border: 1px solid #ddd0bb;
  border-top: 2px solid #b48ac0;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(120, 100, 70, 0.1);
}
/* 性格标签（顶栏 Lv 后） */
.gh-chips {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-left: 4px;
}
.gh-chip {
  font-size: 11px;
  color: #4a4338;
  background: rgba(77, 166, 207, 0.1);
  border: 1px solid rgba(77, 166, 207, 0.35);
  border-radius: 10px;
  padding: 1px 9px;
  line-height: 1.6;
  white-space: nowrap;
}
.gh-trait-label {
  font-size: 11px;
  font-weight: 800;
  color: #2f7fa5;
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.gh-trait-action {
  font-size: 12px;
  color: #4a4338;
  line-height: 1.6;
}
/* 下一步行动（面板最底部） */
.gh-next {
  margin: 10px 0 2px;
  padding: 8px 11px;
  background: #f5efe2;
  border: 1px dashed #cfc4ae;
  border-radius: 8px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

/* 顶栏：名字+等级+性格标签 */
.gh-top {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding-bottom: 8px;
  border-bottom: 1px dashed #d9c3d5;
}
.gh-name {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #3a2f45;
}
.gh-lv {
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #b48ac0, #4da6cf);
  padding: 1px 7px;
  border-radius: 4px;
}
/* 好感度/心情进度条 */
.gh-bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 9px 0;
}
.gh-bar-label {
  font-size: 11px;
  font-weight: 700;
  color: #7a5f8a;
  white-space: nowrap;
}
.gh-bar {
  flex: 1;
  height: 10px;
  background: #e9dfce;
  border: 1px solid #d5c9b2;
  border-radius: 6px;
  overflow: hidden;
}
.gh-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #4da6cf, #b48ac0);
  border-radius: 6px;
  transition: width 0.4s;
}
.gh-bar-val {
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  color: #3a6b85;
  white-space: nowrap;
}
/* 心情进度条（粉系，与好感度蓝紫区分） */
.gh-bar.mood .gh-bar-fill {
  background: linear-gradient(90deg, #d489b2, #b48ac0);
}
.gh-bar.mood .gh-bar-label { color: #b06a8f; }
.gh-bar.mood .gh-bar-val { color: #b06a8f; }
/* 变动原因行 */
.gh-reason {
  margin: -3px 0 6px;
  font-size: 11px;
  color: #8c8171;
  line-height: 1.5;
}
.gh-reason b { color: #6f6556; }
/* 今日穿搭信息行 */
.gh-outfit {
  margin: 2px 0 6px;
  font-size: 12.5px;
  color: #6f6556;
}
.gh-outfit b { color: #8a5f9e; }
/* 心理想法：对话气泡 */
.gh-whisper {
  margin-top: 8px;
  padding: 8px 12px;
  font-size: 12px;
  color: #4a4338;
  background: rgba(156, 120, 178, 0.1);
  border: 1px solid rgba(156, 120, 178, 0.35);
  border-radius: 10px 10px 10px 2px;
  line-height: 1.7;
}
.gh-whisper b { color: #8a5f9e; }
/* 身体数据（固定锚点，气泡样式） */
.body-data {
  margin: 8px 2px 2px;
  padding-top: 8px;
  border-top: 1px dashed #cfc4ae;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.body-data-label {
  font-size: 11px;
  font-weight: 800;
  color: #2f7fa5;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

/* ---- 选择面板 · 四窗口样式（浅色窗口） ---- */
.choice-panel {
  margin: 16px 0 4px;
}
.choice-hint {
  font-size: 12px;
  color: #8c8171;
  margin-bottom: 8px;
  line-height: 1.7;
}
.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.win-option {
  background: #fffdf7;
  border: 1px solid #d9cdb6;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(120, 100, 70, 0.08);
  transition: border-color .2s, box-shadow .2s;
}
.win-option:hover {
  border-color: #4da6cf;
  box-shadow: 0 4px 12px rgba(77, 166, 207, 0.2);
}
.win-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(180deg, #f3ecdd, #ece3d0);
  padding: 3px 8px;
  border-bottom: 1px solid #ddd0bb;
}
.win-tag {
  font-family: Consolas, "Courier New", monospace;
  font-weight: 700;
  font-size: 11px;
  color: #2f7fa5;
  letter-spacing: 0.06em;
}
.win-btns {
  display: flex;
  gap: 4px;
}
.win-btns span {
  display: inline-block;
  width: 9px;
  height: 10px;
  line-height: 9px;
  text-align: center;
  font-size: 8px;
  color: #a0947f;
  border: 1px solid #cfc4ae;
  border-radius: 2px;
}
.win-body {
  padding: 7px 9px;
  font-size: 13px;
  color: #40382e;
  line-height: 1.6;
}
.win-option.skip {
  border-color: rgba(208, 137, 178, 0.5);
}
.win-option.skip .win-tag {
  color: #b06a8f;
}
.win-option.skip:hover {
  border-color: #b06a8f;
  box-shadow: 0 4px 12px rgba(208, 137, 178, 0.2);
}

/* ============================================
   会员档案 · 会员卡样式（香槟米色卡面）
   ============================================ */

/* 会员卡本体：横版卡面，香槟金暖色 */
.member-card {
  position: relative;
  margin: 10px 14px;
  padding: 16px 20px 14px;
  background:
    radial-gradient(120% 160% at 100% 0%, rgba(180, 138, 192, 0.22) 0%, transparent 45%),
    linear-gradient(120deg, #f3e8d3 0%, #f6efdd 45%, #efe3cf 100%);
  border: 1px solid rgba(170, 140, 100, 0.4);
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(120, 100, 70, 0.18);
  color: #4a3a26;
  overflow: hidden;
}
/* 卡面细网纹装饰 */
.member-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(170, 140, 100, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(170, 140, 100, 0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}

/* 顶部：店标+店名+会员标 */
.mc-top {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  letter-spacing: 0.08em;
}
.mc-shop { font-weight: 800; color: #7a5f32; letter-spacing: 0.3em; }
.mc-tag {
  margin-left: auto;
  font-size: 10px;
  font-weight: 800;
  color: #8a5f32;
  border: 1px solid rgba(138, 95, 50, 0.6);
  border-radius: 4px;
  padding: 1px 7px;
  letter-spacing: 0.2em;
}

/* 持卡人姓名 */
.mc-name {
  margin-top: 10px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #3a2c1c;
}

/* 信息行：年龄·卡类型·身份 */
.mc-info {
  margin-top: 2px;
  font-size: 12.5px;
  color: rgba(74, 58, 38, 0.72);
  letter-spacing: 0.05em;
}

/* 卡号 */
.mc-number {
  margin-top: 8px;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 13px;
  letter-spacing: 0.22em;
  color: rgba(122, 95, 50, 0.85);
}

/* 余额 */
.mc-balance {
  margin-top: 10px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.mc-balance-label {
  font-size: 11px;
  font-weight: 700;
  color: rgba(74, 58, 38, 0.6);
  letter-spacing: 0.15em;
}
.mc-balance-num {
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 20px;
  font-weight: 800;
  color: #2e7d5b;
  letter-spacing: 0.05em;
}

/* 等级行 */
.mc-row {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.mc-level {
  font-size: 11.5px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(120deg, #c9a96a, #a8802c);
  border-radius: 5px;
  padding: 2px 10px;
  letter-spacing: 0.12em;
}
.mc-exp {
  font-size: 10.5px;
  color: rgba(74, 58, 38, 0.5);
  letter-spacing: 0.05em;
}

/* 好感度进度条 */
.mc-bar {
  margin-top: 12px;
  height: 6px;
  background: rgba(120, 90, 40, 0.12);
  border-radius: 3px;
  overflow: hidden;
}
.mc-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #4da6cf, #b48ac0);
  border-radius: 3px;
}
.mc-bar-label {
  margin-top: 5px;
  font-size: 11px;
  color: rgba(74, 58, 38, 0.65);
  letter-spacing: 0.05em;
}

/* 芯片装饰（右下角） */
.mc-chip {
  position: absolute;
  right: 18px;
  bottom: 16px;
  width: 26px;
  height: 20px;
  border-radius: 4px;
  background: linear-gradient(135deg, rgba(255, 240, 200, 0.9), rgba(200, 170, 110, 0.5));
  box-shadow: inset 0 0 0 1px rgba(150, 120, 70, 0.4);
  opacity: 0.85;
}
.mc-chip::after {
  content: "";
  position: absolute;
  inset: 5px 4px;
  border-left: 1px solid rgba(150, 120, 70, 0.5);
  border-right: 1px solid rgba(150, 120, 70, 0.5);
  border-radius: 2px;
}

/* 卡背信息区：外貌/性格自述（冻结）/备注（动态）/变动记录 */
.member-info {
  margin: 2px 14px 14px;
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.9;
  color: #6f6556;
  background: linear-gradient(160deg, rgba(243, 232, 211, 0.5), rgba(246, 239, 221, 0.4));
  border: 1px solid #d9cdb6;
  border-left: 3px solid #a8802c;
  border-radius: 8px;
}
.member-info::before {
  content: "持卡人档案";
  display: block;
  margin-bottom: 4px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: #8c8171;
}
.mi-row {
  margin: 3px 0;
  line-height: 1.7;
}
.mi-row b {
  font-weight: 800;
  color: #7a5f32;
  margin-right: 2px;
}

/* ---- 选择面板上方·流光分割线（柔和） ---- */
.choice-divider {
  position: relative;
  height: 3px;
  margin: 0 0 10px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, #4da6cf 18%, #b48ac0 50%, #d489b2 82%, transparent);
  background-size: 200% 100%;
  animation: rgbFlow 4s linear infinite;
  opacity: 0.7;
}
.choice-divider::before,
.choice-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 5px;
  height: 5px;
  transform: translateY(-50%);
  border-radius: 50%;
}
.choice-divider::before {
  left: 2px;
  background: #4da6cf;
  box-shadow: 0 0 5px #4da6cf;
}
.choice-divider::after {
  right: 2px;
  background: #d489b2;
  box-shadow: 0 0 5px #d489b2;
}
@keyframes rgbFlow {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* ---- 手机适配（窄屏 ≤640px） ---- */
@media (max-width: 640px) {
  .cot-check, .time-header, .narrative-p,
  .panel-details, .choice-panel, .story-card {
    font-size: 14px;
  }
  .time-header {
    font-size: 11px;
    padding: 6px 10px;
    letter-spacing: 0;
    gap: 7px;
  }
  .th-time {
    font-size: 15px;
  }
  .th-date, .th-flow {
    font-size: 11px;
  }
  .th-status {
    font-size: 11px;
    padding: 1px 8px;
  }
  .story-card {
    padding: 16px 14px;
  }
  .narrative-p {
    font-size: 15px;
    line-height: 1.85;
    padding: 0 2px;
  }
  .panel-details {
    margin: 12px 0;
  }
  .panel-details summary {
    font-size: 13px;
    padding: 9px 10px;
  }
  .cot-check {
    font-size: 11.5px;
    line-height: 1.75;
  }
  .lx-art img {
    border-radius: 10px;
  }
  .gh-hud {
    padding: 10px;
  }
  .gh-name {
    font-size: 17px;
  }
  .gh-lv {
    font-size: 12px;
  }
  .gh-outfit, .gh-reason, .body-data {
    font-size: 13px;
  }
  .gh-bar-label, .gh-bar-val {
    font-size: 12px;
  }
  .gh-whisper {
    font-size: 13px;
    padding: 8px 10px;
  }
  .gh-trait-action {
    font-size: 12.5px;
  }
  .gh-chip {
    font-size: 11.5px;
  }
  .gh-next {
    padding: 7px 9px;
  }
  .member-card {
    padding: 12px;
  }
  .mc-name {
    font-size: 18px;
  }
  .mc-info, .mc-number, .mc-exp {
    font-size: 11px;
  }
  .mc-balance-num {
    font-size: 19px;
  }
  .mc-bar-label {
    font-size: 11.5px;
  }
  .member-info {
    font-size: 13px;
  }
  .mi-row {
    font-size: 13px;
  }
  .choice-hint {
    font-size: 13px;
  }
  .choice-grid {
    grid-template-columns: 1fr;
  }
  .win-body {
    font-size: 14px;
    padding: 8px 10px;
  }
  .win-bar {
    padding: 4px 10px;
  }
  .win-tag {
    font-size: 12px;
  }
  .win-btns span {
    width: 10px;
    height: 11px;
    line-height: 10px;
  }
  .body-data {
    white-space: normal;
  }
}

/* ----图片适配：所有立绘图（状态栏立绘/过肩头像/场景插图）自适应窗口与对话框宽度 ---- */
.lx-art img,
.talk-head img,
.scene-img {
  max-width: 100%;
  height: auto;
  display: block;
}
/* 状态栏立绘：完整显示，不裁剪，适配对话框宽度 */
.lx-art img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}
/* 过肩头像：固定尺寸，适配对话框 */
.talk-head img {
  width: 190px;
  max-width: 70%;
  margin: 0 auto;
  border-radius: 12px 12px 0 0;
}
/* 场景插图：宽自适应，圆角，居中 */
.scene-img {
  width: 100%;
  max-width: 520px;
  margin: 8px auto 0;
  border-radius: 10px;
}
/* 场景动作说明：图片正下方的一行描述，让静态图能看懂 */
.scene-caption {
  max-width: 520px;
  margin: 0 auto 14px;
  padding: 6px 12px;
  font-size: 12px;
  line-height: 1.6;
  color: #7a7160;
  text-align: center;
  background: rgba(248, 244, 236, 0.75);
  border-left: 3px solid #b48ac0;
  border-radius: 6px;
}

/* 对话状态详情（名字旁括号说明，解释表情语境） */
.talk-state {
  font-size: 11px;
  font-weight: 400;
  color: #8c8171;
  margin-left: 0;
  letter-spacing: 0.02em;
}

/* ============================================
   记忆系统 MOD · 记忆存档面板
   风格：系统存档/档案日志，淡青灰，与暖色台面协调
   配套记忆MOD的class：memory-panel / memory-stm
   memory-ltm / memory-table / memory-scroll / memory-note
   ============================================ */
.memory-panel {
  border: 1px solid #bcc7ce;
  background: linear-gradient(180deg, #fbfcf9 0%, #f2f6f4 100%);
}
.memory-panel summary {
  color: #46606d;
}
.memory-panel summary::before {
  content: none; /* 隐藏默认▸，避免与面板内图标重复 */
}
.panel-summary-icon {
  font-size: 13px;
  line-height: 1;
}
.panel-summary-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.panel-summary-sub {
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 10.5px;
  color: #8aa0ac;
  letter-spacing: 0.06em;
}
.panel-body {
  padding: 8px 12px 12px;
}

/* 短期/长期记忆 子面板（抽屉式） */
.memory-stm,
.memory-ltm {
  margin: 8px 0;
  border: 1px solid #d3dbe0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.6);
  overflow: hidden;
}
.memory-stm summary,
.memory-ltm summary {
  background: linear-gradient(180deg, #eef2f4, #e5ecef);
  color: #46606d;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 0;
  font-weight: 700;
}
.memory-stm summary::before,
.memory-ltm summary::before {
  content: "▸";
  font-size: 11px;
  color: #46606d;
}
.memory-stm[open] summary::before,
.memory-ltm[open] summary::before {
  transform: rotate(90deg);
}

/* 滚动容器（表格可能超宽，横向滚动） */
.memory-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 8px 10px;
}

/* 记忆表格 */
.memory-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11.5px;
  color: #485860;
  line-height: 1.6;
  min-width: 480px;
}
.memory-table th {
  background: #e3ebee;
  color: #3c5560;
  font-weight: 700;
  text-align: left;
  padding: 5px 8px;
  border: 1px solid #d3dbe0;
  white-space: nowrap;
  font-size: 11px;
  letter-spacing: 0.04em;
}
.memory-table td {
  padding: 5px 8px;
  border: 1px solid #e0e6e9;
  vertical-align: top;
  background: #fbfcfc;
}
.memory-table tr:nth-child(even) td {
  background: #f4f7f7;
}
.memory-table td:first-child {
  text-align: center;
  font-family: "Cascadia Code", Consolas, monospace;
  color: #8aa0ac;
  white-space: nowrap;
}

/* 底部备注 */
.memory-note {
  margin: 8px 0 2px;
  font-size: 11px;
  color: #8c9aa3;
  line-height: 1.6;
  border-top: 1px dashed #d3dbe0;
  padding-top: 8px;
}

/* 记忆面板 · 移动端适配 */
@media (max-width: 640px) {
  .memory-table {
    font-size: 10.5px;
  }
  .memory-note {
    font-size: 11px;
  }
  .panel-summary-sub {
    font-size: 9.5px;
  }
  .panel-body {
    padding: 6px 8px 10px;
  }
}

/* ============================================
朋友圈 · 林小雪（手机朋友圈样式）
============================================ */
.moments-panel {
  border: 1px solid #d9d2c2;
  background: linear-gradient(180deg, #fdfcf8 0%, #f8f4ec 100%);
}
.moments-panel summary {
  color: #6f6556;
}
.moments-panel summary::before {
  content: none;
}
.mp-body {
  padding: 10px 14px 12px;
}
.mp-item {
  background: #fff;
  border: 1px solid #e8e2d4;
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 8px;
}
.mp-item:last-child {
  margin-bottom: 0;
}
.mp-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.mp-avatar {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: linear-gradient(135deg, #4da6cf, #b48ac0);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mp-name {
  font-size: 13px;
  font-weight: 700;
  color: #3a2f45;
}
.mp-time {
  font-size: 10.5px;
  color: #a89f8e;
  margin-left: auto;
}
.mp-text {
  font-size: 13px;
  color: #40382e;
  line-height: 1.8;
}
.mp-pic {
  margin-top: 6px;
  width: 100%;
  height: 80px;
  border-radius: 8px;
  background: linear-gradient(135deg, #eef0ec, #dcd8cc);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #a89f8e;
}
.mp-foot {
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px solid #f0ece2;
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  font-size: 11px;
  color: #8c8171;
}
.mp-empty {
  font-size: 12px;
  color: #a89f8e;
  padding: 4px 2px;
}
/* 朋友圈只显示最新三条的备注 */
.mp-limit {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed #e0dacc;
  font-size: 11px;
  color: #a89f8e;
  text-align: center;
  letter-spacing: 0.02em;
}

/* ============================================
清源大学贴吧（匿名八卦风）
============================================ */
.tieba-panel {
  border: 1px solid #c8d8e0;
  background: linear-gradient(180deg, #f7fafc 0%, #eef4f7 100%);
}
.tieba-panel summary {
  color: #46606d;
}
.tieba-panel summary::before {
  content: none;
}
.tb-body {
  padding: 10px 14px 12px;
}
.tb-post {
  background: #fff;
  border: 1px solid #e0e8ee;
  border-radius: 8px;
  padding: 9px 12px;
  margin-bottom: 8px;
}
.tb-post:last-child {
  margin-bottom: 0;
}
.tb-title-line {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 5px;
}
.tb-hot {
  background: #e8622c;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 3px;
  flex-shrink: 0;
}
.tb-title-text {
  font-size: 13px;
  font-weight: 700;
  color: #2c3e50;
  line-height: 1.5;
}
.tb-meta {
  font-size: 10.5px;
  color: #8aa0ac;
  margin-bottom: 6px;
}
.tb-floor {
  background: #f6f9fb;
  border-radius: 6px;
  padding: 6px 9px;
  margin-bottom: 5px;
  font-size: 12px;
  color: #485860;
  line-height: 1.7;
}
.tb-floor:last-child {
  margin-bottom: 0;
}
.tb-floor-no {
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 10.5px;
  font-weight: 700;
  color: #7fa3b8;
  margin-right: 6px;
}

/* 时间头轮次徽章 */
.th-round {
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #b48ac0, #4da6cf);
  padding: 1px 8px;
  border-radius: 9px;
  flex-shrink: 0;
  white-space: nowrap;
}

/* 朋友圈/贴吧 · 移动端适配 */
@media (max-width: 640px) {
  .mp-body,
  .tb-body {
    padding: 8px 10px 10px;
  }
  .mp-text {
    font-size: 12.5px;
  }
  .tb-title-text {
    font-size: 12.5px;
  }
  .th-round {
    font-size: 10px;
    padding: 0 6px;
  }
}


/*社交计数行（轮次/朋友圈/贴吧更新计数，传承数据：靠读不靠记） */
.gh-social {
 margin:6px 0;
 font-size:11.5px;
 color: #7a6a52;
 background: rgba(168,128,44,0.08);
 border:1px dashed rgba(168,128,44,0.35);
 border-radius:6px;
 padding:5px 9px;
 line-height:1.6;
}
.gh-social b {
 color: #a8802c;
 letter-spacing:.05em;
}
/*移动端：社交计数行 */
@media (max-width:640px){
 .gh-social{font-size:11px;}
}
