:root {
    color-scheme: dark;
    --bg: #020617;
    --bg-soft: #0f172a;
    --panel: rgba(15, 23, 42, 0.86);
    --panel-solid: #111827;
    --line: rgba(148, 163, 184, 0.18);
    --text: #f8fafc;
    --muted: #94a3b8;
    --muted-strong: #cbd5e1;
    --cyan: #22d3ee;
    --cyan-dark: #0891b2;
    --amber: #fbbf24;
    --radius: 18px;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.site-body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background:
        radial-gradient(circle at 15% 0%, rgba(34, 211, 238, 0.14), transparent 34rem),
        radial-gradient(circle at 90% 20%, rgba(14, 165, 233, 0.12), transparent 32rem),
        var(--bg);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

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

img {
    display: block;
    width: 100%;
}

button,
input,
select {
    font: inherit;
}

.site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(2, 6, 23, 0.88);
    backdrop-filter: blur(18px);
}

.header-inner {
    width: min(1240px, calc(100% - 32px));
    height: 68px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    color: white;
    font-weight: 900;
    background: linear-gradient(135deg, var(--cyan), var(--cyan-dark));
    box-shadow: 0 16px 38px rgba(34, 211, 238, 0.22);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-copy strong {
    font-size: 18px;
    letter-spacing: -0.02em;
}

.brand-copy small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    white-space: nowrap;
}

.nav-link {
    color: var(--muted-strong);
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--cyan);
}

.nav-link:hover {
    transform: translateY(-1px);
}

.mobile-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.88);
}

.mobile-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    border-radius: 999px;
    background: var(--text);
}

.mobile-nav {
    display: none;
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto 14px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.96);
}

.mobile-nav.is-open {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

main {
    padding-top: 68px;
}

.hero-carousel {
    position: relative;
    min-height: 72vh;
    overflow: hidden;
    background: #020617;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease;
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
}

.hero-mask {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(2, 6, 23, 0.96) 0%, rgba(2, 6, 23, 0.78) 38%, rgba(2, 6, 23, 0.22) 100%),
        linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0.2) 40%, rgba(2, 6, 23, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(1240px, calc(100% - 32px));
    min-height: 72vh;
    margin: 0 auto;
    padding: 92px 0 136px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
}

.hero-kicker,
.movie-meta-line,
.tag-row,
.detail-tags,
.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.hero-kicker span,
.hero-tags span,
.tag-row span,
.detail-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 999px;
    color: #e0f2fe;
    background: rgba(8, 145, 178, 0.22);
    font-size: 12px;
    font-weight: 700;
}

.hero-content h1 {
    max-width: 820px;
    margin: 18px 0 16px;
    font-size: clamp(42px, 7vw, 82px);
    line-height: 0.96;
    letter-spacing: -0.06em;
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}

.hero-one-line {
    max-width: 780px;
    margin: 0 0 12px;
    color: var(--muted-strong);
    font-size: clamp(18px, 2.2vw, 26px);
    line-height: 1.45;
}

