 /* 日历触发按钮 - 渐变质感，微动效 */
.calendar-open-btn {
    margin-top: 12px;
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #f7faff 0%, #eef6ff 100%);
    color: #162a48;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    z-index: 99;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(22, 119, 255, 0.12);
    letter-spacing: 0.5px;
}
.calendar-open-btn:hover {
    background: linear-gradient(135deg, #e8f2ff 0%, #d6e8ff 100%);
    box-shadow: 0 4px 14px rgba(22, 119, 255, 0.18);
    transform: translateY(-2px);
}
.calendar-open-btn:active {
    transform: translateY(0);
}

/* 遮罩层 毛玻璃模糊，高级暗色 */
.calendar-mask {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 18, 32, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 999;
    display: none;
}

/* 日历弹窗 分层阴影+柔和渐变底色，超大圆角现代感 */
.calendar-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 360px;
    background: linear-gradient(160deg, #ffffff 0%, #fbfdff 100%);
    border-radius: 18px;
    z-index: 1000;
    padding: 22px;
    display: none;
    box-shadow: 0 12px 40px rgba(8, 24, 48, 0.16);
    border: 1px solid rgba(22, 119, 255, 0.08);
}
@media(max-width: 420px) {
    .calendar-popup {
        width: 94%;
        padding: 18px;
        border-radius: 16px;
    }
}

/* 日历头部 月份导航渐变区分 */
.calendar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(22, 119, 255, 0.07);
}
.calendar-head h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #0f2441;
    letter-spacing: 0.3px;
}
.calendar-head button {
    border: none;
    background: linear-gradient(135deg, #f0f7ff, #e6f1ff);
    font-size: 18px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 8px;
    color: #1677ff;
    transition: all 0.2s ease;
}
.calendar-head button:hover {
    background: #d6e8ff;
}

/* 星期栏 弱化灰色层级 */
.cal-week {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    margin-bottom: 10px;
}
.cal-week span {
    text-align: center;
    font-size: 13px;
    color: #6b7c93;
    font-weight: 500;
    padding: 4px 0;
}

/* 日期格子容器 加大间距更透气 */
.cal-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}
.cal-day {
    text-align: center;
    padding: 10px 0;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.2s ease;
    user-select: none;
}

/* 有榜单数据：主色渐变+轻微发光 hover上浮 */
.cal-day.has-data {
    background: linear-gradient(135deg, #2385ff 0%, #1677ff 100%);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(22, 119, 255, 0.22);
}
.cal-day.has-data:hover {
    background: linear-gradient(135deg, #0d6ee0 0%, #0962cc 100%);
    box-shadow: 0 4px 12px rgba(22, 119, 255, 0.3);
    transform: translateY(-2px);
}

/* 无数据日期：高级浅灰，不刺眼 */
.cal-day.no-data {
    background: #f4f7fc;
    color: #a0aec0;
    cursor: not-allowed;
}
.cal-day.no-data:hover {
    background: #edf2fa;
}

/* 空白占位 */
.cal-day.empty {
    background: transparent;
}

/* 底部小字提示 */
.tiiip {
    float: left;
    margin-top: 8px;
    font-size: 12px;
    color: #6b7c93;
    letter-spacing: 0.6px;
}
/* 月份切换按钮禁用状态 */
.calendar-head button:disabled {
    background: #f5f7fa !important;
    color: #c0c8d4 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    transform: none !important;
}
.calendar-head button:disabled:hover {
    background: #f5f7fa !important;
    transform: none !important;
}
.related h6 {
    font-family:unset;
}