*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --slate-950: #020617;
    --slate-900: #0f172a;
    --slate-850: #111c31;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-300: #cbd5e1;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --white: #ffffff;
    --orange: #f97316;
    --orange-dark: #ea580c;
    --red: #ef4444;
    --amber: #f59e0b;
    --teal: #0d9488;
    --blue-soft: #eff6ff;
    --shadow-sm: 0 6px 18px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 16px 38px rgba(15, 23, 42, 0.12);
    --shadow-lg: 0 26px 70px rgba(2, 6, 23, 0.22);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --container: 1180px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--slate-900);
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 34%, #fff7ed 100%);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    color: var(--white);
    background: linear-gradient(90deg, var(--slate-950), var(--slate-800), var(--slate-950));
    box-shadow: 0 14px 40px rgba(2, 6, 23, 0.28);
}

.nav-shell {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 22px;
    min-height: 74px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    white-space: nowrap;
}

.brand-mark {
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 12px;
    color: var(--white);
    background: linear-gradient(135deg, var(--orange), var(--red));
    box-shadow: 0 10px 24px rgba(249, 115, 22, 0.36);
}

.brand-text {
    font-size: 1.38rem;
    letter-spacing: 0.02em;
    background: linear-gradient(90deg, #fb923c, #ef4444);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    overflow-x: auto;
    scrollbar-width: none;
}

.primary-nav::-webkit-scrollbar {
    display: none;
}

.nav-link {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.is-active {
    color: #fb923c;
    transform: translateY(-1px);
}

.site-search {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-search input {
    width: 238px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    color: var(--white);
    background: rgba(30, 41, 59, 0.9);
    padding: 10px 92px 10px 16px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-search input:focus {
    border-color: rgba(249, 115, 22, 0.75);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.18);
}

.site-search button {
    position: absolute;
    right: 4px;
    border: 0;
    border-radius: 999px;
    color: var(--white);
    background: linear-gradient(135deg, var(--orange), var(--red));
    padding: 8px 14px;
    cursor: pointer;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 12px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.hero {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    color: var(--white);
    background: var(--slate-900);
}

.hero-media,
.detail-backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-media img,
.detail-backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.34;
}

.hero-media::after,
.detail-backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(15, 23, 42, 0.96) 0%, rgba(15, 23, 42, 0.72) 42%, rgba(15, 23, 42, 0.26) 100%),
        linear-gradient(0deg, rgba(15, 23, 42, 0.96) 0%, rgba(15, 23, 42, 0.08) 58%, rgba(15, 23, 42, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) 380px;
    gap: 44px;
    align-items: center;
    min-height: 560px;
    padding-block: 72px;
}

.hero-copy h1 {
    margin: 0 0 18px;
    font-size: clamp(2.5rem, 6vw, 5.2rem);
    line-height: 1.03;
    letter-spacing: -0.04em;
}

.hero-copy p {
    max-width: 680px;
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.12rem;
}

.hero-kicker,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: #fed7aa;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero-actions,
.filter-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    border-radius: 999px;
    border: 1px solid transparent;
    padding: 11px 20px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--orange), var(--red));
    box-shadow: 0 18px 36px rgba(239, 68, 68, 0.28);
}

.btn-secondary {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
}

.btn-light {
    color: var(--slate-900);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

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

.hero-panel {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: var(--radius-xl);
    background: rgba(15, 23, 42, 0.52);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(18px);
}

.hero-panel img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

.hero-panel-body {
    padding: 20px;
}

.hero-panel h2 {
    margin: 0 0 8px;
    font-size: 1.42rem;
}

.hero-panel p {
    margin: 0 0 16px;
    color: rgba(255, 255, 255, 0.78);
}

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

.meta-row span,
.movie-meta span,
.detail-meta span,
.tag-chip,
.pill {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 0.78rem;
    font-weight: 700;
}

.meta-row span,
.detail-meta span {
    color: #fed7aa;
    background: rgba(249, 115, 22, 0.16);
}

.section {
    padding-block: 64px;
}

.section-soft {
    background: linear-gradient(180deg, #eff6ff, #ffffff);
}

.section-warm {
    background: linear-gradient(135deg, #fffbeb, #fff7ed);
}

.section-dark {
    color: var(--white);
    background: linear-gradient(135deg, var(--slate-950), var(--slate-800));
}

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

.section-head h2,
.page-head h1,
.detail-copy h1,
.content-card h2 {
    margin: 0;
    color: inherit;
    line-height: 1.15;
}

.section-head h2,
.page-head h1 {
    font-size: clamp(1.9rem, 4vw, 3rem);
}

.section-head p,
.page-head p {
    margin: 8px 0 0;
    color: var(--slate-600);
}

.section-dark .section-head p {
    color: rgba(255, 255, 255, 0.7);
}

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

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

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

.movie-cover {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--slate-200);
    box-shadow: var(--shadow-sm);
    transform: translateZ(0);
}

.movie-cover img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.cover-shade {
    position: absolute;
    inset: 0;
    opacity: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.74), transparent 64%);
    transition: opacity 0.3s ease;
}

