@font-face { font-family: Involve; src: url('../fonts/Involve-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
* { box-sizing: border-box; -webkit-user-select: none; user-select: none; }
html { background: #111; color: #eee; font-family: Involve, Arial, sans-serif; }
body { margin: 0; padding: 28px 4%; font-size: 20px; line-height: 1.5; }
[hidden] { display: none !important; }
button, input, select { font: inherit; border: 0; border-radius: 6px; color: #eee; background: #272727; outline: none; box-shadow: none; }
button, select, a { cursor: pointer; }
button { min-height: 52px; padding: 10px 20px; }
a { color: #bbb; text-decoration: none; outline: none; }
button:focus, select:focus, input:focus, a:focus { background: #ededed; color: #111; }
button:disabled, select:disabled { opacity: .35; cursor: default; }
.tv-primary { background: #dedede; color: #111; }
.tv-header { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; margin-bottom: 24px; }
.tv-brand { font-size: 34px; font-weight: bold; border-radius: 6px; padding: 0 8px; color: #eee; white-space: nowrap; }
.tv-brand span { color: #aaa; }
.tv-brand small { font-size: 14px; padding: 4px 7px; background: #292929; border-radius: 4px; color: #ddd; }
.tv-hint { -webkit-flex: 1; flex: 1; text-align: center; font-size: 15px; color: #999; margin: 0 16px; }
#language { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; margin-left: auto; }
#language-flag { margin-right: 10px; }
.tv-filters { display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; margin: 0 0 14px -8px; }
.tv-filters button { margin: 0 0 8px 8px; }
.tv-filters button.active { background: #464646; }
.tv-filters button.active:focus { background: #ededed; }
.tv-search { display: -webkit-flex; display: flex; margin-bottom: 28px; }
.tv-search input { -webkit-flex: 1; flex: 1; min-width: 0; padding: 12px 16px; }
.tv-search button { margin-left: 10px; }
h1 { font-size: 28px; line-height: 1.3; margin: 0; }
.tv-section-heading { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; margin: 0 0 18px; }
#catalog-count { margin-left: 16px; color: #999; font-size: 17px; }
.tv-status { color: #aaa; margin: 12px 0; }
.tv-error { color: #eee; background: #282828; padding: 12px 16px; border-radius: 6px; }
.tv-grid { display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; margin: 0 -7px; }
.tv-card { display: block; width: calc(16.666666% - 14px); margin: 0 7px 22px; padding: 0 0 10px; overflow: hidden; background: #181818; text-align: left; min-width: 0; }
.tv-card img, .tv-skeleton-poster { width: 100%; height: auto; display: block; background: #252525; }
.tv-card img { object-fit: cover; }
.tv-card-title { display: block; padding: 10px 10px 0; font-size: 17px; line-height: 1.4; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tv-card-meta { display: block; padding: 5px 10px 0; font-size: 14px; color: #aaa; }
.tv-card:focus .tv-card-meta { color: #444; }
.tv-skeleton { pointer-events: none; }
.tv-skeleton-poster { padding-top: 150%; }
.tv-skeleton-line { height: 14px; background: #292929; border-radius: 3px; margin: 12px 10px; width: 70%; }
.tv-pagination { display: -webkit-flex; display: flex; -webkit-justify-content: center; justify-content: center; -webkit-align-items: center; align-items: center; padding: 8px 0 28px; }
#page-label { margin: 0 25px; color: #aaa; }
.tv-details { display: -webkit-flex; display: flex; margin: 28px 0; }
#detail-poster { display: block; -webkit-flex-shrink: 0; flex-shrink: 0; width: 185px; height: 278px; border-radius: 6px; object-fit: cover; margin-right: 30px; background: #252525; }
.tv-details > div { -webkit-flex: 1; flex: 1; min-width: 0; }
#detail-description { max-width: 900px; font-size: 20px; color: #bbb; }
.tv-muted { color: #999; font-size: 16px; }
.tv-actions { margin: 22px -5px; }
.tv-actions button { margin: 5px; }
.tv-player-heading { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; margin-bottom: 20px; }
.tv-player-heading h1 { margin-left: 20px; }
.tv-player { position: relative; background: #080808; height: 60vh; min-height: 250px; border-radius: 8px; overflow: hidden; }
#video { display: block; height: 100%; width: 100%; object-fit: contain; background: #080808; }
.tv-player-loading { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background-color: #161616; background-position: center; background-size: cover; display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: center; justify-content: center; text-align: center; }
.tv-player-loading p { padding: 14px 24px; background: #151515; border-radius: 6px; margin: 20px; }
.tv-playback-buttons { margin: 16px -5px 10px; }
.tv-playback-buttons button { margin: 5px; }
.tv-source-controls { display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; margin: 0 -6px; }
.tv-source-controls label { display: block; margin: 6px; -webkit-flex: 1; flex: 1; min-width: 150px; }
.tv-source-controls label > span { display: block; color: #999; font-size: 15px; margin-bottom: 5px; }
.tv-source-controls select { width: 100%; min-height: 52px; padding: 8px; }
footer { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: space-between; justify-content: space-between; color: #888; padding: 28px 0 10px; font-size: 14px; }
footer a { padding: 10px; border-radius: 4px; margin-left: -10px; }
.tv-about { max-width: 760px; margin: 40px auto; }
.tv-about h1 { margin: 24px 0; }
.tv-about img { display: block; margin: 32px 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
@media (max-width: 1100px) { .tv-card { width: calc(25% - 14px); } .tv-hint { font-size: 13px; } body { font-size: 18px; } }
@media (max-width: 650px) { body { padding: 18px; font-size: 16px; } .tv-card { width: calc(50% - 14px); } .tv-hint { display: none; } .tv-search { -webkit-flex-wrap: wrap; flex-wrap: wrap; } .tv-search input { width: 100%; -webkit-flex-basis: 100%; flex-basis: 100%; margin-bottom: 10px; } .tv-search button { margin: 0 10px 0 0; } h1 { font-size: 23px; } #detail-poster { width: 110px; height: 165px; margin-right: 18px; } #detail-description { font-size: 16px; } }
