/* MLP Theme 3.0 - Floating Side Panel Edition */
.mlp-ui {
  /* --- 核心配色变量 --- */
  --bg-pink: #fff0f5;       /* 浅粉背景 */
  --glass-pink: rgba(255, 240, 245, 0.95); /* 磨砂玻璃背景 */
  --border-pink: #ffb7b2;   /* 深粉边框 */
  --title-blue-1: #e0f7fa;  /* 标题渐变始 */
  --title-blue-2: #4fc3f7;  /* 标题渐变终 */
  --text-dark: #546e7a;     /* 正文深蓝灰 */
  --highlight-orange: #ff9800; /* 活力橙 */
  --shadow-glow: rgba(41, 182, 246, 0.3); /* 蓝色光晕 */
  
  font-family: "Varela Round", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-pink);
  border: 3px solid var(--border-pink);
  border-radius: 20px;
  padding: 15px;
  color: var(--text-dark);
  box-shadow: 0 5px 15px rgba(255, 105, 180, 0.2);
  line-height: 1.7;
  font-size: 14px;
  max-width: 100%;
  position: relative; /* 确保定位基准 */
}

/* --- 基础 Summary 按钮 (未展开状态) --- */
.mlp-ui details {
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.mlp-ui summary {
  background: linear-gradient(90deg, var(--title-blue-1) 0%, var(--title-blue-2) 100%);
  color: #fff;
  padding: 10px 15px;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
  font-size: 1.1em;
  text-shadow: 1px 1px 0 #29b6f6;
  border-radius: 12px;
  border: 2px solid #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: relative;
}

.mlp-ui summary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(41, 182, 246, 0.4);
}
.mlp-ui summary::-webkit-details-marker { display: none; }
.mlp-ui summary::after { content: '✨'; float: right; }

/* ============================================================= */
/* 悬浮窗核心样式 (展开后的 Details) */
/* ============================================================= */

/* 3.1: 悬浮定位与容器样式 */
.mlp-ui details[open] {
    position: fixed !important; 
    top: 50% !important; 
    right: 20px !important; /* 靠右显示 */
    transform: translateY(-50%) !important;
    
    width: calc(100vw - 40px) !important;
    max-width: 450px !important; /* 大屏限制宽度，形成侧边栏 */
    height: 75vh !important;     /* 占据75%屏幕高度 */
    
    z-index: 9999 !important;
    background: var(--glass-pink) !important;
    backdrop-filter: blur(15px) !important; 
    -webkit-backdrop-filter: blur(15px) !important;
    
    border: 3px solid #fff !important;
    outline: 2px solid var(--border-pink) !important; /* 双重边框 */
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.15), 0 0 20px var(--shadow-glow) !important;
    border-radius: 24px !important;
    
    animation: popInPanel 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; /* Q弹动画 */
    overflow-y: auto !important;
}

/* 3.2: 悬浮窗内的滚动条美化 */
.mlp-ui details[open]::-webkit-scrollbar { width: 8px; }
.mlp-ui details[open]::-webkit-scrollbar-track { background: rgba(255,255,255,0.5); border-radius: 4px;}
.mlp-ui details[open]::-webkit-scrollbar-thumb { 
    background: var(--title-blue-2); 
    border-radius: 4px; 
    border: 2px solid transparent; 
    background-clip: content-box; 
}

/* 悬浮窗出现动画 (Pop In) */
@keyframes popInPanel {
  from { opacity: 0; transform: translateY(-50%) scale(0.8) translateX(50px); }
  to { opacity: 1; transform: translateY(-50%) scale(1) translateX(0); }
}

/* 3.3: 悬浮窗背景装饰 (可爱标志风格水印) */
.mlp-ui details[open]::before {
    content: '' !important;
    position: absolute !important;
    bottom: -20px !important; right: -20px !important;
    width: 150px !important; height: 150px !important;
    background: radial-gradient(circle, rgba(255,182,193,0.4) 0%, rgba(255,255,255,0) 70%) !important;
    z-index: -1 !important;
    pointer-events: none !important;
}

