:root {
    color-scheme: dark;
    --bg: #020617;
    --bg-soft: #0f172a;
    --bg-card: rgba(15, 23, 42, 0.82);
    --bg-card-strong: rgba(15, 23, 42, 0.96);
    --line: rgba(148, 163, 184, 0.18);
    --text: #f8fafc;
    --muted: #94a3b8;
    --muted-strong: #cbd5e1;
    --blue: #2563eb;
    --blue-light: #60a5fa;
    --cyan: #22d3ee;
    --pink: #f472b6;
    --shadow: 0 24px 80px rgba(2, 6, 23, 0.55);
    --radius: 22px;
    --content: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.28), transparent 34rem),
        radial-gradient(circle at top right, rgba(244, 114, 182, 0.18), transparent 30rem),
        linear-gradient(180deg, #020617 0%, #0f172a 46%, #020617 100%);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

body.menu-open {
    overflow: hidden;
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    background: rgba(2, 6, 23, 0.82);
    backdrop-filter: blur(20px);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    width: min(100% - 2rem, var(--content));
    min-height: 72px;
    margin: 0 auto;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    flex: 0 0 auto;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.32);
    font-weight: 900;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-copy strong {
    font-size: 1.22rem;
    letter-spacing: 0.02em;
}

.brand-copy em {
    margin-top: 0.2rem;
    color: var(--muted);
    font-size: 0.72rem;
    font-style: normal;
}

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

.desktop-nav a,
.mobile-nav a {
    padding: 0.58rem 0.82rem;
    border-radius: 0.8rem;
    color: var(--muted-strong);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active,
.mobile-nav a:hover,
.mobile-nav a.active {
    background: rgba(37, 99, 235, 0.95);
    color: #ffffff;
}

.header-search {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    width: 250px;
    padding: 0.32rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.78);
}

.header-search input {
    min-width: 0;
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    padding: 0.35rem 0.55rem;
}

.header-search button,
.large-search button,
.filter-controls button {
    border: 0;
    border-radius: 999px;
    background: var(--blue);
    color: #ffffff;
    padding: 0.46rem 0.88rem;
    transition: transform 0.2s ease, background 0.2s ease;
}

.header-search button:hover,
.large-search button:hover,
.filter-controls button:hover,
.primary-button:hover,
.ghost-button:hover {
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.82);
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    border-radius: 99px;
    background: var(--text);
}

.mobile-nav {
    display: none;
    width: min(100% - 2rem, var(--content));
    margin: 0 auto 1rem;
    padding: 0.5rem;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.96);
}

.page-main {
    min-height: 70vh;
}

.home-main {
    padding-bottom: 4rem;
}

.inner-main,
.detail-main {
    width: min(100% - 2rem, var(--content));
    margin: 0 auto;
    padding: 2rem 0 4rem;
}

.hero {
    position: relative;
    height: min(80vh, 760px);
    min-height: 560px;
    overflow: hidden;
    background: #020617;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.9s ease, visibility 0.9s ease;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.05) contrast(1.08);
    transform: scale(1.02);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.72) 42%, rgba(2, 6, 23, 0.24)),
        linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0.2) 40%, rgba(2, 6, 23, 0.78) 100%);
}

.hero-content {
    position: absolute;
    left: max(1rem, calc((100vw - var(--content)) / 2));
    bottom: 12%;
    width: min(680px, calc(100% - 2rem));
    z-index: 2;
}

.hero-content h1 {
    margin: 0 0 1rem;
    font-size: clamp(2.5rem, 7vw, 5.8rem);
    line-height: 0.96;
    letter-spacing: -0.05em;
    text-shadow: 0 20px 60px rgba(2, 6, 23, 0.88);
}

.hero-content p {
    max-width: 680px;
    margin: 0 0 1rem;
    color: var(--muted-strong);
    font-size: clamp(1rem, 1.8vw, 1.25rem);
}

.hero-meta,
.movie-card-meta,
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    color: var(--muted);
    font-size: 0.88rem;
}

.hero-meta span,
.movie-card-meta span,
.detail-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 1.75rem;
    padding: 0.22rem 0.58rem;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.72);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.25rem;
}

.primary-button,
.ghost-button,
.section-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 44px;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.primary-button {
    background: linear-gradient(135deg, var(--blue), #1d4ed8);
    color: #ffffff;
    box-shadow: 0 14px 35px rgba(37, 99, 235, 0.34);
}

.ghost-button,
.section-more {
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(15, 23, 42, 0.64);
    color: var(--text);
}

.hero-control {
    position: absolute;
    top: 50%;
    z-index: 4;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(2, 6, 23, 0.42);
    color: #ffffff;
    font-size: 2rem;
    transform: translateY(-50%);
    backdrop-filter: blur(14px);
}

.hero-prev {
    left: max(1rem, calc((100vw - var(--content)) / 2));
}

.hero-next {
    right: max(1rem, calc((100vw - var(--content)) / 2));
}

.hero-dots {
    position: absolute;
    left: max(1rem, calc((100vw - var(--content)) / 2));
    bottom: 2rem;
    z-index: 4;
    display: flex;
    gap: 0.5rem;
}

.hero-dots button {
    width: 2.2rem;
    height: 0.28rem;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.32);
}

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

