/* ═══════════════════════════════════════════════════════
   女帝的新衣 · 完整CSS（酒馆全局 + 7层面板）
   导入：酒馆 用户设置 → 自定义CSS 全选粘贴
   风格：浅色动漫风 · 暖米白底 · 网点纸 · 高纯色面板
   注意：酒馆CSS注入不解析 :root 变量和 class 作用域变量
        所有色值均已硬编码，不使用 var()
   ═══════════════════════════════════════════════════════ */
/* ============================================================
   PART 0 — 酒馆全局
   ============================================================ */
body {
  background: #f0ece6;
  background-image: radial-gradient(circle, rgba(0,0,0,.04) 1px, transparent 1px);
  background-size: 16px 16px;
}
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #d0c8bc; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #b8a898; }
::selection { background: rgba(232,74,106,.18); color: #4a3a2a; }
/* ============================================================
   PART 1 — 用户提问区
   ============================================================ */
#customized-question-content {
  border-radius: 12px;
  padding: 12px 14px;
  background: linear-gradient(145deg, #f0f4f8 0%, #e8eef5 100%);
  border: 1px solid rgba(46, 76, 109, 0.12);
  color: #2b2b2b;
  font-family: "Noto Serif SC", "STKaiti", "KaiTi", "Microsoft YaHei", serif;
  font-size: 0.90rem;
  line-height: 1.75;
}
/* ============================================================
   PART 2 — AI 回答区（女帝所有输出落在这里）
   ============================================================ */
#customized-answer-content {
  border-radius: 12px;
  padding: 14px 16px;
  background: linear-gradient(145deg, #faf7f2 0%, #f0ebe3 100%);
  border: 1px solid rgba(201, 143, 107, 0.22);
  color: #4a3a2a;
  font-family: "Noto Serif SC", "Source Han Serif SC", "STKaiti", "KaiTi", "Microsoft YaHei", serif;
  font-size: 0.90rem;
  line-height: 1.85;
}
#customized-answer-content p { margin: 0.5em 0; line-height: 1.9; color: #4a3a2a; }
#customized-answer-content strong { color: #2a1a0a; }
#customized-answer-content em { color: #d04060; }
#customized-answer-content .mes_text { padding: 6px 0; }
/* 回答区内代码块 */
#customized-answer-content code,
#customized-answer-content pre {
  background: rgba(232,221,208,.35);
  border: 1px solid rgba(232,221,208,.6);
  border-radius: 4px;
  padding: 1px 6px;
  font-family: 'Consolas', 'Microsoft YaHei Mono', monospace;
  font-size: 0.82rem;
  color: #6a5030;
}
/* 回答区内引用 */
#customized-answer-content blockquote {
  border-left: 3px solid #e0a020;
  margin: 0.5em 0;
  padding: 0.3em 0.8em;
  background: rgba(224,160,32,.06);
  border-radius: 0 4px 4px 0;
  color: #7a6a5a;
}
/* 回答区内水平线 */
#customized-answer-content hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,143,107,.3), transparent);
  margin: 1em 0;
}
/* ============================================================
   PART 3 — .fy-status 7层面板系统
   所有颜色硬编码，不依赖 CSS 变量
   ============================================================ */
