:root {
    color-scheme: dark;
    --bg: #0c0b0d;
    --panel: #171417;
    --panel-soft: #211d21;
    --line: rgba(255, 255, 255, 0.11);
    --text: #f8f4f1;
    --muted: #b8adb4;
    --red: #f04444;
    --amber: #f4b43f;
    --teal: #37d2b4;
    --violet: #9b5cff;
    --shadow: 0 20px 70px rgba(0, 0, 0, 0.45);
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    background: var(--bg);
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 220px),
        linear-gradient(115deg, rgba(240, 68, 68, 0.08), transparent 38%),
        linear-gradient(245deg, rgba(55, 210, 180, 0.055), transparent 34%),
        var(--bg);
    letter-spacing: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

img,
video {
    display: block;
    max-width: 100%;
}

button,
input {
    font: inherit;
}

main {
    width: 100%;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: minmax(190px, auto) minmax(260px, 1fr) auto;
    gap: 20px;
    align-items: center;
    padding: 12px clamp(16px, 3vw, 36px);
    border-bottom: 1px solid var(--line);
    background: rgba(12, 11, 13, 0.92);
    backdrop-filter: blur(20px);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
}

.brand-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    width: fit-content;
}

.brand__logo {
    display: block;
    width: clamp(162px, 18vw, 214px);
    height: auto;
    max-height: 48px;
}

.age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 28px;
    border: 1px solid rgba(244, 180, 63, 0.34);
    border-radius: 7px;
    color: #ffe3a3;
    background: rgba(244, 180, 63, 0.1);
    font-size: 0.78rem;
    font-weight: 900;
}

.search {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
    align-items: center;
    max-width: 760px;
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: visible;
    background: rgba(255, 255, 255, 0.075);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: border-color 160ms ease, background 160ms ease;
}

.search:focus-within {
    border-color: rgba(244, 180, 63, 0.62);
    background: rgba(255, 255, 255, 0.095);
}

.search input {
    width: 100%;
    border: 0;
    outline: 0;
    padding: 12px 14px;
    color: var(--text);
    background: transparent;
}

.search button {
    height: 100%;
    border: 0;
    border-radius: 0 7px 7px 0;
    color: var(--text);
    background: linear-gradient(135deg, rgba(244, 180, 63, 0.92), rgba(240, 68, 68, 0.92));
    cursor: pointer;
    font-weight: 900;
}

.search-suggest {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 30;
    display: grid;
    gap: 4px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(20, 18, 22, 0.98);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.46);
}

.search-suggest[hidden] {
    display: none;
}

.search-suggest__item {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    min-height: 42px;
    padding: 8px 10px;
    border-radius: 7px;
    color: var(--text);
}

.search-suggest__item:hover,
.search-suggest__item:focus-visible {
    outline: 0;
    background: rgba(255, 255, 255, 0.08);
}

.search-suggest__type {
    display: inline-flex;
    justify-content: center;
    padding: 4px 6px;
    border: 1px solid rgba(244, 180, 63, 0.24);
    border-radius: 999px;
    color: #ffe3a3;
    background: rgba(244, 180, 63, 0.08);
    font-size: 0.7rem;
    font-weight: 900;
}

.search-suggest__item strong {
    overflow: hidden;
    font-size: 0.92rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-suggest__item small {
    color: var(--muted);
    font-size: 0.78rem;
    white-space: nowrap;
}

.nav-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    min-width: 0;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 11px;
    border: 1px solid transparent;
    border-radius: 7px;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 800;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.is-active,
.inline-link:hover {
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.07);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
    font-weight: 800;
    transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
    border-color: rgba(244, 180, 63, 0.48);
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
}

.button--primary {
    color: #170c09;
    background: linear-gradient(135deg, var(--amber), var(--red));
    box-shadow: 0 12px 34px rgba(240, 68, 68, 0.22);
}

.button--ghost {
    border-color: var(--line);
    color: var(--text);
}

.button--full {
    width: 100%;
}

.button--compact {
    min-height: 34px;
    padding: 0 11px;
    font-size: 0.82rem;
}

.dashboard {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 24px;
    width: min(100%, 1620px);
    margin: 0 auto;
    padding: 24px clamp(16px, 3vw, 36px) 38px;
}

.rail {
    position: static;
    align-self: start;
    display: grid;
    gap: 18px;
}

.rail__section {
    display: grid;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
}

.rail__label,
.eyebrow {
    margin: 0;
    color: var(--amber);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rail__item {
    display: flex;
    align-items: center;
    min-height: 36px;
    padding: 0 10px;
    border-radius: 7px;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 760;
}

.rail__item:hover,
.rail__item.is-active {
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
}

.eyebrow-link {
    color: var(--amber);
}

.eyebrow-link:hover {
    color: var(--teal);
}

.content-feed {
    min-width: 0;
}

.feature-strip {
    position: relative;
    display: block;
    min-height: clamp(260px, 30vw, 430px);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    isolation: isolate;
}

.feature-strip::after,
.poster::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.22), transparent 16rem);
    transition: opacity 160ms ease;
    pointer-events: none;
}

