* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --button-hover-color: #c0392b; /* 默认悬停颜色，会被 JS 动态替换 */
    --card-bg-color: rgba(45, 52, 54, 0.5); /* 半透明卡片背景色，用于毛玻璃效果 */
    --card-text-color: #f5f6fa; /* 更亮的卡片文字颜色 */
    --page-bg-color: #1e1033; /* 暗紫色背景 */
    --page-bg-gradient: linear-gradient(135deg, #1e1033 0%, #301b47 50%, #1e1033 100%); /* 暗紫色渐变 */
    --header-bg-color: rgba(44, 62, 80, 0.6); /* 半透明头部背景色 */
    --accent-color: #9b59b6; /* 紫色强调色 */
    --glow-color: rgba(155, 89, 182, 0.5); /* 紫色光晕颜色 */
}

body {
    font-family: 'Arial', sans-serif;
    background: var(--page-bg-color) var(--page-bg-gradient) fixed;
    color: var(--card-text-color);
    line-height: 1.6;
    transition: background-color 0.5s ease, opacity 0.5s ease;
    overflow-x: hidden; /* 防止水平滚动条 */
    opacity: 0;
    position: relative;
    padding-bottom: 100px; /* 为弃置栏留出空间 */
}

/* 添加背景图案 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(155, 89, 182, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(155, 89, 182, 0.05) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
}

body.loaded {
    opacity: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    animation: fadeIn 0.5s ease-out;
    position: relative;
    z-index: 1;
}

header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px 0;
    background: var(--header-bg-color);
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--card-text-color);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 0 10px var(--glow-color);
    transition: color 0.3s ease;
}

header:hover h1 {
    color: #bdc3c7;
}

header p {
    font-size: 1.2rem;
    color: #bdc3c7;
}

.character-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 25px; /* 增加间距 */
    margin-bottom: 40px;
    will-change: transform; /* 优化性能 */
}

.character-card {
    position: relative;
    background: rgba(45, 52, 54, 0.3) linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%);
    border-radius: 12px;
    padding: 15px;
    height: 80px;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.character-card::before {
    content: '📌';
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.character-card:hover::before {
    opacity: 0.7;
}

.character-card.pinned::before {
    opacity: 1;
}

.character-card.pinned {
    order: -1;
    border: 1px solid var(--accent-color);
    box-shadow: 0 0 10px var(--glow-color);
}

.character-card:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5),
                0 0 15px rgba(var(--hover-rgb, 52, 152, 219), 0.3),
                0 0 5px var(--glow-color);
    z-index: 10;
    border-color: rgba(var(--hover-rgb, 52, 152, 219), 0.3);
    background-color: rgba(45, 52, 54, 0.5);
}

.character-card:hover::before {
    opacity: 1;
    background-position: var(--x, 50%) var(--y, 50%); /* 确保光晕位置平滑过渡 */
}

.character-card:hover::after {
    opacity: 1;
    background-position: var(--bg-x, 100%) var(--bg-y, 0%); /* 确保背景位置平滑过渡 */
}

.character-card:active {
    transform: translateY(-3px) scale(0.98);
    transition: transform 0.1s ease;
}

.character-info {
    padding: 5px;
    position: relative;
    z-index: 2;
}

.character-info h3 {
    font-size: 1.4rem;
    color: var(--card-text-color);
    transition: color 0.3s ease, text-shadow 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.character-card:hover .character-info h3 {
    text-shadow: 0 0 8px rgba(var(--hover-rgb, 52, 152, 219), 0.5),
                 0 2px 4px rgba(0, 0, 0, 0.5);
}

.iframe-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--page-bg-color) var(--page-bg-gradient);
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.iframe-container.active {
    display: block;
    opacity: 1;
}

.iframe-container.active .sidebar-trigger {
    /* 确保在iframe容器激活时侧边栏触发按钮可见 */
    display: flex;
    animation: fadeIn 0.5s ease forwards;
}

