:root {
    --rose: #f43f5e;
    --rose-dark: #e11d48;
    --pink: #ec4899;
    --orange: #fb923c;
    --text: #111827;
    --muted: #6b7280;
    --soft: #fff1f2;
    --line: #e5e7eb;
    --panel: #ffffff;
    --dark: #111827;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.10);
    --shadow-strong: 0 28px 70px rgba(244, 63, 94, 0.22);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: #f9fafb;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
    line-height: 1.6;
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(229, 231, 235, 0.85);
    backdrop-filter: blur(18px);
}

.nav-shell {
    width: min(1180px, calc(100% - 32px));
    min-height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 22px;
    color: var(--text);
}

.brand-mark {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--rose), var(--pink));
    box-shadow: 0 10px 28px rgba(244, 63, 94, 0.32);
    font-size: 14px;
}

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

.nav-link {
    position: relative;
    font-weight: 650;
    color: #374151;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    border-radius: 99px;
    background: var(--rose);
    transition: width 0.25s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--rose);
}

.nav-link:hover::after,
.nav-link.is-active::after {
    width: 100%;
}

.menu-button {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: #fff1f2;
    cursor: pointer;
}

.menu-button span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: var(--rose-dark);
}

.mobile-nav {
    display: none;
    padding: 8px 16px 18px;
    border-top: 1px solid var(--line);
    background: #ffffff;
}

.mobile-nav.is-open {
    display: grid;
    gap: 8px;
}

.mobile-link {
    padding: 11px 14px;
    border-radius: 12px;
    font-weight: 650;
    color: #374151;
}

.mobile-link.is-active,
.mobile-link:hover {
    color: var(--rose);
    background: #fff1f2;
}

.hero {
    position: relative;
    min-height: 650px;
    overflow: hidden;
    background: linear-gradient(135deg, #ffe4e6 0%, #fff7ed 48%, #fdf2f8 100%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 32px));
    min-height: 650px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.82fr);
    align-items: center;
    gap: 58px;
    padding: 72px 0;
}

.hero-glow {
    position: absolute;
    z-index: 0;
    border-radius: 999px;
    filter: blur(48px);
    opacity: 0.34;
    animation: pulseGlow 4.5s ease-in-out infinite;
}

.hero-glow-one {
    width: 310px;
    height: 310px;
    left: 4%;
    top: 9%;
    background: #fb7185;
}

.hero-glow-two {
    width: 420px;
    height: 420px;
    right: 4%;
    bottom: 6%;
    background: #f472b6;
    animation-delay: 1.2s;
}

@keyframes pulseGlow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.26;
    }
    50% {
        transform: scale(1.12);
        opacity: 0.42;
    }
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
    color: var(--rose-dark);
    font-weight: 800;
    letter-spacing: 0.04em;
}

.hero-copy h1 {
    margin: 0;
    font-size: clamp(38px, 5vw, 68px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.hero-copy h1 span {
    background: linear-gradient(90deg, var(--rose), var(--pink));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-copy p {
    max-width: 660px;
    margin: 24px 0 0;
    color: #4b5563;
    font-size: 20px;
}

.hero-search {
    width: min(620px, 100%);
    margin-top: 28px;
    display: flex;
    padding: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.hero-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    padding: 0 18px;
    color: var(--text);
}

.hero-search button {
    border: 0;
    border-radius: 999px;
    padding: 13px 25px;
    color: #ffffff;
    background: linear-gradient(90deg, var(--rose), var(--pink));
    font-weight: 800;
    cursor: pointer;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.22s ease, box-shadow 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: #ffffff;
    background: linear-gradient(90deg, var(--rose), var(--pink));
    box-shadow: 0 18px 34px rgba(244, 63, 94, 0.26);
}

.btn-light {
    background: #ffffff;
    color: #374151;
    border: 2px solid #e5e7eb;
}

.btn-light:hover {
    color: var(--rose);
    border-color: var(--rose);
}

.btn-ghost {
    color: var(--rose-dark);
    background: rgba(255, 255, 255, 0.55);
}

.hero-stats {
    display: flex;
    gap: 28px;
    margin-top: 42px;
}

.hero-stats div {
    min-width: 88px;
}

.hero-stats strong {
    display: block;
    color: var(--text);
    font-size: 28px;
    line-height: 1.1;
}

.hero-stats span {
    color: var(--muted);
    font-size: 14px;
}

.hero-stage {
    width: 100%;
}

.hero-frame {
    position: relative;
    min-height: 500px;
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.55);
    box-shadow: var(--shadow-strong);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.78);
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-rows: 1fr auto;
    opacity: 0;
    pointer-events: none;
    transform: scale(1.02);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

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

.hero-poster {
    display: block;
    position: relative;
    min-height: 310px;
    overflow: hidden;
}

.hero-poster::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.05), rgba(17, 24, 39, 0.65));
}

