/* =========================================================
   NEW STAR CINEMA TV GUIDE
   guide.css (SAFE FIX — RESTORES GRID LAYOUT)
========================================================= */

/* ROOT WRAPPER */
#nsc-guide-root {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    background: #000;
    font-family: Arial, sans-serif;
}

/* EACH ROW */
.nsc-row {
    display: flex;
    align-items: stretch;
    width: max-content;
    min-width: 100%;
}

/* LEFT CHANNEL LABEL (FIXED COLUMN BEHAVIOR) */
.nsc-label {
    position: sticky;
    left: 0;
    z-index: 10;

    width: 180px;
    min-width: 180px;

    background: #111;
    color: #fff;

    padding: 10px;

    display: flex;
    align-items: center;

    border-right: 1px solid #222;
}

/* GRID AREA (HORIZONTAL SCROLL REGION) */
.nsc-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;

    overflow-x: auto;
    overflow-y: hidden;

    width: max-content;
}

/* SLOT BASE */
.nsc-slot {
    min-width: 120px;
    height: 70px;

    background: #1a1a1a;
    border-right: 1px solid #333;

    color: #fff;

    padding: 6px;

    cursor: pointer;

    display: flex;
    flex-direction: column;
    justify-content: center;

    transition: 0.2s ease;
}

/* LIVE SLOT */
.nsc-slot.live {
    background: linear-gradient(to bottom, #ffd700, #b8860b);
    color: #000;
    font-weight: bold;
}

/* DISABLED SLOT */
.nsc-slot:not(.live) {
    opacity: 0.35;
    pointer-events: none;
}

/* SLOT TEXT */
.nsc-slot-title {
    font-size: 12px;
    font-weight: 600;
}

.nsc-slot-time {
    font-size: 10px;
    opacity: 0.8;
}

/* HOVER */
.nsc-slot.live:hover {
    filter: brightness(1.1);
}