/* 移动端建议提示条样式 */
.mobile-desktop-hint {
    position: fixed;
    top: 80px;
    /* 避开导航栏高度 */
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 16px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.05);
    animation: slideInDown 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transition: all 0.3s ease;
}

.mobile-desktop-hint.hide {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
    pointer-events: none;
}

.hint-icon {
    font-size: 1.2rem;
}

.hint-text {
    font-size: 0.85rem;
    color: #333;
    flex: 1;
    font-weight: 500;
}

.hint-close {
    background: none;
    border: none;
    width: 32px;
    height: 32px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.close-icon {
    font-size: 1.2rem;
    color: #999;
    z-index: 2;
    line-height: 1;
}

/* 倒计时圆圈 */
.countdown-ring {
    position: absolute;
    inset: 0;
    transform: rotate(-90deg);
}

.countdown-ring circle {
    fill: none;
    stroke-width: 2;
}

.countdown-ring-bg {
    stroke: rgba(0, 0, 0, 0.05);
}

.countdown-ring-progress {
    stroke: #ccaa87;
    /* 品牌色 */
    stroke-dasharray: 94.2;
    /* 2 * PI * r (r=15) */
    stroke-dashoffset: 0;
}

@keyframes countdown-stroke {
    from {
        stroke-dashoffset: 0;
    }

    to {
        stroke-dashoffset: 94.2;
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 针对不同页面的适配 */
body.dark-theme .mobile-desktop-hint {
    background: rgba(30, 30, 30, 0.95);
    color: #f0ece6;
}

body.dark-theme .hint-text {
    color: #f0ece6;
}