/* =================================================================== */
/* 페이지 특정 CSS (명상 타이머용)                                      */
/* =================================================================== */
.setup-panel { display: block; }
.timer-screen, .end-screen { display: none; }

.option-group { margin-bottom: var(--rg-spacing-large); }
.theme-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: var(--rg-spacing);
}
.theme-card {
    aspect-ratio: 16 / 10;
    border-radius: var(--rg-border-radius);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.2s ease;
}
.theme-card.active {
    border-color: var(--rg-color-primary);
    box-shadow: var(--rg-shadow-md);
    transform: scale(1.05);
}
.theme-card img { width: 100%; height: 100%; object-fit: cover; }
.theme-card .theme-name {
    position: absolute; bottom: 0; left: 0; width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white; font-weight: 600; padding: 16px 12px 8px;
}

/* 전체 화면 타이머 */
.timer-screen.active {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 10000;
    animation: fadeIn 1s ease-in-out;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.timer-display {
    font-family: 'Courier New', Courier, monospace;
    font-size: clamp(4rem, 20vw, 12rem);
    font-weight: 700;
    color: white;
    text-shadow: 0 0 20px rgba(0,0,0,0.7);
}
.timer-controls {
    position: absolute;
    bottom: 5%;
    display: flex;
    gap: 16px;
    background-color: rgba(0,0,0,0.3);
    padding: 12px 24px;
    border-radius: var(--rg-border-radius-pill);
}
#youtube-player { position: absolute; opacity: 0; pointer-events: none; }