:root {
    --stone-50: #fafaf9;
    --stone-100: #f5f5f4;
    --stone-200: #e7e5e4;
    --stone-300: #d6d3d1;
    --stone-500: #78716c;
    --stone-600: #57534e;
    --stone-700: #44403c;
    --stone-800: #292524;
    --stone-900: #1c1917;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
    --amber-700: #b45309;
    --white: #ffffff;
    --shadow-soft: 0 18px 45px rgba(28, 25, 23, 0.14);
    --shadow-card: 0 12px 28px rgba(28, 25, 23, 0.10);
    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 14px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--stone-800);
    background: var(--stone-50);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    background: rgba(41, 37, 36, 0.96);
    color: var(--stone-100);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(18px);
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 230px;
}

.brand-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: var(--stone-900);
    background: linear-gradient(135deg, var(--amber-400), var(--amber-600));
    font-size: 16px;
    box-shadow: 0 10px 24px rgba(245, 158, 11, 0.35);
}

.brand-text strong,
.brand-text small {
    display: block;
}

.brand-text strong {
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.brand-text small {
    color: var(--stone-300);
    font-size: 12px;
    margin-top: 2px;
}

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

.nav-links a {
    font-size: 15px;
    color: var(--stone-200);
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--amber-400);
}

.nav-search {
    position: relative;
    display: flex;
    align-items: center;
    width: 270px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--stone-700);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-search input {
    width: 100%;
    border: 0;
    outline: 0;
    color: var(--stone-100);
    background: transparent;
    padding: 10px 82px 10px 18px;
}

.nav-search input::placeholder {
    color: var(--stone-300);
}

.nav-search button {
    position: absolute;
    right: 4px;
    top: 4px;
    bottom: 4px;
    border: 0;
    color: var(--stone-900);
    background: var(--amber-500);
    border-radius: 999px;
    padding: 0 15px;
    cursor: pointer;
}

.menu-toggle {
    display: none;
    margin-left: auto;
    border: 0;
    border-radius: 12px;
    color: var(--stone-100);
    background: var(--stone-700);
    padding: 8px 11px;
    cursor: pointer;
}

.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: var(--stone-900);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.9s ease;
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

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

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 72% 20%, rgba(245, 158, 11, 0.26), transparent 28%),
        linear-gradient(90deg, rgba(28, 25, 23, 0.92) 0%, rgba(28, 25, 23, 0.62) 42%, rgba(28, 25, 23, 0.18) 100%),
        linear-gradient(0deg, rgba(28, 25, 23, 0.92) 0%, rgba(28, 25, 23, 0.18) 52%, rgba(28, 25, 23, 0.35) 100%);
}

.hero-content {
    position: absolute;
    left: max(24px, calc((100vw - 1180px) / 2));
    bottom: 76px;
    max-width: 760px;
    color: var(--white);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--amber-400);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-content h1,
.hero-content h2 {
    margin: 12px 0 16px;
    font-size: clamp(38px, 6vw, 64px);
    line-height: 1.06;
    letter-spacing: -0.04em;
}

.hero-content p {
    max-width: 720px;
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(17px, 2vw, 22px);
}

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

.hero-tags span,
.meta-row span,
.tag-row span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    border-radius: 999px;
    padding: 4px 11px;
    font-size: 13px;
    color: var(--stone-100);
    background: rgba(28, 25, 23, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-actions,
.detail-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 26px;
}

.primary-btn,
.ghost-btn,
.text-btn,
.panel-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.primary-btn {
    color: var(--white);
    background: var(--amber-600);
    padding: 0 24px;
    box-shadow: 0 12px 28px rgba(217, 119, 6, 0.35);
}

.primary-btn:hover,
.ghost-btn:hover,
.text-btn:hover,
.panel-link:hover {
    transform: translateY(-2px);
}

.primary-btn:hover {
    background: var(--amber-700);
}

