:root {
    color-scheme: dark;
    --bg: #030712;
    --bg-soft: #07111f;
    --panel: rgba(15, 23, 42, 0.82);
    --panel-strong: rgba(15, 23, 42, 0.96);
    --line: rgba(148, 163, 184, 0.18);
    --text: #f8fafc;
    --muted: #a7b2c5;
    --cyan: #22d3ee;
    --pink: #f472b6;
    --amber: #f59e0b;
    --radius: 24px;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(circle at 10% 0%, rgba(34, 211, 238, 0.18), transparent 30%),
        radial-gradient(circle at 90% 12%, rgba(244, 114, 182, 0.16), transparent 28%),
        linear-gradient(180deg, #030712 0%, #07111f 52%, #030712 100%);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 42px 42px;
    content: "";
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 80%);
}

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

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

button,
input {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(3, 7, 18, 0.82);
    backdrop-filter: blur(18px);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    width: min(1440px, calc(100% - 32px));
    margin: 0 auto;
    padding: 16px 0;
}

.site-logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.logo-mark {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--cyan), var(--pink));
    color: #020617;
    font-size: 15px;
    box-shadow: 0 0 34px rgba(34, 211, 238, 0.28);
}

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

.site-nav a,
.mobile-nav a,
.footer-links a {
    color: var(--muted);
    font-weight: 700;
    transition: color 0.25s ease, transform 0.25s ease;
}

.site-nav a:hover,
.site-nav a.is-active,
.mobile-nav a:hover,
.footer-links a:hover {
    color: var(--cyan);
}

.nav-search {
    display: flex;
    align-items: center;
    width: min(340px, 28vw);
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.82);
    overflow: hidden;
}

.nav-search input,
.hero-search input,
.tool-panel input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
}

.nav-search input {
    padding: 11px 14px;
}

.nav-search button,
.hero-search button {
    border: 0;
    background: linear-gradient(135deg, var(--cyan), var(--pink));
    color: #020617;
    font-weight: 900;
    white-space: nowrap;
}

.nav-search button {
    padding: 11px 16px;
}

.mobile-toggle {
    display: none;
    margin-left: auto;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px 14px;
    background: rgba(15, 23, 42, 0.86);
    color: var(--text);
    font-weight: 800;
}

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

.mobile-nav a {
    display: block;
    padding: 13px 16px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.mobile-nav a:last-child {
    border-bottom: 0;
}

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

main {
    width: min(1440px, calc(100% - 32px));
    margin: 0 auto;
}

.hero-section {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(340px, 0.8fr);
    gap: 24px;
    padding: 30px 0 22px;
}

.hero-slider {
    position: relative;
    min-height: 640px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 34px;
    background: rgba(15, 23, 42, 0.7);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    align-items: end;
    gap: 36px;
    padding: 58px;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 0.6s ease, transform 0.8s ease;
    pointer-events: none;
}

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

.hero-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.34;
    filter: saturate(1.18) contrast(1.05);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(3, 7, 18, 0.98) 0%, rgba(3, 7, 18, 0.82) 42%, rgba(3, 7, 18, 0.32) 100%),
        linear-gradient(0deg, rgba(3, 7, 18, 0.96) 0%, transparent 56%);
}

.hero-content,
.hero-poster {
    position: relative;
    z-index: 2;
}

.hero-kicker,
.section-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 14px;
    border: 1px solid rgba(34, 211, 238, 0.32);
    border-radius: 999px;
    padding: 6px 12px;
    background: rgba(34, 211, 238, 0.1);
    color: var(--cyan);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-content h1 {
    max-width: 780px;
    font-size: clamp(42px, 7vw, 86px);
    line-height: 0.95;
    font-weight: 950;
    letter-spacing: -0.06em;
}

.hero-content p {
    max-width: 760px;
    margin-top: 22px;
    color: #cbd5e1;
    font-size: 18px;
    line-height: 1.8;
}

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

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

.hero-tags span,
.tag-row span {
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 999px;
    padding: 7px 11px;
    background: rgba(15, 23, 42, 0.72);
    color: #dbeafe;
    font-size: 12px;
    font-weight: 800;
}

.hero-actions,
.page-actions,
.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.primary-btn,
.ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 999px;
    padding: 0 22px;
    font-weight: 950;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.primary-btn {
    background: linear-gradient(135deg, var(--cyan), var(--pink));
    color: #020617;
    box-shadow: 0 18px 36px rgba(34, 211, 238, 0.2);
}

.ghost-btn {
    border: 1px solid rgba(148, 163, 184, 0.26);
    background: rgba(15, 23, 42, 0.72);
    color: var(--text);
}

.primary-btn:hover,
.ghost-btn:hover,
.movie-card:hover,
.category-card-large:hover,
.category-pill:hover {
    transform: translateY(-3px);
}

.hero-poster {
    align-self: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 26px;
    padding: 10px;
    background: rgba(15, 23, 42, 0.58);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.44);
}

