@font-face {
    font-family: "Courier New";
    src: local("CourierNewPSMT"), url("/fonts/CutiveMono-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: "Courier New";
    src: local("CourierNewPS-BoldMT"), url("/fonts/CutiveMono-Regular.ttf") format("truetype");
    font-weight: bold;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: "Courier New";
    src: local("CourierNewPS-ItalicMT"), url("/fonts/CutiveMono-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: italic;
    font-display: block;
}

@font-face {
    font-family: "Courier New";
    src: local("CourierNewPS-BoldItalicMT"), url("/fonts/CutiveMono-Regular.ttf") format("truetype");
    font-weight: bold;
    font-style: italic;
    font-display: block;
}


@font-face {
    font-family: "Blue Screen";
    src: url("fonts/Blue%20Screen.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: #080908;
    color: #888;
}

body { font-family: "Courier New", Courier, monospace; }

main {
    width: 100%;
    min-height: 100vh;
}

.banner {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #11120f;
}

.banner > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .78;
    filter: brightness(.72) contrast(1.08) saturate(.75);
}

.filmtv-title {
    position: absolute;
    top: 58px;
    left: 50%;
    transform: translateX(-50%);
    width: 72%;
    max-width: 1100px;
    color: #383834;
    font-family: "Blue Screen", monospace;
    font-size: 24px;
    line-height: 1;
    text-align: center;
    z-index: 5;
}

.filmtv-title span { display: inline; }

.filmtv-back {
    position: absolute;
    left: 0;
    top: -4px;
    color: #383834;
    font-family: "Blue Screen", monospace;
    font-size: 28px;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
}

.filmtv-back:hover { color: #555550; }

.filmtv-window {
    position: absolute;
    top: 105px;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    width: 82%;
    max-width: 900px;
    overflow-y: auto;
    padding: 22px;
    background: rgba(8, 9, 8, .58);
    z-index: 5;
    scrollbar-width: thin;
    scrollbar-color: #080908 transparent;
    overscroll-behavior: contain;
}

.filmtv-window::-webkit-scrollbar { width: 6px; }
.filmtv-window::-webkit-scrollbar-track { background: transparent; }
.filmtv-window::-webkit-scrollbar-thumb { background: #080908; }

.filmtv-inner {
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
}

.filmtv-section { margin: 0; padding: 0; }
.filmtv-section:not(:last-child) { margin-bottom: 20px; }

.section-title {
    margin: 0 0 18px;
    color: #fff;
    font-family: "Courier New", Courier, monospace;
    font-size: 11px;
    font-weight: normal;
    letter-spacing: 1.5px;
    line-height: 1.5;
}

.filmtv-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.filmtv-entry {
    margin: 0;
    padding: 0;
    color: #929292;
    font-size: 12px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.filmtv-entry:last-child { padding-bottom: 0; }

.filmtv-empty {
    margin: 0;
    color: #77776f;
    font-size: 12px;
    line-height: 1.7;
    font-style: italic;
}

@media (max-width: 600px) {
    main { min-height: auto; padding: 10px; }
    .banner { height: 88vh; }
    .filmtv-title { top: 58px; width: 88%; font-size: 20px; }
    .filmtv-back { top: -3px; font-size: 24px; }
    .filmtv-window {
        top: 100px;
        bottom: 18px;
        width: 94%;
        padding: 18px 14px 20px;
    }
    .section-title { margin-bottom: 15px; font-size: 10px; letter-spacing: 1.2px; }
    .filmtv-entry, .filmtv-empty { font-size: 12px; }
}

@media (max-width: 380px) {
    .filmtv-title { top: 54px; width: 90%; font-size: 18px; }
    .filmtv-back { font-size: 22px; }
    .filmtv-window { top: 96px; bottom: 18px; width: 96%; padding: 15px 10px 16px; }
    .section-title { font-size: 9px; letter-spacing: 1px; }
}