/* 3.4: 悬浮窗的"粘性"标题栏 */
.mlp-ui details[open] > summary {
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    width: 100% !important;
    border-radius: 0 !important; /* 展开后直角 */
    border: none !important;
    border-bottom: 2px dashed var(--border-pink) !important;
    background: rgba(255, 255, 255, 0.9) !important;
    color: var(--highlight-orange) !important;
    text-shadow: none !important;
    margin: 0 !important;
    padding: 15px 20px !important;
}

/* 3.5: 内容区域内边距 */
.mlp-ui details[open] > *:not(summary) {
    padding: 15px 20px !important;
}

/* --- 列表与内容排版 (保持原有风格) --- */
.mlp-ui ul { padding-left: 10px; list-style: none; margin: 0; }
.mlp-ui li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 6px;
  border-bottom: 1px dashed rgba(0,0,0,0.05);
}
.mlp-ui li::before {
  content: ''; position: absolute; left: 0; top: 9px;
  width: 8px; height: 8px;
  background-color: var(--title-blue-2);
  border-radius: 50%;
  box-shadow: 0 0 4px var(--title-blue-2);
}
.mlp-ui strong {
  color: var(--highlight-orange);
  background: rgba(255,255,255,0.6);
  padding: 0 4px; border-radius: 4px;
}

/* --- 对话气泡 (Dialogues) --- */
.dia {
  display: inline-block; padding: 4px 12px; margin: 2px 0;
  border-radius: 12px; border: 2px solid; font-weight: bold;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.1);
}
.dia.pink { background: #fff0f5; border-color: #ff69b4; color: #c71585; }
.dia.blue { background: #e0f7fa; border-color: #00bcd4; color: #006064; }
.dia.purple { background: #f3e5f5; border-color: #ab47bc; color: #4a148c; }

/* === 小马利亚 (Equestria) 风格思维链样式 === */
/* 融合了友谊的谐律光辉与独角兽的魔法氛围 */

.cot-container details {
    /* -- 核心配色板 (谐律元素适配) -- */
    --twilight-purple: #673ab7;     /* 暮光·魔法紫 */
    --magic-magenta: #e040fb;       /* 魔法灵光粉 */
    --celestia-gold: #ffd700;       /* 公主·太阳金 */
    
    --pinkie-pie: #f48fb1;          /* 萍琪·派对粉 */
    --rainbow-dash: #4fc3f7;        /* 云宝·天空蓝 */
    --rarity-white: #f3e5f5;        /* 瑞瑞·纯净白 */
    --apple-jack: #ffcc80;          /* 阿杰·诚实橙 */
    --flutter-shy: #fff59d;         /* 柔柔·仁慈黄 */
    
    --equestria-bg: #1a103c;        /* 坎特洛特星夜背景 */
    --library-card: #2a1b5e;        /* 金像树图书馆深色卡片 */

    background-color: rgba(26, 16, 60, 0.9); /* 半透明深紫底色 */
    backdrop-filter: blur(6px);     /* 魔法屏障：磨砂质感 */
    
    /* 边框：暮光的魔法护盾，带一点太阳金的辉光 */
    border: 1px solid rgba(224, 64, 251, 0.3);
    border-left: 4px solid var(--magic-magenta); 
    border-radius: 16px; /* 更加圆润可爱，符合卡通风格 */
    
    font-family: 'Comic Sans MS', 'Segoe UI', 'Microsoft YaHei', sans-serif; /* 字体更圆润活泼 */
    color: #ede7f6;
    line-height: 1.6;
    margin: 18px 0;
    position: relative;
    overflow: hidden;
    
    /* 阴影：混合了魔法紫光和星夜的深邃 */
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.4), 
        0 0 12px rgba(103, 58, 183, 0.3),
        inset 0 0 20px rgba(224, 64, 251, 0.1); /* 内部隐约的魔法流动 */
        
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 悬停时：友谊能量共鸣，发光增强 */
.cot-container details:hover {
    border-color: var(--celestia-gold);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.5), 
        0 0 15px var(--magic-magenta),
        inset 0 0 15px var(--celestia-gold); /* 悬停时透出太阳金 */
}

/* 顶部流光装饰 - 模拟“彩虹音爆”的轨迹 */
.cot-container details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, 
        var(--pinkie-pie), 
        var(--apple-jack), 
        var(--flutter-shy), 
        var(--rainbow-dash), 
        var(--twilight-purple),
        var(--rarity-white)
    );
    opacity: 0.9;
}

