:root {
    --toffee-primary: #c87941;
    --toffee-secondary: #e5a76b;
    --toffee-light: #f5e6d3;
    --toffee-cream: #fff8f0;
    --toffee-caramel: #b8784f;
    --toffee-brown: #8b5a3c;
    --toffee-dark: #6b4423;
    --cloud-white: #ffffff;
    --cloud-soft: #f9f9f9;
    --ink: #322014;
    --muted: #79583f;
    --line: rgba(200, 121, 65, 0.18);
    --shadow-soft: 0 24px 80px rgba(107, 68, 35, 0.16);
    --shadow-card: 0 16px 38px rgba(107, 68, 35, 0.12);
    --radius-xl: 34px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --content: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
    background:
        radial-gradient(circle at 8% 6%, rgba(255, 255, 255, 0.95) 0 8%, transparent 18%),
        radial-gradient(circle at 86% 10%, rgba(245, 230, 211, 0.7) 0 12%, transparent 25%),
        linear-gradient(135deg, #fffaf4 0%, #f7e7d2 46%, #fff 100%);
    min-height: 100vh;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 18% 32%, rgba(255, 255, 255, 0.55) 0 4rem, transparent 4.2rem),
        radial-gradient(circle at 72% 64%, rgba(255, 248, 240, 0.65) 0 5rem, transparent 5.2rem);
    opacity: 0.85;
    z-index: -1;
}

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

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

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

.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: 30;
    border-bottom: 1px solid rgba(245, 230, 211, 0.74);
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(18px);
    box-shadow: 0 12px 32px rgba(107, 68, 35, 0.08);
}

.header-inner {
    width: min(var(--content), calc(100% - 32px));
    min-height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 22px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: #fff;
    font-weight: 800;
    background: linear-gradient(135deg, var(--toffee-primary), var(--toffee-secondary));
    box-shadow: 0 12px 30px rgba(200, 121, 65, 0.35);
}

.brand-name {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 0.02em;
    background: linear-gradient(90deg, var(--toffee-primary), var(--toffee-secondary), var(--toffee-caramel));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
}

.nav-link,
.mobile-nav-link,
.category-pill {
    border-radius: 999px;
    color: var(--toffee-dark);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-link {
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 700;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--toffee-primary);
    background: var(--toffee-light);
}

.top-search {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 260px;
    padding: 8px 8px 8px 16px;
    border: 1px solid rgba(200, 121, 65, 0.16);
    border-radius: 999px;
    background: var(--toffee-cream);
}

.top-search input,
.mobile-search input,
.search-panel input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
}

.top-search button,
.mobile-search button,
.search-panel button {
    border: 0;
    border-radius: 999px;
    color: #fff;
    font-weight: 800;
    background: linear-gradient(135deg, var(--toffee-primary), var(--toffee-secondary));
}

.top-search button {
    padding: 8px 14px;
    font-size: 13px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 14px;
    background: var(--toffee-light);
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 99px;
    background: var(--toffee-primary);
}

.mobile-nav {
    display: none;
    width: min(var(--content), calc(100% - 32px));
    margin: 0 auto 16px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-card);
}

.mobile-nav.is-open {
    display: block;
}

.mobile-nav-link {
    display: block;
    padding: 12px 14px;
    font-weight: 800;
}

.mobile-nav-link:hover {
    background: var(--toffee-light);
}

.mobile-search {
    display: flex;
    gap: 8px;
    margin: 10px 0;
    padding: 8px;
    border-radius: 18px;
    background: var(--toffee-cream);
}

.mobile-search button {
    padding: 8px 14px;
}

.mobile-category-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 8px;
}

.category-pill {
    padding: 8px 12px;
    font-size: 13px;
    background: rgba(245, 230, 211, 0.7);
}

