﻿
/* ===== 音乐播放器按钮 - 精美版 ===== */
#musicBtn {
    position: fixed;
    top: 80px;
    left: 15px;
    z-index: 9999;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,111,39,0.9), rgba(255,69,0,0.9));
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.6);
    box-shadow: 0 4px 15px rgba(255,111,39,0.4), 0 0 20px rgba(255,111,39,0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

#musicBtn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255,111,39,0.6), 0 0 30px rgba(255,111,39,0.3);
    border-color: rgba(255,255,255,0.9);
}

#musicBtn:active {
    transform: scale(0.95);
}

/* 音乐播放中旋转动画 */
.music-playing {
    animation: musicRotate 3s linear infinite;
}

.music-paused {
    animation: none;
}

@keyframes musicRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ===== 快捷按钮 - 精美美化版 ===== */
.quick-links {
    max-width: 760px !important;
    width: 96% !important;
    margin: 18px auto;
    display: flex;
    gap: 16px;
    justify-content: center;
    padding: 0 10px;
}

.quick-links a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 20px;
    border-radius: 14px;
    font-size: 17px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    position: relative;
    overflow: hidden;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
}

/* 扫光动画效果 */
.quick-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
    transition: left 0.6s ease;
}

.quick-links a:hover::before {
    left: 100%;
}

.quick-links a:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 28px rgba(0,0,0,0.2);
}

.quick-links a:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

/* 我要许愿按钮 - 橙色渐变 */
.btn-wish {
    background: linear-gradient(135deg, #ff8c42 0%, #ff6f27 30%, #ff4500 70%, #e64a19 100%);
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.25);
}

.btn-wish:hover {
    background: linear-gradient(135deg, #ff9e5e 0%, #ff7b35 30%, #ff5722 70%, #f4511e 100%);
}

/* 赞助本站按钮 - 棕色渐变 */
.btn-donate {
    background: linear-gradient(135deg, #d4844a 0%, #c56521 30%, #8b4513 70%, #6b3410 100%);
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.25);
}

.btn-donate:hover {
    background: linear-gradient(135deg, #e0955a 0%, #d47635 30%, #a0522d 70%, #7a3a15 100%);
}

/* 按钮图标样式 */
.quick-links a .icon {
    font-size: 22px;
    margin-right: 8px;
    display: inline-flex;
    align-items: center;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}

.quick-links a .icon img {
    width: 26px;
    height: 26px;
    vertical-align: middle;
    margin-right: 6px;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}

/* 按钮文字 */
.quick-links a span:last-child {
    display: inline-block;
}

/* ===== 许愿列表卡片 - 图片加大版 ===== */
.main-body .post {
    max-width: 760px !important;
    width: 96% !important;
    margin: 15px auto !important;
}

/* 顶部信息栏 */
.main-body .post > div:first-child {
    padding: 16px 22px !important;
    position: relative;
    min-height: 130px !important;
}

/* 编号标签 */
.main-body .post > div:first-child b {
    display: inline-block;
    padding: 6px 22px 6px 36px !important;
    height: 36px !important;
    line-height: 36px !important;
    color: #fff;
    font-weight: normal;
    border-radius: 0px 22px 22px 0px;
    text-indent: 0;
    font-size: 16px !important;
    margin-left: -22px !important;
}

/* 右侧图片区域 - 120x120 */
.main-body .post > div:first-child > span:last-child {
    position: absolute;
    right: 18px !important;
    top: 12px !important;
    width: 120px !important;
    height: 120px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-body .post > div:first-child > span:last-child img {
    width: 120px !important;
    height: 120px !important;
    object-fit: contain;
    border-radius: 10px;
}

/* 许愿内容区域 */
.main-body .post > div:nth-child(2) {
    padding: 0 22px 16px 22px !important;
}

/* 祝福按钮区域 */
.main-body .post > div:nth-child(3) {
    padding: 0 22px !important;
    text-align: right;
}

/* 底部用户信息栏 */
.main-body .post > div:nth-child(4) {
    margin: 16px 22px 22px 22px !important;
    padding-top: 16px !important;
    border-top: 1px dashed rgba(0,0,0,0.15);
}

/* 分页区域 */
.pagination-wrap {
    text-align: center;
    padding: 20px;
    max-width: 760px !important;
    width: 96% !important;
    margin: 0 auto;
}

/* 农历日期区域 */
.solarlunar {
    max-width: 760px !important;
    width: 96% !important;
}