/* === 标题栏 (魔法书封皮) === */
.cot-container summary {
    /* 背景：从深紫到洋红的魔法渐变 */
    background: linear-gradient(135deg, rgba(42, 27, 94, 0.95) 0%, rgba(74, 20, 140, 0.95) 100%);
    color: var(--celestia-gold); /* 标题文字使用金色 */
    padding: 16px 24px;
    font-weight: 700;
    font-size: 1.1em;
    cursor: pointer;
    list-style: none;
    user-select: none;
    border-bottom: 1px solid rgba(224, 64, 251, 0.2);
    position: relative;
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
}

/* 标题栏悬停 */
.cot-container summary:hover {
    background: linear-gradient(135deg, rgba(55, 35, 120, 0.95) 0%, rgba(106, 27, 154, 0.95) 100%);
    color: #fff;
    text-shadow: 0 0 8px var(--magic-magenta);
}

/* 展开/折叠标记 - 谐律元素星芒 */
.cot-container summary::before {
    content: '★'; /* 可爱标志的星星 */
    color: var(--magic-magenta); /* 默认状态：魔法粉 */
    margin-right: 12px;
    font-size: 1.4em;
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease;
    line-height: 1;
}

/* 展开状态下的标记 - 变为彩虹色旋转 */
.cot-container details[open] summary::before {
    transform: rotate(180deg) scale(1.2);
    color: var(--rainbow-dash);
    text-shadow: 0 0 10px rgba(79, 195, 247, 0.8);
}

/* 标题高亮装饰 - 底部滑动的魔法条 */
.cot-container summary::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    /* 渐变色条：暮光紫到太阳金 */
    background: linear-gradient(90deg, var(--twilight-purple), var(--celestia-gold));
    box-shadow: 0 0 8px var(--celestia-gold);
    transition: width 0.5s ease;
}

.cot-container details[open] summary::after {
    width: 100%;
}

/* === 内容区域 (图书馆卷轴) === */
.cot-container details > div, 
.cot-container .cot-content {
    padding: 24px 28px;
    /* 极淡的魔法紫背景 */
    background: linear-gradient(to bottom, rgba(103, 58, 183, 0.1), transparent);
}

/* 分割线 - 友谊彩虹 */
.cot-container hr {
    border: 0;
    height: 2px;
    /* 六主角颜色全融合 */
    background: linear-gradient(90deg, 
        transparent, 
        var(--pinkie-pie), 
        var(--flutter-shy), 
        var(--rainbow-dash), 
        var(--twilight-purple),
        transparent
    );
    margin: 25px 0;
    opacity: 0.7;
}

/* 段落样式 */
.cot-container p {
    margin-bottom: 1.2em;
    text-align: justify;
    color: #e1bee7; /* 浅淡的紫罗兰色文字 */
}

/* 强调文字 - 瑞瑞的优雅强调 */
.cot-container strong {
    color: var(--celestia-gold);
    font-weight: bold;
    text-shadow: 0 0 2px rgba(0,0,0,0.5);
}

/* 首字下沉 - 皇家公文风格 */
.cot-container p:first-of-type::first-letter {
    font-family: serif; /* 衬线体，更有书卷气 */
    font-size: 2.4em;
    color: #fff;
    float: left;
    line-height: 0.8;
    margin-right: 10px;
    margin-top: 4px;
    padding: 6px 10px;
    /* 暮光的可爱标志配色背景 */
    background: linear-gradient(135deg, var(--twilight-purple), var(--magic-magenta));
    border: 2px solid var(--celestia-gold);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(103, 58, 183, 0.4);
}

/* 列表样式 */
.cot-container ul, .cot-container ol {
    padding-left: 10px;
    margin: 15px 0;
}

.cot-container li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 24px;
    list-style: none;
}

/* 列表项标记 - 飞马羽翼/爱心 */
.cot-container ul li::before {
    content: '♥'; /* 友谊爱心 */
    color: var(--pinkie-pie);
    position: absolute;
    left: 0;
    font-size: 1.0em;
    top: 2px;
    text-shadow: 0 0 5px rgba(244, 143, 177, 0.6);
}