.feature-strip:hover::after,
.poster:hover::after {
    opacity: 1;
}

.feature-strip img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-strip__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 8, 10, 0.94), rgba(10, 8, 10, 0.35), rgba(10, 8, 10, 0.12));
}

.feature-strip__content {
    position: absolute;
    left: clamp(18px, 4vw, 44px);
    bottom: clamp(18px, 4vw, 38px);
    display: grid;
    gap: 9px;
    width: min(560px, calc(100% - 36px));
}

.feature-strip__content strong {
    font-size: clamp(2rem, 5vw, 4.4rem);
    line-height: 0.95;
}

.feature-strip__content span:last-child {
    color: var(--muted);
}

.feed-toolbar {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin: 4px 0 14px;
    padding: 14px 0 4px;
}

.feed-toolbar h1 {
    margin: 4px 0 0;
    max-width: 880px;
    font-size: 2rem;
    line-height: 1.08;
}

.feed-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 10px;
}

.feed-summary span {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 7px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.045);
    font-size: 0.78rem;
    font-weight: 800;
}

.sort-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    max-width: 760px;
}

.sort-tabs a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 7px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.06);
    font-size: 0.86rem;
    font-weight: 800;
    white-space: nowrap;
}

.sort-tabs a:hover,
.sort-tabs a.is-active {
    color: #180b09;
    border-color: rgba(244, 180, 63, 0.62);
    background: linear-gradient(135deg, var(--amber), #f6c96e);
}

.quick-filter {
    display: grid;
    gap: 8px;
    margin: 0 0 16px;
}

.quick-filter > span {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 850;
    text-transform: uppercase;
}

.home-highlights {
    display: grid;
    gap: 14px;
    margin-bottom: 20px;
}

.home-strip {
    min-width: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
}

.home-strip__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.home-strip__head h2 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.2;
}

.home-strip__head a {
    color: #ffe3a3;
    font-size: 0.82rem;
    font-weight: 900;
    white-space: nowrap;
}

.spotlight-row {
    display: grid;
    grid-auto-columns: minmax(170px, 1fr);
    grid-auto-flow: column;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding-bottom: 4px;
    scrollbar-width: thin;
}

.spotlight-card {
    display: grid;
    align-content: start;
    gap: 7px;
    min-width: 0;
}

.spotlight-card__media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 7px;
    background: #070608;
}

.spotlight-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 180ms ease, filter 180ms ease;
}

.spotlight-card:hover .spotlight-card__media img {
    transform: scale(1.04);
    filter: saturate(1.08);
}

.spotlight-card__media span {
    position: absolute;
    right: 7px;
    bottom: 7px;
    padding: 3px 6px;
    border-radius: 5px;
    color: #fff;
    background: rgba(0, 0, 0, 0.72);
    font-size: 0.72rem;
    font-weight: 900;
}

.spotlight-card strong {
    display: -webkit-box;
    overflow: hidden;
    min-height: 2.35em;
    color: var(--text);
    font-size: 0.88rem;
    line-height: 1.18;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.spotlight-card small {
    overflow: hidden;
    color: var(--muted);
    font-size: 0.74rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.category-scroll {
    display: flex;
    gap: 8px;
    margin: 0;
    padding: 0 0 12px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(244, 180, 63, 0.45) rgba(255, 255, 255, 0.08);
}

.category-scroll::-webkit-scrollbar {
    height: 7px;
}

.category-scroll::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.category-scroll::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(244, 180, 63, 0.45);
}

.category-scroll a {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 7px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.84rem;
    font-weight: 800;
    white-space: nowrap;
}

.category-scroll a:hover,
.category-scroll a.is-active {
    color: var(--text);
    border-color: rgba(55, 210, 180, 0.38);
    background: rgba(55, 210, 180, 0.11);
}

.ad-slot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 58px;
    margin: 0 0 18px;
    padding: 0 16px;
    border: 1px solid rgba(244, 180, 63, 0.28);
    border-radius: 8px;
    background:
        linear-gradient(120deg, rgba(244, 180, 63, 0.12), rgba(55, 210, 180, 0.08)),
        rgba(255, 255, 255, 0.05);
    transition: border-color 160ms ease, background 160ms ease;
}

.ad-slot:hover {
    border-color: rgba(244, 180, 63, 0.46);
    background:
        linear-gradient(120deg, rgba(244, 180, 63, 0.16), rgba(55, 210, 180, 0.11)),
        rgba(255, 255, 255, 0.06);
}

.ad-slot span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 8px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 6px;
    color: var(--muted);
    background: rgba(12, 11, 13, 0.42);
    font-size: 0.7rem;
    font-weight: 850;
    text-transform: uppercase;
}

