/* ============================================
   苏晚樱 · 樱落倒计时 · 白日樱花主题
   ============================================ */

/* ====== 全局容器 ====== */
.story-container {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: #2d2d2d;
  line-height: 1.8;
  padding: 2px 0;
  background: #ffffff;
  border-radius: 12px;
}

/* ====== 对白颜色 ====== */
.story-container .wy {
  color: #c94070;
  font-weight: 500;
}
.story-container .mc {
  color: #2b6cb0;
  font-weight: 500;
}

/* ====== 思维链面板（不可展开） ====== */
.think-chain {
  margin: 0 0 12px 0;
  border: 1px solid rgba(180, 140, 200, 0.2);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(235, 220, 245, 0.4), rgba(240, 230, 250, 0.3));
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}
.think-chain summary {
  padding: 10px 16px;
  font-size: 13px;
  color: rgba(140, 100, 170, 0.65);
  letter-spacing: 2px;
  list-style: none;
  cursor: default;
  display: flex;
  align-items: center;
  gap: 6px;
}
.think-chain summary::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(160, 120, 190, 0.5);
  animation: think-pulse 2s ease-in-out infinite;
}
.think-chain summary::-webkit-details-marker,
.think-chain summary::marker {
  display: none;
}
.think-chain .think-content {
  display: none;
}
@keyframes think-pulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
}

/* ====== 花瓣时间栏 ====== */
.story-container flower {
  display: block;
  text-align: center;
  padding: 16px 12px;
  margin: 0 0 16px 0;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(248, 180, 200, 0.12), rgba(255, 218, 233, 0.08));
  border: 1px solid rgba(248, 180, 200, 0.25);
  position: relative;
  overflow: hidden;
}
.story-container flower::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(248, 180, 200, 0.06) 0%, transparent 70%);
  animation: flower-glow 6s ease-in-out infinite;
}
@keyframes flower-glow {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
  50% { transform: translate(5%, 5%) scale(1.1); opacity: 0.6; }
}
.story-container flower p {
  margin: 2px 0;
  position: relative;
  z-index: 1;
}
.story-container flower p:first-child {
  font-size: 18px;
  font-weight: 600;
  color: #d4728a;
  letter-spacing: 3px;
}
.story-container flower p:nth-child(2) {
  font-size: 12px;
  color: rgba(100, 80, 90, 0.55);
  letter-spacing: 1px;
}
.story-container flower p:last-child {
  font-size: 13px;
  color: rgba(200, 100, 130, 0.75);
  margin-top: 4px;
  font-style: italic;
}

/* ====== 正文 ====== */
.story-container text {
  display: block;
  padding: 4px 6px;
  margin: 0 0 16px 0;
  font-size: 15px;
  line-height: 2;
  color: #2d2d2d;
}
.story-container text p {
  margin: 0 0 14px 0;
  text-indent: 2em;
}
.story-container text p:last-child {
  margin-bottom: 0;
}

/* ====== 状态面板通用 ====== */
.status-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 12px 0;
}
.status-section details {
  border: 1px solid rgba(248, 180, 200, 0.22);
  border-radius: 10px;
  background: rgba(255, 248, 250, 0.7);
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.status-section details[open] {
  border-color: rgba(248, 180, 200, 0.45);
}
.status-section details summary {
  padding: 10px 14px;
  font-size: 13.5px;
  color: #9a6b80;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease, background 0.2s ease;
  letter-spacing: 1px;
}
.status-section details summary:hover {
  color: #c94070;
  background: rgba(248, 180, 200, 0.06);
}
.status-section details summary::-webkit-details-marker,
.status-section details summary::marker {
  display: none;
}
.status-section details summary::after {
  content: "▸";
  margin-left: auto;
  font-size: 11px;
  color: rgba(200, 140, 170, 0.4);
  transition: transform 0.3s ease;
}
.status-section details[open] summary::after {
  transform: rotate(90deg);
}
.status-section details > p,
.status-section details > div {
  padding: 2px 14px;
  font-size: 12.5px;
  color: rgba(60, 45, 55, 0.8);
  line-height: 1.7;
}
.status-section details > p {
  margin: 2px 0;
}
.status-section details > p:last-child {
  padding-bottom: 10px;
}

/* ====== 晚樱身体状况特殊样式 ====== */
.cherry-body summary {
  color: #a67a8e !important;
}
.cherry-body summary::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(166, 122, 142, 0.5);
}

