:root {
    color-scheme: dark;
    --bg: #0f172a;
    --bg-deep: #020617;
    --panel: rgba(30, 41, 59, 0.56);
    --panel-strong: rgba(15, 23, 42, 0.86);
    --line: rgba(148, 163, 184, 0.16);
    --muted: #94a3b8;
    --soft: #cbd5e1;
    --text: #ffffff;
    --amber: #f59e0b;
    --amber-light: #fbbf24;
    --orange: #f97316;
    --sky: #0ea5e9;
    --sky-dark: #0284c7;
    --danger: #ef4444;
    --radius: 18px;
    --shadow: 0 24px 70px rgba(2, 6, 23, 0.42);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 18% 8%, rgba(245, 158, 11, 0.12), transparent 28rem),
        radial-gradient(circle at 88% 16%, rgba(14, 165, 233, 0.10), transparent 24rem),
        var(--bg);
    color: var(--text);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(15, 23, 42, 0.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

.navbar {
    width: min(1280px, calc(100% - 32px));
    height: 68px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: 0.02em;
    background: linear-gradient(90deg, var(--amber-light), var(--orange));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    white-space: nowrap;
}

.logo-mark {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(245, 158, 11, 0.18);
    color: var(--amber-light);
    box-shadow: 0 0 24px rgba(245, 158, 11, 0.22);
    -webkit-background-clip: initial;
    background-clip: initial;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    color: var(--soft);
    font-size: 15px;
}

.nav-links a,
.mobile-menu a {
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover,
.mobile-menu a:hover {
    color: var(--text);
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(30, 41, 59, 0.68);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    border-radius: 999px;
    background: var(--soft);
}

.mobile-menu {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    padding: 12px 0 18px;
    border-top: 1px solid var(--line);
}

.mobile-menu a {
    display: block;
    padding: 10px 2px;
    color: var(--soft);
}

.hero {
    position: relative;
    height: 70vh;
    min-height: 520px;
    overflow: hidden;
    background: var(--bg-deep);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transform: scale(1.015);
    transition: opacity 0.8s ease, transform 1.1s ease;
}

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, #0f172a 6%, rgba(15, 23, 42, 0.70) 45%, rgba(15, 23, 42, 0.06) 100%),
        linear-gradient(90deg, rgba(2, 6, 23, 0.82), rgba(2, 6, 23, 0.24), rgba(2, 6, 23, 0.62));
}

.hero-content {
    position: absolute;
    left: max(24px, calc((100vw - 1280px) / 2 + 24px));
    bottom: 76px;
    width: min(680px, calc(100% - 48px));
}

.hero-kicker,
.detail-badges,
.movie-meta-line,
.tag-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
}

.hero-kicker a,
.hero-kicker span,
.detail-badges a,
.detail-badges span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 13px;
    border-radius: 999px;
    color: #fff;
    background: rgba(14, 165, 233, 0.86);
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.20);
}

.hero-kicker span:nth-child(2),
.detail-badges span:nth-child(4) {
    background: rgba(245, 158, 11, 0.88);
}