/* 代码块 - 斯派克的卷轴记录 */
.cot-container pre, .cot-container code {
    font-family: 'Consolas', monospace;
    background-color: rgba(20, 10, 40, 0.7);
    border: 1px solid rgba(255, 215, 0, 0.3); /* 金色微边框 */
    border-radius: 6px;
    padding: 2px 6px;
    color: var(--rainbow-dash); /* 代码高亮用天蓝色 */
    font-size: 0.95em;
}

.cot-container pre {
    padding: 16px;
    overflow-x: auto;
    margin: 20px 0;
    border-left: 3px solid var(--celestia-gold);
    /* 背景纹理：魔法微粒 */
    background: repeating-linear-gradient(
        45deg,
        rgba(26, 16, 60, 0.8),
        rgba(26, 16, 60, 0.8) 10px,
        rgba(40, 25, 80, 0.8) 10px,
        rgba(40, 25, 80, 0.8) 20px
    );
}

/* 链接样式 - 魔法传送门 */
.cot-container a {
    color: var(--magic-magenta);
    text-decoration: none;
    border-bottom: 1px dashed var(--magic-magenta);
    transition: all 0.2s;
}

.cot-container a:hover {
    color: var(--celestia-gold);
    border-bottom-color: var(--celestia-gold);
    text-shadow: 0 0 5px var(--celestia-gold);
}

/* 移除WebKit默认箭头 */
.cot-container summary::-webkit-details-marker {
    display: none;
}

/* 移动设备适配 */
@media (max-width: 768px) {
    .cot-container details {
        margin: 15px 0;
        border-radius: 12px;
    }
    .cot-container summary {
        padding: 14px 18px;
    }
}

/* =================================================================
   Equestria Theme: Friendship is Magic (v2.0)
   小马宝莉主题：友谊是魔法 · 谐律精华 · 小马利亚
   更新内容：新增“友谊魔法火花”加载动画
   ================================================================= */

/* --- 1. 顶部栏净化 --- */
.sticky.w-full.top-0 [class*="bg-[#F1CBCB]"], 
.sticky.w-full.top-0 [class*="bg-[#c9e1e9]"] {
    display: none !important;
}

/* --- 1. 顶部栏 (坎特洛特皇家风格) --- */
/* 顶部栏容器 - 模拟友谊城堡的塔尖与夜空 */
.sticky.w-full.top-0.flex.items-center {
    /* 背景：紫悦的深紫鬃毛色过渡到魔法光辉 */
    background: linear-gradient(90deg, rgba(74, 20, 140, 0.98), rgba(123, 31, 162, 0.95)) !important;
    backdrop-filter: blur(12px) !important;
    border-bottom: 2px solid #ffd700 !important; /* 塞拉斯蒂亚公主的黄金饰品色 */
    box-shadow: 0 0 20px rgba(213, 0, 249, 0.4) !important; /* 魔法溢出效果 */
}

/* 模型名称 - 模拟【星璇白胡子的咒语书】标题 */
#ai-model-selector .truncate.text-\[13px\] {
    color: #fff9c4 !important; /* 皇家奶油色文字 */
    text-shadow: 0 0 8px rgba(255, 235, 59, 0.8); /* 太阳公主的光辉 */
    font-weight: bold !important;
    font-family: "Comic Sans MS", "幼圆", sans-serif !important; /* 更加童话、圆润的字体 */
    letter-spacing: 1px !important;
}

#ai-model-selector .truncate.text-\[13px\]::before {
    content: "【友谊报告: "; /* 模拟写给公主的信 */
    color: #ff80ab !important; /* 碧琪的亮粉色，代表快乐 */
    text-shadow: 0 0 5px rgba(255, 64, 129, 0.6);
}

#ai-model-selector .truncate.text-\[13px\]::after {
    content: "】";
    color: #ff80ab !important;
    opacity: 0.8;
}

