/* ----------------------------------- */
/* --- iPod 主体样式与定位 (V3 小巧版) --- */
/* ----------------------------------- */
#iPod-player {
    /* 1. 尺寸设定 */
    width: 210px;
    height: 340px;
    
    /* 2. 外观材质 */
    background-color: #f0f0f0; 
    border-radius: 20px;
    padding: 20px 15px; 
    
    /* 拟物风立体投影 */
    box-shadow: 
        10px 10px 25px rgba(0,0,0,0.5), 
        -4px -4px 10px rgba(255,255,255,0.8), 
        inset 0 0 10px rgba(200,200,200,0.3); 
    
    /* 3. 内部布局 */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;

    /* 4. 定位 */
    position: fixed; 
    right: 5%;       
    top: 50%;        
    transform: translateY(-50%); 
    z-index: 1000;   
}

/* --- 屏幕样式 --- */
#screen {
    width: 95%; 
    height: 105px;
    margin-top: 3px;
    background-color: #a0c0a0; /* 经典的 LCD 灰绿色 */
    border: 3px solid #888;
    border-radius: 5px;
    padding: 6px;
    color: #000;
    box-shadow: inset 2px 2px 6px rgba(0,0,0,0.3);
    box-sizing: border-box;
    flex-shrink: 0;
    position: relative;
}

/* 歌曲信息文字 */
#screen p {
    color: #000 !important; 
    font-family: "Courier New", Courier, monospace; 
    font-size: 13px;
    font-weight: 600;
    margin: 0;
    padding: 0;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 状态栏 */
#status-bar {
    display: flex;
    justify-content: space-between;
    margin-top: 45px;
    font-weight: bold;
    font-family: sans-serif;
    font-size: 12px;
}
#play-indicator { visibility: hidden; }

/* --- 滚轮样式 (带交互提示) --- */
#click-wheel {
    position: relative;
    width: 150px;
    height: 150px;
    background-color: #dcdcdc; 
    border-radius: 50%;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    
    /* 关键修改：鼠标手势提示用户可以“抓取”旋转 */
    cursor: grab; 
    
    box-shadow: 
        inset 1px 1px 5px rgba(255,255,255,1),
        inset -1px -1px 5px rgba(0,0,0,0.2),
        3px 3px 10px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

/* 按住转动时的鼠标样式 */
#click-wheel:active {
    cursor: grabbing;
}

/* 滚轮上的四个按钮区域 */
.wheel-button {
    position: absolute;
    width: 50%; 
    height: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    
    font-size: 12px;
    font-weight: bolder;
    color: #999; /* 浅灰色文字，像印上去的一样 */
    user-select: none;
    z-index: 5;
    cursor: pointer; /* 按钮可点击手势 */
}

/* 各个按钮的定位与对齐微调 */
#wheel-top { 
    top: 0; left: 25%; 
    width: 50%; height: 25%; 
    align-items: flex-start; 
    padding-top: 10px; 
    box-sizing: border-box; 
    font-size: 14px; /* MENU 字稍微小一点 */
}
#wheel-right { 
    right: 0; top: 25%; 
    width: 25%; height: 50%; 
    justify-content: flex-end; 
    padding-right: 10px; 
    box-sizing: border-box; 
}
#wheel-bottom { 
    bottom: 0; left: 25%; 
    width: 50%; height: 25%; 
    align-items: flex-end; 
    padding-bottom: 10px; /* 增加底部间距，防止图标贴边 */
    box-sizing: border-box; 
}
#wheel-left { 
    left: 0; top: 25%; 
    width: 25%; height: 50%; 
    justify-content: flex-start; 
    padding-left: 10px; 
    box-sizing: border-box; 
}

/* --- 中心按钮 (精致版) --- */
#center-button {
    width: 55px;
    height: 55px;
    
    /* 微妙的渐变，模拟塑料质感 */
    background: linear-gradient(to bottom, #ffffff 0%, #f9f9f9 100%);
    
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    color: #333;
    
    /* 阴影：外部柔和投影 + 内部顶部高光 */
    box-shadow: 
        0 2px 4px rgba(0,0,0,0.15),
        inset 0 1px 0px rgba(255,255,255,1);
        
    user-select: none;
    z-index: 10;
    transition: all 0.1s ease-out; 
    cursor: pointer;
}

/* 中心按钮按下状态 */
#center-button:active {
    transform: scale(0.98); 
    background: #f0f0f0; 
    /* 外部阴影消失，内部出现压痕 */
    box-shadow: 
        0 0 0 rgba(0,0,0,0), 
        inset 0 2px 3px rgba(0,0,0,0.2); 
}