.ad-slot strong {
    color: #fff7eb;
    font-size: 0.94rem;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(236px, 1fr));
    gap: 20px 18px;
}

.video-card {
    min-width: 0;
    padding: 7px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0);
    transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.video-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.045);
    transform: translateY(-2px);
}

.video-card:hover .poster {
    border-color: rgba(244, 180, 63, 0.58);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.42);
}

.poster {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: var(--panel-soft);
    isolation: isolate;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.poster img {
    position: relative;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 260ms ease, filter 260ms ease, opacity 220ms ease;
}

.poster:hover img {
    transform: scale(1.045);
    filter: saturate(1.06) contrast(1.05);
}

.brand-watermark {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    max-width: calc(100% - 20px);
    min-height: 22px;
    padding: 3px 7px 3px 5px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 6px;
    color: #fff7eb;
    background: rgba(12, 11, 13, 0.68);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(10px);
    font-size: 0.68rem;
    font-weight: 850;
    line-height: 1;
    pointer-events: none;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    user-select: none;
    white-space: nowrap;
}

.brand-watermark::before {
    content: "";
    display: block;
    flex: 0 0 auto;
    width: 14px;
    height: 14px;
    border-radius: 4px;
    background: url("favicon.svg") center / contain no-repeat;
}

.poster__brand {
    position: absolute;
    z-index: 8;
    left: 8px;
    top: 8px;
}

.video-card__badges {
    position: absolute;
    z-index: 9;
    right: 8px;
    top: 8px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
    max-width: calc(100% - 96px);
    pointer-events: none;
}

.card-badge {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 7px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    color: #170c09;
    background: rgba(244, 180, 63, 0.92);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.24);
    font-size: 0.68rem;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
}

.poster__play {
    position: absolute;
    z-index: 7;
    left: 50%;
    top: 50%;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    background:
        radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 30%),
        linear-gradient(135deg, var(--amber), #ff6b4a);
    transform: translate(-50%, -50%);
    box-shadow:
        0 16px 38px rgba(0, 0, 0, 0.45),
        0 0 0 8px rgba(244, 180, 63, 0.14);
    transition: opacity 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.poster__play::before {
    content: "";
    width: 0;
    height: 0;
    margin-left: 4px;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 16px solid #160b08;
    filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.32));
}

.poster__play::after {
    content: "";
    position: absolute;
    inset: -7px;
    border-radius: inherit;
    border: 1px solid rgba(244, 180, 63, 0.4);
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 180ms ease, transform 180ms ease;
}

.poster:hover .poster__play {
    transform: translate(-50%, -50%) scale(1.06);
    box-shadow:
        0 18px 44px rgba(0, 0, 0, 0.52),
        0 0 0 10px rgba(244, 180, 63, 0.18);
}

.poster:hover .poster__play::after {
    opacity: 1;
    transform: scale(1);
}

.poster__duration {
    position: absolute;
    z-index: 8;
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 8px;
    border-radius: 6px;
    font-size: 0.76rem;
    font-weight: 850;
}

.poster__duration {
    right: 8px;
    bottom: 8px;
    background: rgba(0, 0, 0, 0.72);
    transition: opacity 160ms ease, transform 160ms ease;
}

.video-card__body {
    display: grid;
    gap: 8px;
    padding: 11px 2px 2px;
}

.video-card__title {
    display: -webkit-box;
    min-height: 2.4em;
    overflow: hidden;
    font-weight: 850;
    line-height: 1.2;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.video-card__title:hover {
    color: var(--amber);
}

.meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    color: var(--muted);
    font-size: 0.86rem;
}

.meta-line--links {
    align-items: center;
}

.meta-link {
    color: var(--muted);
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.meta-link:hover {
    color: var(--amber);
}

.meta-link--category {
    max-width: max-content;
    min-height: 22px;
    padding: 0 7px;
    border: 1px solid rgba(55, 210, 180, 0.24);
    border-radius: 6px;
    color: #d8fff8;
    background: rgba(55, 210, 180, 0.08);
    font-size: 0.78rem;
    font-weight: 820;
}

.meta-line--stats {
    gap: 6px;
}

.meta-line--stats span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 7px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.78rem;
    line-height: 1;
}

.watch-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 348px;
    gap: 26px;
    width: min(100%, 1620px);
    margin: 0 auto;
    padding: 24px clamp(16px, 3vw, 36px) 40px;
}

.watch-main {
    min-width: 0;
}

.watch-layout--theater {
    grid-template-columns: minmax(0, 1fr);
}

.watch-layout--theater .watch-main {
    justify-self: center;
    width: min(100%, 1320px);
}