.hero-poster img {
    height: 100%;
    min-height: 360px;
    object-fit: cover;
}

.hero-card-copy {
    position: relative;
    margin-top: -76px;
    padding: 0 28px 28px;
    color: #ffffff;
}

.hero-card-copy h2 {
    margin: 14px 0 8px;
    font-size: 32px;
    line-height: 1.18;
}

.hero-card-copy p {
    margin: 0 0 14px;
    color: rgba(255, 255, 255, 0.88);
}

.hero-tags span {
    color: #fff1f2;
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.24);
}

.inline-link {
    display: inline-flex;
    color: var(--rose-dark);
    font-weight: 800;
}

.hero-card-copy .inline-link {
    color: #ffffff;
}

.hero-dots {
    display: flex;
    justify-content: center;
    gap: 9px;
    margin-top: 18px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border: 0;
    padding: 0;
    border-radius: 999px;
    background: rgba(225, 29, 72, 0.26);
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
}

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

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

.soft-section {
    width: 100%;
    padding-left: max(16px, calc((100% - 1180px) / 2));
    padding-right: max(16px, calc((100% - 1180px) / 2));
    background: #ffffff;
}

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

.section-heading h2,
.rank-head h2 {
    margin: 0 0 6px;
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.2;
}

.section-heading p {
    margin: 0;
    color: var(--muted);
}

.section-more,
.rank-head a {
    color: var(--rose);
    font-weight: 800;
    white-space: nowrap;
}

.section-more span {
    display: inline-block;
    transition: transform 0.2s ease;
}

.section-more:hover span {
    transform: translateX(4px);
}

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

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

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

.movie-card {
    overflow: hidden;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 8px 26px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 22px 52px rgba(15, 23, 42, 0.16);
}