/* ====== 推荐行动 ====== */
.recommend-actions {
  margin: 12px 0;
  padding: 14px 16px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(180, 220, 180, 0.1), rgba(200, 235, 200, 0.06));
  border: 1px solid rgba(150, 200, 150, 0.2);
}
.recommend-actions p:first-child {
  font-size: 13px;
  color: rgba(80, 140, 80, 0.75);
  letter-spacing: 1.5px;
  margin: 0 0 6px 0;
}
.recommend-actions p {
  font-size: 12.5px;
  color: rgba(55, 95, 55, 0.7);
  margin: 4px 0;
  padding-left: 4px;
  line-height: 1.6;
}

/* ====== 记忆回廊 ====== */
.memory-corridor {
  margin: 6px 0 0 0;
  border: 1px solid rgba(180, 160, 210, 0.22);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(240, 232, 250, 0.5), rgba(245, 238, 255, 0.4));
  overflow: hidden;
}
.memory-corridor summary {
  padding: 10px 14px;
  font-size: 13px;
  color: rgba(120, 90, 150, 0.75);
  cursor: pointer;
  list-style: none;
  letter-spacing: 1.5px;
  transition: color 0.2s;
}
.memory-corridor summary:hover {
  color: rgba(100, 60, 140, 0.9);
}
.memory-corridor summary::-webkit-details-marker,
.memory-corridor summary::marker {
  display: none;
}
.memory-corridor summary::after {
  content: " ▸";
  font-size: 10px;
  color: rgba(160, 130, 200, 0.4);
}
.memory-corridor[open] summary::after {
  content: " ▾";
}
.memory-section {
  padding: 6px 10px 12px 10px;
}
.mem-title {
  font-size: 12px;
  color: rgba(120, 90, 150, 0.6);
  letter-spacing: 2px;
  margin: 10px 0 4px 0;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(180, 160, 210, 0.12);
}
.mem-title:first-child {
  margin-top: 2px;
}

/* ====== 记忆表格 ====== */
.mem-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11.5px;
  margin: 4px 0 8px 0;
  color: rgba(60, 45, 70, 0.75);
}
.mem-table th {
  background: rgba(180, 140, 200, 0.08);
  color: rgba(120, 90, 150, 0.6);
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 8px;
  text-align: left;
  border-bottom: 1px solid rgba(180, 160, 210, 0.15);
}
.mem-table td {
  padding: 5px 8px;
  border-bottom: 1px solid rgba(180, 160, 210, 0.08);
  vertical-align: top;
  line-height: 1.5;
}
.mem-table tr:last-child td {
  border-bottom: none;
}
.mem-table tr:hover td {
  background: rgba(180, 160, 210, 0.05);
}

/* ====== 状态面板淡入动效 ====== */
.status-section details,
.memory-corridor {
  animation: panel-in 0.4s ease-out;
}
@keyframes panel-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   CG映射系统 · v3 · 服饰CG + 亲密CG
   ============================================ */

