/**
 * Schedule页面修复样式
 * 解决从详情页返回后列表项持续显示点击状态的问题
 */

/* 重置infoList__link的点击状态 */
.infoList__link:active {
    background-color: transparent !important;
    transform: none !important;
    transition: none !important;
}

/* 使用更好的悬停效果替代 */
.infoList__link {
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.infoList__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.05);
}

/* 确保在移动设备上点击后不会保持点击状态 */
@media (max-width: 768px) {
    .infoList__link {
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    }

    .infoList__link:active {
        background-color: transparent !important;
    }
}

/* WithLive标签样式 */
.withLive-tag {
    position: relative;
    color: #ffffff !important;
    font-weight: bold;
}

/* 确保theme-tag在日历视图中正确显示 */
.theme-tag {
    display: inline-block !important;
    padding: 3px 10px !important;
    border-radius: 12px !important;
    margin: 3px !important;
    font-size: 0.9em !important;
    font-weight: bold !important;
    color: #fff !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2) !important;
}

/* 确保日历视图中的主题标签正确显示 */
.calendar-event .theme-tag,
.infoList__ttl__text .theme-tag {
    display: inline-block !important;
    vertical-align: middle !important;
    margin-left: 5px !important;
    margin-right: 5px !important;
}

/* 成员生日皇冠标识 */
.member-crown {
    position: absolute;
    top: -16px;
    left: 14%;
    transform: translateX(-50%) rotate(-25deg) scale(1.3);
    font-size: 16px;
    color: gold;
    text-shadow: 0 0 2px rgba(0,0,0,0.5);
    z-index: 10;
}

/* 为成员标签添加相对定位，以便放置皇冠 */
.infoList__rui, .infoList__rio, .infoList__syogo, .infoList__ayumu, .infoList__hikari {
    position: relative;
}