.hero {
    position: relative;
    width: min(var(--content), calc(100% - 32px));
    min-height: 620px;
    margin: 28px auto 72px;
    overflow: hidden;
    border-radius: 42px;
    box-shadow: var(--shadow-soft);
    background: linear-gradient(135deg, #fff6ea, #f2d4b3);
}

.hero-cloud {
    position: absolute;
    border-radius: 999px;
    filter: blur(2px);
    background: rgba(255, 255, 255, 0.45);
    z-index: 3;
}

.hero-cloud-one {
    width: 280px;
    height: 120px;
    left: -50px;
    bottom: 42px;
}

.hero-cloud-two {
    width: 220px;
    height: 90px;
    right: 70px;
    top: 64px;
}

.hero-slider {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 370px;
    align-items: center;
    gap: 48px;
    padding: 72px;
    opacity: 0;
    pointer-events: none;
    transform: scale(1.02);
    transition: opacity 0.7s ease, transform 0.7s ease;
    background-image:
        linear-gradient(90deg, rgba(51, 30, 16, 0.88), rgba(107, 68, 35, 0.64), rgba(255, 248, 240, 0.18)),
        var(--hero-image);
    background-size: cover;
    background-position: center;
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 30%, rgba(229, 167, 107, 0.45), transparent 26%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(50, 32, 20, 0.16));
}

.hero-copy,
.hero-poster {
    position: relative;
    z-index: 5;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 14px;
    padding: 7px 14px;
    border: 1px solid rgba(229, 167, 107, 0.42);
    border-radius: 999px;
    color: var(--toffee-primary);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.06em;
    background: rgba(255, 248, 240, 0.82);
}

.hero-copy .eyebrow {
    color: #ffe0b8;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.22);
}

.hero-copy h1 {
    max-width: 650px;
    margin: 0;
    color: #fff;
    font-size: clamp(40px, 6vw, 76px);
    line-height: 1.02;
    letter-spacing: -0.05em;
    text-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
}

.hero-summary {
    max-width: 660px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 18px;
    line-height: 1.9;
}

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

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

.hero-tags span,
.tag-list span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.hero-tags span {
    padding: 7px 12px;
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

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

.primary-button,
.ghost-button,
.text-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 900;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
    padding: 13px 24px;
    color: #fff;
    background: linear-gradient(135deg, var(--toffee-primary), var(--toffee-secondary));
    box-shadow: 0 14px 34px rgba(200, 121, 65, 0.34);
}

.ghost-button {
    padding: 12px 22px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.13);
}

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

.hero-poster {
    overflow: hidden;
    aspect-ratio: 3 / 4.15;
    border: 8px solid rgba(255, 255, 255, 0.18);
    border-radius: 32px;
    background: linear-gradient(135deg, var(--toffee-primary), var(--toffee-secondary));
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.36);
}

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

.hero-dots {
    position: absolute;
    left: 72px;
    bottom: 42px;
    z-index: 8;
    display: flex;
    gap: 10px;
}

.hero-dot {
    width: 12px;
    height: 12px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.48);
    transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
    width: 38px;
    background: #fff;
}

.section {
    width: min(var(--content), calc(100% - 32px));
    margin: 0 auto 72px;
}

.section-heading {
    margin-bottom: 28px;
}

.section-heading h2,
.page-hero h1,
.detail-copy h1,
.content-panel h2 {
    margin: 0;
    color: var(--toffee-dark);
    font-weight: 950;
    letter-spacing: -0.035em;
}

.section-heading h2 {
    font-size: clamp(28px, 4vw, 46px);
}

.section-heading p,
.page-hero p,
.portal-card p,
.footer-brand p {
    max-width: 760px;
    margin: 12px 0 0;
    color: var(--muted);
    line-height: 1.9;
}

.split-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
}

.text-link {
    padding: 10px 16px;
    color: var(--toffee-primary);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--line);
}

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

.category-tile {
    min-height: 210px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow-card);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.category-tile:hover,
.movie-card:hover {
    transform: translateY(-5px);
    border-color: rgba(200, 121, 65, 0.38);
    box-shadow: 0 24px 55px rgba(107, 68, 35, 0.18);
}

.category-icon {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 19px;
    color: #fff;
    font-size: 22px;
    font-weight: 950;
    background: linear-gradient(135deg, var(--toffee-primary), var(--toffee-secondary));
}

