.tool-content {
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    padding: 1.2em;
    border-radius: .6em;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.2em;
}

.tool-content .item-tool {
    display: flex;
    align-items: center;
    justify-content: center;
    border: solid 1px #ddd;
    background-color: var(--main-bg);
    height: 200px;
    border-radius: 7px;
}

.tool-content .item-tool .timer-display{
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 4.5em;
    font-weight: 700;
}

/*按钮样式*/
.tool-content .operate-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    outline: none;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    height: 48px;
    width: 120px;
    color: #333;
    font-size: 16px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    box-shadow: 3px 3px 16px #e2e2e2;
}

.btn .ripple {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
    z-index: 1;
    animation: ripple-effect 0.6s ease-out forwards;
}

.btn-start {
    color: #fff;
    background-color: #00be4c;
    border-color: #00be4c;
}

.btn-red {
    color: #fff;
    background-color: #ff4200;
    border-color: #ff4200;
}

.btn-blue {
    color: #fff;
    background-color: #2575ef;
    border-color: #2575ef;
}

.btn-grey {
    color: #fff;
    background-color: #6a7282;
    border-color: #6a7282;
}

.table-container table th,.table-container table td {
    border-width: 0;
    padding: 10px 30px;
    font-size: 15.5px;
    text-align: center;
}

.table-container table td:nth-child(1){
    font-family: ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;
    font-weight: 600;
    font-size: 16px;
}

.table-container table td:nth-child(2) {
    font-family: ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;
    font-weight: 600;
    font-size: 16px;
}

/* 关键动画：扩散 + 淡出 */
@keyframes ripple-effect {
    0% {
        width: 0;
        height: 0;
        opacity: 0.4;
    }
    100% {
        width: 300px;
        height: 300px;
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .tool-content {
        padding: .8em;
        box-shadow: unset;
    }

    .tool-content .operate-buttons{
        gap: 10px;
    }

    .tool-content .operate-buttons .btn {
        line-height: 38px;
        height: 38px;
        width: 100px;
        border-radius: 8px;
        font-size: 15px;
    }

    .tool-content .item-tool .timer-display{
        font-size: 3.4em;
    }
}