/* === 隐藏区域 === */
nana {
    color: #ff8ab8;
}

hd,cot,excot{
  display: none;
}

/* === 通用毛玻璃变量(通过样式复用) === */

/* === 顶部状态栏 === */
stp {
  display: block;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.6) 0%, rgba(118, 75, 162, 0.6) 100%);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  padding: 14px 18px;
  border-radius: 16px;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 
    0 8px 32px rgba(102, 126, 234, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  position: relative;
  overflow: hidden;
}

stp::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 50%);
  animation: dreamFloat 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes dreamFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(20px, -20px) rotate(180deg); }
}

sti {
  display: block;
  color: #fff;
  font-size: 14px;
  line-height: 1.9;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.5), 0 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
}

/* === 正文卡片 - 梦幻毛玻璃 === */
tx {
  display: block;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.65) 0%, 
    rgba(255, 240, 250, 0.55) 50%, 
    rgba(230, 240, 255, 0.65) 100%);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  padding: 24px 22px;
  border-radius: 18px;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 
    0 8px 32px rgba(167, 139, 250, 0.2),
    0 2px 8px rgba(244, 114, 182, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  position: relative;
  overflow: hidden;
}

tx::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(244, 114, 182, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  animation: dreamGlow 6s ease-in-out infinite;
  pointer-events: none;
}

tx::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  animation: dreamGlow 7s ease-in-out infinite reverse;
  pointer-events: none;
}

@keyframes dreamGlow {
  0%, 100% { transform: scale(1) translate(0, 0); opacity: 0.6; }
  50% { transform: scale(1.2) translate(15px, 15px); opacity: 1; }
}

tx p {
  margin-bottom: 14px;
  text-indent: 2em;
  line-height: 1.95;
  font-size: 15px;
  color: #3d2c5c;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
  position: relative;
  z-index: 1;
  letter-spacing: 0.3px;
}