.ghost-btn {
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.12);
    padding: 0 20px;
    backdrop-filter: blur(10px);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    color: var(--white);
    background: rgba(0, 0, 0, 0.48);
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease;
}

.hero-arrow:hover {
    background: rgba(0, 0, 0, 0.72);
}

.hero-prev {
    left: 22px;
}

.hero-next {
    right: 22px;
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 24px;
    display: flex;
    gap: 8px;
    transform: translateX(-50%);
}

.hero-dot {
    width: 10px;
    height: 10px;
    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: 36px;
    background: var(--amber-500);
}

.quick-panel {
    background: var(--stone-900);
}

.quick-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    padding: 18px 0 30px;
}

.quick-inner a {
    display: block;
    border-radius: var(--radius-lg);
    padding: 18px;
    color: var(--stone-100);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.2s ease, background 0.2s ease;
}

.quick-inner a:hover {
    transform: translateY(-3px);
    background: rgba(245, 158, 11, 0.16);
}

.quick-inner strong,
.quick-inner span {
    display: block;
}

.quick-inner span {
    margin-top: 5px;
    color: var(--stone-300);
    font-size: 13px;
}

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

.narrow-shell {
    width: min(880px, calc(100% - 32px));
}

.content-section {
    margin-bottom: 64px;
}

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

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

.section-head h2 {
    margin: 0;
    color: var(--stone-800);
    font-size: clamp(24px, 4vw, 34px);
    line-height: 1.2;
}

.section-head p {
    margin: 8px 0 0;
    max-width: 720px;
    color: var(--stone-600);
}

.section-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--amber-700);
    font-weight: 700;
}

.section-more span {
    font-size: 24px;
    line-height: 0;
}

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

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

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

.movie-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-card);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-soft);
}

.poster-frame {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: var(--stone-200);
}

.poster-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.32s ease;
}

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

.poster-shade {
    position: absolute;
    inset: auto 0 0;
    height: 52%;
    background: linear-gradient(0deg, rgba(28, 25, 23, 0.78), transparent);
}

.type-pill,
.year-pill,
.rank-badge {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    border-radius: 999px;
    padding: 0 9px;
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    background: rgba(28, 25, 23, 0.72);
    backdrop-filter: blur(8px);
}

.type-pill {
    left: 10px;
    top: 10px;
}

.year-pill {
    right: 10px;
    top: 10px;
}

.rank-badge {
    left: 10px;
    bottom: 10px;
    min-width: 30px;
    background: var(--amber-600);
}

.play-mark {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: var(--stone-900);
    background: rgba(245, 158, 11, 0.95);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.88);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.movie-card:hover .play-mark {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.movie-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 14px;
}

.movie-info strong {
    color: var(--stone-800);
    font-size: 16px;
    line-height: 1.35;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.movie-info em {
    margin-top: 6px;
    color: var(--stone-500);
    font-size: 12px;
    font-style: normal;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.movie-line {
    margin-top: 9px;
    color: var(--stone-600);
    font-size: 13px;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.tag-row {
    margin-top: auto;
    padding-top: 12px;
}

.tag-row span {
    min-height: 24px;
    color: var(--stone-700);
    background: var(--stone-100);
    border-color: var(--stone-200);
    font-size: 12px;
}

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

.rank-panel,
.text-panel,
.info-panel,
.player-card,
.filter-panel,
.overview-card {
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: var(--shadow-card);
}

.rank-panel {
    padding: 24px;
    position: sticky;
    top: 96px;
}

.rank-panel h2 {
    margin: 0 0 14px;
    font-size: 26px;
}

.rank-panel ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rank-panel li + li {
    border-top: 1px solid var(--stone-200);
}

.rank-panel a {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 6px 10px;
    padding: 12px 0;
}

.rank-panel span {
    grid-row: span 2;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: var(--white);
    background: var(--stone-800);
    font-weight: 700;
}

.rank-panel strong {
    line-height: 1.3;
}

.rank-panel em {
    color: var(--stone-500);
    font-size: 12px;
    font-style: normal;
}

.panel-link,
.text-btn {
    margin-top: 18px;
    color: var(--amber-700);
    background: var(--stone-100);
    padding: 0 18px;
}

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

.category-tile,
.type-tile {
    position: relative;
    overflow: hidden;
    min-height: 190px;
    border-radius: var(--radius-xl);
    color: var(--white);
    background: var(--stone-800);
    box-shadow: var(--shadow-card);
}

.category-tile img,
.type-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.66;
    transition: transform 0.3s ease;
}

.category-tile:hover img,
.type-tile:hover img {
    transform: scale(1.06);
}

.category-tile::after,
.type-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(28, 25, 23, 0.90), rgba(28, 25, 23, 0.22));
}

