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

body {
    height: 100vh;
    overflow: hidden;
}

.container {
    width: 100%;
    height: 100%;
    display: flex;
}

.light,
.dark {
    height: 100%;
    position: relative;
}

.light {
    width: 50%;
    background-color: #fff;
}

.dark {
    flex: 1;
    background-color: #000;
}

.light .light-title,
.dark .dark-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    font-weight: 700;
    user-select: none;
}

.light .light-title {
    color: #000;
}

.dark .dark-title {
    color: #fff;
}

/* 【白色主题】菜单公共样式 */
.light-menu-list {
    list-style: none;
    background: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.45) 0%,
        rgba(255, 255, 255, 0.85) 100%
    );
    border: none;
    border-radius: 6px;
    backdrop-filter: blur(5px);
    overflow: hidden;
    position: fixed;
    top: 100px;
    left: 100px;
    z-index: 999;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08),
                0 2px 2px rgb(0 0 0 / 3%),
                0 4px 4px rgb(0 0 0 / 4%),
                0 10px 8px rgb(0 0 0 / 5%),
                0 15px 15px rgb(0 0 0 / 6%),
                0 30px 30px rgb(0 0 0 / 7%),
                0 70px 65px rgb(0 0 0 / 9%);
    transform-origin: top left;
    transform: scale(0.5);
    height: 0;
    transition: transform .2s ease-in-out,
                height .3s ease-in-out,
                opacity .3s ease-in-out;
}

/* 菜单中的选项 */
.light-menu-list li:not(.divider) {
    border-radius: 4px;
    padding: 10px 30px 9px 11px;
    font-size: 14px;
    user-select: none;
    cursor: pointer;
    color: rgb(63, 57, 57);
}

.light-menu-list li:not(.divider) span {
    margin-left: 4px;
}

/* 悬浮色 */
.light-menu-list li:not(.divider):hover {
    background-color: rgba(10, 20, 28, 0.1);
}

/* 分割线 */
.light-menu-list li.divider {
    height: 1px;
    background-color: rgba(0, 0, 0, 0.1);
    user-select: none;
}

.light-menu-list li {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity .2s ease-in-out,
                transform .3s ease-in-out;
}

/*                       显示菜单的样式                        */
.light-menu-list.menu-show {
    opacity: 1;
    height: var(--height);
    transform: scale(1);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.light-menu-list li.menu-item-show {
    opacity: 1;
    transform: translateX(0px);
}





/* 【黑色色主题】菜单公共样式 */
.dark-menu-list {
    list-style: none;
    background: linear-gradient(
        45deg,
        rgba(10, 20, 28, 0.2) 0%,
        rgba(10, 20, 28, 0.7) 100%
    );
    border: none;
    border-radius: 6px;
    backdrop-filter: blur(5px);
    overflow: hidden;
    position: fixed;
    top: 100px;
    left: 100px;
    z-index: 999;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08),
                0 2px 2px rgb(0 0 0 / 3%),
                0 4px 4px rgb(0 0 0 / 4%),
                0 10px 8px rgb(0 0 0 / 5%),
                0 15px 15px rgb(0 0 0 / 6%),
                0 30px 30px rgb(0 0 0 / 7%),
                0 70px 65px rgb(0 0 0 / 9%);
    transform-origin: top left;
    transform: scale(0.5);
    height: 0;
    transition: transform .2s ease-in-out,
                height .3s ease-in-out,
                opacity .3s ease-in-out;
}

/* 菜单中的选项 */
.dark-menu-list li:not(.divider) {
    border-radius: 4px;
    padding: 10px 30px 9px 11px;
    font-size: 14px;
    user-select: none;
    cursor: pointer;
    color: #fff;
}

.dark-menu-list li:not(.divider) span {
    margin-left: 4px;
}

/* 悬浮色 */
.dark-menu-list li:not(.divider):hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* 分割线 */
.dark-menu-list li.divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    user-select: none;
}

.dark-menu-list li {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity .2s ease-in-out,
                transform .3s ease-in-out;
}

/*                       显示菜单的样式                        */
.dark-menu-list.menu-show {
    opacity: 1;
    height: var(--height);
    transform: scale(1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dark-menu-list li.menu-item-show {
    opacity: 1;
    transform: translateX(0px);
}