tx p:first-child::first-letter {
  font-size: 2.4em;
  font-weight: bold;
  float: left;
  line-height: 1;
  margin: 4px 8px 0 0;
  background: linear-gradient(135deg, #f472b6 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}

tx p:last-child {
  margin-bottom: 0;
}

/* === 阿卡夏纪录 === */
details.akasha {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.55) 0%, rgba(168, 85, 247, 0.55) 100%);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 16px;
  padding: 6px;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 
    0 8px 32px rgba(102, 126, 234, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

details.akasha summary {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: bold;
  text-align: center;
  font-size: 16px;
  letter-spacing: 2px;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
  transition: all 0.4s ease;
  user-select: none;
}

details.akasha summary:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

details.akasha[open] summary {
  border-radius: 12px 12px 0 0;
  margin-bottom: 8px;
}

details.akasha table {
  width: 100%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 12px;
  margin: 8px 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

details.akasha th {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(168, 85, 247, 0.9) 100%);
  color: #fff;
  padding: 10px 8px;
  font-size: 13px;
  text-align: center;
  font-weight: bold;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

details.akasha td {
  padding: 9px 8px;
  font-size: 13px;
  color: #3d2c5c;
  border-bottom: 1px solid rgba(167, 139, 250, 0.15);
  text-align: center;
}

details.akasha tr:last-child td {
  border-bottom: none;
}

/* === {User}状态栏 === */
details.usr-fold {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.55) 0%, rgba(139, 92, 246, 0.55) 100%);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 16px;
  padding: 6px;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 
    0 8px 32px rgba(99, 102, 241, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

details.usr-fold summary {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: bold;
  font-size: 15px;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  transition: all 0.4s ease;
  user-select: none;
}

details.usr-fold summary:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

details.usr-fold[open] summary {
  border-radius: 12px 12px 0 0;
  margin-bottom: 8px;
}

usr {
  display: block;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

uh {
  display: block;
  font-size: 16px;
  font-weight: bold;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid;
  border-image: linear-gradient(90deg, rgba(99, 102, 241, 0.5), rgba(139, 92, 246, 0.5), transparent) 1;
}

ub {
  display: block;
}

g3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 8px;
}

g1 {
  display: block;
  margin-top: 8px;
}

gi {
  display: block;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: #3d2c5c;
  line-height: 1.7;
  border: 1px solid rgba(167, 139, 250, 0.15);
  transition: all 0.3s ease;
}

gi:hover {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
  transform: translateX(2px);
}

/* === 角色状态栏共用 === */
details.char-fold {
  border-radius: 16px;
  padding: 6px;
  margin-bottom: 16px;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

details.char-fold::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -30%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.5;
  pointer-events: none;
  animation: dreamGlow 8s ease-in-out infinite;
}

/* 妈妈(月)配色:天蓝+金色 */
details.char-fold.mom {
  background: linear-gradient(135deg, 
    rgba(86, 204, 242, 0.55) 0%, 
    rgba(47, 128, 237, 0.55) 50%, 
    rgba(251, 191, 36, 0.45) 100%);
  box-shadow: 
    0 8px 32px rgba(47, 128, 237, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

details.char-fold.mom::before {
  background: radial-gradient(circle, rgba(251, 191, 36, 0.6) 0%, transparent 70%);
}

details.char-fold.mom summary {
  background: rgba(255, 255, 255, 0.2);
  text-shadow: 0 0 12px rgba(251, 191, 36, 0.6), 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* 妹妹(辉夜)配色:粉红+紫色 */
details.char-fold.sis {
  background: linear-gradient(135deg, 
    rgba(244, 114, 182, 0.55) 0%, 
    rgba(236, 72, 153, 0.55) 50%, 
    rgba(168, 85, 247, 0.55) 100%);
  box-shadow: 
    0 8px 32px rgba(244, 114, 182, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

details.char-fold.sis::before {
  background: radial-gradient(circle, rgba(168, 85, 247, 0.6) 0%, transparent 70%);
}

details.char-fold.sis summary {
  background: rgba(255, 255, 255, 0.2);
  text-shadow: 0 0 12px rgba(244, 114, 182, 0.6), 0 2px 4px rgba(0, 0, 0, 0.2);
}

details.char-fold summary {
  color: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: bold;
  font-size: 15px;
  letter-spacing: 1px;
  transition: all 0.4s ease;
  user-select: none;
  position: relative;
  z-index: 1;
}

details.char-fold summary:hover {
  background: rgba(255, 255, 255, 0.32);
  transform: translateY(-2px);
}

details.char-fold[open] summary {
  border-radius: 12px 12px 0 0;
  margin-bottom: 8px;
}

char {
  display: block;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  position: relative;
  z-index: 1;
}

ch {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(0, 0, 0, 0.06);
  flex-wrap: wrap;
}

char.mom ch {
  background: linear-gradient(135deg, #2f80ed 0%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

char.sis ch {
  background: linear-gradient(135deg, #f472b6 0%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

tg {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: normal;
  -webkit-text-fill-color: #fff;
  color: #fff;
}

char.mom tg {
  background: linear-gradient(135deg, #56ccf2 0%, #2f80ed 100%);
  box-shadow: 0 2px 8px rgba(47, 128, 237, 0.3);
}

char.sis tg {
  background: linear-gradient(135deg, #f472b6 0%, #a855f7 100%);
  box-shadow: 0 2px 8px rgba(244, 114, 182, 0.3);
}

cb {
  display: block;
  margin-bottom: 12px;
}

/* === 好感度进度条 === */
cpb {
  display: block;
  margin: 14px 0;
  padding: 12px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

cpl {
  display: block;
  font-size: 13px;
  font-weight: bold;
  margin-bottom: 6px;
  color: #3d2c5c;
}

cpv {
  display: block;
  font-size: 12px;
  color: #6b5b8c;
  margin-bottom: 6px;
}

cpt {
  display: block;
  width: 100%;
  height: 10px;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

cpf {
  display: block;
  height: 100%;
  border-radius: 6px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

char.sis cpf {
  background: linear-gradient(90deg, #f472b6 0%, #a855f7 100%);
  box-shadow: 0 0 12px rgba(244, 114, 182, 0.5);
}

char.mom cpf {
  background: linear-gradient(90deg, #56ccf2 0%, #fbbf24 100%);
  box-shadow: 0 0 12px rgba(86, 204, 242, 0.5);
}

cpf::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* === 身体细节 === */
cbd {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 12px;
}

cbd gi {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 240, 250, 0.6) 100%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
}

char.mom cbd gi:hover {
  background: linear-gradient(135deg, rgba(86, 204, 242, 0.15) 0%, rgba(251, 191, 36, 0.15) 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(47, 128, 237, 0.2);
}

char.sis cbd gi:hover {
  background: linear-gradient(135deg, rgba(244, 114, 182, 0.15) 0%, rgba(168, 85, 247, 0.15) 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(244, 114, 182, 0.2);
}

/* === 行动选项 === */
opts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 18px;
}

om, os, on {
  display: block;
  padding: 14px 16px;
  border-radius: 14px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  color: #fff;
}

om {
  background: linear-gradient(135deg, rgba(244, 114, 182, 0.85) 0%, rgba(236, 72, 153, 0.85) 100%);
  box-shadow: 0 4px 16px rgba(244, 114, 182, 0.35);
}

om:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 24px rgba(244, 114, 182, 0.5), 0 0 20px rgba(244, 114, 182, 0.3);
}

os {
  background: linear-gradient(135deg, rgba(86, 204, 242, 0.85) 0%, rgba(47, 128, 237, 0.85) 100%);
  box-shadow: 0 4px 16px rgba(47, 128, 237, 0.35);
}

os:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 24px rgba(47, 128, 237, 0.5), 0 0 20px rgba(86, 204, 242, 0.3);
}

on {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.85) 0%, rgba(253, 160, 133, 0.85) 100%);
  box-shadow: 0 4px 16px rgba(251, 191, 36, 0.35);
}

on:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 24px rgba(251, 191, 36, 0.5), 0 0 20px rgba(253, 160, 133, 0.3);
}

om::before, os::before, on::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

om:hover::before, os:hover::before, on:hover::before {
  left: 100%;
}

/* === 移动端适配 === */
@media (max-width: 768px) {
  g3 {
    grid-template-columns: 1fr;
  }
  
  cbd {
    grid-template-columns: 1fr;
  }
  
  opts {
    grid-template-columns: 1fr;
  }
  
  sti {
    font-size: 13px;
  }
  
  tx {
    font-size: 14px;
    padding: 18px 16px;
  }
  
  tx p {
    font-size: 14px;
  }
}