.iframe-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    position: relative;
    z-index: 1001; /* 确保iframe在背景之上但在侧边栏和按钮之下 */
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.iframe-container.closing {
    opacity: 0;
}

/* 角色切换时的过渡效果 */
.iframe-container.switching {
    opacity: 1;
}

/* 预览背景样式 */
.preview-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(10px);
    opacity: 0.7;
    z-index: 1001;
    transition: opacity 0.5s ease, filter 0.5s ease;
}

.preview-background.fade-out {
    opacity: 0.1;
    filter: blur(20px);
}

/* 淡出覆盖层 */
.fade-out-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1002;
    animation: fadeIn 0.3s ease forwards;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: rgba(231, 76, 60, 0.7); /* 半透明背景 */
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    z-index: 1001;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: translateY(-10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 0 10px rgba(231, 76, 60, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    letter-spacing: 0.5px;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* 侧边栏触发按钮样式 */
.sidebar-trigger {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background-color: rgba(66, 66, 66, 0.3);
    color: white;
    border: none;
    padding: 15px 10px;
    border-radius: 8px 0 0 8px;
    cursor: pointer;
    font-size: 1rem;
    z-index: 1005; /* 提高z-index确保在其他元素之上 */
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: -4px 0 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-right: none;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    letter-spacing: 2px;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    width: 40px; /* 确保按钮有足够的宽度 */
    height: 120px; /* 确保按钮有足够的高度 */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1; /* 默认显示 */
    pointer-events: auto; /* 确保按钮可点击 */
}




/* 修改侧边栏触发按钮滑入动画，确保按钮始终可见 */
@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateY(-50%) translateX(100%);
    }
    100% {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

.sidebar-trigger:hover {
    background-color: rgba(50, 50, 50, 0.85);
    box-shadow: -4px 0 15px rgba(0, 0, 0, 0.4);
    width: 45px; /* 悬停时略微增加宽度 */
}

.sidebar-trigger.hidden {
    display: none;
}

/* 选择按钮样式 */
.select-btn {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    margin-bottom: 25px;
    background-color: rgba(30, 16, 51, 0.7);
    color: white;
    border: 1px solid rgba(155, 89, 182, 0.3);
    padding: 15px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1.2rem;
    z-index: 1001;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.85; /* 默认稍微透明 */
    transform: translateY(0);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    letter-spacing: 0.5px;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.select-btn::before {
    content: '📌';
    font-size: 1.2rem;
    margin-right: 8px;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.select-btn:hover {
    opacity: 1;
    transform: translateY(-3px);
    background-color: rgba(155, 89, 182, 0.8);
    box-shadow: 0 4px 15px rgba(155, 89, 182, 0.4),
                0 0 10px var(--glow-color);
    border-color: rgba(155, 89, 182, 0.5);
}

.select-btn:hover::before {
    transform: rotate(0deg);
}

.select-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(155, 89, 182, 0.3);
    transition: all 0.1s ease;
    background-color: rgba(142, 68, 173, 0.9);
}

.select-btn.active {
    background-color: rgba(155, 89, 182, 0.85);
    transform: translateY(0);
    margin-bottom: 15px;
    opacity: 1;
    border-color: rgba(155, 89, 182, 0.6);
}

.select-btn.active::before {
    transform: rotate(0deg);
    color: #fff;
}

.select-btn.active:hover {
    background-color: rgba(142, 68, 173, 0.9);
    transform: translateY(-2px);
}

/* 侧边卡片容器样式 */
.side-card-container {
    position: fixed;
    top: 0;
    right: -300px; /* 初始隐藏在右侧 */
    width: 250px;
    height: 100%;
    background-color: rgba(30, 16, 51, 0.85); /* 与页面背景相似但更深 */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1010; /* 提高z-index确保在其他元素之上 */
    overflow-y: auto;
    padding: 20px;
    transition: right 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

/* 删除之前添加的触发区 */
.side-card-container::before {
    display: none;
}

.side-card-container.active {
    right: 0;
    pointer-events: auto; /* 确保侧边栏可以接收点击事件 */
}

/* 侧边卡片样式 */
.side-character-card {
    position: relative;
    background-color: var(--card-bg-color);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                box-shadow 0.3s ease,
                background-color 0.3s ease;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 1;
    /* 移除入场动画相关样式 */
    --x: 50%;
    --y: 50%;
    --bg-x: 50%;
    --bg-y: 50%;
    --hover-color: #3498db;
    --hover-rgb: 52, 152, 219;
}

/* 活动状态的卡片样式 */
.side-character-card.active {
    opacity: 1;
    transform: translateX(0) scale(1.03);
}

/* 改进侧边卡片的悬停效果 */
.side-character-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at var(--x) var(--y),
        rgba(var(--hover-rgb), 0.4) 0%,
        rgba(var(--hover-rgb), 0) 50%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
    pointer-events: none;
}

.side-character-card:hover::before {
    opacity: 1;
}

/* 添加卡片选中时的动画效果 */
.side-character-card.active {
    background-color: rgba(var(--hover-rgb), 0.3);
    transform: translateX(0) scale(1.03);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(var(--hover-rgb), 0.3);
    border-color: rgba(var(--hover-rgb), 0.5);
    animation: pulseActive 2s infinite ease-in-out;
}

@keyframes pulseActive {
    0% {
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(var(--hover-rgb), 0.3);
    }
    50% {
        box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4), 0 0 20px rgba(var(--hover-rgb), 0.5);
    }
    100% {
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(var(--hover-rgb), 0.3);
    }
}

.side-character-card:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5),
                0 0 15px rgba(var(--hover-rgb, 52, 152, 219), 0.3),
                0 0 5px var(--glow-color);
    z-index: 10;
    border-color: rgba(var(--hover-rgb, 52, 152, 219), 0.3);
    background-color: rgba(45, 52, 54, 0.5);
}

