* {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
}

body,
html {
    height: 100%;
    background-color: white;
}

.fadewrap {
    position: fixed;
    z-index: 999999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #333;
    opacity: 1;
    transition: 1500ms all;
}

.leftwrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 60px;
    bottom: 0;
    background-color: #1313139a;
    border-right: 1px solid #ccc;
    box-shadow: 0 0 10px #333;
    z-index: 99999;
}

.themenuicon {
    position: relative;
}

.themenuicon:hover {
    background-color: #dbdbdb33;
}

.themenuicon-active {
    background-color: #d8d8d877 !important;
}

.menuwrap,
.allmenuwrap {
    position: absolute;
    top: 0;
    left: 60px;
    width: 300px;
    height: 100vh;
    max-height: 600px;
    background-color: #1f1f1fb4;
}

.menuwrap {
    display: none;
}

.metrowrap {
    position: absolute;
    top: 0;
    left: 100%;
    width: 500px;
    height: 100%;
    background-color: #1f1f1fb4;
    overflow-y: auto;
}

.themenuicon:hover .menuwrap {
    display: block;
}

.menuwraptitle {
    text-align: center;
    height: 40px;
    line-height: 40px;
    color: white;
    border-bottom: 1px solid #ccc;
    background-color: #4d4d4d;
}

.themoreicon {
    position: absolute;
    left: 0;
    bottom: 0;

}

.topwrap {
    position: fixed;
    top: 0;
    left: 60px;
    height: 40px;
    right: 0;
    background-color: #1f1f1f77;
    z-index: 9999;
    border-bottom: 1px solid #444;
}


.contwrap {
    position: fixed;
    top: 40px;
    left: 60px;
    bottom: -40px;
    right: 0;
}

.rightsmallpoint {
    position: fixed;
    top: calc(100% * .6);
    right: 0px;
    padding: 0 10px;
    cursor: pointer;
}

.rightsmallpoint-box {
    width: 5px;
    height: 65px;
    background-color: #b1b1b1b9;
    border-radius: 5px;
    border: 1px solid #666;
}

.hover:hover {
    background-color: #dbdbdb33;
}

.hover-active {
    background-color: #d8d8d877;
}

/**
 * 
 *
 */

.dedskcont-desktop {
    width: 100%;
    height: 100%;
    overflow: hidden;
    /* 禁止滚动条 */
    /* background-color: #d4dce6; */
    /* Windows7 经典背景色 */
    padding: 20px;
    box-sizing: border-box;
    position: relative;
    user-select: none;
}

.dedskcont-icons-wrapper {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: flex-start;
    /* gap 由动态 style 提供 */
}

.dedskcont-icon {
    width: 80px;
    /* 固定宽度，与 iconWidth 一致 */
    height: 106px;
    /* 固定高度，与 iconHeight 一致 */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.1s ease;
    border-radius: 4px;
    box-sizing: border-box;
    padding: 4px 2px;
}

/* Windows7 悬停效果 */
.dedskcont-icon:hover {
    background-color: rgba(30, 120, 210, 0.15);
    transform: scale(1.02);
}

.dedskcont-icon-image {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
}

.dedskcont-icon-placeholder {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    color: #2c3e4f;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.4);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    background: linear-gradient(145deg, #f0f2f5, #e0e4e8);
}

.dedskcont-icon-label {
    font-size: 12px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
    overflow: hidden;
    height: 60px;
    /* color: #1f2a3e; */
    color: #ffffff;
    max-width: 80px;
    word-break: break-word;
    /* background-color: rgba(255, 255, 255, 0.8); */
    padding: 2px 6px;
    border-radius: 12px;
    /* box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); */
    text-shadow: 3px 3px 4px rgb(0, 0, 0);
    font-weight: 500;
    /* backdrop-filter: blur(1px); */
}

.dedskcont-warning {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.75);
    color: #ffd966;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    pointer-events: none;
    white-space: nowrap;
    z-index: 10;
    font-family: 'Segoe UI', sans-serif;
}

/**
 *
 *
 *
*/

.moresets-wrap {
    position: fixed;
    bottom: 0;
    left: 60px;
    width: calc((100% - 60px) * .8);
    height: calc(100% - 70px);
    background-color: #333333b9;
    z-index: 111;
}

.moresets-moreseticon:hover {
    background-color: #dbdbdb33;
}

.moresets-moreseticon-active {
    background-color: #dbdbdb77;
}

/**
*
*
*
*
*/

