/* 前台补充样式（原页面内联样式抽出） */

body {
    margin: 0;
    padding: 0 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
}

/* 原样式会隐藏最后一个步骤标签，这里恢复为正常显示（步骤数量由后台控制） */
.content .step-title li:nth-last-child(1) {
    display: flex;
}

#countdown {
    font-size: 1rem;
    color: #DE061D;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

#countdown strong {
    font-size: 1.4rem;
}

.bottom-right {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.bottom-right img {
    width: 80px;
    height: auto;
}

.download-area {
    text-align: center;
    margin-top: 20px;
    position: relative;
    display: inline-block;
}

.download-hint {
    color: red;
    font-size: 1.3rem;
    font-weight: bold;
    margin-top: 8px;
    animation: pulse 1.5s infinite;
}

.arrow {
    font-size: 2rem;
    color: red;
    display: block;
}

.arrow-top {
    animation: bounce 1.2s infinite;
}

.arrow-left {
    position: absolute;
    top: 40%;
    left: -20px;
    animation: bounceSide 1.2s infinite;
}

.arrow-right {
    position: absolute;
    top: 40%;
    right: -20px;
    animation: bounceSideR 1.2s infinite;
}

.arrow-breath {
    font-size: 2.5rem;
    color: red;
    text-align: center;
    animation: breath 1.8s infinite;
}

@keyframes scrollBackground {
    from { background-position-y: 0; }
    to { background-position-y: 100%; }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes bounceSide {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-10px); }
}

@keyframes bounceSideR {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(10px); }
}

@keyframes pulse {
    0% { opacity: 0.2; }
    50% { opacity: 1; }
    100% { opacity: 0.2; }
}

@keyframes breath {
    0%, 100% { opacity: 0.2; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(8px); }
}

.arrow-breath:nth-child(2) { animation-delay: 0.3s; }
.arrow-breath:nth-child(3) { animation-delay: 0.6s; }

#telegramButton {
    cursor: pointer;
}

/* 文字按钮里的换行保持原样 */
.step.text-options .option-list button {
    white-space: pre-wrap;
}

/* 后台把某个选项图片清空时，避免出现破图占位 */
.step.image-options .option-list button .image {
    background: rgba(0, 0, 0, 0.04);
    border-radius: 20px;
}
