/* Lịch chiếu — layout theo reference (tabs CN→T7, chiếu sớm / lịch ngày) */

body.hh-schedule-page #main > #content.content-area.page-wrapper,
body.hh-schedule-page #content.content-area.page-wrapper {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

body.hh-schedule-page #content .row-main,
body.hh-schedule-page #content .col {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

body.hh-schedule-page #content .col-inner.lc-page,
body.hh-schedule-page #content .lc-page {
    --lc-text: rgba(255, 255, 255, 0.92);
    --lc-border: rgba(255, 255, 255, 0.08);
    --lc-muted: rgba(255, 255, 255, 0.58);
    max-width: 1400px;
    width: 100%;
    margin: 0 auto 40px;
    padding: 14px 12px 22px !important;
    box-sizing: border-box;
    font-family: 'Be Vietnam Pro', sans-serif;
    color: var(--lc-text);
    background:
        radial-gradient(ellipse 90% 60% at 100% 0%, rgba(86, 200, 245, 0.07) 0%, transparent 55%),
        radial-gradient(ellipse 70% 50% at 0% 100%, rgba(232, 184, 74, 0.05) 0%, transparent 50%),
        linear-gradient(168deg, #181820 0%, #12121a 55%, #0f0f14 100%);
    border: 1px solid var(--lc-border);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

@media (min-width: 768px) {
    body.hh-schedule-page #content .col-inner.lc-page,
    body.hh-schedule-page #content .lc-page {
        padding: 18px 18px 26px !important;
    }
}

.hh-showtime {
    --hh-st-bg: #12151c;
    --hh-st-panel: #161a22;
    --hh-st-card: #1c212b;
    --hh-st-border: rgba(255, 255, 255, 0.08);
    --hh-st-muted: rgba(255, 255, 255, 0.55);
    --hh-st-text: #f3f4f6;
    --hh-st-cyan: #22d3ee;
    --hh-st-yellow: #eab308;
    --mv-text: rgba(255, 255, 255, .92);
    --mv-muted: rgba(255, 255, 255, .58);
    --cp-muted: rgba(255, 255, 255, .58);
    max-width: none;
    margin: 0;
    color: var(--hh-st-text);
    font-family: inherit;
}

/* Header dùng chung .mv-hero (category) — chỉ chỉnh khoảng cách trong trang lịch */
.hh-showtime > .mv-hero {
    margin-bottom: 18px;
}

.hh-showtime__tabs {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 6px;
    margin: 0 0 24px;
    padding: 8px;
    border-radius: 8px;
    background: rgba(8, 12, 20, 0.92);
    border: 1px solid var(--hh-st-border);
}