.musicplayer-container {
    font-family: system-ui, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: #525252;
    border-bottom: 1px solid #ccc;
    /* border-radius: 16px; */
    padding: 16px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: calc(100% - 40px);
    user-select: none;
}

.musicplayer-controls {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 16px;
}

.musicplayer-btn {
    background: #3b82f6;
    border: none;
    color: white;
    font-size: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.musicplayer-btn:hover:not(:disabled) {
    background: #2563eb;
    transform: scale(1.02);
}

.musicplayer-btn:active:not(:disabled) {
    transform: scale(0.96);
}

.musicplayer-btn:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
    opacity: 0.6;
}

/* 进度条区域布局 */
.musicplayer-progress-section {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.musicplayer-time-current,
.musicplayer-time-duration {
    font-size: 13px;
    font-weight: 500;
    color: white;
    min-width: 44px;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.musicplayer-progress-wrapper {
    flex: 1;
    position: relative;
    height: 32px;
    display: flex;
    align-items: center;
}

/* 进度条背景容器（包含缓冲条和播放进度条） */
.musicplayer-progress-bar-bg {
    position: relative;
    width: 100%;
    height: 6px;
    background-color: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    pointer-events: none;
    /* 让点击事件穿透给上面的 range 滑块 */
}

/* 缓冲进度条 */
.musicplayer-progress-buffered {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background-color: #94a3b8;
    border-radius: 10px;
    width: 0%;
    transition: width 0.1s linear;
}

/* 播放进度条 */
.musicplayer-progress-played {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background-color: #3b82f6;
    border-radius: 10px;
    width: 0%;
    transition: width 0.05s linear;
    z-index: 1;
}

/* 自定义滑块（透明轨道，保留可拖拽的thumb） */
.musicplayer-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    z-index: 2;
}

.musicplayer-slider:focus {
    outline: none;
}

/* 滑块轨道 - 完全透明 */
.musicplayer-slider::-webkit-slider-runnable-track {
    width: 100%;
    height: 6px;
    background: transparent;
    border: none;
}

.musicplayer-slider::-moz-range-track {
    width: 100%;
    height: 6px;
    background: transparent;
    border: none;
}

.musicplayer-slider::-ms-track {
    width: 100%;
    height: 6px;
    background: transparent;
    border-color: transparent;
    color: transparent;
}

/* 滑块拇指（可拖拽的圆点） */
.musicplayer-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: #ffffff;
    border: 2px solid #3b82f6;
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    margin-top: -5px;
    cursor: pointer;
    transition: transform 0.1s;
}

.musicplayer-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    background: #3b82f6;
}

.musicplayer-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: #ffffff;
    border: 2px solid #3b82f6;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.1s;
}

.musicplayer-slider::-moz-range-thumb:hover {
    transform: scale(1.2);
    background: #3b82f6;
}

.musicplayer-slider::-ms-thumb {
    width: 16px;
    height: 16px;
    background: #ffffff;
    border: 2px solid #3b82f6;
    border-radius: 50%;
    cursor: pointer;
}

/* 错误提示 */
.musicplayer-error {
    margin-top: 12px;
    font-size: 12px;
    color: #dc2626;
    background: #fee2e2;
    padding: 6px 10px;
    border-radius: 20px;
    text-align: center;
}

/* 隐藏原生 audio 标签 */
.musicplayer-audio {
    display: none;
}

.songlist {
    height: calc(100% - 200px);
    background-color: #383838;
    overflow-y: auto;
}

/**
*
*
*
*/

.msgwrap-wrapbox {
    position: fixed;
    right: -200px;
    opacity: 0;
    top: 41px;
    bottom: 0px;
    width: calc(100% - 61px);
    max-width: 340px;
    background-color: #1a1a1a77;
    transition: 100ms;
    z-index: 111;
}

/**
*
*
*
*/

.focuswrap-wrapbox {
    position: fixed;
    top: 41px;
    left: 61px;
    width: calc(100% - 61px);
    max-width: 400px;
    bottom: 0;
    background-color: #1a1a1a77;
    z-index: 111;
}

/**
*
*
*
*/

.windowwrap-wrapbox {
    position: fixed;
    top: 41px;
    left: 61px;
    width: calc(100% - 61px);
    bottom: 0;
    background-color: #1a1a1a77;
    z-index: 11;
}

/**
*
*
*
*/

.rightside-wrapbox {
    position: fixed;
    right: 0;
    bottom: 30px;
    width: 350px;
    height: 110px;
    background-color: #000000;
    transition: 100ms;
}