.fy-status {
  margin: 8px 0 4px;
  font-family: "Noto Serif SC", "Source Han Serif SC", "STKaiti", "KaiTi", "Microsoft YaHei", serif;
  font-size: 13px;
  line-height: 1.8;
  color: #4a3a2a;
  background: transparent;
  border-radius: 6px;
}
.fy-status *, .fy-status *::before, .fy-status *::after { box-sizing: border-box; }
/* 隐藏状态链——不计入显示但在上下文中 */
.fy-chain { display: none !important; }
/* --- ① 叙事正文 --- */
.fy-status .fy-story {
  background: #fffefc;
  border-radius: 4px;
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
  border: 1.5px solid #e8e2da;
  padding: 14px 16px;
  margin-bottom: 10px;
  position: relative;
}
.fy-status .fy-story::before {
  content: '';
  position: absolute;
  top: 0; left: 14px; right: 14px;
  height: 3px;
  background: repeating-linear-gradient(90deg,
    #e84a6a 0px, #e84a6a 4px,
    transparent 4px, transparent 8px,
    #e0a020 8px, #e0a020 12px,
    transparent 12px, transparent 16px);
  border-radius: 0 0 2px 2px;
  opacity: 0.5;
}
.fy-status .fy-story p {
  color: #4a3a2a;
  line-height: 2.0;
  font-size: 0.90rem;
  text-indent: 1.5em;
  margin: 0.4rem 0;
  position: relative;
}
.fy-status .fy-story p::before {
  content: '';
  position: absolute;
  left: 0; top: 0.4em; bottom: 0.4em;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, #e84a6a, #f06830);
  opacity: 0.35;
}
/* --- 面板通用 --- */
.fy-status .fy-panel {
  margin: 8px 0;
  border-radius: 4px;
  overflow: hidden;
  border: 1.5px solid #e8e2da;
  background: #fffefc;
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
  transition: all 0.3s ease;
}
.fy-status .fy-panel[open] {
  border-color: #d8d0c8;
  box-shadow: 0 4px 20px rgba(180,160,140,.2);
}
.fy-status .fy-panel > summary {
  padding: 10px 14px;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: bold;
  letter-spacing: 0.04em;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.25s;
  user-select: none;
  color: #fff;
}
.fy-status .fy-panel > summary::-webkit-details-marker { display: none; }
.fy-status .fy-panel > summary::before {
  content: '☆';
  font-size: 0.65rem;
  opacity: 0.8;
  flex-shrink: 0;
  color: inherit;
}
.fy-status .fy-panel[open] > summary::before {
  content: '★';
  opacity: 1;
  color: inherit;
}
.fy-status .fy-panel .fy-sec { padding: 8px 14px 12px; }
.fy-status .fy-panel .fy-sec p {
  margin: 3px 0;
  color: #4a3a2a;
  font-size: 0.80rem;
  line-height: 1.7;
}
/* 子区块 */
.fy-status .fy-block {
  margin-bottom: 6px;
  padding: 8px 10px;
  border-radius: 3px;
  background: rgba(250,247,242,.5);
  border: 1px solid rgba(232,221,208,.4);
}
.fy-status .fy-block:last-child { margin-bottom: 0; }
.fy-status .fy-block h4 {
  margin: 0 0 4px 0;
  font-size: 0.78rem;
  font-weight: bold;
  color: #2a1a0a;
}
/* 字段名胶囊 */
.fy-status .fy-k {
  display: inline-block;
  min-width: 5em;
  margin-right: 6px;
  padding: 1px 8px;
  border-radius: 6px;
  background: rgba(232,221,208,.4);
  border: 1px solid #e8e2da;
  color: #7a6a5a;
  font-size: 0.76rem;
  text-align: center;
  vertical-align: middle;
}
/* --- ② 女帝状态面板（绯红粉 #e84a6a） --- */
.fy-status .fy-heroine { border-left: 4px solid #e84a6a; }
.fy-status .fy-heroine > summary { background: #e84a6a; }
.fy-status .fy-heroine[open] > summary { background: #d03050; }
.fy-status .fy-heroine .fy-intim {
  border-left: 3px solid #e84a6a !important;
  background: linear-gradient(90deg, #ffe8ec, rgba(255,255,255,.5)) !important;
}
.fy-status .fy-heroine .fy-intim h4 { color: #d04060 !important; }
.fy-status .fy-voice-block {
  border-left: 3px solid #f5a0b0;
  padding-left: 10px;
  background: linear-gradient(90deg, #ffe8ec, transparent) !important;
}
.fy-status .fy-voice-block p {
  font-style: italic;
  color: #d04060;
  font-size: 0.82rem;
}
/* --- ③ 场景·任务面板（蜂蜜金 #e0a020） --- */
.fy-status .fy-scene { border-left: 4px solid #e0a020; }
.fy-status .fy-scene > summary { background: #e0a020; }
.fy-status .fy-scene[open] > summary { background: #c08810; }
.fy-status .fy-task-line { font-size: 0.82rem; color: #4a3a2a; margin-bottom: 4px; }
.fy-status .fy-task-line strong { color: #2a1a0a; }
/* 舆论标签 */
.fy-status .fy-tags { line-height: 2.0; margin: 2px 0 6px; }
.fy-status .fy-tag {
  display: inline-block;
  margin: 0 5px 3px 0;
  padding: 1px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  color: #b08010;
  background: #fef8e8;
  border: 1px solid #f0d080;
}
/* --- 3×3 地图 --- */
.fy-status .fy-map-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin: 8px 0;
}
.fy-status .fy-map-cell {
  aspect-ratio: 1 / 1;
  background: rgba(255,255,255,.7);
  border: 1.5px solid #e8e2da;
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  font-size: 10px;
  color: #4a3a2a;
  text-align: center;
  line-height: 1.35;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}
.fy-status .fy-map-cell .fy-zone { font-weight: bold; font-size: 10px; color: #2a1a0a; }
.fy-status .fy-map-cell .fy-crowd { font-size: 8px; color: #7a6a5a; }
/* 风险着色 */
.fy-status .fy-map-cell.risk-low {
  background: rgba(46,184,120,.10);
  border-color: rgba(46,184,120,.35);
}
.fy-status .fy-map-cell.risk-mid {
  background: rgba(224,160,32,.12);
  border-color: rgba(224,160,32,.40);
}
.fy-status .fy-map-cell.risk-high {
  background: rgba(232,74,106,.12);
  border-color: rgba(232,74,106,.45);
  box-shadow: inset 0 0 12px rgba(232,74,106,.12);
}
/* 玩家位置标记 */
.fy-status .fy-map-cell.me {
  border-color: #2eb878 !important;
  box-shadow: 0 0 12px rgba(46,184,120,.40) !important;
  border-width: 2px;
}
.fy-status .fy-map-cell.me::before {
  content: '📍';
  position: absolute;
  top: 2px; right: 4px;
  font-size: 10px;
}
/* 女帝位置标记 */
.fy-status .fy-map-cell.emp {
  border-color: #e0a020 !important;
  box-shadow: 0 0 10px rgba(224,160,32,.35) !important;
  border-width: 2px;
}
.fy-status .fy-map-cell.emp::after {
  content: '👑';
  position: absolute;
  top: 2px; left: 4px;
  font-size: 10px;
}
/* 同格双标记 */
.fy-status .fy-map-cell.me.emp {
  border-color: #2eb878 !important;
  box-shadow: 0 0 14px rgba(46,184,120,.45), 0 0 6px rgba(224,160,32,.30) !important;
}
/* 中心格 */
.fy-status .fy-map-cell.center {
  border-style: solid;
  border-color: #f0d080 !important;
}
/* 视线 / 遮掩 */
.fy-status .fy-sight {
  font-size: 0.78rem;
  color: #7a6a5a;
  line-height: 1.6;
  margin: 2px 0;
}
.fy-status .fy-sight .fy-eye { color: #f06830; }
.fy-status .fy-sight .fy-cover { color: #2eb878; }
/* 民声短评 */
.fy-status .fy-voices {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px dashed #f0d080;
}
.fy-status .fy-voice {
  margin: 3px 0;
  color: #7a6a5a;
  font-size: 0.76rem;
  line-height: 1.6;
  padding-left: 6px;
  border-left: 2px solid #f0d080;
}
.fy-status .fy-who {
  display: inline-block;
  margin-right: 4px;
  padding: 0 6px;
  border-radius: 5px;
  font-size: 0.72rem;
  color: #b08010;
  background: rgba(224,160,32,.10);
  border: 1px solid rgba(224,160,32,.20);
}
/* --- ④ NPC 面板（天空蓝 #3a9ad8） --- */
.fy-status .fy-npc { border-left: 4px solid #3a9ad8; }
.fy-status .fy-npc > summary { background: #3a9ad8; }
.fy-status .fy-npc[open] > summary { background: #2078b8; }
/* --- ⑤ 数值·攻略面板（薰衣草紫 #7c3aed） --- */
.fy-status .fy-stats { border-left: 4px solid #7c3aed; }
.fy-status .fy-stats > summary { background: #7c3aed; }
.fy-status .fy-stats[open] > summary { background: #5c20d0; }
/* 数值条 */
.fy-status .fy-stat {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 4px 0;
  font-size: 0.74rem;
}
.fy-status .fy-stat .fy-k { min-width: 4.5em; }
.fy-status .fy-bar {
  flex: 1;
  height: 7px;
  border-radius: 3px;
  background: #e8e2da;
  overflow: hidden;
}
.fy-status .fy-fill {
  display: block;
  height: 100%;
  border-radius: 3px;
  transition: width 0.5s ease;
}
/* 六值进度条配色 */
.fy-status .fy-weiyan   { background: linear-gradient(90deg, #c08810, #e0a020, #f0d080); }
.fy-status .fy-xiuchi   { background: linear-gradient(90deg, #d04060, #e84a6a, #f5a0b0); }
.fy-status .fy-yuwang   { background: linear-gradient(90deg, #a02040, #d04060, #e84a6a); }
.fy-status .fy-fengxian { background: linear-gradient(90deg, #c04030, #f06830, #f8b890); }
.fy-status .fy-chongxin { background: linear-gradient(90deg, #5c20d0, #7c3aed, #c0a0f5); }
.fy-status .fy-huaiyi   { background: linear-gradient(90deg, #4a6a8a, #6e88a8, #9db8d2); }
.fy-status .fy-n {
  min-width: 2.2em;
  text-align: right;
  font-weight: 700;
  color: #7c3aed;
  font-variant-numeric: tabular-nums;
  font-size: 0.78rem;
}
/* 攻略指南 */
.fy-status .fy-stats .fy-guide {
  border-left: 3px solid #c0a0f5;
  padding-left: 8px;
  margin-top: 6px;
}
.fy-status .fy-stats .fy-guide h4 { color: #7c3aed; }
/* --- ⑥ 记忆锚点面板（古铜琥珀 #b07040） --- */
.fy-status .fy-memory { border-left: 4px solid #b07040; }
.fy-status .fy-memory > summary { background: #b07040; }
.fy-status .fy-memory[open] > summary { background: #8a5530; }
.fy-status .fy-mem-block {
  margin-bottom: 10px;
}
.fy-status .fy-mem-block:last-child { margin-bottom: 0; }
.fy-status .fy-mem-h {
  font-size: 0.78rem;
  font-weight: 700;
  color: #b07040;
  margin-bottom: 4px;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(176,112,64,0.22);
}
.fy-status .fy-mem-list {
  padding-left: 8px;
}
.fy-status .fy-mem-item {
  padding: 3px 0;
  font-size: 0.76rem;
  line-height: 1.55;
  color: #c8b8a8;
  border-bottom: 1px solid rgba(176,112,64,0.10);
}
.fy-status .fy-mem-item:last-child { border-bottom: none; }
.fy-status .fy-mem-entry {
  display: flex;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(176,112,64,0.18);
  font-size: 13px;
  line-height: 1.55;
  align-items: baseline;
}
.fy-status .fy-mem-entry:last-child { border-bottom: none; }
.fy-status .fy-mem-round {
  flex-shrink: 0;
  min-width: 72px;
  color: #b07040;
  font-weight: 700;
  font-size: 12px;
  background: rgba(176,112,64,0.1);
  padding: 2px 6px;
  border-radius: 6px;
  text-align: center;
}
.fy-status .fy-mem-text {
  color: #c8b8a8;
}
/* --- ⑦ 风险·钩子面板（蜜桃橙 #f06830） --- */
.fy-status .fy-danger { border-left: 4px solid #f06830; }
.fy-status .fy-danger > summary { background: #f06830; }
.fy-status .fy-danger[open] > summary { background: #d05020; }
/* --- ⑧ 行动选项面板（薄荷绿 #2eb878） --- */
.fy-status .fy-actions { border-left: 4px solid #2eb878; }
.fy-status .fy-actions > summary { background: #2eb878; }
.fy-status .fy-actions[open] > summary { background: #189050; }
/* 代码块去代码感 · 融合面板 */
.fy-status .fy-actions .fy-sec pre {
  margin: .5rem 0;
  padding: .6rem .9rem;
  border-radius: 8px;
  border-left: 4px solid #2eb878;
  background: #f8fdfa;
  transition: all .2s;
}
.fy-status .fy-actions .fy-sec pre:hover {
  background: #eefaf2;
  border-left-color: #1a9a5a;
}
.fy-status .fy-actions .fy-sec pre code {
  font-family: inherit;
  font-size: .84rem;
  line-height: 1.7;
  color: #3a4a2a;
  background: transparent;
  padding: 0;
  white-space: pre-wrap;
  word-break: break-word;
}
/* A = 新衣策划（紫色边） */
.fy-status .fy-actions .fy-sec pre:nth-of-type(1) {
  border-left-color: #7c3aed;
  background: #faf8ff;
}
.fy-status .fy-actions .fy-sec pre:nth-of-type(1):hover {
  border-left-color: #5a20d0;
  background: #f4f0ff;
}
/* B = 装作无事（浅蓝边） */
.fy-status .fy-actions .fy-sec pre:nth-of-type(2) {
  border-left-color: #4da6d9;
  background: #f4f9fd;
}
.fy-status .fy-actions .fy-sec pre:nth-of-type(2):hover {
  border-left-color: #2e8ab8;
  background: #eaf4fb;
}
/* C = 亲密试探（玫红边） */
.fy-status .fy-actions .fy-sec pre:nth-of-type(3) {
  border-left-color: #e8557c;
  background: #fef6f8;
}
.fy-status .fy-actions .fy-sec pre:nth-of-type(3):hover {
  border-left-color: #c8385a;
  background: #fceef2;
}
/* D = 常规侍奉（绿色边，默认即此，无需额外声明） */
/* E = 时间推移（灰蓝边） */
.fy-status .fy-actions .fy-sec pre:nth-of-type(5) {
  border-left-color: #8a9ba8;
  background: #f6f8fa;
}
.fy-status .fy-actions .fy-sec pre:nth-of-type(5):hover {
  border-left-color: #5e707a;
  background: #eef1f4;
}
/* 自由输入提示 */
.fy-status .fy-free {
  display: block;
  padding: 0.5rem 0.9rem;
  margin-top: 0.3rem;
  color: #8a7a6a;
  font-size: 0.8rem;
  font-style: italic;
}
/* --- 语句着色 --- */
.fy-status .say-empress { color: #d04060; font-weight: 600; }
.fy-status .say-self    { color: #189050; font-weight: 600; }
.fy-status .say-npc     { color: #3a9ad8; }
/* ============================================================
   PART 4 — 手机端
   ============================================================ */
@media (max-width: 480px) {
  #customized-answer-content {
    padding: 10px 10px;
    font-size: 0.84rem;
  }
  .fy-status {
    font-size: 12px;
    margin: 6px 0 2px;
    padding: 0;
  }
  .fy-status .fy-panel > summary {
    font-size: 0.78rem;
    padding: 7px 10px;
  }
  .fy-status .fy-panel .fy-sec { padding: 6px 8px 8px; }
  .fy-status .fy-k { min-width: 4em; font-size: 0.70rem; }
  .fy-status .fy-map-cell { font-size: 8px; border-radius: 3px; }
  .fy-status .fy-map-cell .fy-zone  { font-size: 8px; }
  .fy-status .fy-map-cell .fy-crowd { font-size: 7px; }
  .fy-status .fy-map-cell.me::before,
  .fy-status .fy-map-cell.emp::after { font-size: 8px; }
  .fy-status .fy-story p { font-size: 0.82rem; }
  .fy-status .fy-action { font-size: 0.74rem; padding: 6px 30px 6px 8px; }
}