.watch-layout--theater .related {
    display: none;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #070707;
    box-shadow:
        0 22px 62px rgba(0, 0, 0, 0.48),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.player-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.player-brand {
    position: absolute;
    z-index: 12;
    right: 12px;
    top: 12px;
    min-height: 28px;
    padding: 5px 9px 5px 6px;
    font-size: 0.78rem;
}

.player-shell.is-loaded .player-brand {
    opacity: 0.82;
}

.player-brand::before {
    width: 17px;
    height: 17px;
}

.lite-player,
.player-shell video,
.player-shell > img,
.embed-player {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.lite-player {
    position: relative;
    display: block;
    overflow: hidden;
    border: 0;
    padding: 0;
    color: var(--text);
    background: #070707;
    cursor: pointer;
}

.lite-player img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.82;
    filter: saturate(1.02) contrast(1.04);
    transition: transform 260ms ease, opacity 220ms ease, filter 220ms ease;
}

.lite-player__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.24) 42%, rgba(0, 0, 0, 0.78)),
        linear-gradient(90deg, rgba(240, 68, 68, 0.18), transparent 38%),
        radial-gradient(circle at 50% 50%, rgba(55, 210, 180, 0.13), transparent 20rem);
}

.lite-player__button {
    position: absolute;
    left: 50%;
    top: 50%;
    display: grid;
    grid-template-columns: 42px auto;
    gap: 12px;
    align-items: center;
    min-height: 64px;
    padding: 0 18px 0 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff7eb;
    background: rgba(12, 11, 13, 0.74);
    backdrop-filter: blur(16px);
    transform: translate(-50%, -50%);
    box-shadow:
        0 18px 48px rgba(0, 0, 0, 0.48),
        0 0 0 8px rgba(255, 255, 255, 0.05);
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.lite-player__button::after {
    content: "Afspelen";
    font-size: 0.92rem;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.lite-player__button > span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--amber), var(--red));
}

.lite-player__button > span::before {
    content: "";
    width: 0;
    height: 0;
    margin-left: 4px;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 15px solid #160b08;
}

.lite-player__meta {
    position: absolute;
    left: clamp(14px, 2vw, 22px);
    right: 120px;
    top: clamp(14px, 2vw, 22px);
    display: grid;
    gap: 5px;
    text-align: left;
}

.lite-player__label {
    width: fit-content;
    min-height: 24px;
    padding: 4px 8px;
    border: 1px solid rgba(244, 180, 63, 0.36);
    border-radius: 6px;
    color: #ffe2a4;
    background: rgba(12, 11, 13, 0.62);
    backdrop-filter: blur(12px);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lite-player__title {
    max-width: min(680px, 100%);
    color: #fffaf0;
    font-size: clamp(1rem, 1.8vw, 1.35rem);
    font-weight: 900;
    line-height: 1.12;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.72);
}

.lite-player__controlbar {
    position: absolute;
    left: clamp(12px, 2vw, 20px);
    right: clamp(12px, 2vw, 20px);
    bottom: clamp(12px, 2vw, 20px);
    display: grid;
    grid-template-columns: 34px auto minmax(80px, 1fr) auto auto 28px;
    gap: 10px;
    align-items: center;
    min-height: 48px;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    color: #fff7eb;
    background: rgba(8, 8, 10, 0.74);
    backdrop-filter: blur(16px);
}

.lite-player__play-small {
    position: relative;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
}

.lite-player__play-small::before {
    content: "";
    width: 0;
    height: 0;
    margin-left: 3px;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 11px solid var(--amber);
}

.lite-player__time,
.lite-player__duration,
.lite-player__quality {
    color: rgba(255, 247, 235, 0.86);
    font-size: 0.78rem;
    font-weight: 850;
    white-space: nowrap;
}

.lite-player__track {
    position: relative;
    display: block;
    height: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
}

.lite-player__track > span {
    display: block;
    width: 18%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--amber), var(--teal));
}

.lite-player__quality {
    min-height: 28px;
    padding: 5px 8px;
    border-radius: 6px;
    color: #dffdf7;
    background: rgba(55, 210, 180, 0.12);
}

