/* =========================
   Program Schedule
========================= */

#program {
    overflow-x: auto;
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
    min-width: 560px;
}

.program-day {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 4px;
    overflow: hidden;
}

.program-day--weekend {
    border-color: #333;
    background: #1e1a1e;
}

.program-day-header {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #00f5ff;
    text-align: center;
    padding: 0.4rem 0.2rem;
    background: #111;
    border-bottom: 1px solid #222;
}

.program-day--weekend .program-day-header {
    color: #ff6afc;
}

.program-day-slots {
    padding: 0.3rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.program-slot {
    background: #242424;
    border-left: 2px solid #e63946;
    padding: 0.3rem 0.4rem;
    border-radius: 2px;
    cursor: pointer;
    position: relative;
    transition: background 0.15s ease;
}

.program-slot:hover {
    background: #2e2e2e;
}

.program-time {
    display: block;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.65rem;
    color: #888;
    line-height: 1.2;
}

.program-name {
    display: block;
    font-size: 0.72rem;
    color: #f5f5f5;
    line-height: 1.3;
}

.program-repeat {
    color: #888;
    font-size: 0.65rem;
    margin-left: 0.2rem;
}

/* Tooltip */
.program-tooltip {
    position: absolute;
    background: #1a1a1a;
    border: 1px solid #444;
    color: #ccc;
    font-size: 0.72rem;
    line-height: 1.4;
    padding: 0.5rem 0.7rem;
    border-radius: 4px;
    width: 220px;
    z-index: 9999;
    pointer-events: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.8);
    white-space: normal;
}

/* Mobile */
@media (max-width: 600px) {
    .program-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 400px) {
    .program-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}