/* --- 2. 聊天气泡 (核心需求：友谊魔法书信风格) --- */
.bg-gray-100\/90.relative.inline-block {
    /* 背景：极淡的魔法紫罗兰色，如同附魔的羊皮纸 */
    background: linear-gradient(145deg, #f3e5f5 0%, #e1bee7 60%, #ce93d8 100%) !important;
    /* 边框：紫悦的可爱标志六芒星色 */
    border: 2px solid #ab47bc !important;
    border-radius: 18px 18px 18px 6px !important; /* 柔和的云朵形状 */
    /* 阴影：独角兽施法时的魔法光晕 */
    box-shadow: 
        5px 5px 15px rgba(156, 39, 176, 0.2), 
        inset 2px 2px 5px rgba(255, 255, 255, 0.9),
        inset -2px -2px 5px rgba(74, 20, 140, 0.05) !important;
    color: #4a148c !important; /* 深紫色文字，易读且优雅 */
}

/* 气泡文字 */
.bg-gray-100\/90.relative.inline-block .markdown-body {
    color: #311b92 !important; /* 露娜公主的夜空蓝深色字 */
    font-family: "Microsoft YaHei", "Segoe UI Emoji", sans-serif !important;
}

/* 强调文字 (谐律精华/彩虹能量风格) */
.bg-gray-100\/90.relative.inline-block .markdown-body strong {
    /* 玫红色，象征着强大的友谊魔法能量 */
    color: #d500f9 !important; 
    text-shadow: 0px 0px 3px rgba(234, 128, 252, 0.5) !important;
    font-weight: 800 !important;
}

/* 代码块背景适配 (珍奇的裁缝店风格) */
.bg-gray-100\/90.relative.inline-block pre {
    background-color: #ffffff !important; /* 纯净白 */
    border: 1px dashed #ba68c8 !important; /* 像缝纫线的虚线边框 */
    color: #5e35b1 !important;
}

/* --- 3. 按钮组 (可爱标志/糖果风格) --- */
/* 顶部功能按钮 - 模拟碧琪的派对糖果或珍奇的宝石 */
#ai-mod-button2 button.MuiButton-root,
#header-setting-button {
    background: linear-gradient(135deg, #81d4fa, #b39ddb) !important; /* 云宝蓝到珍奇紫的渐变 */
    color: #ffffff !important; 
    border: 2px solid #ffffff !important;
    border-radius: 20px !important; /* 完全圆润 */
    box-shadow: 0 4px 6px rgba(103, 58, 183, 0.2) !important;
    font-weight: bold !important;
    transition: all 0.3s ease !important;
}

#ai-mod-button2 button.MuiButton-root:hover,
#header-setting-button:hover {
    background: linear-gradient(135deg, #ff4081, #ff80ab) !important; /* 悬停变成碧琪的派对粉 */
    color: #ffffff !important;
    border-color: #ffd700 !important; /* 金色边框高亮 */
    box-shadow: 0 0 15px rgba(255, 64, 129, 0.6) !important;
    transform: scale(1.05); /* 像小马跳跃一样轻微放大 */
}

/* 分页按钮 */
.MuiPaginationItem-root.Mui-selected {
    background-color: #ec407a !important; /* 萍琪派粉色选中态 */
    color: #ffffff !important;
    box-shadow: 0 0 8px rgba(236, 64, 122, 0.8) !important;
    border-radius: 50% !important; /* 圆形 */
}

/* --- 4. 底部输入框 (金橡树图书馆风格) --- */
#ai-chat-input {
    background-color: #fffde7 !important; /* 苹果杰克的奶油黄/旧纸张色 */
    color: #5d4037 !important; /* 树皮褐色文字 */
    border: 2px solid #dce775 !important; /* 嫩绿色边框 */
    border-left: 5px solid #ffb74d !important; /* 橙色书脊 */
    border-radius: 8px !important;
}
#ai-chat-input:focus {
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3) !important;
    border-color: #ba68c8 !important; /* 聚焦时闪烁魔法紫 */
    background-color: #ffffff !important;
}
#ai-chat-input::placeholder {
    color: rgba(141, 110, 99, 0.6) !important;
    font-style: italic;
}