.category-tile strong {
    display: block;
    margin-bottom: 8px;
    color: var(--toffee-dark);
    font-size: 20px;
}

.category-tile em {
    display: block;
    min-height: 70px;
    color: var(--muted);
    font-style: normal;
    line-height: 1.7;
}

.category-enter {
    display: inline-flex;
    margin-top: 16px;
    padding: 7px 12px;
    border-radius: 999px;
    color: var(--toffee-primary);
    font-size: 13px;
    font-weight: 900;
    background: var(--toffee-cream);
}

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

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

.movie-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-card);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.movie-cover {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4.12;
    overflow: hidden;
    background:
        radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.7), transparent 24%),
        linear-gradient(135deg, #c87941, #e5a76b 54%, #fff0d7);
}

.movie-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease, opacity 0.2s ease;
}

.movie-card:hover .movie-cover img {
    transform: scale(1.05);
}

.movie-cover img.is-missing,
.detail-poster img.is-missing,
.hero-poster img.is-missing {
    opacity: 0;
}

.cover-shine {
    position: absolute;
    inset: auto 0 0;
    height: 46%;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.46));
}

.rank-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    min-width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border-radius: 999px;
    color: #fff;
    font-weight: 950;
    background: linear-gradient(135deg, #ff8a3d, #c87941);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.24);
}

.movie-body {
    padding: 18px;
}

.movie-meta-row,
.movie-info-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--toffee-brown);
    font-size: 13px;
    font-weight: 800;
}

.movie-meta-row a {
    color: var(--toffee-primary);
}

.movie-body h3 {
    margin: 10px 0 8px;
    color: var(--toffee-dark);
    font-size: 20px;
    line-height: 1.35;
}

.movie-body h3 a:hover {
    color: var(--toffee-primary);
}

.movie-body p {
    display: -webkit-box;
    min-height: 52px;
    margin: 0;
    overflow: hidden;
    color: var(--muted);
    line-height: 1.75;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.movie-info-line {
    margin-top: 12px;
}

.tag-list {
    margin-top: 12px;
}

.tag-list span {
    padding: 6px 10px;
    color: var(--toffee-brown);
    background: rgba(245, 230, 211, 0.72);
}

.movie-card-compact {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
}

.movie-card-compact .movie-cover {
    aspect-ratio: auto;
    min-height: 172px;
}

.movie-card-compact .movie-body h3 {
    font-size: 18px;
}

.portal-card,
.page-hero,
.detail-hero,
.content-panel,
.player-section .section-heading {
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.76);
    box-shadow: var(--shadow-card);
}

.portal-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 34px;
}

.portal-card h2 {
    margin: 0;
    color: var(--toffee-dark);
    font-size: clamp(28px, 4vw, 44px);
}

.page-hero {
    width: min(var(--content), calc(100% - 32px));
    margin: 28px auto 50px;
    padding: 52px;
    background:
        radial-gradient(circle at top right, rgba(229, 167, 107, 0.28), transparent 32%),
        rgba(255, 255, 255, 0.78);
}

.page-hero h1 {
    font-size: clamp(38px, 6vw, 68px);
}

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 20px;
    color: var(--toffee-brown);
    font-size: 14px;
    font-weight: 800;
}

.breadcrumb a {
    color: var(--toffee-primary);
}

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

.large-category-grid .category-tile {
    min-height: 160px;
}

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

.detail-hero {
    width: min(var(--content), calc(100% - 32px));
    margin: 28px auto 50px;
    padding: 34px;
    background:
        radial-gradient(circle at 88% 16%, rgba(229, 167, 107, 0.26), transparent 28%),
        rgba(255, 255, 255, 0.8);
}

.detail-layout {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 34px;
    align-items: center;
}

.detail-poster {
    overflow: hidden;
    aspect-ratio: 3 / 4.12;
    border-radius: 30px;
    background: linear-gradient(135deg, var(--toffee-primary), var(--toffee-secondary));
    box-shadow: 0 22px 48px rgba(107, 68, 35, 0.22);
}

