.main-layout {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    z-index: 20;
    width: 90%;
}

.glass-panel {
    width: 50%;
    padding: 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px) saturate(180%);  /* 模糊与色彩饱和 */
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    color: white;
    font-family: sans-serif;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    pointer-events: none;
}

.glass-panel.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.search-container {
    display: flex;
    width: 20%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 5px 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: width 0.5s ease;
}

.search-container:focus-within {
    width: 50%
}

.search-container.active {
    width: 50%
}

#search-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px;
    color: white;
    outline: none;
    font-size: 16px;
}

#search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}