.poster-link {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: linear-gradient(135deg, #fff1f2, #fdf2f8);
}

.poster-link img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

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

.play-chip,
.rank-badge {
    position: absolute;
    color: #ffffff;
    border-radius: 999px;
    font-weight: 800;
    z-index: 2;
}

.play-chip {
    right: 12px;
    bottom: 12px;
    padding: 7px 13px;
    background: linear-gradient(90deg, var(--rose), var(--pink));
    box-shadow: 0 8px 20px rgba(244, 63, 94, 0.28);
}

.rank-badge {
    left: 12px;
    top: 12px;
    min-width: 34px;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(17, 24, 39, 0.72);
    backdrop-filter: blur(8px);
}

.movie-card-body {
    padding: 16px 16px 18px;
}

.meta-line {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    color: var(--rose-dark);
    font-size: 13px;
    font-weight: 800;
}

.movie-card h3 {
    margin: 8px 0 8px;
    font-size: 19px;
    line-height: 1.3;
}

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

.movie-card p {
    min-height: 3.1em;
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 14px;
}

.tag-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.tag-row span {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border: 1px solid #fecdd3;
    border-radius: 999px;
    color: var(--rose-dark);
    background: #fff1f2;
    font-size: 12px;
    font-weight: 700;
}

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

.category-tile {
    min-height: 250px;
    padding: 22px;
    border-radius: 24px;
    background: linear-gradient(145deg, #ffffff, #fff1f2);
    box-shadow: 0 12px 34px rgba(244, 63, 94, 0.08);
    border: 1px solid #ffe4e6;
}

.category-title {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--text);
    font-size: 22px;
    font-weight: 900;
}

.category-title:hover {
    color: var(--rose);
}

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

.mini-links {
    display: grid;
    gap: 6px;
}

.mini-links a {
    color: #4b5563;
    font-size: 14px;
}

.mini-links a:hover {
    color: var(--rose);
}

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

.rank-panel {
    position: sticky;
    top: 94px;
    padding: 24px;
    border-radius: 28px;
    background: #111827;
    color: #ffffff;
    box-shadow: var(--shadow);
}

.rank-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.rank-head h2 {
    font-size: 24px;
}

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

.rank-row {
    display: grid;
    grid-template-columns: 30px 54px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
}

.rank-row:hover {
    background: rgba(255, 255, 255, 0.12);
}

.rank-row span {
    color: #fecdd3;
    font-size: 20px;
    font-weight: 900;
}

.rank-row img {
    width: 54px;
    height: 70px;
    border-radius: 12px;
    object-fit: cover;
}

.rank-row strong,
.rank-row em {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-row em {
    grid-column: 3;
    color: #d1d5db;
    font-size: 13px;
    font-style: normal;
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 86px max(16px, calc((100% - 1180px) / 2));
    background: linear-gradient(135deg, #fff1f2, #fff7ed 55%, #fdf2f8);
}

.page-hero div {
    width: min(760px, 100%);
}

.page-hero h1 {
    margin: 0 0 14px;
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.08;
}

.page-hero p:not(.eyebrow) {
    margin: 0;
    color: #4b5563;
    font-size: 18px;
}

.filter-panel {
    display: grid;
    grid-template-columns: 130px minmax(260px, 1fr) 160px 160px 150px;
    gap: 12px;
    align-items: center;
    margin-bottom: 30px;
    padding: 14px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.filter-title {
    color: var(--rose-dark);
    font-weight: 900;
}

.filter-panel input,
.filter-panel select {
    min-height: 46px;
    border: 1px solid var(--line);
    border-radius: 14px;
    outline: 0;
    padding: 0 14px;
    background: #ffffff;
    color: #374151;
}

.filter-panel input:focus,
.filter-panel select:focus {
    border-color: var(--rose);
    box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.10);
}

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

.category-overview-card {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 24px;
    align-items: center;
    padding: 24px;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.category-overview-copy h2 {
    margin: 0 0 10px;
    font-size: 30px;
}

.category-overview-copy h2 a:hover {
    color: var(--rose);
}

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

.category-preview-strip {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 12px;
}

.category-preview-strip a {
    min-width: 0;
}

.category-preview-strip img {
    aspect-ratio: 3 / 4;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.12);
}

.category-preview-strip span {
    display: block;
    margin-top: 7px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 700;
}

.rank-layout {
    display: grid;
    grid-template-columns: 420px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

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

.wide-rank-row {
    display: grid;
    grid-template-columns: 46px 72px minmax(0, 1fr) 54px;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.wide-rank-row:hover {
    transform: translateY(-2px);
}

.wide-rank-row > span {
    color: var(--rose);
    font-size: 28px;
    font-weight: 900;
    text-align: center;
}

.wide-rank-row img {
    width: 72px;
    height: 94px;
    border-radius: 16px;
    object-fit: cover;
}

.wide-rank-row strong {
    display: block;
    margin-bottom: 4px;
    font-size: 18px;
}

.wide-rank-row p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.wide-rank-row em {
    color: var(--rose-dark);
    font-style: normal;
    font-weight: 900;
}

.detail-hero {
    position: relative;
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 44px;
    align-items: center;
    padding: 70px max(16px, calc((100% - 1180px) / 2));
    background: radial-gradient(circle at 18% 18%, rgba(251, 113, 133, 0.28), transparent 34%), linear-gradient(135deg, #111827, #3f1425 58%, #7f1d1d);
    color: #ffffff;
}

.detail-poster img {
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.38);
}

.breadcrumb {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 14px;
}

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

.detail-copy .eyebrow {
    color: #fecdd3;
}

.detail-copy h1 {
    margin: 0 0 16px;
    font-size: clamp(36px, 5vw, 62px);
    line-height: 1.08;
}

.detail-one-line {
    max-width: 780px;
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 19px;
}

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

.detail-meta span {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
}

.detail-tags {
    margin-bottom: 26px;
}

.watch-section {
    padding: 54px max(16px, calc((100% - 1180px) / 2)) 0;
    background: #0f172a;
}

.watch-panel {
    border-radius: 32px;
    overflow: hidden;
    background: #000000;
    box-shadow: 0 26px 70px rgba(15, 23, 42, 0.35);
}

.video-box {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000000;
}

.video-box video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: pointer;
}

.play-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    color: #ffffff;
    background: radial-gradient(circle, rgba(244, 63, 94, 0.22), rgba(0, 0, 0, 0.38));
    cursor: pointer;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.play-overlay span {
    width: 86px;
    height: 86px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--rose), var(--pink));
    box-shadow: 0 20px 44px rgba(244, 63, 94, 0.42);
    font-size: 34px;
    padding-left: 5px;
}

.play-overlay:hover span {
    transform: scale(1.08);
}

.watch-panel.is-playing .play-overlay {
    opacity: 0;
    pointer-events: none;
}

.detail-text {
    padding-top: 54px;
}

.article-card {
    padding: 34px;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.article-card h2 {
    margin: 0 0 12px;
    font-size: 28px;
}

.article-card h2:not(:first-child) {
    margin-top: 28px;
}

.article-card p {
    margin: 0;
    color: #4b5563;
    font-size: 18px;
}

.site-footer {
    background: linear-gradient(135deg, #111827, #1f2937);
    color: #d1d5db;
    margin-top: 20px;
}

.footer-grid {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 48px 0;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 34px;
}

.footer-brand {
    color: #ffffff;
    margin-bottom: 14px;
}

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

.site-footer p {
    margin: 0;
    color: #9ca3af;
}

.site-footer a,
.site-footer span {
    display: block;
    margin: 8px 0;
    color: #d1d5db;
}

.site-footer a:hover {
    color: #fb7185;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 18px 16px;
    text-align: center;
}

.footer-bottom p {
    color: #9ca3af;
    font-size: 14px;
}

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

@media (max-width: 1100px) {
    .hero-inner,
    .split-section,
    .rank-layout,
    .detail-hero,
    .category-overview-card {
        grid-template-columns: 1fr;
    }

    .hero-stage {
        max-width: 620px;
    }

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

    .rank-panel {
        position: static;
    }
}

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

    .menu-button {
        display: block;
    }

    .hero,
    .hero-inner {
        min-height: auto;
    }

    .hero-inner {
        padding: 48px 0;
        gap: 36px;
    }

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

    .hero-search {
        border-radius: 24px;
        flex-direction: column;
        gap: 8px;
    }

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

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

    .hero-stats {
        gap: 18px;
        flex-wrap: wrap;
    }

    .hero-frame {
        min-height: 470px;
    }

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

    .catalog-grid,
    .movie-grid,
    .compact-grid,
    .category-grid,
    .category-preview-strip,
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .detail-hero {
        padding-top: 44px;
    }

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

    .wide-rank-row {
        grid-template-columns: 34px 62px minmax(0, 1fr);
    }

    .wide-rank-row em {
        display: none;
    }
}

@media (max-width: 560px) {
    .nav-shell,
    .content-section,
    .footer-grid {
        width: min(100% - 24px, 1180px);
    }

    .catalog-grid,
    .movie-grid,
    .compact-grid,
    .category-grid,
    .category-preview-strip,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-card-copy h2 {
        font-size: 26px;
    }

    .hero-frame {
        min-height: 430px;
        border-radius: 24px;
    }

    .page-hero {
        padding-top: 58px;
        padding-bottom: 58px;
    }

    .detail-hero {
        gap: 26px;
    }

    .article-card {
        padding: 24px;
    }
}