.detail-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-copy h1 {
    font-size: clamp(38px, 6vw, 72px);
    line-height: 1.06;
}

.detail-one-line {
    margin: 20px 0 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.9;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.detail-meta span {
    padding: 9px 13px;
    border-radius: 999px;
    color: var(--toffee-dark);
    font-weight: 850;
    background: rgba(245, 230, 211, 0.82);
}

.detail-tags {
    margin-top: 18px;
}

.player-section .section-heading {
    padding: 26px 30px;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 34px;
    background: #120b07;
    box-shadow: 0 28px 70px rgba(50, 32, 20, 0.34);
}

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

.player-start {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    min-height: 58px;
    padding: 0 26px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    font-weight: 950;
    background: linear-gradient(135deg, var(--toffee-primary), var(--toffee-secondary));
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
}

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

.article-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.content-panel {
    padding: 30px;
}

.content-panel h2 {
    margin-bottom: 16px;
    font-size: 28px;
}

.content-panel p {
    margin: 0;
    color: var(--muted);
    line-height: 2;
}

.search-panel {
    display: flex;
    width: min(760px, 100%);
    gap: 10px;
    margin-top: 28px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
}

.search-panel input {
    padding: 0 12px;
}

.search-panel button {
    padding: 12px 22px;
    white-space: nowrap;
}

.site-footer {
    margin-top: 72px;
    padding: 54px 0 24px;
    border-top: 1px solid var(--line);
    background: linear-gradient(135deg, rgba(245, 230, 211, 0.88), rgba(255, 255, 255, 0.88));
}

.footer-grid {
    width: min(var(--content), calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 38px;
}

.site-footer h2 {
    margin: 0 0 16px;
    color: var(--toffee-dark);
    font-size: 18px;
}

.site-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer li + li {
    margin-top: 10px;
}

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

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

.footer-bottom {
    width: min(var(--content), calc(100% - 32px));
    margin: 34px auto 0;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    color: var(--toffee-brown);
}

@media (max-width: 1100px) {
    .top-search {
        display: none;
    }

    .hero-slide {
        grid-template-columns: 1fr 280px;
        padding: 54px;
    }

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

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

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

    .nav-toggle {
        display: flex;
        margin-left: auto;
    }

    .header-inner {
        min-height: 68px;
    }

    .hero {
        min-height: 760px;
        border-radius: 30px;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        align-content: center;
        gap: 28px;
        padding: 36px 26px 84px;
    }

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

    .hero-summary {
        font-size: 16px;
    }

    .hero-poster {
        width: min(260px, 80%);
        margin: 0 auto;
    }

    .hero-dots {
        left: 28px;
        bottom: 32px;
    }

    .split-heading,
    .portal-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .category-grid,
    .large-category-grid,
    .movie-grid,
    .movie-list-grid,
    .category-movie-grid,
    .rank-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .detail-poster {
        width: min(320px, 100%);
        margin: 0 auto;
    }

    .page-hero,
    .detail-hero {
        padding: 28px;
        border-radius: 28px;
    }
}

@media (max-width: 560px) {
    .brand-name {
        font-size: 18px;
    }

    .brand-mark {
        width: 36px;
        height: 36px;
        border-radius: 13px;
    }

    .hero {
        width: calc(100% - 20px);
        min-height: 720px;
        margin-top: 16px;
    }

    .hero-slide {
        padding: 28px 20px 82px;
    }

    .hero-copy h1 {
        font-size: 34px;
    }

    .section,
    .page-hero,
    .detail-hero,
    .footer-grid,
    .footer-bottom {
        width: calc(100% - 20px);
    }

    .category-grid,
    .large-category-grid,
    .movie-grid,
    .movie-list-grid,
    .category-movie-grid,
    .rank-grid {
        grid-template-columns: 1fr;
    }

    .movie-card-compact {
        grid-template-columns: 104px minmax(0, 1fr);
    }

    .movie-card-compact .movie-cover {
        min-height: 156px;
    }

    .search-panel {
        border-radius: 24px;
        flex-direction: column;
    }

    .search-panel button {
        width: 100%;
    }
}