.hero h1 {
    margin: 18px 0 14px;
    font-size: clamp(40px, 7vw, 76px);
    line-height: 1.04;
    letter-spacing: -0.05em;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.hero p {
    max-width: 620px;
    margin: 0 0 30px;
    color: #e2e8f0;
    font-size: clamp(17px, 2.1vw, 21px);
}

.hero-actions,
.sub-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.primary-button,
.ghost-button,
.filter-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 22px;
    border-radius: 999px;
    border: 0;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.primary-button {
    background: var(--sky);
    box-shadow: 0 16px 38px rgba(14, 165, 233, 0.30);
}

.primary-button:hover {
    background: var(--sky-dark);
    transform: translateY(-2px);
}

.ghost-button,
.filter-reset {
    border: 1px solid var(--line);
    background: rgba(15, 23, 42, 0.72);
}

.ghost-button:hover,
.filter-reset:hover {
    border-color: rgba(245, 158, 11, 0.50);
    transform: translateY(-2px);
}

.hero-dots {
    position: absolute;
    right: max(24px, calc((100vw - 1280px) / 2 + 24px));
    bottom: 42px;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

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

.content-section {
    padding: 58px 0;
}

.search-section {
    padding-bottom: 22px;
}

.section-inner,
.detail-inner,
.sub-hero-inner,
.footer-inner {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
}

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

.section-heading h2 {
    margin: 0;
    font-size: clamp(25px, 3vw, 36px);
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.section-heading p {
    max-width: 760px;
    margin: 10px 0 0;
    color: var(--muted);
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(240px, 1.4fr) repeat(3, minmax(130px, 0.7fr)) auto;
    gap: 14px;
    align-items: end;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(30, 41, 59, 0.44);
    box-shadow: var(--shadow);
}

.filter-panel label {
    display: grid;
    gap: 7px;
    color: var(--muted);
    font-size: 13px;
}

.filter-panel input,
.filter-panel select {
    width: 100%;
    min-height: 44px;
    border: 1px solid rgba(148, 163, 184, 0.20);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.82);
    color: #fff;
    padding: 0 13px;
    outline: none;
}

.filter-panel input:focus,
.filter-panel select:focus {
    border-color: rgba(14, 165, 233, 0.72);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.14);
}

.filter-count {
    margin: 0;
    color: var(--soft);
    font-weight: 700;
    white-space: nowrap;
}

.featured-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(330px, 1fr);
    gap: 24px;
}

.feature-large-card,
.movie-card,
.category-card,
.category-overview-card,
.stat-panel,
.text-panel,
.poster-panel,
.meta-panel,
.tag-panel {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: var(--shadow);
}

.feature-large-card {
    position: relative;
    min-height: 430px;
    overflow: hidden;
}

.feature-large-card a {
    display: block;
    height: 100%;
}

.feature-large-card img {
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature-large-card:hover img {
    transform: scale(1.04);
}

.feature-large-card a > div {
    position: absolute;
    inset: auto 0 0 0;
    padding: 34px;
    background: linear-gradient(to top, rgba(2, 6, 23, 0.94), rgba(2, 6, 23, 0));
}

.feature-large-card span {
    display: inline-flex;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.90);
    font-size: 13px;
    font-weight: 700;
}

.feature-large-card h3 {
    margin: 14px 0 8px;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.08;
}

.feature-large-card p {
    margin: 0;
    max-width: 720px;
    color: var(--soft);
}

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

.horizontal-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(230px, 270px);
    gap: 18px;
    overflow-x: auto;
    padding: 2px 2px 20px;
    scrollbar-width: none;
}

.horizontal-rail::-webkit-scrollbar {
    display: none;
}

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

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

.movie-card {
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card[hidden] {
    display: none;
}

.movie-card:hover {
    transform: translateY(-5px);
    border-color: rgba(245, 158, 11, 0.34);
    box-shadow: 0 28px 82px rgba(2, 6, 23, 0.58);
}

.movie-link {
    display: grid;
    height: 100%;
}

.movie-thumb {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: rgba(2, 6, 23, 0.72);
}

.wide-thumb {
    aspect-ratio: 16 / 9;
}

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

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

.quality-badge,
.region-badge,
.rank-badge {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.quality-badge {
    top: 12px;
    right: 12px;
    padding: 4px 9px;
    background: rgba(0, 0, 0, 0.68);
    backdrop-filter: blur(8px);
}

.region-badge {
    left: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
    padding: 4px 9px;
    background: rgba(245, 158, 11, 0.88);
}

.rank-badge {
    top: 10px;
    left: 10px;
    width: 36px;
    height: 36px;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--amber-light), var(--orange));
    box-shadow: 0 12px 28px rgba(249, 115, 22, 0.28);
}

.movie-info {
    padding: 15px;
}

.movie-info h3 {
    min-height: 2.9em;
    margin: 0 0 8px;
    display: -webkit-box;
    overflow: hidden;
    color: #fff;
    font-size: 16px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    transition: color 0.2s ease;
}