.movie-card:hover .movie-cover img,
.horizontal-card:hover img,
.category-tile:hover img {
    transform: scale(1.08);
    filter: saturate(1.06);
}

.movie-card:hover .cover-shade {
    opacity: 1;
}

.pill-hot {
    position: absolute;
    top: 12px;
    right: 12px;
    color: var(--white);
    background: linear-gradient(135deg, var(--orange), var(--red));
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.32);
}

.rank-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    color: var(--slate-950);
    border-radius: 999px;
    padding: 4px 9px;
    font-size: 0.76rem;
    font-weight: 900;
    background: linear-gradient(135deg, #fde68a, #f59e0b);
}

.movie-card-body {
    padding: 13px 4px 0;
}

.movie-card h3,
.horizontal-card h3 {
    margin: 0;
    color: var(--slate-900);
    font-size: 1rem;
    line-height: 1.35;
}

.section-dark .movie-card h3,
.section-dark .horizontal-card h3 {
    color: var(--white);
}

.movie-card h3 a,
.horizontal-card h3 a {
    transition: color 0.2s ease;
}

.movie-card h3 a:hover,
.horizontal-card h3 a:hover {
    color: var(--orange-dark);
}

.movie-line {
    display: -webkit-box;
    overflow: hidden;
    min-height: 2.8em;
    margin: 7px 0 10px;
    color: var(--slate-600);
    font-size: 0.9rem;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.section-dark .movie-line {
    color: rgba(255, 255, 255, 0.72);
}

.movie-meta span {
    color: var(--slate-600);
    background: var(--slate-100);
}

.section-dark .movie-meta span {
    color: rgba(255, 255, 255, 0.78);
    background: rgba(255, 255, 255, 0.08);
}

.feature-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 30px;
}

.horizontal-list {
    display: grid;
    gap: 16px;
}

.horizontal-card {
    display: grid;
    grid-template-columns: 142px 1fr;
    gap: 16px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.horizontal-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.horizontal-cover {
    overflow: hidden;
    background: var(--slate-100);
}

.horizontal-cover img {
    width: 100%;
    height: 100%;
    min-height: 192px;
    object-fit: cover;
    transition: transform 0.32s ease;
}

.horizontal-body {
    padding: 18px 18px 18px 0;
}

.horizontal-body p {
    display: -webkit-box;
    overflow: hidden;
    margin: 8px 0 12px;
    color: var(--slate-600);
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.horizontal-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.list-rank {
    display: inline-grid;
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 12px;
    color: var(--white);
    font-weight: 900;
    background: linear-gradient(135deg, var(--orange), var(--red));
}

.ranking-panel {
    border-radius: var(--radius-xl);
    padding: 24px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-lg);
}

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

.ranking-list li a {
    display: grid;
    grid-template-columns: 40px 1fr auto;
    gap: 12px;
    align-items: center;
    border-radius: 16px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.07);
    transition: transform 0.2s ease, background 0.2s ease;
}

.ranking-list li a:hover {
    transform: translateX(4px);
    background: rgba(255, 255, 255, 0.12);
}

.ranking-list strong {
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 12px;
    color: var(--slate-950);
    background: linear-gradient(135deg, #fef3c7, var(--amber));
}

.ranking-list span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.88rem;
}

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

.category-tile {
    position: relative;
    display: flex;
    overflow: hidden;
    min-height: 230px;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: var(--radius-xl);
    padding: 22px;
    color: var(--white);
    background: var(--slate-900);
    box-shadow: var(--shadow-md);
}

.category-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.42;
    transition: transform 0.36s ease;
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.12));
}

.category-tile strong,
.category-tile em,
.category-tile small,
.category-sample {
    position: relative;
    z-index: 1;
}

.category-tile strong {
    font-size: 1.42rem;
    line-height: 1.2;
}

.category-tile em {
    color: #fed7aa;
    font-style: normal;
    font-weight: 800;
}

.category-tile small,
.category-sample {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.76);
}

.page-hero {
    padding: 76px 0 54px;
    color: var(--white);
    background:
        radial-gradient(circle at top left, rgba(249, 115, 22, 0.32), transparent 30%),
        linear-gradient(135deg, var(--slate-950), var(--slate-800));
}

.page-head {
    max-width: 820px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.95rem;
}

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

.filter-bar {
    display: grid;
    gap: 18px;
    margin: 34px 0 28px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: var(--radius-xl);
    padding: 20px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(18px);
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.filter-row strong {
    margin-right: 4px;
}

.filter-input {
    width: min(100%, 360px);
    border: 1px solid var(--slate-200);
    border-radius: 999px;
    padding: 12px 16px;
    outline: none;
}

.filter-input:focus {
    border-color: rgba(249, 115, 22, 0.72);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.14);
}

.filter-chip {
    border: 0;
    border-radius: 999px;
    padding: 8px 13px;
    color: var(--slate-700);
    background: var(--slate-100);
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
}

.filter-chip:hover,
.filter-chip.is-active {
    color: var(--white);
    background: linear-gradient(135deg, var(--orange), var(--red));
}

.result-count {
    color: var(--slate-600);
    font-weight: 700;
}