.hero-summary {
    max-width: 720px;
    margin: 0 0 24px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.primary-button,
.ghost-button,
.filter-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 13px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
    color: #001018;
    background: linear-gradient(135deg, var(--cyan), #67e8f9);
    box-shadow: 0 18px 40px rgba(34, 211, 238, 0.24);
}

.ghost-button,
.filter-link {
    color: var(--text);
    border: 1px solid var(--line);
    background: rgba(15, 23, 42, 0.74);
}

.primary-button:hover,
.ghost-button:hover,
.filter-link:hover {
    transform: translateY(-2px);
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 92px;
    z-index: 3;
    display: flex;
    gap: 8px;
    transform: translateX(-50%);
}

.hero-dot {
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 999px;
    background: rgba(226, 232, 240, 0.42);
}

.hero-dot.is-active {
    width: 34px;
    background: var(--cyan);
}

.hero-thumbs {
    position: absolute;
    right: max(24px, calc((100vw - 1240px) / 2));
    bottom: 34px;
    z-index: 4;
    display: flex;
    gap: 12px;
    max-width: min(620px, calc(100% - 48px));
    overflow-x: auto;
    padding-bottom: 4px;
}

.hero-thumb {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 164px;
    flex: 0 0 auto;
    padding: 8px;
    border: 1px solid rgba(226, 232, 240, 0.18);
    border-radius: 16px;
    color: var(--text);
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(12px);
    text-align: left;
}

.hero-thumb img {
    width: 46px;
    height: 62px;
    border-radius: 10px;
    object-fit: cover;
}

.hero-thumb span {
    display: -webkit-box;
    overflow: hidden;
    color: var(--muted-strong);
    font-size: 13px;
    font-weight: 700;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.hero-thumb.is-active {
    border-color: rgba(34, 211, 238, 0.65);
    background: rgba(8, 145, 178, 0.3);
}

.search-strip,
.content-section,
.page-shell,
.detail-shell {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
}

.search-strip {
    position: relative;
    z-index: 5;
    margin-top: -46px;
}

.search-panel,
.filter-panel,
.page-hero,
.ranking-hero,
.detail-hero,
.player-section,
.detail-article,
.detail-side,
.ranking-panel,
.category-overview-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.search-panel {
    padding: 22px;
}

.search-panel label,
.filter-panel label {
    display: block;
    margin-bottom: 10px;
    color: var(--muted-strong);
    font-size: 14px;
    font-weight: 800;
}

.search-row,
.mini-search {
    display: flex;
    gap: 12px;
}

.search-row input,
.mini-search input,
.filter-panel input,
.filter-panel select {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 13px;
    color: var(--text);
    outline: 0;
    background: rgba(2, 6, 23, 0.72);
}

.search-row input:focus,
.mini-search input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
    border-color: rgba(34, 211, 238, 0.68);
    box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.1);
}

.search-row button,
.mini-search button {
    min-width: 128px;
    border: 0;
    border-radius: 13px;
    color: #001018;
    background: linear-gradient(135deg, var(--cyan), #67e8f9);
    font-weight: 900;
}

.content-section {
    padding: 58px 0 0;
}

.content-section.no-top {
    padding-top: 24px;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(26px, 4vw, 40px);
    letter-spacing: -0.04em;
}

.section-heading p {
    margin: 8px 0 0;
    color: var(--muted);
}

.compact-heading h2 {
    font-size: 26px;
}

.section-more {
    color: var(--cyan);
    font-weight: 800;
}

.movie-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.compact-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.full-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.movie-card {
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.74);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
    transform: translateY(-5px);
    border-color: rgba(34, 211, 238, 0.42);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
}

.poster-link {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #0f172a;
}

.poster-link img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.32s ease;
}

.movie-card:hover .poster-link img {
    transform: scale(1.06);
}

.poster-link::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 46%;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.88), transparent);
}

.poster-play,
.rank-badge {
    position: absolute;
    z-index: 2;
    display: grid;
    place-items: center;
}

.poster-play {
    right: 12px;
    bottom: 12px;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    color: #001018;
    background: var(--cyan);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.movie-card:hover .poster-play {
    opacity: 1;
    transform: translateY(0);
}

.rank-badge {
    top: 10px;
    left: 10px;
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    border-radius: 12px;
    color: #111827;
    background: linear-gradient(135deg, var(--amber), #fde68a);
    font-weight: 900;
}

.movie-card-body {
    padding: 14px;
}

.movie-meta-line {
    gap: 6px;
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 12px;
}

.movie-meta-line span:not(:last-child)::after {
    content: "·";
    margin-left: 6px;
    color: rgba(148, 163, 184, 0.5);
}

.movie-card h3 {
    margin: 0 0 8px;
    font-size: 17px;
    line-height: 1.35;
}

.movie-card h3 a:hover {
    color: var(--cyan);
}

.movie-card p {
    display: -webkit-box;
    min-height: 45px;
    overflow: hidden;
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
    color: var(--amber);
    font-size: 13px;
    font-weight: 800;
}

.card-foot a {
    color: var(--cyan);
}

.tag-row span {
    min-height: 24px;
    padding: 4px 8px;
    font-size: 11px;
}

.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 24px;
    align-items: start;
}

.ranking-panel {
    padding: 22px;
}

.ranking-panel ol {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ranking-panel li a {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    min-height: 48px;
    padding: 10px;
    border-radius: 13px;
    background: rgba(2, 6, 23, 0.42);
}

.ranking-panel li a:hover {
    background: rgba(8, 145, 178, 0.22);
}

.ranking-panel li span {
    color: var(--cyan);
    font-weight: 900;
}

.ranking-panel li strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ranking-panel li em {
    color: var(--amber);
    font-size: 12px;
    font-style: normal;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.category-tile,
.category-hero-link {
    position: relative;
    min-height: 210px;
    overflow: hidden;
    border-radius: 20px;
    background: #0f172a;
}

.category-tile img,
.category-hero-link img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.28s ease;
}

.category-tile:hover img,
.category-hero-link:hover img {
    transform: scale(1.06);
}

.category-overlay,
.category-hero-link span {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.92), rgba(2, 6, 23, 0.14));
}

