:root {
    --bg: #f8fafc;
    --surface: #ffffff;
    --surface-soft: #fff7ed;
    --text: #111827;
    --muted: #6b7280;
    --dark: #0f172a;
    --dark-soft: #1f2937;
    --accent: #f97316;
    --accent-strong: #ea580c;
    --accent-soft: #fed7aa;
    --line: rgba(15, 23, 42, 0.1);
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 46%, #fff7ed 100%);
    line-height: 1.65;
}

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

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

button,
input {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: linear-gradient(90deg, rgba(17, 24, 39, 0.96), rgba(31, 41, 55, 0.96), rgba(17, 24, 39, 0.96));
    backdrop-filter: blur(14px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
}

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

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.logo-mark {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border-radius: 14px;
    color: #ffffff;
    background: linear-gradient(135deg, #f97316, #facc15);
    box-shadow: 0 12px 24px rgba(249, 115, 22, 0.35);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    color: #d1d5db;
    font-weight: 700;
    transition: color 0.2s ease, transform 0.2s ease;
}

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

.nav-toggle {
    display: none;
    border: 0;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 8px 12px;
    cursor: pointer;
}

.hero-slider {
    position: relative;
    min-height: 650px;
    overflow: hidden;
    color: #ffffff;
    background: #111827;
}

.hero-track {
    position: relative;
    min-height: 650px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 0.8s ease, transform 1.4s ease;
    pointer-events: none;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 72% 34%, rgba(249, 115, 22, 0.32), transparent 32%), linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.66) 48%, rgba(0, 0, 0, 0.42));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 790px;
    padding: 96px 0 120px;
    animation: fadeInUp 0.8s ease both;
}

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

.hero-content h1 {
    margin: 0 0 8px;
    font-size: clamp(40px, 7vw, 76px);
    line-height: 0.98;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.hero-content h2 {
    margin: 0 0 18px;
    color: #fed7aa;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.12;
}

.hero-content p {
    max-width: 720px;
    margin: 0 0 24px;
    color: #e5e7eb;
    font-size: 20px;
}

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

.hero-tags span,
.tag-row span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 11px;
    border-radius: 999px;
    color: #9a3412;
    background: #ffedd5;
    font-size: 13px;
    font-weight: 700;
}

.hero-actions,
.inline-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 30px;
}

.btn-primary,
.btn-secondary,
.btn-ghost,
.btn-mini {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
    min-height: 48px;
    padding: 0 24px;
    color: #ffffff;
    background: linear-gradient(135deg, #f97316, #ea580c);
    box-shadow: 0 14px 30px rgba(249, 115, 22, 0.38);
}

.btn-secondary {
    min-height: 48px;
    padding: 0 24px;
    color: #111827;
    background: #ffffff;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
}

.btn-ghost {
    min-height: 48px;
    padding: 0 24px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.btn-mini {
    min-height: 40px;
    padding: 0 18px;
    color: #ffffff;
    background: var(--accent);
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-ghost:hover,
.btn-mini:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(249, 115, 22, 0.32);
}

.hero-thumbs {
    position: absolute;
    left: 50%;
    bottom: 28px;
    z-index: 6;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    transform: translateX(-50%);
}

.hero-thumbs button {
    min-height: 48px;
    padding: 8px 12px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    background: rgba(17, 24, 39, 0.66);
    backdrop-filter: blur(12px);
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hero-thumbs button.is-active {
    color: #111827;
    background: #ffffff;
}

.section-block {
    padding: 76px 0;
}

.white-block {
    background: #ffffff;
}

.orange-block {
    background: linear-gradient(135deg, #fff7ed, #fef3c7);
}

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

.section-heading h2,
.side-panel h2,
.content-card h2 {
    margin: 0;
    color: #111827;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.section-heading a,
.text-link {
    color: #ea580c;
    font-weight: 800;
}

.slim-heading {
    align-items: center;
    margin-bottom: 24px;
}

.sort-note {
    color: var(--muted);
    font-size: 14px;
}

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

.category-tile {
    position: relative;
    min-height: 220px;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    isolation: isolate;
}

.category-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.82));
}

.category-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 0.45s ease;
}

.category-tile:hover img {
    transform: scale(1.1);
}

.category-tile-content {
    position: absolute;
    inset: auto 18px 18px;
    z-index: 2;
    color: #ffffff;
}

.category-tile-content strong {
    display: block;
    margin-bottom: 6px;
    font-size: 22px;
    line-height: 1.15;
}

.category-tile-content em {
    display: -webkit-box;
    color: #e5e7eb;
    font-size: 13px;
    font-style: normal;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

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

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

.movie-card {
    overflow: hidden;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.15);
}

.movie-poster {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, #111827, #431407);
}

.movie-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease, filter 0.45s ease;
}

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

.poster-play {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: #ffffff;
    border-radius: 999px;
    background: rgba(249, 115, 22, 0.94);
    box-shadow: 0 10px 24px rgba(249, 115, 22, 0.34);
}