.quick-search-panel,
.filter-panel,
.page-hero,
.category-overview-block,
.detail-content,
.side-card,
.hot-panel {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-card);
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
}

.quick-search-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: 2rem;
    align-items: center;
    width: min(100% - 2rem, var(--content));
    margin: -3.5rem auto 3rem;
    padding: 1.4rem;
    position: relative;
    z-index: 8;
}

.quick-search-panel h2,
.filter-panel h2,
.section-heading h2,
.hot-panel h2,
.page-hero h1,
.detail-content h1,
.detail-content h2,
.side-card h2,
.category-overview-head h2,
.sitemap-section h2 {
    margin: 0;
    line-height: 1.2;
}

.quick-search-panel p,
.filter-panel p,
.section-heading p,
.page-hero p,
.detail-content p,
.side-card p,
.category-overview-head p {
    color: var(--muted);
}

.eyebrow {
    display: inline-flex;
    margin-bottom: 0.7rem;
    color: var(--blue-light);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.large-search {
    display: flex;
    gap: 0.7rem;
    padding: 0.45rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 999px;
    background: rgba(2, 6, 23, 0.42);
}

.large-search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    padding: 0.75rem 1rem;
}

.content-section {
    width: min(100% - 2rem, var(--content));
    margin: 0 auto 3rem;
}

.inner-main .content-section,
.detail-main .content-section {
    width: 100%;
}

.section-heading,
.category-overview-head,
.hot-panel-head,
.detail-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

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

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

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

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

.movie-card:hover {
    transform: translateY(-4px);
    border-color: rgba(96, 165, 250, 0.45);
    box-shadow: 0 18px 45px rgba(2, 6, 23, 0.4);
}

.movie-card-cover {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: #111827;
}

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

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

.movie-card-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(2, 6, 23, 0.92));
}

.play-dot,
.rank-badge {
    position: absolute;
    display: grid;
    place-items: center;
    color: #ffffff;
}

.play-dot {
    right: 0.8rem;
    bottom: 0.8rem;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.92);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.movie-card:hover .play-dot {
    opacity: 1;
    transform: translateY(0);
}

.rank-badge {
    left: 0.7rem;
    top: 0.7rem;
    min-width: 2.1rem;
    height: 2.1rem;
    padding: 0 0.45rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    font-weight: 900;
}

.movie-card-body {
    padding: 0.9rem;
}

.movie-card h3 {
    margin: 0.65rem 0 0.45rem;
    font-size: 1.02rem;
    line-height: 1.35;
}

.movie-card p {
    display: -webkit-box;
    min-height: 3.1rem;
    margin: 0;
    overflow: hidden;
    color: var(--muted);
    font-size: 0.9rem;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.85rem;
}

.tag-row span {
    display: inline-flex;
    align-items: center;
    min-height: 1.7rem;
    padding: 0.16rem 0.55rem;
    border: 1px solid rgba(96, 165, 250, 0.22);
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.12);
    color: #bfdbfe;
    font-size: 0.78rem;
}

.hero-tags {
    margin: 0 0 1rem;
}

.horizontal-scroll {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 250px);
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    scroll-snap-type: x mandatory;
}

.horizontal-scroll .movie-card {
    scroll-snap-align: start;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 1.4rem;
    align-items: start;
}

.hot-panel {
    padding: 1.1rem;
}

.hot-panel-head a {
    color: var(--blue-light);
}

.hot-list,
.ranking-list {
    display: grid;
    gap: 0.78rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ranking-row {
    display: grid;
    grid-template-columns: 3rem 64px minmax(0, 1fr);
    gap: 0.85rem;
    align-items: center;
    padding: 0.65rem;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 16px;
    background: rgba(2, 6, 23, 0.35);
}

.ranking-index {
    color: var(--blue-light);
    font-size: 1.12rem;
    font-weight: 900;
    text-align: center;
}

.ranking-thumb {
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 12px;
    background: #111827;
}

.ranking-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ranking-info h3 {
    margin: 0 0 0.2rem;
    font-size: 0.98rem;
}

.ranking-info p {
    display: -webkit-box;
    margin: 0 0 0.45rem;
    overflow: hidden;
    color: var(--muted);
    font-size: 0.84rem;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.full-ranking-list .ranking-row {
    grid-template-columns: 4rem 82px minmax(0, 1fr);
}

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

.category-tile {
    padding: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.76);
}

.category-tile-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.category-tile-main span {
    font-size: 1.2rem;
    font-weight: 850;
}

.category-tile-main strong {
    color: var(--blue-light);
}

.category-tile p {
    margin: 0 0 0.8rem;
    color: var(--muted);
}

.category-tile div {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.category-tile div a {
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.12);
    color: #bfdbfe;
    font-size: 0.82rem;
}

.page-hero {
    margin-bottom: 2rem;
    padding: clamp(1.4rem, 4vw, 3rem);
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.26), transparent 25rem),
        rgba(15, 23, 42, 0.82);
}

