@charset "UTF-8";
*{ -webkit-tap-highlight-color:rgba(0,0,0,0); -webkit-box-sizing: border-box; box-sizing: border-box; font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "WenQuanYi Micro Hei", sans-serif; }
.share_img{ width: 0; height: 0; overflow: hidden; opacity: 0; }
.content{ padding: 80px 20px;}
.text_wrapper{ display: -webkit-box; display: flex; }
.text_wrapper .text{ padding-top: 20px; padding-left: 20px; }
.hide{ display: none !important; }
p{ margin: 0; }
.btn-groups{ padding-right: 20px; text-align: center; }
.heart-btn{ display: inline-block; animation: breath 0.8s linear 0s infinite both; -webkit-animation: breath 0.8s linear 0s infinite both; }
.btn{ position: relative; display: inline-block; width: 60px; height: 60px; margin: 0 30px; transform: rotate(45deg); -webkit-transform: rotate(45deg);}
.btn span{ display: block; width: 100%; height: 100%; line-height: 60px; margin-top: -10px; margin-left: -10px; text-align: center; transform: rotate(-45deg); -webkit-transform: rotate(-45deg); }
.btn-a{ background: #d26ae5; }
.btn-b{ background: #c9c9c9; }
.btn-a:before{ content: ''; position: absolute; display: block; width: 30px; height: 60px; background: #d26ae5; left: -29px; top: 0; border-top-left-radius: 60px; border-bottom-left-radius: 60px; }
.btn-a:after{ content: ''; position: absolute; display: block; width: 60px; height: 30px; background: #d26ae5; left: 0; top: -29px; border-top-left-radius: 60px; border-top-right-radius: 60px;}
.btn-b:before{ content: ''; position: absolute; display: block; width: 30px; height: 60px; background: #c9c9c9; left: -29px; top: 0; border-top-left-radius: 60px; border-bottom-left-radius: 60px; }
.btn-b:after{ content: ''; position: absolute; display: block; width: 60px; height: 30px; background: #c9c9c9; left: 0; top: -29px; border-top-left-radius: 60px; border-top-right-radius: 60px;}
.container{ position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 250; }
.container .mask{ position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.3); }
.container .modal{ width: 50%; height: 160px; position: absolute; top: 50%; left: 50%; padding: 20px 15px; border-radius: 5px; transform: translate(-50%, -70%); -webkit-transform: translate(-50%, -70%); background: #f3f3f3;}
.container .modal p{ margin-top: 20px; margin-bottom: 20px; font-size: 16px; color: #353535; text-align: center;}
.confirm{ display: block; width: 120px; height: 40px; margin: 0 auto; border: none; font-size: 16px; border-radius: 5px; color: #ffffff; background: #f45cae; }
.type_words{ padding: 12px 20px; }
@keyframes breath {
    0% {
        transform: scale3d(1,1,1);
        -webkit-transform: scale3d(1,1,1);
        transform-origin: 50% 50%;
    }
    50%{
        transform: scale3d(1.02,1.02,1.02);
        -webkit-transform: scale3d(1.02,1.02,1.02);
        transform-origin: 50% 50%;
    }
    100%{
        transform: scale3d(1,1,1);
        -webkit-transform: scale3d(1,1,1);
        transform-origin: 50% 50%;
    }
}
.page_one{
    position: absolute;
    z-index: 10;
}
.text{color: white}


/* 顶部按钮组 */
.top-btns {
    position: fixed;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 6px;
    z-index: 200;
}
.top-btns button {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    color: #fff;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.top-btns button:hover { background: rgba(255, 255, 255, 0.25); }
.top-btns button:disabled { opacity: 0.6; cursor: not-allowed; }
.top-btns svg { width: 14px; height: 14px; }

/* 编辑弹窗 */
.edit-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 300;
}
.edit-modal.active { display: flex; }
.edit-modal-content {
    background: rgba(30, 30, 50, 0.95);
    border-radius: 12px;
    width: 300px;
    max-height: 80vh;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.edit-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.edit-modal-header h3 { color: #fff; font-size: 14px; margin: 0; }
.close-btn {
    width: 24px;
    height: 24px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
}
.close-btn:hover { background: rgba(255, 100, 100, 0.3); }
.edit-modal-body { padding: 15px; }
.form-group { margin-bottom: 12px; }
.form-group label {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
    margin-bottom: 5px;
}
.form-group input {
    width: 100%;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    color: #fff;
    font-size: 13px;
    outline: none;
}
.form-group input:focus { border-color: rgba(210, 106, 229, 0.5); }
.edit-modal-footer {
    padding: 12px 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: right;
}
.save-btn {
    padding: 8px 20px;
    background: #d26ae5;
    border: none;
    border-radius: 6px;
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}
.save-btn:hover { background: #e07af5; }


/* 编辑弹窗扩展样式 */
.edit-modal-content { width: 320px; max-height: 85vh; }
.edit-modal-body { max-height: 60vh; overflow-y: auto; }
.section-title {
    color: rgba(210, 106, 229, 0.9);
    font-size: 11px;
    margin: 10px 0 6px;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(210, 106, 229, 0.3);
}
.section-title:first-child { margin-top: 0; }
.form-row { display: flex; gap: 10px; }
.form-group.half { flex: 1; }


/* 移动端适配 */
@media (max-width: 480px) {
    .top-btns { top: 8px; right: 8px; gap: 4px; }
    .top-btns button { padding: 5px 8px; font-size: 11px; }
    .top-btns svg { width: 12px; height: 12px; }
    .content { padding: 60px 15px; }
    .text_wrapper .text { font-size: 14px; padding-left: 10px; }
    .btn { width: 50px; height: 50px; margin: 0 20px; }
    .btn span { line-height: 50px; font-size: 12px; }
    .btn-a:before, .btn-b:before { width: 25px; height: 50px; left: -24px; border-top-left-radius: 50px; border-bottom-left-radius: 50px; }
    .btn-a:after, .btn-b:after { width: 50px; height: 25px; top: -24px; border-top-left-radius: 50px; border-top-right-radius: 50px; }
    .container .modal { width: 80%; height: auto; min-height: 140px; }
    .container .modal p { font-size: 14px; }
    .edit-modal-content { width: 90%; max-width: 300px; }
    .edit-modal-body { max-height: 55vh; }
}

/* 音乐上传 */
.upload-row { display: flex; align-items: center; gap: 8px; }
.upload-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    background: rgba(210, 106, 229, 0.3);
    border: 1px solid rgba(210, 106, 229, 0.5);
    border-radius: 4px;
    color: #fff;
    font-size: 11px;
    cursor: pointer;
}
.upload-btn:hover { background: rgba(210, 106, 229, 0.5); }
.file-name {
    color: rgba(255, 255, 255, 0.6);
    font-size: 11px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 140px;
}


/* 友情链接 */
.friend-links {
    position: fixed;
    bottom: 5px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 150;
}
.friend-links a {
    color: rgba(255, 255, 255, 0.4);
    font-size: 10px;
    text-decoration: none;
    margin: 0 8px;
    transition: color 0.3s;
}
.friend-links a:hover {
    color: rgba(255, 255, 255, 0.8);
}