.side-character-card:active {
    transform: translateY(-2px) scale(0.98);
    transition: transform 0.1s ease;
}

.side-character-card h3 {
    font-size: 1.2rem;
    color: var(--card-text-color);
    transition: color 0.3s ease, text-shadow 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.side-character-card:hover h3 {
    text-shadow: 0 0 8px rgba(var(--hover-rgb, 52, 152, 219), 0.5),
                 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* 侧边卡片活动状态 */
.side-character-card.active {
    background-color: rgba(var(--hover-rgb), 0.3);
    border-color: rgba(var(--hover-rgb), 0.5);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 
                0 0 15px rgba(var(--hover-rgb), 0.4),
                0 0 5px var(--glow-color);
    position: relative;
    overflow: visible;
    animation: pulseGlow 2s infinite ease-in-out;
}

/* 为活动卡片添加外部光晕效果 */
.side-character-card.active::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 15px;
    background: radial-gradient(
        circle at var(--x, 50%) var(--y, 50%),
        rgba(var(--hover-rgb), 0.6) 0%,
        rgba(var(--hover-rgb), 0) 70%
    );
    opacity: 1;
    z-index: -1;
    filter: blur(8px);
    animation: breatheGlow 3s infinite ease-in-out;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 
                  0 0 15px rgba(var(--hover-rgb), 0.4),
                  0 0 5px var(--glow-color);
    }
    50% {
        box-shadow: 0 6px 25px rgba(0, 0, 0, 0.5), 
                  0 0 25px rgba(var(--hover-rgb), 0.7),
                  0 0 10px var(--glow-color);
    }
    100% {
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 
                  0 0 15px rgba(var(--hover-rgb), 0.4),
                  0 0 5px var(--glow-color);
    }
}

