:root {
    --primary-50: #f0f9ff;
    --primary-100: #e0f2fe;
    --primary-400: #38bdf8;
    --primary-500: #0ea5e9;
    --primary-600: #0284c7;
    --primary-700: #0369a1;
    --secondary-50: #f8fafc;
    --secondary-100: #f1f5f9;
    --secondary-200: #e2e8f0;
    --secondary-500: #64748b;
    --secondary-600: #475569;
    --secondary-700: #334155;
    --secondary-800: #1e293b;
    --secondary-900: #0f172a;
    --card-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    --hover-shadow: 0 24px 50px rgba(2, 132, 199, 0.18);
    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 12px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--secondary-800);
    background: linear-gradient(180deg, var(--secondary-50), #ffffff 34rem);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    line-height: 1.65;
}

body.menu-open {
    overflow: hidden;
}

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

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

button,
input {
    font: inherit;
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: fixed;
    z-index: 80;
    top: 0;
    right: 0;
    left: 0;
    color: #ffffff;
    transition: background 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.site-header.is-scrolled,
body.inner-page .site-header {
    color: var(--secondary-900);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(10px);
}

.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.brand-mark,
.footer-brand span {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 14px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
    box-shadow: 0 12px 25px rgba(14, 165, 233, 0.35);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 15px;
    font-weight: 650;
}

.main-nav a {
    opacity: 0.86;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
    color: var(--primary-500);
    opacity: 1;
}

.menu-toggle {
    display: none;
    border: 0;
    color: inherit;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 8px 12px;
    cursor: pointer;
}

.hero-carousel {
    position: relative;
    min-height: 82vh;
    overflow: hidden;
    color: #ffffff;
    background: var(--secondary-900);
}

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

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

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    filter: saturate(1.08) contrast(1.05);
}

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 75% 40%, rgba(14, 165, 233, 0.34), transparent 36%),
        linear-gradient(90deg, rgba(2, 6, 23, 0.92), rgba(15, 23, 42, 0.70) 44%, rgba(15, 23, 42, 0.28)),
        linear-gradient(0deg, rgba(15, 23, 42, 0.80), rgba(15, 23, 42, 0.10));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    padding-top: 74px;
    padding-bottom: 70px;
}

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

.eyebrow.dark {
    color: var(--primary-600);
}

.hero-content h1,
.sub-hero h1,
.detail-hero h1 {
    margin: 0;
    font-size: clamp(38px, 7vw, 72px);
    line-height: 1.05;
    letter-spacing: -0.06em;
}

.hero-summary {
    max-width: 660px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(17px, 2vw, 22px);
}

.hero-tags,
.tag-row,
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-tags {
    margin-top: 22px;
}

.hero-tags span,
.tag-row span,
.detail-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 700;
}

.hero-tags span {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
}

.tag-row span,
.detail-meta span {
    color: var(--primary-700);
    background: var(--primary-50);
}

.hero-actions,
.section-head,
.filter-bar {
    display: flex;
    align-items: center;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 14px;
    padding: 0 20px;
    font-weight: 800;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn.primary {
    color: #ffffff;
    background: var(--primary-600);
    box-shadow: 0 16px 35px rgba(14, 165, 233, 0.33);
}

.btn.primary:hover {
    background: var(--primary-700);
}

.btn.ghost {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
}

.btn.soft {
    color: var(--primary-700);
    background: rgba(255, 255, 255, 0.86);
}

.btn.full {
    width: 100%;
}

.hero-arrow {
    position: absolute;
    z-index: 5;
    top: 50%;
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.17);
    backdrop-filter: blur(8px);
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.32);
    transform: translateY(-1px);
}

.hero-arrow.prev {
    left: 24px;
}

.hero-arrow.next {
    right: 24px;
}