.lite-player__fullscreen {
    position: relative;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background:
        linear-gradient(#fff7eb, #fff7eb) left 6px top 6px / 8px 2px no-repeat,
        linear-gradient(#fff7eb, #fff7eb) left 6px top 6px / 2px 8px no-repeat,
        linear-gradient(#fff7eb, #fff7eb) right 6px bottom 6px / 8px 2px no-repeat,
        linear-gradient(#fff7eb, #fff7eb) right 6px bottom 6px / 2px 8px no-repeat,
        rgba(255, 255, 255, 0.08);
}

.lite-player:hover img,
.lite-player:focus-visible img {
    opacity: 1;
    filter: saturate(1.1) contrast(1.08);
    transform: scale(1.02);
}

.lite-player:hover .lite-player__button,
.lite-player:focus-visible .lite-player__button {
    border-color: rgba(244, 180, 63, 0.62);
    background: rgba(17, 14, 15, 0.82);
    transform: translate(-50%, -50%) scale(1.04);
}

.lite-player:focus-visible {
    outline: 2px solid var(--amber);
    outline-offset: -2px;
}

.embed-player {
    display: block;
    border: 0;
    background: #050505;
}

.native-player {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #050505;
}

.native-player__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.native-player__center {
    position: absolute;
    left: 50%;
    top: 50%;
    display: grid;
    place-items: center;
    width: clamp(66px, 10vw, 86px);
    height: clamp(66px, 10vw, 86px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 14px;
    background: rgba(12, 11, 13, 0.74);
    backdrop-filter: blur(16px);
    transform: translate(-50%, -50%);
    box-shadow:
        0 18px 48px rgba(0, 0, 0, 0.48),
        0 0 0 8px rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: opacity 160ms ease, transform 180ms ease, border-color 180ms ease;
}

.native-player__center span {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--amber), var(--red));
}

.native-player__center span::before {
    content: "";
    width: 0;
    height: 0;
    margin-left: 4px;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 15px solid #160b08;
}

.native-player.is-playing .native-player__center {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.96);
}

.native-player__controlbar {
    position: absolute;
    left: clamp(12px, 2vw, 20px);
    right: clamp(12px, 2vw, 20px);
    bottom: clamp(12px, 2vw, 20px);
    display: grid;
    grid-template-columns: 34px auto minmax(80px, 1fr) auto 34px 34px;
    gap: 10px;
    align-items: center;
    min-height: 48px;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    color: #fff7eb;
    background: rgba(8, 8, 10, 0.74);
    backdrop-filter: blur(16px);
}

.native-player__icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 8px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

.native-player__icon:hover {
    background: rgba(244, 180, 63, 0.18);
}

.native-player__play span::before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    margin-left: 3px;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 11px solid var(--amber);
}

.native-player.is-playing .native-player__play span::before {
    width: 12px;
    height: 14px;
    margin-left: 0;
    border: 0;
    background:
        linear-gradient(var(--amber), var(--amber)) left center / 4px 14px no-repeat,
        linear-gradient(var(--amber), var(--amber)) right center / 4px 14px no-repeat;
}

.native-player__mute span::before {
    content: "";
    display: block;
    width: 16px;
    height: 14px;
    background:
        linear-gradient(var(--amber), var(--amber)) left 0 top 4px / 5px 6px no-repeat,
        linear-gradient(135deg, transparent 0 28%, var(--amber) 29% 70%, transparent 71%) right center / 10px 14px no-repeat;
}

.native-player.is-muted .native-player__mute span::after {
    content: "";
    position: absolute;
    width: 18px;
    height: 2px;
    background: var(--red);
    transform: rotate(-42deg);
}

.native-player__fullscreen span {
    width: 18px;
    height: 18px;
    background:
        linear-gradient(var(--amber), var(--amber)) left top / 8px 2px no-repeat,
        linear-gradient(var(--amber), var(--amber)) left top / 2px 8px no-repeat,
        linear-gradient(var(--amber), var(--amber)) right bottom / 8px 2px no-repeat,
        linear-gradient(var(--amber), var(--amber)) right bottom / 2px 8px no-repeat;
}

.native-player__time {
    color: rgba(255, 247, 235, 0.86);
    font-size: 0.78rem;
    font-weight: 850;
    white-space: nowrap;
}

.native-player__seek {
    width: 100%;
    accent-color: var(--amber);
    cursor: pointer;
}

.watch-info {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-top: 16px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.045);
}

.watch-copy {
    min-width: 0;
}

.watch-info h1 {
    margin: 14px 0 10px;
    font-size: 2rem;
    line-height: 1.08;
}

.watch-info p {
    max-width: 820px;
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.watch-meta-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.watch-meta-strip span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 9px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 7px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.055);
    font-size: 0.82rem;
    font-weight: 820;
}

.stats-card {
    display: grid;
    gap: 8px;
    align-content: start;
    min-width: 210px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(12, 11, 13, 0.42);
}

.stats-card > strong {
    color: var(--text);
    font-size: 0.96rem;
}

.watch-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 2px;
}

.watch-actions .button {
    flex: 1 1 86px;
}

.vote-box {
    display: grid;
    gap: 9px;
    margin-top: 4px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
}

.vote-box p {
    margin: 0;
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 750;
}

.vote-actions {
    display: grid;
    gap: 8px;
}

.vote-button {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) auto;
    gap: 7px;
    align-items: center;
    min-height: 38px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0 9px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
    text-align: left;
}

.vote-button span {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    color: #170c09;
    background: rgba(255, 255, 255, 0.82);
    font-weight: 900;
    line-height: 1;
}

.vote-button strong {
    color: var(--muted);
    font-size: 0.86rem;
}

.vote-button:hover,
.vote-button.is-active {
    border-color: rgba(244, 180, 63, 0.64);
    background: rgba(244, 180, 63, 0.12);
}

.vote-button.is-active span {
    background: var(--amber);
}

.vote-button:disabled {
    cursor: wait;
    opacity: 0.68;
}

.vote-box.has-vote-error .vote-button {
    border-color: rgba(240, 68, 68, 0.58);
}