.empty-result {
    display: none;
    border: 1px dashed var(--slate-300);
    border-radius: var(--radius-lg);
    padding: 36px;
    text-align: center;
    color: var(--slate-600);
    background: rgba(255, 255, 255, 0.82);
}

.detail-hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background: var(--slate-950);
}

.detail-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 330px 1fr;
    gap: 42px;
    align-items: end;
    min-height: 560px;
    padding-block: 72px;
}

.detail-poster {
    overflow: hidden;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.detail-poster img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

.detail-copy h1 {
    margin-bottom: 18px;
    font-size: clamp(2.2rem, 5vw, 4.7rem);
    letter-spacing: -0.04em;
}

.detail-copy p {
    max-width: 760px;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.08rem;
}

.watch-section {
    padding-block: 64px;
    background: linear-gradient(180deg, #020617 0%, #0f172a 55%, #f8fafc 55%, #ffffff 100%);
}

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

.player-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: #000000;
    box-shadow: var(--shadow-lg);
}

.player-card video {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000000;
}

.player-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border: 0;
    color: var(--white);
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.12));
    cursor: pointer;
    z-index: 3;
}

.player-overlay[hidden] {
    display: none;
}

.player-start {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border-radius: 999px;
    padding: 15px 22px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--orange), var(--red));
    box-shadow: 0 20px 44px rgba(239, 68, 68, 0.4);
}

.player-start::before {
    content: "▶";
    display: inline-grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 50%;
    color: var(--orange-dark);
    background: var(--white);
}

.player-status {
    margin-top: 12px;
    min-height: 24px;
    color: #fed7aa;
    font-weight: 700;
}

.side-panel,
.content-card {
    border-radius: var(--radius-xl);
    padding: 24px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.side-panel h2,
.content-card h2 {
    margin-bottom: 16px;
    font-size: 1.35rem;
}

.side-panel ul {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.side-panel li a {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 12px;
    align-items: center;
}

.side-panel img {
    width: 58px;
    height: 78px;
    border-radius: 12px;
    object-fit: cover;
}

.side-panel strong {
    display: block;
    line-height: 1.35;
}

.side-panel span {
    color: var(--slate-500);
    font-size: 0.86rem;
}

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

.prose-block {
    display: grid;
    gap: 22px;
}

.content-card p {
    margin: 0;
    color: var(--slate-700);
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.tag-chip {
    color: var(--orange-dark);
    background: #ffedd5;
}

.search-results {
    min-height: 240px;
}

.search-result-item {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 16px;
    border-radius: var(--radius-lg);
    padding: 14px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.search-result-item img {
    width: 96px;
    height: 132px;
    border-radius: 14px;
    object-fit: cover;
}

.search-result-item h2 {
    margin: 0 0 6px;
    font-size: 1.15rem;
}

.search-result-item p {
    margin: 0 0 10px;
    color: var(--slate-600);
}

.site-footer {
    margin-top: 0;
    color: rgba(255, 255, 255, 0.74);
    background: linear-gradient(180deg, var(--slate-900), var(--slate-950));
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
    gap: 32px;
    padding-block: 46px;
}

.footer-grid h2 {
    margin: 0 0 14px;
    color: var(--white);
    font-size: 1rem;
}

.footer-grid p {
    margin: 0;
}

.footer-grid ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-grid a:hover {
    color: #fb923c;
}

@media (max-width: 1120px) {
    .movie-grid,
    .movie-grid.compact-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

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

    .feature-layout,
    .watch-grid,
    .content-layout {
        grid-template-columns: 1fr;
    }

    .side-panel {
        order: 2;
    }
}

@media (max-width: 900px) {
    .nav-shell {
        grid-template-columns: auto auto;
        justify-content: space-between;
    }

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

    .primary-nav,
    .site-search {
        grid-column: 1 / -1;
        display: none;
        width: 100%;
    }

    .primary-nav.is-open,
    .site-search.is-open {
        display: flex;
    }

    .primary-nav {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding: 0 0 14px;
    }

    .nav-link {
        border-radius: 14px;
        padding: 10px 12px;
        background: rgba(255, 255, 255, 0.06);
    }

    .site-search {
        padding-bottom: 16px;
    }

    .site-search input {
        width: 100%;
    }

    .hero-content,
    .detail-grid {
        grid-template-columns: 1fr;
        align-items: center;
    }

    .hero-panel {
        max-width: 360px;
    }

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

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

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

    .hero,
    .hero-content,
    .detail-grid {
        min-height: auto;
    }

    .hero-content,
    .detail-grid {
        padding-block: 42px;
    }

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

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

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

    .horizontal-card,
    .search-result-item {
        grid-template-columns: 108px 1fr;
    }

    .horizontal-cover img {
        min-height: 158px;
    }

    .horizontal-body {
        padding: 13px 13px 13px 0;
    }

    .horizontal-body p {
        -webkit-line-clamp: 2;
    }

    .ranking-list li a {
        grid-template-columns: 34px 1fr;
    }

    .ranking-list li a > span:last-child {
        grid-column: 2;
    }

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