/* 1. 评分面板背景 */
div:has(span[class*="MuiRating-root"]):has(textarea[placeholder="发表评论"]):not([class*="overflow-y-auto"]) {
    background-image: url('https://i.postimg.cc/MG9SQCbq/Image-1754731089328.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* 2. 顶部标题栏 - 白色磨砂效果 */
div[class*="sticky"][class*="top-0"] {
    background-color: rgba(255, 255, 255, 0.2) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3) !important;
    background-image: none !important; /* 移除旧的背景图 */
}

/* 2.1 顶部标题栏 - 内部图标颜色（主动优化） */
div[class*="sticky"][class*="top-0"] svg {
    color: white !important;
}

/* 2.2 顶部标题栏 - 发光蓝线 (保留并优化) */
div[class*="sticky"][class*="top-0"]::after {
    content: '';
    position: absolute;
    bottom: -1px; /* 紧贴新的边框 */
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
      rgba(0,0,255,0) 0%, 
      rgba(100,149,237,0.8) 20%, 
      rgba(65,105,225,0.9) 50%, 
      rgba(100,149,237,0.8) 80%, 
      rgba(0,0,255,0) 100%);
    box-shadow: 0 0 10px rgba(100, 149, 237, 0.6);
}

/* 3. 评论输入框炫彩字体 */
textarea[placeholder="发表评论"] {
    font-weight: bold !important;
    background: linear-gradient(90deg, #ff00ff, #00ffff, #ffff00, #ff00ff) !important;
    background-size: 200% auto !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
}

/* 4. 多元素统一白色磨砂质感 */
div[class*="absolute"][class*="bottom-0"] button:not([id="ai-send-button"]),
p.MuiTypography-root.css-vp7ftj,
div.css-95g4uk > button.css-vst5v,
div.shrink-0.p-4 div.btn {
    background-color: rgba(255, 255, 255, 0.25) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 12px !important;
    color: #FFFFFF !important;
    padding: 0.5em 1em !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
}