.tag-panel {
    display: grid;
    gap: 12px;
    margin-top: 12px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(12, 11, 13, 0.34);
}

.tag-panel--compact {
    width: min(100%, 860px);
}

.tag-row {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
}

.tag-row > span {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    min-width: 0;
}

.tag-panel p,
.tag-row {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
}

.tag-panel strong,
.tag-row strong {
    color: var(--text);
}

.tag-chip {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    max-width: 100%;
    padding: 0 9px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 999px;
    color: #fff7eb;
    background: rgba(255, 255, 255, 0.07);
    font-size: 0.84rem;
    font-weight: 750;
    line-height: 1.15;
}

.tag-chip:hover {
    color: #170c09;
    border-color: rgba(244, 180, 63, 0.72);
    background: var(--amber);
}

.related {
    display: grid;
    align-content: start;
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
}

.related-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 2px;
}

.related-head span {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
}

.related-item {
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-width: 0;
    padding: 7px;
    border: 1px solid transparent;
    border-radius: 7px;
    transition: border-color 160ms ease, background 160ms ease;
}

.related-item:hover {
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.06);
}

.related-thumb {
    position: relative;
    display: block;
    width: 128px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 7px;
    border: 1px solid var(--line);
    background: var(--panel-soft);
}

.related-item img {
    width: 128px;
    height: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 220ms ease;
}

.related-item:hover img {
    transform: scale(1.04);
}

.related-thumb__brand {
    position: absolute;
    left: 6px;
    top: 6px;
    min-height: 18px;
    padding: 2px 5px 2px 4px;
    font-size: 0.58rem;
}

.related-thumb__brand::before {
    width: 11px;
    height: 11px;
}

.related-item strong,
.related-item small {
    display: block;
}

.related-item strong {
    line-height: 1.2;
}

.related-item small {
    margin-top: 5px;
    color: var(--muted);
}

.setup-page {
    padding: clamp(24px, 5vw, 56px) clamp(16px, 3vw, 36px);
    display: grid;
    place-items: center;
}

.setup-card {
    width: min(100%, 460px);
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(23, 20, 23, 0.92);
    box-shadow: var(--shadow);
}

.setup-card h1 {
    margin: 0;
}

.form-error,
.form-success {
    margin: 0;
    padding: 10px 12px;
    border-radius: 8px;
    font-weight: 700;
}

.form-error {
    color: #ffd4d4;
    background: rgba(240, 68, 68, 0.16);
}

.form-success {
    color: #dcfff6;
    background: rgba(55, 210, 180, 0.14);
}

.inline-link {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.inline-link {
    color: var(--amber);
}

.setup-card {
    display: grid;
    gap: 12px;
}

.setup-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.setup-card--ok {
    border-color: rgba(55, 210, 180, 0.34);
}

.setup-card--error {
    border-color: rgba(240, 68, 68, 0.42);
}

.legal-card {
    align-content: start;
}

.legal-card--wide {
    width: min(100%, 720px);
}

.empty-state {
    display: grid;
    gap: 12px;
    padding: 28px;
    border: 1px dashed var(--line);
    border-radius: 8px;
    color: var(--muted);
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 26px;
    color: var(--muted);
}

.empty-state h2 {
    margin-top: 0;
    color: var(--text);
}

.empty-state p {
    margin: 0;
}

.empty-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 2px;
}

.admin-page {
    display: grid;
    gap: 22px;
    padding: 24px clamp(16px, 3vw, 36px) 40px;
}

.admin-page--lean {
    gap: 18px;
}

.admin-toolbar {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
}

.admin-toolbar__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.admin-toolbar__actions form {
    display: contents;
}

.admin-view-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
}

.admin-view-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid transparent;
    border-radius: 7px;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 850;
}

.admin-view-nav a:hover,
.admin-view-nav a.is-active {
    border-color: rgba(244, 180, 63, 0.38);
    color: var(--text);
    background: rgba(244, 180, 63, 0.12);
}

.admin-toolbar h1,
.admin-section h2 {
    margin: 4px 0 0;
}

.admin-toolbar h1 {
    font-size: clamp(1.65rem, 3vw, 2.5rem);
}

.admin-kpis {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.admin-kpi {
    display: grid;
    gap: 8px;
    min-width: 0;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
}

.admin-kpi span,
.admin-kpi small,
.admin-section__head span,
.admin-muted,
.admin-table small {
    color: var(--muted);
}

.admin-kpi strong {
    font-size: clamp(1.65rem, 3vw, 2.25rem);
    line-height: 1;
}

.admin-kpi--live {
    border-color: rgba(55, 210, 180, 0.35);
    background: rgba(55, 210, 180, 0.09);
}

.admin-kpi--alert {
    border-color: rgba(240, 68, 68, 0.42);
    background: rgba(240, 68, 68, 0.1);
}

.admin-panels {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
    gap: 22px;
}

.admin-panels--priority {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.86fr);
    gap: 18px;
}