.category-tile strong,
.category-tile small,
.category-hero-link div {
    position: absolute;
    right: 16px;
    left: 16px;
    z-index: 2;
}

.category-tile strong {
    bottom: 66px;
    font-size: 22px;
}

.category-tile small {
    bottom: 18px;
    color: var(--muted-strong);
    line-height: 1.5;
}

.horizontal-rail {
    display: grid;
    grid-auto-columns: 220px;
    grid-auto-flow: column;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 12px;
}

.page-shell,
.detail-shell {
    padding-top: 106px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 14px;
}

.breadcrumb a:hover {
    color: var(--cyan);
}

.page-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 34px;
}

.page-hero h1,
.ranking-hero h1,
.detail-info h1 {
    margin: 8px 0 12px;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.06;
    letter-spacing: -0.05em;
}

.page-hero p,
.ranking-hero p,
.detail-one-line {
    max-width: 720px;
    color: var(--muted-strong);
    line-height: 1.8;
}

.eyebrow {
    margin: 0;
    color: var(--cyan);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) 180px 180px auto;
    gap: 14px;
    align-items: end;
    margin-top: 22px;
    padding: 18px;
}

.empty-state {
    display: none;
    margin: 28px 0;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 18px;
    color: var(--muted-strong);
    background: rgba(15, 23, 42, 0.76);
    text-align: center;
}

.empty-state.is-visible {
    display: block;
}

.category-overview-list {
    display: grid;
    gap: 28px;
    margin-top: 28px;
}

.category-overview-card {
    padding: 18px;
}

.category-hero-link {
    display: block;
    min-height: 260px;
    margin-bottom: 18px;
}

.category-hero-link div {
    bottom: 24px;
}

.category-hero-link h2 {
    margin: 0 0 10px;
    font-size: 34px;
}

.category-hero-link p {
    max-width: 640px;
    color: var(--muted-strong);
}

.overview-preview {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.ranking-hero {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 42px;
}

.ranking-hero img,
.ranking-mask {
    position: absolute;
    inset: 0;
}

.ranking-hero img {
    height: 100%;
    object-fit: cover;
}

.ranking-mask {
    background: linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.42));
}

.ranking-hero div {
    position: relative;
    z-index: 2;
    max-width: 780px;
}

.sticky-panel {
    position: sticky;
    top: 92px;
}

.detail-hero {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 30px;
    padding: 28px;
}

.detail-poster img {
    aspect-ratio: 3 / 4;
    border-radius: 18px;
    object-fit: cover;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

.detail-info {
    align-self: center;
}

.detail-facts,
.detail-side ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 24px 0;
    padding: 0;
    list-style: none;
}

.detail-facts li,
.detail-side li {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(2, 6, 23, 0.46);
}

.detail-facts span,
.detail-side span {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 12px;
}

.detail-facts strong,
.detail-side strong {
    color: var(--text);
}

.scroll-play {
    margin-top: 24px;
}

.player-section {
    margin-top: 26px;
    padding: 22px;
}

.video-shell {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: #000;
    aspect-ratio: 16 / 9;
}

.video-shell video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: grid;
    place-items: center;
    gap: 12px;
    border: 0;
    color: white;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.72), rgba(2, 6, 23, 0.2));
}

.player-overlay.is-hidden {
    display: none;
}