.page-hero h1 {
    max-width: 880px;
    font-size: clamp(2rem, 5vw, 4rem);
    letter-spacing: -0.04em;
}

.page-hero p {
    max-width: 760px;
    font-size: 1.05rem;
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 540px);
    gap: 1.2rem;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.2rem;
}

.filter-controls {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 0.8fr)) auto;
    gap: 0.6rem;
}

.filter-controls input,
.filter-controls select {
    width: 100%;
    min-height: 42px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 12px;
    outline: 0;
    background: rgba(2, 6, 23, 0.48);
    color: var(--text);
    padding: 0.55rem 0.65rem;
}

.category-overview-block {
    margin-bottom: 1.5rem;
    padding: 1.2rem;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.breadcrumb a {
    color: var(--blue-light);
}

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

.player-shell {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 24px;
    background: #000000;
    box-shadow: var(--shadow);
    aspect-ratio: 16 / 9;
}

.movie-player,
.player-cover,
.player-cover img,
.player-cover-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.movie-player {
    background: #000000;
}

.player-cover {
    z-index: 3;
    display: grid;
    place-items: center;
    border: 0;
    padding: 0;
    background: #000000;
    color: #ffffff;
}

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

.player-cover img {
    object-fit: cover;
}

.player-cover-shade {
    background:
        radial-gradient(circle, rgba(37, 99, 235, 0.18), rgba(2, 6, 23, 0.35)),
        linear-gradient(0deg, rgba(2, 6, 23, 0.88), rgba(2, 6, 23, 0.32));
}

.player-play-button {
    position: relative;
    z-index: 4;
    display: grid;
    place-items: center;
    width: 88px;
    height: 88px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.95);
    box-shadow: 0 25px 60px rgba(37, 99, 235, 0.45);
    color: #ffffff;
    font-size: 2.2rem;
    text-indent: 0.18rem;
}

.detail-content {
    margin-top: 1.2rem;
    padding: clamp(1.2rem, 3vw, 2rem);
}

.detail-content h1 {
    font-size: clamp(2rem, 4vw, 3.8rem);
    letter-spacing: -0.04em;
}

.detail-content h2 {
    margin-top: 1.6rem;
    font-size: 1.3rem;
}

.detail-tags {
    margin: 1rem 0;
}

.detail-side {
    position: sticky;
    top: 92px;
    display: grid;
    gap: 1rem;
}

.side-card {
    overflow: hidden;
    padding: 1rem;
}

.side-card img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 18px;
    background: #111827;
}

.side-card h2 {
    margin-top: 1rem;
}

.side-card .primary-button {
    width: 100%;
    margin-top: 0.4rem;
}

.text-card a {
    color: var(--blue-light);
}

.sitemap-section {
    padding: 1.2rem;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.72);
}

.sitemap-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem 1rem;
    margin: 1rem 0 0;
    padding-left: 1.2rem;
    color: var(--muted-strong);
}

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

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

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 2rem;
    width: min(100% - 2rem, var(--content));
    margin: 0 auto;
    padding: 3rem 0 2rem;
}

.footer-brand {
    display: inline-flex;
    margin-bottom: 0.7rem;
    font-size: 1.35rem;
    font-weight: 900;
}

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

.site-footer h2 {
    margin: 0 0 0.8rem;
    font-size: 1rem;
}

.footer-links {
    display: grid;
    gap: 0.45rem;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    width: min(100% - 2rem, var(--content));
    margin: 0 auto;
    padding: 1rem 0 2rem;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    color: var(--muted);
}

.is-hidden-by-filter {
    display: none !important;
}

@media (max-width: 1180px) {
    .desktop-nav a:nth-last-child(-n + 3) {
        display: none;
    }

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

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

    .detail-side {
        position: static;
        grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
    }
}

@media (max-width: 960px) {
    .desktop-nav,
    .header-search {
        display: none;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    body.menu-open .mobile-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .quick-search-panel,
    .filter-panel {
        grid-template-columns: 1fr;
    }

    .filter-controls {
        grid-template-columns: 1fr 1fr;
    }

    .filter-controls input {
        grid-column: 1 / -1;
    }

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

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

@media (max-width: 680px) {
    .header-inner {
        min-height: 64px;
    }

    .brand-copy em {
        display: none;
    }

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

    .hero-content {
        bottom: 5.8rem;
    }

    .hero-control {
        display: none;
    }

    .quick-search-panel {
        margin-top: -2.4rem;
    }

    .large-search {
        flex-direction: column;
        border-radius: 18px;
    }

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

    .section-heading,
    .category-overview-head,
    .hot-panel-head,
    .detail-title-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .filter-controls {
        grid-template-columns: 1fr;
    }

    .ranking-row,
    .full-ranking-list .ranking-row {
        grid-template-columns: 2.8rem 58px minmax(0, 1fr);
    }

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

    .sitemap-list,
    .sitemap-categories {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.6rem;
    }
}

@media (max-width: 430px) {
    .movie-grid,
    .movie-grid-small,
    .movie-list-grid,
    .category-grid {
        grid-template-columns: 1fr;
    }

    body.menu-open .mobile-nav {
        grid-template-columns: 1fr;
    }
}