@keyframes breatheGlow {
    0% {
        opacity: 0.7;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    100% {
        opacity: 0.7;
        transform: scale(1);
    }
}

.side-character-card.active h3 {
    text-shadow: 0 0 8px rgba(var(--hover-rgb, 52, 152, 219), 0.6),
                 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* 回到主页卡片样式 */
.side-character-card.home-card {
    background-color: rgba(155, 89, 182, 0.3);
    border-color: rgba(155, 89, 182, 0.3);
    margin-bottom: 25px; /* 与其他卡片有更大间距 */
}

.side-character-card.home-card:hover {
    background-color: rgba(155, 89, 182, 0.4);
    border-color: rgba(155, 89, 182, 0.5);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 
                0 0 15px rgba(155, 89, 182, 0.4),
                0 0 5px var(--glow-color);
}

.side-character-card.home-card h3 {
    font-weight: 600;
    color: #f8f9fa;
}

.side-character-card.home-card:hover h3 {
    text-shadow: 0 0 8px rgba(155, 89, 182, 0.6),
                 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* 创建一个热区，使按钮更容易触发 */
.close-btn::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    bottom: -20px;
    left: -40px;
    z-index: -1;
}

/* 当鼠标悬停在热区上时显示按钮 */
.close-btn:hover {
    opacity: 1;
    transform: translateY(0);
    background-color: rgba(192, 57, 43, 0.85); /* 半透明悬停颜色 */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 
                0 0 15px rgba(231, 76, 60, 0.4),
                0 0 5px var(--glow-color);
    border-color: rgba(255, 255, 255, 0.3);
}

.close-btn:active {
    transform: translateY(2px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transition: all 0.1s ease;
    background-color: rgba(192, 57, 43, 0.95); /* 点击时更不透明 */
}

/* 创建一个右上角的感应区域 */
.corner-sensor {
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    z-index: 1000;
}

.corner-sensor:hover + .close-btn,
.corner-sensor:hover ~ .select-btn {
    opacity: 1;
    transform: translateY(0);
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    position: relative;
    z-index: 1002;
}

iframe.loaded {
    opacity: 1;
    transform: scale(1);
}

/* 角色切换时的iframe过渡效果 */
iframe.switching-out {
    opacity: 0;
    transform: scale(0.95);
}

iframe.switching-in {
    opacity: 0;
    transform: scale(1.05);
}

footer {
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    transition: color 0.3s ease;
    backdrop-filter: blur(5px);
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.2);
}

footer:hover {
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
    .character-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 15px;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    header p {
        font-size: 1rem;
    }
    
    .character-card {
        height: 70px;
        padding: 10px;
    }
    
    .character-info h3 {
        font-size: 1.2rem;
    }
} 

/* 添加页面过渡动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* 添加加载指示器样式 */
.loading-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--accent-color);
    animation: spin 1s infinite linear;
    z-index: 1003;
    box-shadow: 0 0 20px rgba(155, 89, 182, 0.5);
}

/* 改进加载指示器样式 */
.loading-indicator::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    border: 2px solid rgba(155, 89, 182, 0.3);
    animation: pulse 1.5s infinite ease-out;
}

/* 脉冲动画 */
@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.3;
    }
    100% {
        transform: scale(0.95);
        opacity: 0.7;
    }
}

/* 旋转动画 */
@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* 粒子效果样式 */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    transition: transform 0.3s ease-out;
}

.particle {
    position: absolute;
    background-color: rgba(155, 89, 182, 0.5);
    border-radius: 50%;
    animation: float 15s infinite alternate ease-in-out;
    pointer-events: none;
}

@keyframes float {
    0% {
        transform: translateY(0) translateX(0);
    }
    33% {
        transform: translateY(10px) translateX(-10px);
    }
    66% {
        transform: translateY(-10px) translateX(10px);
    }
    100% {
        transform: translateY(5px) translateX(-5px);
    }
}

.discard-bin {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    height: 60px;
    background-color: rgba(231, 76, 60, 0.8);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ecf0f1;
    font-size: 1.2rem;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.discard-bin:hover {
    background-color: rgba(192, 57, 43, 0.9);
}

.iframe-container .sidebar-trigger {
    /* 确保在iframe容器中侧边栏触发按钮正确定位 */
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 1010; /* 确保在iframe和其他元素之上 */
}