.category-tile span,
.category-tile em,
.type-tile strong,
.type-tile span {
    position: relative;
    z-index: 1;
    display: block;
}

.category-tile span,
.type-tile strong {
    margin: 104px 18px 0;
    font-size: 24px;
    font-weight: 800;
}

.category-tile em,
.type-tile span {
    margin: 8px 18px 18px;
    color: var(--stone-200);
    font-size: 13px;
    font-style: normal;
}

.page-hero {
    position: relative;
    color: var(--white);
    background:
        radial-gradient(circle at 72% 18%, rgba(245, 158, 11, 0.24), transparent 30%),
        linear-gradient(135deg, var(--stone-900), var(--stone-800));
}

.small-hero {
    padding: 78px 0;
}

.page-hero > div {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.page-hero h1 {
    margin: 12px 0 14px;
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.1;
}

.page-hero p {
    max-width: 760px;
    margin: 0;
    color: var(--stone-200);
    font-size: 18px;
}

.overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 64px;
}

.overview-card {
    display: grid;
    grid-template-columns: 168px 1fr;
    gap: 22px;
    padding: 18px;
}

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

.overview-card h2 {
    margin: 6px 0 8px;
    font-size: 25px;
}

.overview-card p {
    color: var(--stone-600);
    margin: 0;
}

.mini-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.mini-links a,
.genre-cloud a {
    border-radius: 999px;
    color: var(--stone-700);
    background: var(--stone-100);
    border: 1px solid var(--stone-200);
    padding: 7px 12px;
    font-size: 13px;
}

.genre-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-panel {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, minmax(140px, 0.5fr));
    gap: 12px;
    padding: 18px;
    margin-bottom: 26px;
}

.filter-panel input,
.filter-panel select {
    min-height: 46px;
    border: 1px solid var(--stone-200);
    border-radius: 999px;
    outline: none;
    color: var(--stone-800);
    background: var(--stone-50);
    padding: 0 16px;
}

.filter-panel input:focus,
.filter-panel select:focus {
    border-color: var(--amber-500);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.16);
}

.empty-state {
    display: none;
    margin: 0 0 22px;
    border-radius: var(--radius-lg);
    color: var(--stone-700);
    background: var(--white);
    padding: 18px;
    box-shadow: var(--shadow-card);
}

.empty-state.is-visible {
    display: block;
}

.detail-hero {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    color: var(--white);
    background: var(--stone-900);
}

.detail-backdrop {
    position: absolute;
    inset: 0;
    opacity: 0.44;
    filter: blur(2px);
    transform: scale(1.02);
}

.detail-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 72% 22%, rgba(245, 158, 11, 0.26), transparent 28%),
        linear-gradient(90deg, rgba(28, 25, 23, 0.92), rgba(28, 25, 23, 0.58));
}

.detail-inner {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 290px 1fr;
    gap: 44px;
    align-items: center;
    min-height: 560px;
    padding: 56px 0;
}

.detail-poster img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
}

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

.detail-copy p {
    max-width: 780px;
    margin: 0 0 22px;
    color: var(--stone-200);
    font-size: 20px;
}