.rank-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    padding: 5px 9px;
    color: #ffffff;
    border-radius: 999px;
    background: linear-gradient(135deg, #ef4444, #f97316);
    font-size: 12px;
    font-weight: 900;
}

.movie-info {
    padding: 15px;
}

.movie-info h3 {
    margin: 0 0 7px;
    display: -webkit-box;
    color: #111827;
    font-size: 17px;
    line-height: 1.28;
    font-weight: 900;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-title-link:hover h3 {
    color: #ea580c;
}

.movie-meta {
    margin: 0 0 10px;
    color: #6b7280;
    font-size: 13px;
}

.movie-line {
    margin: 0 0 12px;
    display: -webkit-box;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.55;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-card-list {
    display: grid;
    grid-template-columns: 154px 1fr;
}

.movie-card-list .movie-poster {
    aspect-ratio: 4 / 5;
}

.movie-card-list .movie-info {
    padding: 18px;
}

.search-cta {
    padding: 88px 0;
    color: #ffffff;
    background: radial-gradient(circle at 20% 20%, rgba(249, 115, 22, 0.42), transparent 28%), linear-gradient(135deg, #111827, #431407);
}

.search-cta-box {
    text-align: center;
}

.search-cta-box h2 {
    margin: 0 0 10px;
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 900;
}

.search-cta-box p {
    margin: 0 auto 24px;
    color: #fed7aa;
    font-size: 18px;
}

.quick-search,
.search-panel {
    display: flex;
    max-width: 680px;
    margin: 0 auto;
    padding: 8px;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.quick-search input,
.search-panel input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 0 18px;
    color: #111827;
    background: transparent;
}

.quick-search button,
.search-panel button {
    border: 0;
    border-radius: 999px;
    padding: 14px 24px;
    color: #ffffff;
    background: var(--accent);
    font-weight: 900;
    cursor: pointer;
}

.page-hero {
    padding: 64px 0;
    color: #ffffff;
    background: radial-gradient(circle at 18% 18%, rgba(249, 115, 22, 0.34), transparent 32%), linear-gradient(135deg, #111827, #1f2937);
}

.page-hero h1 {
    margin: 10px 0 12px;
    font-size: clamp(36px, 6vw, 58px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.page-hero p {
    max-width: 760px;
    margin: 0;
    color: #d1d5db;
    font-size: 18px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    color: #9ca3af;
    font-size: 14px;
}

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

.breadcrumb span::before,
.breadcrumb a + span::before,
.breadcrumb a + a::before {
    content: "/";
    margin-right: 10px;
    color: #6b7280;
}

.category-overview-grid {
    display: grid;
    gap: 26px;
}

.category-overview-card {
    display: grid;
    grid-template-columns: minmax(240px, 340px) 1fr;
    overflow: hidden;
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: var(--shadow);
}

.category-overview-cover {
    min-height: 260px;
    background: #111827;
}

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

.category-overview-body {
    padding: 28px;
}

.category-overview-body h2 {
    margin: 0 0 8px;
    font-size: 30px;
}

.category-overview-body p {
    margin: 0 0 20px;
    color: var(--muted);
}

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

.small-card {
    position: relative;
    display: grid;
    grid-template-columns: 88px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 16px;
    background: #f8fafc;
    transition: background 0.2s ease, transform 0.2s ease;
}

.small-card:hover {
    background: #fff7ed;
    transform: translateX(2px);
}

.small-card img {
    width: 88px;
    height: 58px;
    border-radius: 12px;
    object-fit: cover;
}

.small-card strong {
    display: -webkit-box;
    margin-bottom: 3px;
    color: #111827;
    line-height: 1.25;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.small-card em {
    color: #6b7280;
    font-style: normal;
    font-size: 12px;
}

.small-rank {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    color: #ffffff;
    border-radius: 999px;
    background: var(--accent);
    font-size: 13px;
    font-weight: 900;
}

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

.side-panel {
    padding: 22px;
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: var(--shadow);
}

.side-panel h2 {
    margin-bottom: 18px;
    font-size: 24px;
}

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

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

.ranking-row {
    display: grid;
    grid-template-columns: 64px 128px 1fr auto;
    gap: 18px;
    align-items: center;
    padding: 16px;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.ranking-index {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    color: #ffffff;
    border-radius: 18px;
    background: linear-gradient(135deg, #f97316, #ef4444);
    font-size: 22px;
    font-weight: 900;
}

.ranking-cover img {
    width: 128px;
    height: 84px;
    border-radius: 16px;
    object-fit: cover;
}

.ranking-info h2 {
    margin: 0 0 6px;
    font-size: 22px;
    line-height: 1.2;
}

.ranking-info p {
    margin: 0 0 10px;
    color: #4b5563;
}

.rank-meter {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: #f3f4f6;
}

.rank-meter span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #f97316, #facc15);
}

.search-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 28px;
    align-items: start;
}

.filter-panel {
    position: sticky;
    top: 92px;
    padding: 22px;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.filter-panel h2 {
    margin: 0 0 18px;
    font-size: 26px;
}

.filter-group {
    display: grid;
    gap: 9px;
    margin-bottom: 22px;
}

.filter-group h3 {
    margin: 0 0 4px;
    font-size: 15px;
    color: #374151;
}

.filter-group button {
    border: 0;
    border-radius: 999px;
    padding: 9px 12px;
    color: #374151;
    background: #f3f4f6;
    text-align: left;
    cursor: pointer;
}

.filter-group button.is-active,
.filter-group button:hover {
    color: #ffffff;
    background: var(--accent);
}

.movie-card.is-hidden {
    display: none;
}

.player-section {
    padding: 32px 0;
    background: #050505;
}

.player-breadcrumb {
    margin-bottom: 18px;
}

.player-shell {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 22px;
    background: #000000;
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.48);
}

.video-player {
    width: 100%;
    height: 100%;
    display: block;
    background: #000000;
    object-fit: contain;
    cursor: pointer;
}

.play-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border: 0;
    color: #ffffff;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.56));
    cursor: pointer;
}

.play-overlay span {
    width: clamp(72px, 12vw, 112px);
    height: clamp(72px, 12vw, 112px);
    display: grid;
    place-items: center;
    padding-left: 6px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f97316, #facc15);
    box-shadow: 0 18px 38px rgba(249, 115, 22, 0.35);
    font-size: 36px;
}

.player-shell.is-playing .play-overlay,
.player-shell.is-loading .play-overlay {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

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

.detail-main {
    display: grid;
    gap: 20px;
}

.detail-head,
.content-card {
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: var(--shadow);
}

.detail-head {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 24px;
    padding: 24px;
}

.detail-poster {
    margin: 0;
    overflow: hidden;
    border-radius: 18px;
    background: #111827;
}

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

.detail-head h1 {
    margin: 0 0 12px;
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.detail-meta span {
    padding: 6px 12px;
    border-radius: 999px;
    color: #374151;
    background: #f3f4f6;
    font-size: 14px;
    font-weight: 700;
}

.lead-text {
    margin: 0 0 20px;
    color: #374151;
    font-size: 18px;
}

.detail-tags span {
    color: #7c2d12;
}

.content-card {
    padding: 26px;
}

.content-card h2 {
    margin-bottom: 14px;
    font-size: 26px;
}

.content-card p {
    margin: 0;
    color: #374151;
    font-size: 17px;
}

.side-button {
    width: 100%;
    margin-top: 18px;
}

.site-footer {
    color: #d1d5db;
    background: linear-gradient(180deg, #111827, #020617);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 32px;
    padding: 48px 0;
}

.footer-logo {
    margin-bottom: 14px;
}

.site-footer p {
    margin: 0;
    max-width: 420px;
    color: #9ca3af;
}

.site-footer h3 {
    margin: 0 0 14px;
    color: #ffffff;
}

.footer-links {
    display: grid;
    gap: 8px;
}

.footer-links a {
    color: #9ca3af;
}

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

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@media (max-width: 920px) {
    .nav-toggle {
        display: inline-flex;
    }

    .nav-links {
        position: absolute;
        left: 16px;
        right: 16px;
        top: 78px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 14px;
        border-radius: 20px;
        background: #111827;
        box-shadow: var(--shadow);
    }

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

    .nav-links a {
        padding: 12px;
    }

    .hero-slider,
    .hero-track {
        min-height: 620px;
    }

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

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

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

    .two-column-layout,
    .detail-layout,
    .search-layout,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .sticky-panel,
    .filter-panel {
        position: static;
    }

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

    .detail-poster img {
        max-height: 520px;
    }
}

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

    .site-logo {
        font-size: 18px;
    }

    .hero-content {
        padding: 72px 0 180px;
    }

    .hero-content p {
        font-size: 17px;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary,
    .btn-ghost {
        width: 100%;
    }

    .hero-thumbs {
        bottom: 18px;
        grid-template-columns: 1fr;
    }

    .hero-thumbs button:nth-child(n+4) {
        display: none;
    }

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

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

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

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

    .movie-card-list {
        grid-template-columns: 120px 1fr;
    }

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

    .ranking-row {
        grid-template-columns: 48px 96px 1fr;
    }

    .ranking-row .btn-mini {
        grid-column: 2 / 4;
    }

    .ranking-cover img {
        width: 96px;
        height: 74px;
    }

    .quick-search,
    .search-panel {
        align-items: stretch;
        flex-direction: column;
        border-radius: 22px;
    }

    .quick-search input,
    .search-panel input {
        min-height: 48px;
    }
}

@media (max-width: 420px) {
    .movie-grid,
    .compact-grid {
        grid-template-columns: 1fr;
    }

    .movie-card-list {
        grid-template-columns: 1fr;
    }
}