.play-circle {
    display: grid;
    place-items: center;
    width: 78px;
    height: 78px;
    border-radius: 999px;
    color: #001018;
    background: var(--cyan);
    box-shadow: 0 20px 56px rgba(34, 211, 238, 0.35);
}

.player-overlay strong {
    font-size: 20px;
}

.detail-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    margin-top: 26px;
}

.detail-article,
.detail-side {
    padding: 26px;
}

.detail-article h2,
.detail-side h2 {
    margin: 0 0 14px;
    font-size: 26px;
}

.detail-article p {
    margin: 0 0 26px;
    color: var(--muted-strong);
    font-size: 16px;
    line-height: 2;
}

.detail-side ul {
    grid-template-columns: 1fr;
}

.full-button {
    width: 100%;
}

.related-section {
    padding-bottom: 62px;
}

.site-footer {
    margin-top: 72px;
    border-top: 1px solid var(--line);
    background: rgba(2, 6, 23, 0.72);
}

.footer-inner {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    padding: 32px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    color: var(--muted);
}

.footer-inner strong {
    display: block;
    margin-bottom: 8px;
    color: var(--text);
}

.footer-inner p {
    max-width: 720px;
    margin: 0;
    line-height: 1.8;
}

.footer-links {
    display: flex;
    gap: 16px;
    color: var(--muted-strong);
    font-weight: 700;
    white-space: nowrap;
}

.footer-links a:hover {
    color: var(--cyan);
}

@media (max-width: 1180px) {
    .desktop-nav {
        gap: 14px;
    }

    .full-grid,
    .movie-grid,
    .compact-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

    .split-layout,
    .ranking-layout,
    .detail-content-grid {
        grid-template-columns: 1fr;
    }

    .sticky-panel {
        position: static;
    }
}

@media (max-width: 900px) {
    .desktop-nav {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-content {
        padding-bottom: 150px;
    }

    .hero-thumbs {
        left: 16px;
        right: 16px;
        bottom: 28px;
    }

    .hero-dots {
        bottom: 116px;
    }

    .filter-panel {
        grid-template-columns: 1fr 1fr;
    }

    .filter-link {
        grid-column: span 2;
    }

    .overview-preview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .detail-hero {
        grid-template-columns: 220px minmax(0, 1fr);
    }

    .detail-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .header-inner {
        height: 64px;
    }

    .brand-copy strong {
        max-width: 190px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    main {
        padding-top: 64px;
    }

    .hero-carousel,
    .hero-content {
        min-height: 78vh;
    }

    .hero-content h1 {
        font-size: 42px;
    }

    .hero-one-line {
        font-size: 18px;
    }

    .hero-summary {
        display: none;
    }

    .hero-actions,
    .search-row,
    .mini-search,
    .page-hero,
    .footer-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .search-row button,
    .mini-search button {
        min-height: 46px;
    }

    .movie-grid,
    .compact-grid,
    .full-grid,
    .category-grid,
    .overview-preview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .content-section {
        padding-top: 42px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .filter-panel {
        grid-template-columns: 1fr;
    }

    .filter-link {
        grid-column: auto;
    }

    .page-shell,
    .detail-shell {
        padding-top: 86px;
    }

    .page-hero,
    .ranking-hero,
    .detail-hero,
    .player-section,
    .detail-article,
    .detail-side,
    .ranking-panel {
        padding: 18px;
        border-radius: 16px;
    }

    .detail-hero {
        grid-template-columns: 1fr;
    }

    .detail-poster {
        max-width: 240px;
    }

    .detail-facts {
        grid-template-columns: 1fr;
    }

    .ranking-panel li a {
        grid-template-columns: 36px minmax(0, 1fr);
    }

    .ranking-panel li em {
        grid-column: 2;
    }

    .footer-links {
        flex-wrap: wrap;
    }
}

@media (max-width: 430px) {
    .movie-grid,
    .compact-grid,
    .full-grid,
    .category-grid,
    .overview-preview {
        grid-template-columns: 1fr;
    }

    .horizontal-rail {
        grid-auto-columns: 82%;
    }

    .hero-thumb {
        width: 148px;
    }
}