/* ====== 通用CG容器 ====== */
[class^="cg-"] {
  display: block;
  width: 100%;
  margin: 18px auto;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background-color: rgba(250, 240, 245, 0.5);
  animation: cg-fadein 0.8s ease-out;
}
[class^="cg-"]::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  border: 1px solid rgba(200, 140, 170, 0.2);
  pointer-events: none;
}
@keyframes cg-fadein {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

/* ====== 服饰CG ====== */
.story-container [class^="cg-outfit"] {
  aspect-ratio: 3 / 4;
  max-width: 420px;
  box-shadow: 0 4px 22px rgba(200, 140, 170, 0.12), 0 0 40px rgba(248, 180, 200, 0.04);
}

/* ====== 亲密CG ====== */
.story-container [class^="cg-intimate"] {
  aspect-ratio: 896 / 1152;
  max-width: 420px;
  box-shadow: 0 4px 30px rgba(200, 120, 150, 0.15), 0 0 60px rgba(255, 100, 150, 0.04);
}

/* ── 服饰CG：日常休闲 ── */
.cg-outfit-casual-1 { background-image: url('https://i.ibb.co/KpZj3tzB/00005-367130338.png'); }
.cg-outfit-casual-2 { background-image: url('https://i.ibb.co/hJ7W4Zfz/00006-367130339.png'); }
.cg-outfit-casual-3 { background-image: url('https://i.ibb.co/V09kqf2G/00007-367130340.png'); }
.cg-outfit-casual-4 { background-image: url('https://i.ibb.co/0jkMKZF7/00008-367130341.png'); }
.cg-outfit-casual-5 { background-image: url('https://i.ibb.co/x8zkXr2w/00009-367130342.png'); }

/* ── 服饰CG：裙装约会 ── */
.cg-outfit-dress-1 { background-image: url('https://i.ibb.co/B26zRJ1z/00010-1151085012.png'); }
.cg-outfit-dress-2 { background-image: url('https://i.ibb.co/zTwrqByb/00011-1151085013.png'); }
.cg-outfit-dress-3 { background-image: url('https://i.ibb.co/VYYFJf1j/00012-1151085014.png'); }
.cg-outfit-dress-4 { background-image: url('https://i.ibb.co/bgqjLgDr/00013-1151085015.png'); }
.cg-outfit-dress-5 { background-image: url('https://i.ibb.co/pvcw7K9f/00014-1151085016.png'); }

/* ── 服饰CG：睡衣居家 ── */
.cg-outfit-pajama-1 { background-image: url('https://i.ibb.co/nNCJ8shq/00015-3438959791.png'); }
.cg-outfit-pajama-2 { background-image: url('https://i.ibb.co/3y4RHTHy/00016-3438959792.png'); }
.cg-outfit-pajama-3 { background-image: url('https://i.ibb.co/1Gw9fTtH/00017-3438959793.png'); }
.cg-outfit-pajama-4 { background-image: url('https://i.ibb.co/bg13qzr8/00018-3438959794.png'); }
.cg-outfit-pajama-5 { background-image: url('https://i.ibb.co/8n5Lj5v5/00019-3438959795.png'); }

/* ── 服饰CG：淋雨湿身 ── */
.cg-outfit-wet-1 { background-image: url('https://i.ibb.co/0jsBtC90/00020-3566156468.png'); }
.cg-outfit-wet-2 { background-image: url('https://i.ibb.co/JwQTVLLs/00021-3566156469.png'); }
.cg-outfit-wet-3 { background-image: url('https://i.ibb.co/qMpk0Zsm/00022-3566156470.png'); }
.cg-outfit-wet-4 { background-image: url('https://i.ibb.co/8gCptWKy/00023-3566156471.png'); }
.cg-outfit-wet-5 { background-image: url('https://i.ibb.co/MksQ0Dkc/00024-3566156472.png'); }

/* ── 服饰CG：泳装 ── */
.cg-outfit-swim-1 { background-image: url('https://i.ibb.co/k21ZYXS8/00025-4055255008.png'); }
.cg-outfit-swim-2 { background-image: url('https://i.ibb.co/zTCqnbSL/00026-4055255009.png'); }
.cg-outfit-swim-3 { background-image: url('https://i.ibb.co/rGzGMNJ6/00027-4055255010.png'); }
.cg-outfit-swim-4 { background-image: url('https://i.ibb.co/7JW8xXtB/00028-4055255011.png'); }
.cg-outfit-swim-5 { background-image: url('https://i.ibb.co/d43Bmyw3/00029-4055255012.png'); }

/* ── 服饰CG：婚纱 ── */
.cg-outfit-wedding-1 { background-image: url('https://i.ibb.co/ZZXW42R/00030-3207077593.png'); }
.cg-outfit-wedding-2 { background-image: url('https://i.ibb.co/d4ZcgRpc/00031-3207077594.png'); }
.cg-outfit-wedding-3 { background-image: url('https://i.ibb.co/5X6SpV7f/00032-3207077595.png'); }
.cg-outfit-wedding-4 { background-image: url('https://i.ibb.co/M557BhhH/00033-3207077596.png'); }
.cg-outfit-wedding-5 { background-image: url('https://i.ibb.co/GvYCL8jP/00034-3207077597.png'); }

/* ── 服饰CG：病服 ── */
.cg-outfit-hospital-1 { background-image: url('https://i.ibb.co/9m0N1dH8/00035-4274323190.png'); }
.cg-outfit-hospital-2 { background-image: url('https://i.ibb.co/XxbQd0ys/00036-4274323191.png'); }
.cg-outfit-hospital-3 { background-image: url('https://i.ibb.co/Zp1McqHc/00037-4274323192.png'); }
.cg-outfit-hospital-4 { background-image: url('https://i.ibb.co/60MZ4N2p/00038-4274323193.png'); }
.cg-outfit-hospital-5 { background-image: url('https://i.ibb.co/Kp5JzxgK/00039-4274323194.png'); }

/* ── 服饰CG：半脱/脱衣 ── */
.cg-outfit-undress-1 { background-image: url('https://i.ibb.co/CsDW1zQz/00040-1685497482.png'); }
.cg-outfit-undress-2 { background-image: url('https://i.ibb.co/Kch1WBBW/00041-1685497483.png'); }
.cg-outfit-undress-3 { background-image: url('https://i.ibb.co/hJrV155L/00042-1685497484.png'); }
.cg-outfit-undress-4 { background-image: url('https://i.ibb.co/RTJKLZw6/00043-1685497485.png'); }
.cg-outfit-undress-5 { background-image: url('https://i.ibb.co/jZRS9xp1/00044-1685497486.png'); }

/* ── 亲密CG：温柔正面 ── */
.cg-intimate-gentle-b1 { background-image: url('https://i.ibb.co/zhtMzhZD/00045-3190408037.png'); }
.cg-intimate-gentle-b2 { background-image: url('https://i.ibb.co/VcxspMqm/00046-3190408038.png'); }
.cg-intimate-gentle-b3 { background-image: url('https://i.ibb.co/HpXfRCNf/00047-3190408039.png'); }
.cg-intimate-gentle-b4 { background-image: url('https://i.ibb.co/HfqmLG55/00048-3190408040.png'); }
.cg-intimate-gentle-b5 { background-image: url('https://i.ibb.co/dwwDZZCc/00049-3190408041.png'); }
.cg-intimate-gentle-c1 { background-image: url('https://i.ibb.co/zhtMzhZD/00045-3190408037.png'); }
.cg-intimate-gentle-c2 { background-image: url('https://i.ibb.co/VcxspMqm/00046-3190408038.png'); }
.cg-intimate-gentle-c3 { background-image: url('https://i.ibb.co/HpXfRCNf/00047-3190408039.png'); }
.cg-intimate-gentle-c4 { background-image: url('https://i.ibb.co/HfqmLG55/00048-3190408040.png'); }
.cg-intimate-gentle-c5 { background-image: url('https://i.ibb.co/dwwDZZCc/00049-3190408041.png'); }

/* ── 亲密CG：骑乘 ── */
.cg-intimate-ride-b1 { background-image: url('https://i.ibb.co/xtF6FGv8/00050-1695527367.png'); }
.cg-intimate-ride-b2 { background-image: url('https://i.ibb.co/C3xtw9XZ/00051-1695527368.png'); }
.cg-intimate-ride-b3 { background-image: url('https://i.ibb.co/FLBWWnF5/00052-1695527369.png'); }
.cg-intimate-ride-b4 { background-image: url('https://i.ibb.co/fVtznwzC/00053-1695527370.png'); }
.cg-intimate-ride-b5 { background-image: url('https://i.ibb.co/xt5J57G2/00054-1695527371.png'); }
.cg-intimate-ride-c1 { background-image: url('https://i.ibb.co/xtF6FGv8/00050-1695527367.png'); }
.cg-intimate-ride-c2 { background-image: url('https://i.ibb.co/C3xtw9XZ/00051-1695527368.png'); }
.cg-intimate-ride-c3 { background-image: url('https://i.ibb.co/FLBWWnF5/00052-1695527369.png'); }
.cg-intimate-ride-c4 { background-image: url('https://i.ibb.co/fVtznwzC/00053-1695527370.png'); }
.cg-intimate-ride-c5 { background-image: url('https://i.ibb.co/xt5J57G2/00054-1695527371.png'); }

/* ── 亲密CG：后入 ── */
.cg-intimate-back-b1 { background-image: url('https://i.ibb.co/LdPP682y/00055-3376138480.png'); }
.cg-intimate-back-b2 { background-image: url('https://i.ibb.co/Z6jcZnSd/00056-3376138481.png'); }
.cg-intimate-back-b3 { background-image: url('https://i.ibb.co/F4cSpp07/00057-3376138482.png'); }
.cg-intimate-back-b4 { background-image: url('https://i.ibb.co/xkpnr6N/00058-3376138483.png'); }
.cg-intimate-back-b5 { background-image: url('https://i.ibb.co/R4PTP36H/00059-3376138484.png'); }
.cg-intimate-back-c1 { background-image: url('https://i.ibb.co/LdPP682y/00055-3376138480.png'); }
.cg-intimate-back-c2 { background-image: url('https://i.ibb.co/Z6jcZnSd/00056-3376138481.png'); }
.cg-intimate-back-c3 { background-image: url('https://i.ibb.co/F4cSpp07/00057-3376138482.png'); }
.cg-intimate-back-c4 { background-image: url('https://i.ibb.co/xkpnr6N/00058-3376138483.png'); }
.cg-intimate-back-c5 { background-image: url('https://i.ibb.co/R4PTP36H/00059-3376138484.png'); }

/* ── 亲密CG：侧躺 ── */
.cg-intimate-side-b1 { background-image: url('https://i.ibb.co/PvhdSqXq/00060-1351459418.png'); }
.cg-intimate-side-b2 { background-image: url('https://i.ibb.co/p5fRrHJ/00061-1351459419.png'); }
.cg-intimate-side-b3 { background-image: url('https://i.ibb.co/YBzBmcTf/00062-1351459420.png'); }
.cg-intimate-side-b4 { background-image: url('https://i.ibb.co/RGsRFsWR/00063-1351459421.png'); }
.cg-intimate-side-b5 { background-image: url('https://i.ibb.co/5XK8mRvY/00064-1351459422.png'); }
.cg-intimate-side-c1 { background-image: url('https://i.ibb.co/PvhdSqXq/00060-1351459418.png'); }
.cg-intimate-side-c2 { background-image: url('https://i.ibb.co/p5fRrHJ/00061-1351459419.png'); }
.cg-intimate-side-c3 { background-image: url('https://i.ibb.co/YBzBmcTf/00062-1351459420.png'); }
.cg-intimate-side-c4 { background-image: url('https://i.ibb.co/RGsRFsWR/00063-1351459421.png'); }
.cg-intimate-side-c5 { background-image: url('https://i.ibb.co/5XK8mRvY/00064-1351459422.png'); }

/* ── 亲密CG：悬空环抱 ── */
.cg-intimate-hold-b1 { background-image: url('https://i.ibb.co/yFrcZhNm/00065-2547771614.png'); }
.cg-intimate-hold-b2 { background-image: url('https://i.ibb.co/SWCntZ9/00066-2547771615.png'); }
.cg-intimate-hold-b3 { background-image: url('https://i.ibb.co/xqzgNVp8/00067-2547771616.png'); }
.cg-intimate-hold-b4 { background-image: url('https://i.ibb.co/vCm7Cfyg/00068-2547771617.png'); }
.cg-intimate-hold-b5 { background-image: url('https://i.ibb.co/zwbxYzv/00069-2547771618.png'); }
.cg-intimate-hold-c1 { background-image: url('https://i.ibb.co/yFrcZhNm/00065-2547771614.png'); }
.cg-intimate-hold-c2 { background-image: url('https://i.ibb.co/SWCntZ9/00066-2547771615.png'); }
.cg-intimate-hold-c3 { background-image: url('https://i.ibb.co/xqzgNVp8/00067-2547771616.png'); }
.cg-intimate-hold-c4 { background-image: url('https://i.ibb.co/vCm7Cfyg/00068-2547771617.png'); }
.cg-intimate-hold-c5 { background-image: url('https://i.ibb.co/zwbxYzv/00069-2547771618.png'); }

/* ── 亲密CG：对面坐莲 ── */
.cg-intimate-lotus-b1 { background-image: url('https://i.ibb.co/q43JVCt/00070-752033117.png'); }
.cg-intimate-lotus-b2 { background-image: url('https://i.ibb.co/zVms74qZ/00071-752033118.png'); }
.cg-intimate-lotus-b3 { background-image: url('https://i.ibb.co/0pXfpC8W/00072-752033119.png'); }
.cg-intimate-lotus-b4 { background-image: url('https://i.ibb.co/7JWTP0mt/00073-752033120.png'); }
.cg-intimate-lotus-b5 { background-image: url('https://i.ibb.co/bMJ5CXZq/00074-752033121.png'); }
.cg-intimate-lotus-c1 { background-image: url('https://i.ibb.co/q43JVCt/00070-752033117.png'); }
.cg-intimate-lotus-c2 { background-image: url('https://i.ibb.co/zVms74qZ/00071-752033118.png'); }
.cg-intimate-lotus-c3 { background-image: url('https://i.ibb.co/0pXfpC8W/00072-752033119.png'); }
.cg-intimate-lotus-c4 { background-image: url('https://i.ibb.co/7JWTP0mt/00073-752033120.png'); }
.cg-intimate-lotus-c5 { background-image: url('https://i.ibb.co/bMJ5CXZq/00074-752033121.png'); }

/* ── 亲密CG：站立位 ── */
.cg-intimate-stand-b1 { background-image: url('https://i.ibb.co/gnGBq5G/00075-2282478111.png'); }
.cg-intimate-stand-b2 { background-image: url('https://i.ibb.co/nMKBYLx6/00076-2282478112.png'); }
.cg-intimate-stand-b3 { background-image: url('https://i.ibb.co/jP7px0yV/00077-2282478113.png'); }
.cg-intimate-stand-b4 { background-image: url('https://i.ibb.co/Pbg5SX1/00078-2282478114.png'); }
.cg-intimate-stand-b5 { background-image: url('https://i.ibb.co/Ng2hS5XN/00079-2282478115.png'); }
.cg-intimate-stand-c1 { background-image: url('https://i.ibb.co/gnGBq5G/00075-2282478111.png'); }
.cg-intimate-stand-c2 { background-image: url('https://i.ibb.co/nMKBYLx6/00076-2282478112.png'); }
.cg-intimate-stand-c3 { background-image: url('https://i.ibb.co/jP7px0yV/00077-2282478113.png'); }
.cg-intimate-stand-c4 { background-image: url('https://i.ibb.co/Pbg5SX1/00078-2282478114.png'); }
.cg-intimate-stand-c5 { background-image: url('https://i.ibb.co/Ng2hS5XN/00079-2282478115.png'); }

/* ── 亲密CG：后侧汤匙 ── */
.cg-intimate-spoon-b1 { background-image: url('https://i.ibb.co/vCfRMrxS/00080-3987072937.png'); }
.cg-intimate-spoon-b2 { background-image: url('https://i.ibb.co/5WmXhHXw/00081-3987072938.png'); }
.cg-intimate-spoon-b3 { background-image: url('https://i.ibb.co/KzSnYTdL/00082-3987072939.png'); }
.cg-intimate-spoon-b4 { background-image: url('https://i.ibb.co/QFcPZ9Yc/00083-3987072940.png'); }
.cg-intimate-spoon-b5 { background-image: url('https://i.ibb.co/k2FkzWsr/00084-3987072941.png'); }
.cg-intimate-spoon-c1 { background-image: url('https://i.ibb.co/vCfRMrxS/00080-3987072937.png'); }
.cg-intimate-spoon-c2 { background-image: url('https://i.ibb.co/5WmXhHXw/00081-3987072938.png'); }
.cg-intimate-spoon-c3 { background-image: url('https://i.ibb.co/KzSnYTdL/00082-3987072939.png'); }
.cg-intimate-spoon-c4 { background-image: url('https://i.ibb.co/QFcPZ9Yc/00083-3987072940.png'); }
.cg-intimate-spoon-c5 { background-image: url('https://i.ibb.co/k2FkzWsr/00084-3987072941.png'); }

/* ── 亲密CG：口交 ── */
.cg-intimate-oral-b1 { background-image: url('https://i.ibb.co/zHHZZgKw/00085-2047796577.png'); }
.cg-intimate-oral-b2 { background-image: url('https://i.ibb.co/q3XkXKz5/00086-2047796578.png'); }
.cg-intimate-oral-b3 { background-image: url('https://i.ibb.co/8QF7pHw/00087-2047796579.png'); }
.cg-intimate-oral-b4 { background-image: url('https://i.ibb.co/BpBZm6S/00088-2047796580.png'); }
.cg-intimate-oral-b5 { background-image: url('https://i.ibb.co/HLGXvpwS/00089-2047796581.png'); }
.cg-intimate-oral-c1 { background-image: url('https://i.ibb.co/zHHZZgKw/00085-2047796577.png'); }
.cg-intimate-oral-c2 { background-image: url('https://i.ibb.co/q3XkXKz5/00086-2047796578.png'); }
.cg-intimate-oral-c3 { background-image: url('https://i.ibb.co/8QF7pHw/00087-2047796579.png'); }
.cg-intimate-oral-c4 { background-image: url('https://i.ibb.co/BpBZm6S/00088-2047796580.png'); }
.cg-intimate-oral-c5 { background-image: url('https://i.ibb.co/HLGXvpwS/00089-2047796581.png'); }

/* ── 亲密CG：前戏爱抚 ── */
.cg-intimate-finger-b1 { background-image: url('https://i.ibb.co/b5VfMhSc/00090-2097377062.png'); }
.cg-intimate-finger-b2 { background-image: url('https://i.ibb.co/Q3RXHKKH/00091-2097377063.png'); }
.cg-intimate-finger-b3 { background-image: url('https://i.ibb.co/MK3xxgm/00092-2097377064.png'); }
.cg-intimate-finger-b4 { background-image: url('https://i.ibb.co/4gtMSVwt/00093-2097377065.png'); }
.cg-intimate-finger-b5 { background-image: url('https://i.ibb.co/fdfJ3D5P/00094-2097377066.png'); }
.cg-intimate-finger-c1 { background-image: url('https://i.ibb.co/b5VfMhSc/00090-2097377062.png'); }
.cg-intimate-finger-c2 { background-image: url('https://i.ibb.co/Q3RXHKKH/00091-2097377063.png'); }
.cg-intimate-finger-c3 { background-image: url('https://i.ibb.co/MK3xxgm/00092-2097377064.png'); }
.cg-intimate-finger-c4 { background-image: url('https://i.ibb.co/4gtMSVwt/00093-2097377065.png'); }
.cg-intimate-finger-c5 { background-image: url('https://i.ibb.co/fdfJ3D5P/00094-2097377066.png'); }

/* ── 亲密CG：共浴 ── */
.cg-intimate-bath-b1 { background-image: url('https://i.ibb.co/dsxLMTvV/00095-3157340484.png'); }
.cg-intimate-bath-b2 { background-image: url('https://i.ibb.co/QvpzZX3d/00096-3157340485.png'); }
.cg-intimate-bath-b3 { background-image: url('https://i.ibb.co/HfzxQPzD/00097-3157340486.png'); }
.cg-intimate-bath-b4 { background-image: url('https://i.ibb.co/fzWs5n7K/00098-3157340487.png'); }
.cg-intimate-bath-b5 { background-image: url('https://i.ibb.co/0pZKMcb3/00099-3157340488.png'); }
.cg-intimate-bath-c1 { background-image: url('https://i.ibb.co/dsxLMTvV/00095-3157340484.png'); }
.cg-intimate-bath-c2 { background-image: url('https://i.ibb.co/QvpzZX3d/00096-3157340485.png'); }
.cg-intimate-bath-c3 { background-image: url('https://i.ibb.co/HfzxQPzD/00097-3157340486.png'); }
.cg-intimate-bath-c4 { background-image: url('https://i.ibb.co/fzWs5n7K/00098-3157340487.png'); }
.cg-intimate-bath-c5 { background-image: url('https://i.ibb.co/0pZKMcb3/00099-3157340488.png'); }

/* ── 亲密CG：靠墙/桌面 ── */
.cg-intimate-wall-b1 { background-image: url('https://i.ibb.co/ZvjCt89/00100-1167482250.png'); }
.cg-intimate-wall-b2 { background-image: url('https://i.ibb.co/4nd4vxVv/00101-1167482251.png'); }
.cg-intimate-wall-b3 { background-image: url('https://i.ibb.co/WW4hHTPS/00102-1167482252.png'); }
.cg-intimate-wall-b4 { background-image: url('https://i.ibb.co/LdHf7nMQ/00103-1167482253.png'); }
.cg-intimate-wall-b5 { background-image: url('https://i.ibb.co/93vWp8x3/00104-1167482254.png'); }
.cg-intimate-wall-c1 { background-image: url('https://i.ibb.co/ZvjCt89/00100-1167482250.png'); }
.cg-intimate-wall-c2 { background-image: url('https://i.ibb.co/4nd4vxVv/00101-1167482251.png'); }
.cg-intimate-wall-c3 { background-image: url('https://i.ibb.co/WW4hHTPS/00102-1167482252.png'); }
.cg-intimate-wall-c4 { background-image: url('https://i.ibb.co/LdHf7nMQ/00103-1167482253.png'); }
.cg-intimate-wall-c5 { background-image: url('https://i.ibb.co/93vWp8x3/00104-1167482254.png'); }

/* ── 亲密CG：表情特写 ── */
.cg-intimate-face-b1 { background-image: url('https://i.ibb.co/V04Nyt4n/00000-3941442623.png'); }
.cg-intimate-face-b2 { background-image: url('https://i.ibb.co/spYch1kN/00001-3941442624.png'); }
.cg-intimate-face-b3 { background-image: url('https://i.ibb.co/YTTm8CVd/00002-3941442625.png'); }
.cg-intimate-face-b4 { background-image: url('https://i.ibb.co/MDv9rxgc/00003-3941442626.png'); }
.cg-intimate-face-b5 { background-image: url('https://i.ibb.co/SX80H6vn/00004-3941442627.png'); }
.cg-intimate-face-c1 { background-image: url('https://i.ibb.co/V04Nyt4n/00000-3941442623.png'); }
.cg-intimate-face-c2 { background-image: url('https://i.ibb.co/spYch1kN/00001-3941442624.png'); }
.cg-intimate-face-c3 { background-image: url('https://i.ibb.co/YTTm8CVd/00002-3941442625.png'); }
.cg-intimate-face-c4 { background-image: url('https://i.ibb.co/MDv9rxgc/00003-3941442626.png'); }
.cg-intimate-face-c5 { background-image: url('https://i.ibb.co/SX80H6vn/00004-3941442627.png'); }

/* ====== CG移动端适配 ====== */
@media screen and (max-width: 768px) {
  [class^="cg-"] {
    max-width: 100%;
    margin: 14px auto;
    border-radius: 8px;
  }
  .story-container [class^="cg-outfit"] {
    max-width: 92%;
  }
  .story-container [class^="cg-intimate"] {
    max-width: 88%;
  }
}

/* ====== 暗色模式回退 ====== */
@media (prefers-color-scheme: dark) {
  .story-container {
    color: #e8dfe0;
    background: transparent;
  }
  .story-container text {
    color: #e8dfe0;
  }
  .story-container .wy {
    color: #f0a0b8;
  }
  .story-container .mc {
    color: #6baaf7;
  }
  .story-container flower {
    background: linear-gradient(135deg, rgba(248, 180, 200, 0.1), rgba(255, 218, 233, 0.06));
    border-color: rgba(248, 180, 200, 0.2);
  }
  .story-container flower p:first-child {
    color: #f0a0b8;
  }
  .story-container flower p:nth-child(2) {
    color: rgba(220, 200, 210, 0.7);
  }
  .story-container flower p:last-child {
    color: rgba(248, 180, 200, 0.8);
  }
  .status-section details {
    background: rgba(30, 22, 35, 0.45);
    border-color: rgba(248, 180, 200, 0.15);
  }
  .status-section details[open] {
    border-color: rgba(248, 180, 200, 0.35);
  }
  .status-section details summary {
    color: #dbb8c8;
  }
  .status-section details summary:hover {
    color: #f0a0b8;
    background: rgba(248, 180, 200, 0.05);
  }
  .status-section details > p,
  .status-section details > div {
    color: rgba(220, 210, 215, 0.85);
  }
  .cherry-body summary {
    color: #c89db0 !important;
  }
  .cherry-body summary::before {
    background: rgba(200, 157, 176, 0.6);
  }
  .think-chain {
    background: linear-gradient(135deg, rgba(45, 20, 60, 0.5), rgba(25, 15, 40, 0.6));
    border-color: rgba(180, 140, 200, 0.25);
  }
  .think-chain summary {
    color: rgba(200, 170, 220, 0.7);
  }
  .think-chain summary::before {
    background: rgba(200, 170, 220, 0.5);
  }
  .memory-corridor {
    background: linear-gradient(135deg, rgba(35, 25, 50, 0.5), rgba(25, 18, 40, 0.6));
    border-color: rgba(200, 180, 220, 0.2);
  }
  .memory-corridor summary {
    color: rgba(200, 180, 220, 0.8);
  }
  .memory-corridor summary:hover {
    color: rgba(220, 200, 240, 0.95);
  }
  .mem-title {
    color: rgba(200, 180, 220, 0.65);
    border-bottom-color: rgba(200, 180, 220, 0.1);
  }
  .mem-table {
    color: rgba(215, 205, 220, 0.8);
  }
  .mem-table th {
    background: rgba(180, 140, 200, 0.1);
    color: rgba(200, 180, 220, 0.7);
    border-bottom-color: rgba(200, 180, 220, 0.15);
  }
  .mem-table td {
    border-bottom-color: rgba(200, 180, 220, 0.07);
  }
  .mem-table tr:hover td {
    background: rgba(200, 180, 220, 0.04);
  }
  .recommend-actions {
    background: linear-gradient(135deg, rgba(180, 220, 180, 0.06), rgba(200, 230, 200, 0.03));
    border-color: rgba(180, 220, 180, 0.15);
  }
  .recommend-actions p:first-child {
    color: rgba(180, 210, 180, 0.8);
  }
  .recommend-actions p {
    color: rgba(210, 225, 210, 0.75);
  }
  [class^="cg-"] {
    background-color: rgba(40, 25, 50, 0.4);
  }
  [class^="cg-"]::after {
    border-color: rgba(248, 180, 200, 0.15);
  }
}