.hero-poster img {
    width: 100%;
    aspect-ratio: 2 / 3;
    border-radius: 20px;
    object-fit: cover;
}

.hero-controls {
    position: absolute;
    right: 32px;
    bottom: 28px;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 14px;
}

.hero-control,
.hero-dot {
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(15, 23, 42, 0.78);
    color: var(--text);
}

.hero-control {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    font-size: 28px;
    line-height: 1;
}

.hero-dots {
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    padding: 0;
}

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

.hero-search-card,
.panel-card,
.tool-panel,
.article-panel,
.page-hero,
.detail-hero {
    border: 1px solid var(--line);
    background: var(--panel);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.hero-search-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 34px;
    padding: 34px;
}

.hero-search-card h2,
.page-hero h1,
.detail-info h1 {
    font-size: clamp(32px, 5vw, 60px);
    line-height: 1.05;
    font-weight: 950;
    letter-spacing: -0.05em;
}

.hero-search-card p,
.page-hero p {
    margin-top: 14px;
    color: var(--muted);
    line-height: 1.8;
}

.hero-search {
    display: flex;
    gap: 8px;
    margin-top: 24px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 18px;
    padding: 8px;
    background: rgba(2, 6, 23, 0.52);
}

.hero-search input {
    padding: 12px 14px;
}

.hero-search button {
    border-radius: 12px;
    padding: 0 16px;
}

.quick-category-row,
.category-grid-small {
    display: grid;
    gap: 12px;
}

.quick-category-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 22px;
}

.category-pill {
    display: block;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 18px;
    padding: 14px;
    background: rgba(15, 23, 42, 0.7);
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.category-pill span {
    display: block;
    color: var(--text);
    font-weight: 900;
}

.category-pill small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    line-height: 1.5;
}

.content-section,
.split-section {
    padding: 28px 0;
}

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

.section-head.compact {
    align-items: center;
}

.section-head h2 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 950;
    letter-spacing: -0.04em;
}

.section-head a {
    color: var(--cyan);
    font-weight: 900;
}

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

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

.movie-card:hover {
    border-color: rgba(34, 211, 238, 0.38);
    box-shadow: 0 20px 60px rgba(34, 211, 238, 0.12);
}

.poster-link {
    position: relative;
    display: block;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.14), rgba(244, 114, 182, 0.14));
    overflow: hidden;
}

.movie-poster {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.poster-shade {
    position: absolute;
    inset: auto 0 0;
    height: 48%;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.82), transparent);
}

.poster-badge,
.poster-play {
    position: absolute;
    z-index: 2;
}

.poster-badge {
    top: 12px;
    left: 12px;
    border-radius: 999px;
    padding: 5px 9px;
    background: rgba(2, 6, 23, 0.74);
    color: var(--cyan);
    font-size: 12px;
    font-weight: 900;
}

.poster-play {
    right: 12px;
    bottom: 12px;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--cyan), var(--pink));
    color: #020617;
    font-weight: 950;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

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

