/* ============================================================
   countdown.css · 开播倒计时（屏幕中央 3·2·1）
   参考截图 IMG_0653
   ============================================================ */

.countdown-layer {
    position: absolute;
    inset: 0 0 102px;
    z-index: 45;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.12);
    pointer-events: none;
}

/* 半透明深色圆底 */
.countdown-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 45%,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0.32) 70%,
        transparent 100%);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.countdown-num {
    font-size: 96px;
    font-weight: 300;
    color: #fff;
    line-height: 1;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

/* 每个数字入场：放大淡入 → 略缩淡出 */
.countdown-num.tick {
    animation: countTick 1000ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes countTick {
    0%   { opacity: 0; transform: scale(1.6); }
    18%  { opacity: 1; transform: scale(1); }
    80%  { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(0.85); }
}

/* 底部取消按钮（安全区内居中，参考截图 IMG_0654） */
.countdown-cancel {
    position: absolute;
    left: 50%;
    bottom: -77px;
    transform: translateX(-50%);
    min-width: 200px;
    padding: 15px 24px;
    border: none;
    border-radius: 14px;
    background: rgba(28, 28, 32, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: rgba(255, 255, 255, 0.92);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    pointer-events: auto;
    transition: opacity 160ms ease, transform 120ms ease;
}

.countdown-cancel:active {
    opacity: 0.7;
    transform: translateX(-50%) scale(0.98);
}