.movie-card:hover h3 {
    color: var(--amber-light);
}

.movie-info p {
    min-height: 3.1em;
    margin: 0 0 13px;
    display: -webkit-box;
    overflow: hidden;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.movie-meta-line,
.tag-row {
    color: #64748b;
    font-size: 12px;
}

.movie-meta-line span,
.tag-row span {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.65);
}

.movie-card-horizontal .movie-link {
    grid-template-columns: 170px minmax(0, 1fr);
}

.movie-card-horizontal .movie-info h3 {
    min-height: auto;
}

.movie-card-horizontal .movie-info p {
    min-height: auto;
    -webkit-line-clamp: 3;
}

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

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

.section-more {
    margin-top: 26px;
    text-align: center;
}

.category-entry {
    background: rgba(30, 41, 59, 0.24);
}

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

.category-card {
    position: relative;
    min-height: 230px;
    overflow: hidden;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.category-card img {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.48;
    transition: transform 0.45s ease, opacity 0.45s ease;
}

.category-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to top, rgba(2, 6, 23, 0.95), rgba(2, 6, 23, 0.18));
}

.category-card:hover img {
    transform: scale(1.06);
    opacity: 0.64;
}

.category-card span,
.category-card h3,
.category-card p {
    position: relative;
    z-index: 2;
}

.category-card span {
    align-self: flex-start;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.86);
    font-size: 12px;
    font-weight: 800;
}

.category-card h3 {
    margin: 14px 0 8px;
    font-size: 22px;
}

.category-card p {
    margin: 0;
    color: var(--soft);
    font-size: 14px;
}

.sub-hero {
    position: relative;
    overflow: hidden;
    padding: 84px 0 70px;
    background:
        linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(14, 165, 233, 0.08)),
        linear-gradient(180deg, #111827, #0f172a);
    border-bottom: 1px solid var(--line);
}

.sub-hero::before {
    content: "";
    position: absolute;
    inset: -120px 0 auto auto;
    width: 470px;
    height: 470px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.22), transparent 68%);
}

.sub-hero-inner {
    position: relative;
    z-index: 2;
}

.sub-hero p {
    margin: 0 0 8px;
    color: var(--amber-light);
    font-weight: 800;
}

.sub-hero h1 {
    margin: 0 0 12px;
    font-size: clamp(38px, 6vw, 70px);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.sub-hero span {
    color: var(--soft);
}

.sub-hero-actions {
    margin-top: 24px;
}

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

.category-overview-card {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 20px;
    overflow: hidden;
    padding: 16px;
}

.category-cover {
    overflow: hidden;
    border-radius: 14px;
    background: rgba(2, 6, 23, 0.68);
}

.category-cover img {
    width: 100%;
    height: 100%;
    min-height: 210px;
    object-fit: cover;
}

.category-overview-card span {
    color: var(--amber-light);
    font-size: 13px;
    font-weight: 800;
}

.category-overview-card h2 {
    margin: 8px 0 8px;
}

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

.mini-link-list {
    display: grid;
    gap: 7px;
}

.mini-link-list a {
    color: var(--soft);
    font-size: 14px;
}

.mini-link-list a:hover {
    color: var(--amber-light);
}

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

.stat-panel {
    padding: 24px;
}

.stat-panel h2 {
    margin: 0 0 16px;
}

.stat-cloud,
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.stat-cloud span,
.tag-cloud span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 5px 11px;
    border-radius: 999px;
    color: var(--soft);
    background: rgba(15, 23, 42, 0.68);
    border: 1px solid var(--line);
}

.stat-cloud b {
    color: var(--amber-light);
}

.detail-page {
    padding: 34px 0 28px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin: 0 0 24px;
    color: var(--muted);
    font-size: 14px;
}

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

.breadcrumb em {
    color: var(--soft);
    font-style: normal;
}

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

.player-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--radius);
    background: #000;
    box-shadow: var(--shadow);
}