.movie-meta-line {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

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

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

.movie-card p {
    display: -webkit-box;
    min-height: 64px;
    margin-top: 8px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-card .tag-row {
    margin-top: 12px;
}

.movie-card .tag-row span {
    padding: 4px 8px;
    font-size: 11px;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.75fr);
    gap: 22px;
}

.panel-card {
    border-radius: 28px;
    padding: 24px;
}

.rank-list {
    display: grid;
    gap: 10px;
}

.rank-item a {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 16px;
    padding: 12px;
    background: rgba(2, 6, 23, 0.42);
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.rank-item a:hover {
    border-color: rgba(34, 211, 238, 0.34);
    background: rgba(34, 211, 238, 0.08);
    transform: translateX(4px);
}

.rank-number {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(34, 211, 238, 0.12);
    color: var(--cyan);
    font-weight: 950;
}

.rank-title {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 950;
}

.rank-meta {
    min-width: 0;
    overflow: hidden;
    color: var(--muted);
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

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

.page-hero {
    margin: 30px 0 6px;
    border-radius: 34px;
    padding: clamp(34px, 7vw, 72px);
    background:
        radial-gradient(circle at 14% 0%, rgba(34, 211, 238, 0.22), transparent 35%),
        radial-gradient(circle at 86% 12%, rgba(244, 114, 182, 0.18), transparent 34%),
        var(--panel);
}

.slim-hero {
    max-width: none;
}

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

.category-card-large {
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 28px;
    background: rgba(15, 23, 42, 0.72);
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.category-card-large:hover {
    border-color: rgba(34, 211, 238, 0.34);
}

.category-cover-stack {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    padding: 12px;
    background: rgba(2, 6, 23, 0.42);
}

.category-cover-stack img {
    width: 100%;
    aspect-ratio: 2 / 3;
    border-radius: 14px;
    object-fit: cover;
}

.category-card-body {
    padding: 20px;
}

.category-card-body h2 {
    font-size: 24px;
    font-weight: 950;
}

.category-card-body p {
    min-height: 54px;
    margin-top: 8px;
    color: var(--muted);
    line-height: 1.7;
}

.category-card-body span {
    display: inline-flex;
    margin-top: 14px;
    color: var(--cyan);
    font-weight: 900;
}

.tool-panel {
    display: grid;
    gap: 16px;
    margin-bottom: 22px;
    border-radius: 24px;
    padding: 18px;
}

.prominent-tool {
    position: sticky;
    top: 82px;
    z-index: 10;
}

.tool-panel input {
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 18px;
    padding: 14px 16px;
    background: rgba(2, 6, 23, 0.5);
}

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

.filter-row button {
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 999px;
    padding: 9px 14px;
    background: rgba(15, 23, 42, 0.76);
    color: var(--muted);
    font-weight: 900;
}

.filter-row button:hover,
.filter-row button.is-active {
    border-color: rgba(34, 211, 238, 0.45);
    background: rgba(34, 211, 238, 0.13);
    color: var(--cyan);
}

.empty-state {
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 22px;
    padding: 24px;
    background: rgba(15, 23, 42, 0.72);
    color: var(--muted);
    text-align: center;
}

.full-rank {
    gap: 8px;
}

.full-rank .rank-item a {
    grid-template-columns: 58px minmax(0, 1fr) auto;
}

.detail-hero {
    margin: 30px 0 24px;
    border-radius: 34px;
    padding: clamp(24px, 5vw, 52px);
    background:
        radial-gradient(circle at 0% 0%, rgba(34, 211, 238, 0.18), transparent 32%),
        radial-gradient(circle at 100% 10%, rgba(244, 114, 182, 0.16), transparent 34%),
        var(--panel);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
}

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

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

.detail-poster {
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 28px;
    padding: 10px;
    background: rgba(2, 6, 23, 0.52);
}

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

.detail-one-line {
    max-width: 920px;
    margin-top: 18px;
    color: #dbe4f0;
    font-size: 18px;
    line-height: 1.8;
}

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

.player-section {
    padding-top: 0;
}

.player-shell {
    position: relative;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 32px;
    background: #020617;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.movie-player {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.play-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    gap: 10px;
    border: 0;
    background:
        radial-gradient(circle at 50% 50%, rgba(34, 211, 238, 0.18), transparent 26%),
        rgba(2, 6, 23, 0.48);
    color: var(--text);
    cursor: pointer;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.play-overlay span {
    display: grid;
    place-items: center;
    width: 78px;
    height: 78px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--cyan), var(--pink));
    color: #020617;
    font-size: 30px;
    font-weight: 950;
    box-shadow: 0 22px 54px rgba(34, 211, 238, 0.26);
}

.play-overlay strong {
    font-size: 18px;
    font-weight: 950;
}

.play-overlay.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

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

.article-panel {
    border-radius: 28px;
    padding: 26px;
}

.article-panel h2 {
    font-size: 24px;
    font-weight: 950;
}

.article-panel p {
    margin-top: 14px;
    color: #cbd5e1;
    line-height: 1.9;
}

.site-footer {
    margin-top: 42px;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(2, 6, 23, 0.62);
}

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

.footer-inner p {
    max-width: 680px;
    color: var(--muted);
    line-height: 1.7;
}

.footer-links {
    display: flex;
    gap: 16px;
}

[hidden] {
    display: none !important;
}

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

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

    .hero-search-card {
        min-height: auto;
    }
}

@media (max-width: 1024px) {
    .site-nav,
    .nav-search {
        display: none;
    }

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

    .hero-slider {
        min-height: 560px;
    }

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

    .hero-poster {
        display: none;
    }

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

    .split-section,
    .detail-content,
    .category-overview-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 760px) {
    main,
    .header-inner,
    .mobile-nav,
    .footer-inner {
        width: min(100% - 24px, 1440px);
    }

    .header-inner {
        gap: 12px;
    }

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

    .logo-mark {
        width: 36px;
        height: 36px;
        border-radius: 12px;
    }

    .hero-section {
        padding-top: 18px;
    }

    .hero-slider {
        min-height: 520px;
        border-radius: 24px;
    }

    .hero-slide {
        padding: 28px;
    }

    .hero-content h1,
    .detail-info h1,
    .page-hero h1 {
        font-size: 38px;
    }

    .hero-content p,
    .detail-one-line {
        font-size: 16px;
    }

    .hero-controls {
        right: 20px;
        bottom: 18px;
    }

    .hero-search-card,
    .page-hero,
    .detail-hero {
        border-radius: 24px;
        padding: 24px;
    }

    .quick-category-row,
    .category-grid-small {
        grid-template-columns: 1fr;
    }

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

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

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

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

    .full-rank .rank-item a,
    .rank-item a {
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .rank-meta {
        grid-column: 2;
    }

    .hero-search {
        flex-direction: column;
    }

    .hero-search button {
        min-height: 44px;
    }
}

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

    .hero-content h1,
    .detail-info h1,
    .page-hero h1 {
        font-size: 34px;
    }
}