/* --- 6. 评论区 (云中城/天空风格) --- */
div[class*="w-full"][class*="bg-white"][class*="bottom-0"] {
    background: linear-gradient(to top, #e1f5fe, #ffffff) !important; /* 云中城的蓝白渐变 */
    border-top: 2px solid #81d4fa !important;
}

div[class*="w-full"][class*="bg-white"][class*="bottom-0"] div.cursor-pointer.group.flex.items-center.justify-center {
    background: linear-gradient(135deg, #29b6f6, #4fc3f7) !important; /* 云宝的彩虹音爆蓝 */
    box-shadow: 0 2px 5px rgba(3, 169, 244, 0.3) !important;
    border-radius: 50% !important; /* 圆形发送按钮 */
}

/* --- 7. 系统日志文字注入 (穗龙/信件风格) --- */
.system-log-1 .loading-text::before { content: '★ 亲爱的塞拉斯蒂亚公主...' !important; }
.system-log-2 .loading-text::before { content: '★ 斯派克正在通过龙息发送信件...' !important; }

/* --- 8. 加载动画 (友谊魔法火花) --- */
/* 隐藏原版的三点动画 */
.style_dot-flashing__8L91Q.style_text__zGhNq {
    display: none !important;
}

/* 定义魔法旋转动画 */
@keyframes ponyMagicSpin {
    0% { transform: rotate(0deg) scale(0.8); opacity: 0.7; }
    50% { transform: rotate(180deg) scale(1.1); opacity: 1; filter: drop-shadow(0 0 6px #ea80fc); }
    100% { transform: rotate(360deg) scale(0.8); opacity: 0.7; }
}

/* 重塑加载容器 */
.flex.items-center.justify-center.w-6.h-5 {
    position: relative !important;
    width: 32px !important; /* 调整宽度以容纳魔法阵 */
    height: 32px !important;
    overflow: visible !important;
}

/* 注入魔法六芒星图标 (SVG Data URI) */
.flex.items-center.justify-center.w-6.h-5::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    /* 一个象征魔法的六芒星SVG */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23d500f9'%3E%3Cpath d='M12 0L14.5 9.5L24 12L14.5 14.5L12 24L9.5 14.5L0 12L9.5 9.5L12 0Z'/%3E%3C/svg%3E");
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    animation: ponyMagicSpin 2s infinite linear !important; /* 应用旋转动画 */
    z-index: 10 !important;
}

/* 添加一点魔法光尘背景 */
.flex.items-center.justify-center.w-6.h-5::after {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 100% !important;
    height: 100% !important;
    transform: translate(-50%, -50%) !important;
    background: radial-gradient(circle, rgba(234, 128, 252, 0.4) 0%, transparent 70%) !important;
    z-index: 0 !important;
}

/* 选项按钮 - 小马利亚(MLP)风格配色 */
/* 整体色调调整为：柔和的薰衣草紫、魔法粉与纯白，营造友谊与魔法的氛围 */

.ygg-opts { 
    padding: 15px; 
    display: flex; 
    flex-direction: column; 
    gap: 8px; 
    /* 背景：改为极淡的魔法薰衣草色，替代原本的暗黑背景 */
    background: #f8f0ff; 
    /* 增加圆角与柔和的粉色边框 */
    border-radius: 12px;
    border: 2px solid #f8bbd0;
}

.opt-btn {
    padding: 12px 20px; 
    /* 按钮背景：纯净的云朵白 */
    background: #ffffff; 
    /* 边框：改为淡紫色 */
    border: 1px solid #e1bee7;
    /* 文字：深紫色，类似紫悦的鬃毛颜色，易读且优雅 */
    color: #6a1b9a; 
    font-weight: bold; 
    font-size: 14px; 
    cursor: pointer;
    transition: 0.3s; 
    /* 左侧装饰：碧琪派风格的亮粉色 */
    border-left: 5px solid #ff4081;
    border-radius: 8px;
}

.opt-btn:hover {
    /* 悬停背景：变为鲜艳的魔法洋红 */
    background: #ec407a; 
    color: #fff; 
    transform: translateX(5px);
    /* 阴影：散发粉色与紫色的魔法光晕 */
    box-shadow: 0 0 15px rgba(236, 64, 122, 0.5);
    border-color: #ec407a;
}

/* 响应式微调 */
@media (max-width: 600px) {
    .item-pop { width: 85vw; }
    .ygg-body { padding: 15px; font-size: 14px; }
}