.player-frame video {
    width: 100%;
    height: 100%;
    background: #000;
    object-fit: contain;
}

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: grid;
    place-content: center;
    gap: 12px;
    border: 0;
    background:
        radial-gradient(circle at center, rgba(14, 165, 233, 0.18), transparent 25%),
        rgba(2, 6, 23, 0.42);
    color: #fff;
    cursor: pointer;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.player-overlay span {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    margin: 0 auto;
    border-radius: 999px;
    background: var(--sky);
    box-shadow: 0 18px 48px rgba(14, 165, 233, 0.38);
    font-size: 30px;
}

.player-overlay strong {
    font-size: 18px;
}

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

.detail-title-block {
    padding: 28px 0 10px;
}

.detail-title-block h1 {
    margin: 16px 0 10px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.detail-title-block p {
    margin: 0;
    color: var(--soft);
    font-size: 18px;
}

.text-panel {
    margin-top: 20px;
    padding: 26px;
}

.text-panel h2,
.meta-panel h2,
.tag-panel h2 {
    margin: 0 0 16px;
}

.text-panel p {
    margin: 0 0 16px;
    color: var(--soft);
}

.text-panel p:last-child {
    margin-bottom: 0;
}

.detail-aside {
    display: grid;
    gap: 18px;
}

.poster-panel,
.meta-panel,
.tag-panel {
    padding: 18px;
}

.poster-panel img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 14px;
    background: rgba(2, 6, 23, 0.72);
}

.full-button {
    width: 100%;
    margin-top: 16px;
}

.meta-panel dl {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 10px 12px;
    margin: 0;
}

.meta-panel dt {
    color: var(--muted);
}

.meta-panel dd {
    margin: 0;
    color: var(--soft);
}

.related-section {
    padding-top: 20px;
}

.site-footer {
    margin-top: 30px;
    border-top: 1px solid var(--line);
    background: rgba(2, 6, 23, 0.44);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.2fr 1.5fr 0.8fr;
    gap: 36px;
    padding: 44px 0;
}

.footer-brand p {
    max-width: 420px;
    color: var(--muted);
}

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

.footer-categories h2,
.footer-meta h2 {
    margin: 0 0 14px;
    font-size: 17px;
}

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

.footer-link-grid a,
.footer-meta a {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
    font-size: 14px;
}

.footer-link-grid a:hover,
.footer-meta a:hover {
    color: var(--amber-light);
}

.footer-meta {
    display: grid;
    align-content: start;
    gap: 8px;
}

@media (max-width: 1120px) {
    .nav-links {
        gap: 13px;
        font-size: 14px;
    }

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

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

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

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

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

    .tag-panel {
        grid-column: 1 / -1;
    }
}

@media (max-width: 860px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
    }

    .hero {
        height: 68vh;
        min-height: 520px;
    }

    .hero-content {
        bottom: 76px;
    }

    .hero-dots {
        left: 24px;
        right: auto;
    }

    .featured-layout,
    .category-overview-grid,
    .stats-grid,
    .footer-inner {
        grid-template-columns: 1fr;
    }

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

    .rank-grid,
    .rank-full {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .navbar,
    .section-inner,
    .detail-inner,
    .sub-hero-inner,
    .footer-inner,
    .mobile-menu {
        width: min(100% - 22px, 1280px);
    }

    .logo {
        font-size: 18px;
    }

    .hero-content {
        left: 16px;
        width: calc(100% - 32px);
    }

    .hero-kicker,
    .detail-badges {
        gap: 7px;
    }

    .content-section {
        padding: 38px 0;
    }

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

    .movie-info {
        padding: 12px;
    }

    .movie-info h3 {
        font-size: 14px;
    }

    .movie-info p {
        font-size: 13px;
    }

    .movie-card-horizontal .movie-link,
    .category-overview-card {
        grid-template-columns: 112px minmax(0, 1fr);
    }

    .movie-card-horizontal .movie-info p,
    .tag-row {
        display: none;
    }

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

    .category-card {
        min-height: 190px;
    }

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

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

    .text-panel,
    .poster-panel,
    .meta-panel,
    .tag-panel {
        padding: 18px;
    }

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