.admin-stack {
    display: grid;
    align-content: start;
    gap: 18px;
    min-width: 0;
}

.admin-section {
    display: grid;
    align-content: start;
    gap: 12px;
    min-width: 0;
}

.admin-section__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
}

.admin-action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
}

.admin-action-item {
    display: grid;
    gap: 6px;
    min-width: 0;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
}

.admin-action-item span,
.admin-action-item small {
    color: var(--muted);
}

.admin-action-item strong {
    font-size: 1.45rem;
    line-height: 1;
}

.admin-action-item--alert {
    border-color: rgba(240, 68, 68, 0.45);
    background: rgba(240, 68, 68, 0.1);
}

.admin-action-item--warning {
    border-color: rgba(244, 180, 63, 0.38);
    background: rgba(244, 180, 63, 0.09);
}

.admin-action-item--ok {
    border-color: rgba(55, 210, 180, 0.28);
}

.admin-table-wrap {
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(12, 11, 13, 0.42);
}

.admin-table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
}

.admin-table-wrap--compact .admin-table {
    min-width: 520px;
}

.admin-table--wide {
    min-width: 980px;
}

.admin-table--sessions {
    min-width: 1180px;
}

.admin-table th,
.admin-table td {
    padding: 11px 12px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.admin-page--lean .admin-table th,
.admin-page--lean .admin-table td {
    padding: 9px 10px;
}

.admin-table th {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 850;
    text-transform: uppercase;
}

.admin-table tr:last-child td {
    border-bottom: 0;
}

.admin-table td:not(:first-child),
.admin-table th:not(:first-child) {
    white-space: nowrap;
}

.admin-table--sessions td:not(:first-child),
.admin-table--sessions th:not(:first-child) {
    white-space: normal;
}

.admin-table__link {
    color: var(--text);
    font-weight: 820;
}

.admin-table__link:hover,
.admin-muted-link:hover {
    color: var(--amber);
}

.admin-muted-link {
    color: var(--muted);
}

.admin-table small {
    display: block;
    margin-top: 5px;
}

.admin-rank {
    color: var(--amber);
    font-weight: 850;
}

.live-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 26px;
    padding: 0 9px;
    border: 1px solid rgba(55, 210, 180, 0.35);
    border-radius: 999px;
    color: #ddfff8;
    background: rgba(55, 210, 180, 0.12);
    font-weight: 850;
}

.live-pill::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--teal);
    box-shadow: 0 0 0 5px rgba(55, 210, 180, 0.13);
}

.status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 9px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
    font-size: 0.78rem;
    font-weight: 850;
    white-space: nowrap;
}

.status-pill--nieuw,
.status-pill--offline {
    border-color: rgba(240, 68, 68, 0.45);
    color: #ffd4d4;
    background: rgba(240, 68, 68, 0.12);
}

.status-pill--bezig,
.status-pill--traag,
.status-pill--waarschuwing {
    border-color: rgba(244, 180, 63, 0.42);
    color: #ffe4a9;
    background: rgba(244, 180, 63, 0.12);
}

.status-pill--opgelost,
.status-pill--ok {
    border-color: rgba(55, 210, 180, 0.35);
    color: #ddfff8;
    background: rgba(55, 210, 180, 0.12);
}

.admin-inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.admin-inline-actions button {
    min-height: 30px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0 9px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.07);
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 800;
}

.admin-inline-actions button:hover {
    border-color: rgba(244, 180, 63, 0.48);
    background: rgba(244, 180, 63, 0.12);
}

.admin-empty {
    padding: 18px;
    color: var(--muted);
}

.admin-note {
    margin: -4px 0 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.admin-toolbar .admin-note {
    margin-top: 8px;
}

.admin-identity {
    display: grid;
    gap: 4px;
}

.admin-identity code,
.admin-ip code {
    display: inline-flex;
    width: max-content;
    max-width: 170px;
    padding: 3px 7px;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
    font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
    font-size: 0.78rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-location,
.admin-device,
.admin-referrer {
    max-width: 190px;
    color: var(--muted);
}

.admin-health-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.admin-health-item {
    display: grid;
    gap: 7px;
    min-width: 0;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
}

.admin-health-item span {
    color: var(--muted);
    font-size: 0.82rem;
}

.admin-health-item strong {
    color: var(--text);
    font-size: 1.35rem;
    line-height: 1;
}

.form-input {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0 12px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.07);
    outline: 0;
}

.form-input:focus {
    border-color: rgba(244, 180, 63, 0.65);
}

.form-textarea {
    min-height: 112px;
    padding-top: 10px;
    resize: vertical;
}

.report-form {
    display: grid;
    gap: 12px;
}

.report-form label {
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 750;
}

.site-footer {
    display: grid;
    grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.6fr);
    align-items: start;
    justify-content: space-between;
    gap: 24px;
    padding: 30px clamp(16px, 3vw, 36px);
    border-top: 1px solid var(--line);
    background: rgba(8, 7, 9, 0.38);
    color: var(--muted);
    font-size: 0.88rem;
}

