body {
    margin: 0;
    background: #111;
    color: #fff;
    font-family: Arial, sans-serif;
}

body.light {
    background: #f4f4f4;
    color: #111;
}

.display {
    height: 100vh;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.prayer-text {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: bold;
    padding: 20px;
}

.person-text {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-top: 30px;
    color: #8bc34a;
}

body.light .person-text {
    color: #2e7d32;
}

.list-line {
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    margin: 12px 0;
}

/* ===== TOP CONTROL BAR ===== */
.top-controls {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    height: 56px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    padding: 0 15px;
    z-index: 1000;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(6px);
}

body.light .top-controls {
    background: rgba(255,255,255,0.8);
}

/* BUTTONS */
.top-controls button {
    padding: 8px 12px;
    border-radius: 6px;
    border: none;
    font-size: 1rem;
    cursor: pointer;
}

/* PUSH CONTENT DOWN */
.display {
    padding-top: 70px;
}


input, button, select {
    width: 100%;
    padding: 12px;
    margin-top: 8px;
    font-size: 1em;
}
.card {
    border: 1px solid #333;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 10px;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px,1fr));
    gap: 8px;
    margin: 10px 0;
}

.checkbox-grid label {
    font-size: 0.9rem;
}/* ===== AUTO-HIDE CONTROLS ===== */
.top-controls {
    transition: opacity 0.4s ease;
}

.top-controls.hidden {
    opacity: 0;
    pointer-events: none;
}