.hero-dots {
    position: absolute;
    z-index: 5;
    right: 0;
    bottom: 28px;
    left: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.hero-dots button {
    width: 8px;
    height: 8px;
    border: 0;
    border-radius: 999px;
    padding: 0;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

.hero-dots button.is-active {
    width: 34px;
    background: #ffffff;
}

.search-panel {
    position: relative;
    z-index: 10;
    margin-top: -38px;
}

.inner-search {
    margin-top: -24px;
}

.search-box {
    display: flex;
    overflow: hidden;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(12px);
}

.search-box input {
    width: 100%;
    min-height: 76px;
    border: 0;
    outline: 0;
    padding: 0 24px;
    color: var(--secondary-900);
    background: transparent;
    font-size: 17px;
}

.search-box button {
    border: 0;
    color: #ffffff;
    background: var(--primary-600);
    padding: 0 30px;
    font-weight: 800;
    cursor: pointer;
}

.search-results {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.search-result-card {
    display: flex;
    gap: 12px;
    border-radius: 18px;
    padding: 12px;
    background: #ffffff;
    box-shadow: var(--card-shadow);
}

.search-result-card img {
    width: 72px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 12px;
    background: var(--secondary-200);
}

.search-result-card strong,
.search-result-card em {
    display: block;
}

.search-result-card strong {
    color: var(--secondary-900);
    line-height: 1.35;
}

.search-result-card em {
    color: var(--secondary-500);
    font-size: 12px;
    font-style: normal;
}

.page-section {
    padding: 72px 0;
}

.pt-none {
    padding-top: 0;
}

.section-head {
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.section-head.centered {
    display: block;
    max-width: 720px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.section-head.compact {
    margin-bottom: 22px;
}

.section-head h2 {
    margin: 0;
    color: var(--secondary-900);
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.section-head p {
    margin: 10px 0 0;
    color: var(--secondary-600);
}

.section-head a {
    color: var(--primary-600);
    font-weight: 800;
}

.section-head.light h2,
.section-head.light a {
    color: #ffffff;
}

.section-head.light p,
.section-head.light .eyebrow {
    color: var(--primary-100);
}

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

.small-grid,
.category-page-grid,
.ranking-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.movie-card {
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--card-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
    border-color: rgba(14, 165, 233, 0.45);
    box-shadow: var(--hover-shadow);
    transform: translateY(-5px);
}

.poster-link,
.poster-wrap {
    display: block;
}

.poster-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, var(--secondary-200), var(--primary-100));
}

.movie-card.small .poster-wrap,
.movie-card.ranking .poster-wrap {
    aspect-ratio: 4 / 3;
}

.poster-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.movie-card:hover .poster-wrap img {
    transform: scale(1.08);
}

.poster-glow {
    position: absolute;
    inset: 0;
    opacity: 0;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.74), transparent 62%);
    transition: opacity 0.25s ease;
}

.movie-card:hover .poster-glow {
    opacity: 1;
}

.play-mark {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 999px;
    color: var(--primary-600);
    background: rgba(255, 255, 255, 0.92);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.72);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.movie-card:hover .play-mark {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.type-pill,
.rank-badge {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
}

.type-pill {
    top: 12px;
    left: 12px;
    min-height: 28px;
    padding: 0 11px;
    background: rgba(2, 132, 199, 0.9);
    backdrop-filter: blur(6px);
}

.rank-badge {
    right: 12px;
    bottom: 12px;
    min-width: 34px;
    height: 34px;
    background: linear-gradient(135deg, #f97316, #ef4444);
    box-shadow: 0 10px 20px rgba(239, 68, 68, 0.25);
}

.movie-info {
    padding: 18px;
}

.movie-info h3 {
    margin: 0 0 8px;
    color: var(--secondary-900);
    font-size: 18px;
    line-height: 1.35;
}

.movie-info h3 a:hover {
    color: var(--primary-600);
}

.movie-info p {
    display: -webkit-box;
    min-height: 3.2em;
    margin: 0 0 12px;
    overflow: hidden;
    color: var(--secondary-600);
    font-size: 14px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.movie-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    margin-bottom: 12px;
    color: var(--secondary-500);
    font-size: 12px;
}

.movie-meta span:not(:last-child)::after {
    content: "·";
    margin-left: 10px;
    color: var(--secondary-300);
}

.blue-band {
    padding: 64px 0;
    color: #ffffff;
    background:
        radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.20), transparent 30%),
        linear-gradient(135deg, var(--primary-600), var(--primary-700));
}

.movie-rail {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding: 6px 0 18px;
    scrollbar-width: none;
}

.movie-rail::-webkit-scrollbar {
    display: none;
}

.rail-item {
    width: 320px;
    flex: 0 0 auto;
}

.split-section {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 34px;
    align-items: start;
}

.compact-list {
    display: grid;
    gap: 12px;
}

.compact-list.three-col {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.compact-card {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--secondary-200);
    border-radius: 18px;
    padding: 10px;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.compact-card:hover {
    border-color: var(--primary-500);
    transform: translateX(4px);
}

.compact-card img {
    width: 82px;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    object-fit: cover;
    background: var(--secondary-200);
}

.compact-body {
    min-width: 0;
}

.compact-card strong,
.compact-card em {
    display: block;
}

.compact-card strong {
    overflow: hidden;
    color: var(--secondary-900);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.compact-card em {
    color: var(--secondary-500);
    font-size: 12px;
    font-style: normal;
}

.compact-rank {
    display: inline-flex;
    margin-bottom: 3px;
    color: var(--primary-600);
    font-size: 13px;
    font-weight: 900;
}

.category-preview {
    margin-top: 54px;
}

.sub-hero {
    padding: 132px 0 58px;
    background:
        radial-gradient(circle at 80% 15%, rgba(14, 165, 233, 0.16), transparent 32%),
        linear-gradient(180deg, #ffffff, var(--secondary-50));
}

.sub-hero h1 {
    color: var(--secondary-900);
    font-size: clamp(36px, 6vw, 56px);
}

.sub-hero p:not(.eyebrow) {
    max-width: 720px;
    margin: 18px 0 0;
    color: var(--secondary-600);
    font-size: 18px;
}

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

.category-card {
    overflow: hidden;
    border: 1px solid var(--secondary-200);
    border-radius: var(--radius-xl);
    background: #ffffff;
    box-shadow: var(--card-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover {
    box-shadow: var(--hover-shadow);
    transform: translateY(-5px);
}

.category-collage {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    height: 190px;
    overflow: hidden;
    background: var(--secondary-200);
}

.category-collage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-copy {
    display: block;
    padding: 20px;
}

.category-copy strong {
    display: block;
    color: var(--secondary-900);
    font-size: 21px;
}

.category-copy em {
    display: block;
    margin-top: 8px;
    color: var(--secondary-600);
    font-style: normal;
}

.filter-bar {
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 28px;
    border: 1px solid var(--secondary-200);
    border-radius: 22px;
    padding: 14px;
    background: #ffffff;
    box-shadow: var(--card-shadow);
}

.card-filter {
    min-width: 260px;
    min-height: 44px;
    border: 1px solid var(--secondary-200);
    border-radius: 14px;
    outline: 0;
    padding: 0 14px;
}

.card-filter:focus {
    border-color: var(--primary-500);
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-chip {
    border: 0;
    border-radius: 999px;
    padding: 10px 14px;
    color: var(--secondary-700);
    background: var(--secondary-100);
    cursor: pointer;
    font-weight: 700;
}

.filter-chip.is-active {
    color: #ffffff;
    background: var(--primary-600);
}

.hidden-by-filter {
    display: none;
}

.detail-hero {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    color: #ffffff;
    background: var(--secondary-900);
}

.detail-hero > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.08);
}

.detail-hero-mask {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 76% 28%, rgba(14, 165, 233, 0.26), transparent 33%),
        linear-gradient(90deg, rgba(2, 6, 23, 0.92), rgba(15, 23, 42, 0.70) 46%, rgba(15, 23, 42, 0.26)),
        linear-gradient(0deg, rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.1));
}

.detail-hero-content {
    position: relative;
    z-index: 1;
    padding-top: 140px;
    padding-bottom: 80px;
}

.detail-hero-content p {
    max-width: 720px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 19px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
}

.breadcrumb a:hover {
    color: #ffffff;
}

.detail-meta {
    margin-top: 20px;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 28px;
    margin-top: -82px;
    position: relative;
    z-index: 3;
}

.watch-panel,
.side-card,
.content-card {
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: var(--radius-xl);
    background: #ffffff;
    box-shadow: var(--card-shadow);
}

.watch-panel {
    overflow: hidden;
}

.video-shell {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #020617;
}

.movie-player {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    background: #020617;
}

.video-overlay {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 12px;
    border: 0;
    color: #ffffff;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.52), rgba(2, 6, 23, 0.10));
    cursor: pointer;
}

.video-overlay span {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    border-radius: 999px;
    color: var(--primary-600);
    background: rgba(255, 255, 255, 0.95);
    font-size: 28px;
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0.26);
}

.video-overlay strong {
    font-size: 18px;
    letter-spacing: 0.04em;
}

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

.content-card {
    border-width: 0;
    box-shadow: none;
    padding: 28px;
}

.content-card h2,
.side-card h2 {
    margin: 0 0 12px;
    color: var(--secondary-900);
}

.content-card p {
    margin: 0 0 24px;
    color: var(--secondary-700);
    font-size: 16px;
}

.detail-side {
    display: grid;
    gap: 18px;
    align-content: start;
}

.side-card {
    padding: 18px;
}

.poster-side img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 18px;
    background: var(--secondary-200);
}

.poster-side p {
    color: var(--secondary-600);
}

.next-links a {
    display: block;
    border-top: 1px solid var(--secondary-200);
    padding: 12px 0;
    color: var(--primary-700);
    font-weight: 700;
}

.related-section {
    padding-top: 54px;
}

.site-footer {
    color: var(--secondary-300);
    background: var(--secondary-900);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1fr 1fr;
    gap: 34px;
    padding: 52px 0 34px;
}

.site-footer h2 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 16px;
}

.site-footer a {
    display: block;
    margin: 7px 0;
    color: var(--secondary-300);
}

.site-footer a:hover {
    color: var(--primary-400);
}

.footer-brand {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 0;
    text-align: center;
    color: var(--secondary-500);
    font-size: 14px;
}

@media (max-width: 1024px) {
    .movie-grid,
    .small-grid,
    .category-page-grid,
    .ranking-grid,
    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .split-section,
    .detail-layout,
    .footer-grid {
        grid-template-columns: 1fr;
    }

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

    .compact-list.three-col {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .container {
        width: min(100% - 24px, 1180px);
    }

    .nav-shell {
        min-height: 64px;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .main-nav {
        position: fixed;
        top: 64px;
        right: 12px;
        left: 12px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        border: 1px solid var(--secondary-200);
        border-radius: 20px;
        padding: 10px;
        color: var(--secondary-900);
        background: #ffffff;
        box-shadow: var(--card-shadow);
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav a {
        border-radius: 14px;
        padding: 12px;
    }

    .main-nav a.is-active,
    .main-nav a:hover {
        background: var(--primary-50);
    }

    .hero-carousel {
        min-height: 720px;
    }

    .hero-content {
        padding-top: 100px;
    }

    .hero-arrow {
        display: none;
    }

    .search-box {
        display: block;
    }

    .search-box input {
        min-height: 58px;
    }

    .search-box button {
        width: 100%;
        min-height: 50px;
    }

    .movie-grid,
    .small-grid,
    .category-page-grid,
    .ranking-grid,
    .two-col,
    .category-grid,
    .compact-list.three-col {
        grid-template-columns: 1fr;
    }

    .filter-bar {
        display: block;
    }

    .card-filter {
        width: 100%;
        min-width: 0;
        margin-bottom: 12px;
    }

    .detail-hero {
        min-height: 620px;
    }

    .detail-layout {
        margin-top: -54px;
    }

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

    .rail-item {
        width: 280px;
    }

    .page-section {
        padding: 52px 0;
    }
}