.hh-showtime__tab {
    appearance: none;
    -webkit-appearance: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-height: 54px;
    margin: 0;
    padding: 8px 4px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 6px;
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.hh-showtime__tab-vn {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}

.hh-showtime__tab-en {
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.2;
}

.hh-showtime__tab:hover {
    background: rgba(34, 211, 238, 0.08);
    border-color: rgba(34, 211, 238, 0.25);
}

.hh-showtime__tab.is-active {
    background: rgba(34, 211, 238, 0.14);
    border-color: rgba(34, 211, 238, 0.45);
    border-bottom: 2px solid var(--hh-st-cyan);
    box-shadow: 0 0 12px rgba(34, 211, 238, 0.18);
}

.hh-showtime__tab.is-active .hh-showtime__tab-vn {
    color: var(--hh-st-cyan);
}

.hh-showtime__tab.is-active .hh-showtime__tab-en {
    color: rgba(34, 211, 238, 0.75);
}

.hh-showtime__panel[hidden] {
    display: none !important;
}

.hh-showtime__section {
    margin: 0 0 22px;
    padding: 16px;
    border-radius: 8px;
    background: var(--hh-st-panel);
    border: 1px solid var(--hh-st-border);
}

.hh-showtime__section--early {
    border-color: rgba(234, 179, 8, 0.35);
}

.hh-showtime__section--day {
    border-color: rgba(34, 211, 238, 0.28);
}

.hh-showtime__section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.hh-showtime__section--early .hh-showtime__section-title {
    color: var(--hh-st-yellow);
}

.hh-showtime__section--day .hh-showtime__section-title {
    color: var(--hh-st-cyan);
}

.hh-showtime__section-title i {
    font-size: 14px;
}

.hh-showtime__grid {
    display: grid;
    gap: 14px;
}

.hh-showtime__grid--early {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hh-showtime__grid--day {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hh-showtime__empty {
    margin: 0;
    padding: 18px;
    text-align: center;
    color: var(--hh-st-muted);
    border: 1px dashed rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
}

.hh-showtime-card {
    position: relative;
    display: flex;
    align-items: stretch;
    gap: 12px;
    min-width: 0;
    padding: 12px;
    text-decoration: none !important;
    color: inherit;
    background: var(--hh-st-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.hh-showtime-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.hh-showtime-card--early:hover {
    border-color: rgba(234, 179, 8, 0.55);
}

.hh-showtime-card--day:hover {
    border-color: rgba(34, 211, 238, 0.55);
}

.hh-showtime-card__time {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    padding: 3px 9px;
    font-size: 12px;
    font-weight: 800;
    color: var(--hh-st-yellow);
    border: 1px solid rgba(234, 179, 8, 0.7);
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.55);
    line-height: 1.3;
}

.hh-showtime-card__poster {
    flex: 0 0 72px;
    width: 72px;
    aspect-ratio: 2 / 3;
    border-radius: 6px;
    overflow: hidden;
    background: #0f131a;
}

.hh-showtime-card__poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hh-showtime-card__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    padding-right: 52px;
}

.hh-showtime-card--day .hh-showtime-card__body {
    padding-right: 0;
}

.hh-showtime-card__title {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hh-showtime-card__ep {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 4px;
    border: 1px solid transparent;
    line-height: 1.2;
}

.hh-showtime-card--early .hh-showtime-card__ep {
    color: var(--hh-st-yellow);
    background: rgba(234, 179, 8, 0.08);
    border-color: rgba(234, 179, 8, 0.25);
}

.hh-showtime-card--day .hh-showtime-card__ep {
    color: var(--hh-st-cyan);
    background: rgba(34, 211, 238, 0.08);
    border-color: rgba(34, 211, 238, 0.22);
}

.hh-showtime-card__ago {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--hh-st-muted);
}

.hh-showtime-card__ago i {
    font-size: 11px;
    line-height: 1;
    opacity: 0.85;
}

@media (max-width: 900px) {
    .hh-showtime__tabs {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .hh-showtime__tab[data-hh-st-tab="6"] {
        grid-column: span 2;
    }

    .hh-showtime__grid--early {
        grid-template-columns: 1fr;
    }

    .hh-showtime__grid--day {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    body.hh-schedule-page #main > #content .row > .col,
    body.hh-schedule-page #content .row > .col {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    body.hh-schedule-page #content .col-inner.lc-page,
    body.hh-schedule-page #content .lc-page {
        margin-bottom: 16px;
        padding: 8px 8px 12px !important;
    }

    .hh-showtime {
        padding: 0;
    }

    .hh-showtime > .mv-hero {
        margin-bottom: 10px;
        padding: 12px 12px 10px;
    }

    .hh-showtime__tabs {
        gap: 6px;
        margin-bottom: 14px;
        padding: 6px;
    }

    .hh-showtime__section {
        margin-bottom: 12px;
        padding: 10px;
    }

    .hh-showtime__section-title {
        margin-bottom: 10px;
    }
}

@media (max-width: 560px) {
    .hh-showtime__tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hh-showtime__tab[data-hh-st-tab="6"] {
        grid-column: 1 / -1;
    }

    .hh-showtime__tab {
        min-height: 48px;
        padding: 8px 6px;
    }

    .hh-showtime__grid--day {
        grid-template-columns: 1fr;
    }

    .hh-showtime-card {
        padding: 8px;
        gap: 10px;
    }

    .hh-showtime-card__poster {
        width: 64px;
        flex-basis: 64px;
    }
}
