/* ─── Override Layout khusus Halaman Focus/Ambient ─── */
body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 12px;
}

.terminal-wrapper {
    max-height: none !important;
    height: auto !important;
}

.terminal-output.ambient-card {
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 32px 20px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
}

.digital-clock {
    font-size: clamp(2.8rem, 11vw, 5rem);
    font-weight: 700;
    color: #f1f5f9;
    letter-spacing: 1px;
    text-shadow: 0 0 30px rgba(34, 211, 238, 0.3);
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
    margin: 6px 0 12px 0;
}

.date-display {
    font-size: clamp(0.8rem, 3vw, 1rem);
    color: #22d3ee;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}

.controls-grid {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    margin-top: 10px;
}

.ambient-btn {
    background: rgba(34, 211, 238, 0.08);
    border: 1px solid rgba(34, 211, 238, 0.2);
    color: #e2e8f0;
    padding: 10px 16px;
    border-radius: 12px;
    font-family: inherit;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 1 1 auto;
    min-width: 140px;
    -webkit-tap-highlight-color: transparent;
}

.ambient-btn:hover {
    background: rgba(34, 211, 238, 0.2);
    border-color: #22d3ee;
    color: #22d3ee;
}

.ambient-btn:active {
    transform: scale(0.97);
}

.ambient-btn.active {
    background: #22d3ee;
    color: #02040a;
    font-weight: 700;
    border-color: #22d3ee;
    box-shadow: 0 0 16px rgba(34, 211, 238, 0.4);
}

.pomo-timer {
    font-size: clamp(1.3rem, 5vw, 1.8rem);
    color: #fbbf24;
    margin-top: 16px;
    font-weight: 600;
}

/* Custom Audio Control Section */
.custom-audio-section {
    width: 100%;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed rgba(34, 211, 238, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

@media (max-width: 640px) {
    .terminal-output.ambient-card {
        padding: 20px 14px !important;
    }
    .controls-grid {
        gap: 8px;
    }
    .ambient-btn {
        padding: 9px 12px;
        font-size: 12px;
        min-width: 100%;
    }
}