.detail-shell {
    padding-top: 42px;
}

.player-card {
    padding: 22px;
    margin-bottom: 34px;
}

.player-card h2 {
    margin: 0 0 16px;
    font-size: 28px;
}

.player-stage {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: #000000;
    aspect-ratio: 16 / 9;
    cursor: pointer;
}

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

.player-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border: 0;
    color: var(--stone-900);
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.18));
    cursor: pointer;
}

.player-overlay span {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: var(--amber-500);
    box-shadow: 0 18px 46px rgba(245, 158, 11, 0.38);
    font-size: 30px;
}

.player-stage.is-playing .player-overlay {
    display: none;
}

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

.text-panel,
.info-panel {
    padding: 28px;
}

.text-panel h2,
.info-panel h2 {
    margin: 0 0 16px;
    font-size: 26px;
}

.text-panel h2:not(:first-child) {
    margin-top: 30px;
}

.text-panel p {
    margin: 0;
    color: var(--stone-700);
    font-size: 17px;
}

.info-panel dl {
    margin: 0;
}

.info-panel dt {
    color: var(--stone-500);
    font-size: 13px;
}

.info-panel dd {
    margin: 4px 0 14px;
    color: var(--stone-800);
    font-weight: 700;
}

.detail-tags span {
    color: var(--stone-800);
}

.pager-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 30px 0 58px;
}

.pager-links a {
    display: block;
    border-radius: var(--radius-lg);
    background: var(--white);
    padding: 20px;
    box-shadow: var(--shadow-card);
}

.pager-links span,
.pager-links strong {
    display: block;
}

.pager-links span {
    color: var(--amber-700);
    font-size: 13px;
    font-weight: 700;
}

.pager-links strong {
    margin-top: 6px;
    color: var(--stone-800);
    font-size: 18px;
}

.site-footer {
    color: var(--stone-300);
    background: var(--stone-900);
}

.footer-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 44px 0;
}

.footer-shell strong {
    color: var(--white);
    font-size: 22px;
}

.footer-shell p {
    max-width: 760px;
    margin: 10px 0 0;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 22px;
}

.footer-links a:hover {
    color: var(--amber-400);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 22px;
    color: var(--stone-500);
    font-size: 14px;
}

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

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

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

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

    .rank-panel {
        position: static;
    }
}

@media (max-width: 820px) {
    .nav-shell {
        height: auto;
        min-height: 68px;
        flex-wrap: wrap;
        padding: 14px 0;
    }

    .brand {
        min-width: 0;
    }

    .brand-text small {
        display: none;
    }

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

    .nav-links {
        order: 5;
        width: 100%;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin-left: 0;
        padding: 8px 0;
    }

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

    .nav-links a {
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        padding: 12px 0;
    }

    .hero-slider {
        height: 540px;
    }

    .hero-content {
        left: 20px;
        right: 20px;
        bottom: 62px;
    }

    .hero-arrow {
        display: none;
    }

    .quick-inner {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .overview-grid,
    .overview-card,
    .detail-inner {
        grid-template-columns: 1fr;
    }

    .detail-inner {
        gap: 26px;
    }

    .detail-poster {
        width: min(260px, 72vw);
    }

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

@media (max-width: 560px) {
    .hero-slider {
        height: 520px;
    }

    .hero-content h1,
    .hero-content h2 {
        font-size: 34px;
    }

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

    .quick-inner,
    .category-grid,
    .type-grid,
    .pager-links {
        grid-template-columns: 1fr;
    }

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

    .movie-info {
        padding: 12px;
    }

    .movie-info strong {
        font-size: 15px;
    }

    .movie-line,
    .tag-row {
        display: none;
    }

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

    .detail-copy h1 {
        font-size: 34px;
    }

    .player-card,
    .text-panel,
    .info-panel {
        padding: 18px;
    }
}
