*{
    box-sizing:border-box;
}


body{

    max-width:800px;

    margin:40px auto;

    padding:0 20px;

    font-family:
    "Microsoft YaHei",
    "PingFang SC",
    sans-serif;

    line-height:1.8;

    color:#333;

    background:#fff;

}



/* 顶部 */

.header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:10px;

}


h1{

    margin:0;

    font-size:32px;

}



/* 标语 */

.slogan{

    color:#666;

    margin-bottom:30px;

    font-size:15px;

}



/* 按钮 */

.button{

    cursor:pointer;

    color:#0066cc;

    user-select:none;

    transition:.2s;

}


.button:hover{

    color:#004b99;

}



#topButtons .button{

    margin-left:15px;

}



/* 游客歌单 */


ol{

    padding-left:28px;

}


li{

    margin:14px 0;

}


a{

    color:#0066cc;

    text-decoration:none;

}


a:hover{

    text-decoration:underline;

}



/* ====================
   编辑区域
==================== */


#editor{

    width:100%;

}



.song-item{

    border:1px solid #ddd;

    padding:20px;

    margin-bottom:20px;

    border-radius:10px;

    background:#fff;

}



.song-item label{

    display:block;

    margin-top:10px;

    color:#555;

    font-size:14px;

}



.song-item input{

    width:100%;

    padding:10px;

    margin-top:5px;

    border:1px solid #ccc;

    border-radius:6px;

    font-size:15px;

}



.song-item input:focus{

    outline:none;

    border-color:#0066cc;

}



/* 删除按钮 */


.delete-btn{

    margin-top:15px;

    padding:8px 15px;

    border:none;

    border-radius:6px;

    cursor:pointer;

    background:#eee;

}


.delete-btn:hover{

    background:#ddd;

}



/* 添加歌曲 */


#addBtn{

    display:block;

    padding:10px 20px;

    border:none;

    border-radius:8px;

    cursor:pointer;

    margin:20px 0;

    background:#f1f1f1;

}


#addBtn:hover{

    background:#ddd;

}



/* 保存按钮 */

#saveBtn{

    color:#0066cc;

}



/* 页脚 */


footer{

    margin-top:60px;

    padding-top:20px;

    text-align:center;

}


.divider{

    color:#999;

    font-size:13px;

    letter-spacing:2px;

}


.footerText{

    margin-top:10px;

    color:#555;

}




/* ====================
   登录弹窗
==================== */


.modal{

    position:fixed;

    left:0;

    top:0;

    width:100%;

    height:100%;

    display:none;

    justify-content:center;

    align-items:center;

    background:
    rgba(0,0,0,.45);

    z-index:9999;

}



.modal-box{

    width:360px;

    background:#fff;

    border-radius:10px;

    padding:30px;

    box-shadow:
    0 15px 40px rgba(0,0,0,.2);

}



.modal-box h2{

    margin-top:0;

    text-align:center;

}



.modal-box input{

    width:100%;

    padding:12px;

    margin-top:20px;

    border:1px solid #ccc;

    border-radius:6px;

    font-size:16px;

}



.modal-buttons{

    display:flex;

    gap:10px;

    margin-top:20px;

}



.modal-buttons button{

    flex:1;

    padding:10px;

    border:none;

    border-radius:6px;

    cursor:pointer;

    font-size:15px;

}



#loginSubmit{

    background:#0066cc;

    color:white;

}



#loginCancel{

    background:#ddd;

}



#loginError{

    color:red;

    text-align:center;

    min-height:20px;

    margin-top:15px;

}
