

/* 内部居中布局层 */
.countdown-inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

/* ====================== 时间设置区域 优雅大气重写 ====================== */
.time-set-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}
.time-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.time-item span {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
    letter-spacing: 0.5px;
}
/* 输入框优雅无框质感 */
.time-item input {
    width: 90px;
    height: 60px;
    background: transparent;
    border: none;
    border-bottom: 2px solid #e2e8f0;
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    color: #0f172a;
    outline: none;
    transition: all 0.3s ease;
}
.time-item input:focus {
    border-color: #3b82f6;
}
/* 分隔冒号 大气优雅 */
.time-colon {
    font-size: 32px;
    font-weight: 600;
    color: #475569;
    padding-bottom: 10px;
}

/* ====================== 倒计时大屏 ====================== */
.countdown-show {
    font-size: 76px;
    font-weight: 600;
    color: #111827;
    letter-spacing: 3px;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

/* ====================== 控制按钮 ====================== */
.btn-group {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
}
.btn {
    width: 130px;
    height: 54px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.24s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}
.btn:active {
    transform: translateY(0);
}
.btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
.btn-start {
    background: #22c55e;
    color: #fff;
}
.btn-pause {
    background: #f59e0b;
    color: #fff;
}
.btn-reset {
    background: #ef4444;
    color: #fff;
}

/* ====================== 记录区域 ====================== */
.record-box {
    width: 100%;
    max-width: 480px;
    text-align: left;
}
.record-title {
    font-size: 15px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 12px;
    padding-left: 4px;
}
.record-list {
    max-height: 240px;
    overflow-y: auto;
    background: #f8fafc;
    border-radius: 16px;
    padding: 14px 16px;
}
.record-item {
    padding: 10px 12px;
    font-size: 14px;
    color: #475569;
    border-bottom: 1px solid #e2e8f0;
}
.record-item:last-child {
    border-bottom: none;
}
.record-list::-webkit-scrollbar {
    width: 5px;
}
.record-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 999px;
}

/* 移动端适配 */
@media (max-width: 640px) {
    .countdown-show {
        font-size: 46px;
    }
    .time-item input {
        width: 70px;
        height: 50px;
        font-size: 22px;
    }
    .time-colon {
        font-size: 24px;
    }
    .btn {
        width: 105px;
        height: 48px;
        font-size: 15px;
    }
}