.footer-brand {
    display: grid;
    gap: 7px;
    max-width: 420px;
}

.footer-brand strong,
.footer-links strong {
    color: var(--text);
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(120px, 1fr));
    gap: 20px;
}

.footer-links {
    display: grid;
    align-content: start;
    gap: 9px;
}

.site-footer a,
.footer-links a {
    color: var(--muted);
}

.site-footer a:hover,
.footer-links a:hover {
    color: var(--amber);
}

.age-gate {
    position: fixed;
    inset: 0;
    z-index: 99;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(4, 4, 5, 0.82);
    backdrop-filter: blur(16px);
}

.age-gate[hidden] {
    display: none;
}

.age-gate__panel {
    display: grid;
    gap: 12px;
    width: min(100%, 440px);
    padding: 26px;
    border: 1px solid rgba(244, 180, 63, 0.3);
    border-radius: 8px;
    background: var(--panel);
    box-shadow: var(--shadow);
}

.age-gate__panel h1,
.age-gate__panel p {
    margin: 0;
}

.age-gate__panel p:not(.eyebrow) {
    color: var(--muted);
    line-height: 1.5;
}

.age-gate__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

body.has-age-gate {
    overflow: hidden;
}

@media (max-width: 1020px) {
    .site-header {
        grid-template-columns: 1fr auto;
    }

    .search {
        grid-column: 1 / -1;
        order: 3;
        max-width: none;
    }

    .dashboard,
    .watch-layout,
    .admin-panels {
        grid-template-columns: 1fr;
    }

    .rail {
        position: static;
        grid-template-columns: 1fr;
    }

    .rail__section:first-child {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }

    .rail__label {
        grid-column: 1 / -1;
    }

    .related {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .site-footer {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .site-header,
    .nav-actions,
    .feed-toolbar,
    .watch-info,
    .admin-toolbar,
    .admin-section__head,
    .site-footer {
        align-items: stretch;
    }

    .site-header {
        display: flex;
        flex-direction: column;
    }

    .brand-wrap {
        width: 100%;
        justify-content: space-between;
    }

    .nav-actions {
        width: 100%;
        justify-content: space-between;
    }

    .brand__logo {
        width: min(204px, 72vw);
    }

    .nav-actions {
        flex-wrap: wrap;
    }

    .feed-toolbar,
    .watch-info,
    .admin-toolbar,
    .admin-section__head {
        flex-direction: column;
    }

    .feed-toolbar h1,
    .watch-info h1 {
        font-size: 1.55rem;
    }

    .feed-summary {
        gap: 6px;
    }

    .search-suggest {
        top: calc(100% + 6px);
        max-height: min(70vh, 460px);
        overflow-y: auto;
    }

    .search-suggest__item {
        grid-template-columns: 72px minmax(0, 1fr);
        align-items: start;
    }

    .search-suggest__item small {
        grid-column: 2;
        white-space: normal;
    }

    .spotlight-row {
        grid-auto-columns: minmax(188px, 78vw);
    }

    .footer-columns {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .admin-toolbar__actions {
        width: 100%;
        justify-content: stretch;
    }

    .admin-toolbar__actions .button {
        flex: 1 1 150px;
    }

    .sort-tabs {
        justify-content: flex-start;
        width: 100%;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 8px;
        scrollbar-width: thin;
    }

    .sort-tabs a {
        flex: 0 0 auto;
    }

    .category-scroll {
        margin-right: -16px;
        padding-right: 16px;
    }

    .ad-slot {
        align-items: flex-start;
        justify-content: center;
        min-height: auto;
        padding: 12px;
    }

    .video-card__badges {
        max-width: calc(100% - 112px);
    }

    .feature-strip__content strong {
        font-size: 2rem;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .related-item {
        grid-template-columns: 112px minmax(0, 1fr);
    }

    .related-thumb,
    .related-item img {
        width: 112px;
    }

    .stats-card {
        min-width: 0;
    }

    .tag-row {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .lite-player__button {
        grid-template-columns: 1fr;
        width: 68px;
        min-height: 68px;
        padding: 0;
        border-radius: 14px;
    }

    .lite-player__button::after {
        display: none;
    }

    .lite-player__meta {
        right: 92px;
    }

    .lite-player__title {
        font-size: 1rem;
    }

    .lite-player__controlbar {
        grid-template-columns: 32px minmax(70px, 1fr) auto auto;
        gap: 8px;
    }

    .lite-player__time {
        display: none;
    }

    .lite-player__fullscreen {
        display: none;
    }

    .native-player__controlbar {
        grid-template-columns: 32px minmax(70px, 1fr) auto 32px 32px;
        gap: 8px;
    }

    .native-player__time:first-of-type {
        display: none;
    }

    .age-gate__actions {
        grid-template-columns: 1fr;
    }
}
