:root {
    color-scheme: dark;
    --bg: #060606;
    --bg-soft: #101010;
    --panel: rgba(20, 20, 20, 0.78);
    --panel-strong: #171717;
    --line: rgba(249, 115, 22, 0.22);
    --line-soft: rgba(255, 255, 255, 0.08);
    --text: #f8fafc;
    --muted: #9ca3af;
    --muted-strong: #d1d5db;
    --orange: #f97316;
    --orange-strong: #ea580c;
    --orange-soft: rgba(249, 115, 22, 0.16);
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
    --radius: 22px;
    --radius-small: 14px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 14% 0%, rgba(249, 115, 22, 0.22), transparent 30rem),
        radial-gradient(circle at 84% 10%, rgba(127, 29, 29, 0.28), transparent 28rem),
        linear-gradient(180deg, #050505 0%, #090909 45%, #050505 100%);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 90;
    background: rgba(0, 0, 0, 0.88);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.25);
}

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

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #fff;
    font-weight: 900;
    background: linear-gradient(135deg, var(--orange), #fb923c 48%, #7c2d12);
    box-shadow: 0 14px 34px rgba(249, 115, 22, 0.3);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.18;
}

.brand-text strong {
    font-size: 20px;
    color: var(--orange);
    letter-spacing: 0.02em;
}

.brand-text small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
}

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

.nav-link,
.mobile-link {
    color: var(--muted-strong);
    font-weight: 700;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-link {
    padding: 10px 12px;
    border-radius: 999px;
}

.nav-link:hover,
.nav-link.active,
.mobile-link:hover,
.mobile-link.active {
    color: #fff;
    background: var(--orange-soft);
}

.site-search {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-search input {
    width: 190px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    outline: 0;
    border-radius: 999px;
    padding: 0 16px;
    color: var(--text);
    background: rgba(31, 41, 55, 0.52);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, width 0.2s ease;
}

.site-search input:focus {
    width: 230px;
    border-color: var(--orange);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
}

.site-search button,
.btn,
.hero-btn,
.filter-panel button,
.player-btn {
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--orange), var(--orange-strong));
    box-shadow: 0 14px 36px rgba(249, 115, 22, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.site-search button {
    height: 40px;
    padding: 0 16px;
    font-weight: 800;
}

.site-search button:hover,
.btn:hover,
.hero-btn:hover,
.filter-panel button:hover,
.player-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 42px rgba(249, 115, 22, 0.36);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    margin-left: auto;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
}

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

.mobile-panel {
    display: none;
    border-top: 1px solid var(--line-soft);
    background: rgba(0, 0, 0, 0.95);
}

.mobile-panel.open {
    display: block;
}

.mobile-panel nav,
.mobile-search {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
}

.mobile-panel nav {
    display: grid;
    gap: 10px;
    padding: 0 0 18px;
}

.mobile-link {
    padding: 13px 14px;
    border-radius: 14px;
}

.mobile-search {
    padding: 18px 0 10px;
}

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

.hero {
    position: relative;
    min-height: 660px;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.hero-carousel {
    position: relative;
    min-height: 660px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, 420px);
    gap: 50px;
    align-items: center;
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.hero-bg {
    position: fixed;
    inset: 0;
    z-index: -2;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease;
}

.hero-slide.active .hero-bg {
    opacity: 0.2;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(4px) saturate(1.12);
}

.hero:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.74) 46%, rgba(0, 0, 0, 0.9) 100%),
        radial-gradient(circle at 70% 50%, rgba(249, 115, 22, 0.22), transparent 30rem);
}

.hero-kicker,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 7px 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: #fed7aa;
    background: var(--orange-soft);
    font-size: 13px;
    font-weight: 800;
}

.hero h1 {
    margin: 22px 0 18px;
    max-width: 760px;
    color: #fff;
    font-size: clamp(42px, 6.6vw, 82px);
    line-height: 1.02;
    letter-spacing: -0.05em;
}

.hero p {
    max-width: 740px;
    margin: 0 0 28px;
    color: #d1d5db;
    font-size: 18px;
}

.hero-meta,
.movie-meta,
.breadcrumb,
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
}

.hero-meta span,
.movie-meta span,
.detail-meta span {
    border-radius: 999px;
    padding: 5px 10px;
    color: #e5e7eb;
    background: rgba(255, 255, 255, 0.08);
    font-size: 12px;
    font-weight: 700;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 30px;
}

.hero-btn,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    font-weight: 900;
}

.btn.secondary,
.hero-btn.secondary {
    color: var(--text);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-poster {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    background: #111;
    box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, 0.08);
    transform: rotate(2deg);
}

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

.hero-poster:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.72) 100%);
}

.hero-card-caption {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 1;
}

.hero-card-caption strong {
    display: block;
    font-size: 22px;
}

.hero-card-caption span {
    color: #fed7aa;
    font-size: 14px;
}

.hero-control {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    color: #fff;
    background: rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(10px);
    transform: translateY(-50%);
}

.hero-control:hover {
    background: rgba(249, 115, 22, 0.78);
}

.hero-prev {
    left: 24px;
}

.hero-next {
    right: 24px;
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 30px;
    z-index: 4;
    display: flex;
    gap: 10px;
    transform: translateX(-50%);
}

.hero-dot {
    width: 12px;
    height: 12px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.5);
    transition: width 0.2s ease, background 0.2s ease;
}

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

.section {
    padding: 70px 0;
}

.section.tight {
    padding-top: 40px;
}

.section.alt {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.08), rgba(17, 24, 39, 0.42));
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
}

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

.section-title h1,
.section-title h2,
.page-head h1 {
    margin: 10px 0 0;
    color: #fff;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.section-title p,
.page-head p,
.category-intro {
    max-width: 760px;
    margin: 10px 0 0;
    color: var(--muted);
}

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

.movie-card,
.compact-card,
.list-card,
.category-card,
.info-panel,
.player-panel {
    border: 1px solid var(--line-soft);
    background: var(--panel);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(14px);
}

.movie-card {
    overflow: hidden;
    border-radius: var(--radius);
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-7px);
    border-color: rgba(249, 115, 22, 0.46);
    background: rgba(28, 28, 28, 0.92);
}

.poster-wrap {
    position: relative;
    display: block;
    overflow: hidden;
    background: #121212;
}

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

.movie-card:hover .poster-wrap img,
.compact-card:hover img,
.list-card:hover img,
.category-card:hover {
    transform: scale(1.05);
}

.poster-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.72));
}

.badge,
.rank-number,
.list-rank {
    position: absolute;
    z-index: 2;
    border-radius: 999px;
    color: #fff;
    font-weight: 900;
    font-size: 12px;
}

.badge {
    padding: 5px 9px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
}

.top-right {
    top: 12px;
    right: 12px;
}

.bottom-right {
    right: 12px;
    bottom: 12px;
}

.rank-number {
    top: 12px;
    left: 12px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--orange), #7c2d12);
    box-shadow: 0 14px 26px rgba(249, 115, 22, 0.32);
}

.movie-info {
    padding: 18px;
}

.movie-info h2,
.list-card h2,
.info-panel h2,
.player-panel h2,
.rich-text h2 {
    margin: 10px 0 8px;
    color: #fff;
    font-size: 20px;
    line-height: 1.28;
}

.movie-info h2 a,
.list-card h2 a {
    transition: color 0.2s ease;
}

.movie-info h2 a:hover,
.list-card h2 a:hover {
    color: var(--orange);
}

.movie-info p,
.list-card p,
.info-panel p,
.rich-text p {
    margin: 0;
    color: var(--muted);
}

.movie-meta span {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 14px;
}

.tag-row span {
    padding: 4px 8px;
    border-radius: 999px;
    color: #fed7aa;
    background: var(--orange-soft);
    font-size: 12px;
}

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

.compact-card {
    overflow: hidden;
    border-radius: 18px;
}

.compact-card a {
    position: relative;
    display: block;
}

.compact-card img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.compact-card span,
.compact-card strong {
    position: absolute;
    left: 12px;
    right: 12px;
    z-index: 2;
}

.compact-card span {
    top: 12px;
    width: fit-content;
    padding: 4px 8px;
    border-radius: 999px;
    color: #fff;
    background: rgba(249, 115, 22, 0.85);
    font-size: 12px;
    font-weight: 800;
}

.compact-card strong {
    bottom: 12px;
    color: #fff;
    font-size: 15px;
    line-height: 1.3;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.compact-card a:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.72));
}

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

.list-card {
    position: relative;
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 18px;
    padding: 16px;
    border-radius: var(--radius-small);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.list-card:hover {
    transform: translateX(4px);
    border-color: rgba(249, 115, 22, 0.42);
}

.list-poster {
    overflow: hidden;
    border-radius: 14px;
    background: #111;
}

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

.list-rank {
    left: -8px;
    top: -8px;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    background: var(--orange);
}

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

.category-card {
    min-height: 190px;
    padding: 24px;
    border-radius: var(--radius);
    background:
        radial-gradient(circle at 80% 20%, rgba(249, 115, 22, 0.28), transparent 9rem),
        linear-gradient(135deg, rgba(31, 41, 55, 0.8), rgba(0, 0, 0, 0.64));
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.category-card:hover {
    border-color: rgba(249, 115, 22, 0.52);
}

.category-card strong {
    display: block;
    margin-bottom: 12px;
    color: #fff;
    font-size: 24px;
}

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

.category-card span {
    color: #fed7aa;
    font-weight: 800;
}

.filter-panel {
    display: grid;
    grid-template-columns: 1fr 190px 170px 150px auto;
    gap: 12px;
    margin: 0 0 28px;
    padding: 18px;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    background: rgba(0, 0, 0, 0.36);
}

.filter-panel input,
.filter-panel select {
    min-height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    outline: 0;
    border-radius: 14px;
    padding: 0 14px;
    color: var(--text);
    background: rgba(17, 24, 39, 0.72);
}

.filter-panel button {
    min-height: 44px;
    padding: 0 18px;
    font-weight: 900;
}

.empty-state {
    display: none;
    padding: 38px;
    border: 1px dashed rgba(255, 255, 255, 0.18);
    border-radius: var(--radius);
    color: var(--muted);
    text-align: center;
}

.empty-state.show {
    display: block;
}

.breadcrumb {
    margin: 28px 0 16px;
    color: var(--muted);
    font-size: 14px;
}

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

.detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 34px;
    align-items: end;
    padding: 26px 0 36px;
}

.detail-title h1 {
    margin: 14px 0 16px;
    color: #fff;
    font-size: clamp(34px, 5.2vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.detail-title p {
    max-width: 860px;
    margin: 0 0 18px;
    color: #d1d5db;
    font-size: 18px;
}

.detail-cover {
    overflow: hidden;
    border-radius: 28px;
    box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.detail-cover img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

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

.player-panel,
.info-panel {
    border-radius: var(--radius);
    overflow: hidden;
}

.player-panel {
    padding: 20px;
}

.video-shell {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: #000;
    aspect-ratio: 16 / 9;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
}

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

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.65));
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.player-btn {
    width: 86px;
    height: 86px;
    padding: 0;
    border: 0;
    font-size: 32px;
    line-height: 1;
}

.player-caption {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
    color: var(--muted);
}

.info-panel {
    padding: 22px;
}

.rich-text {
    display: grid;
    gap: 18px;
    margin-top: 26px;
}

.rich-text section {
    padding: 22px;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-small);
    background: rgba(255, 255, 255, 0.035);
}

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

.related-mini {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.045);
    transition: background 0.2s ease, transform 0.2s ease;
}

.related-mini:hover {
    background: var(--orange-soft);
    transform: translateX(3px);
}

.related-mini img {
    width: 74px;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 12px;
}

.related-mini strong {
    display: block;
    color: #fff;
    line-height: 1.35;
}

.related-mini span {
    color: var(--muted);
    font-size: 13px;
}

.search-results {
    display: grid;
    gap: 16px;
}

.search-result {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 18px;
    padding: 14px;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-small);
    background: var(--panel);
}

.search-result img {
    width: 110px;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 14px;
}

.search-result h2 {
    margin: 4px 0 8px;
    color: #fff;
}

.search-result p {
    margin: 0;
    color: var(--muted);
}

.site-footer {
    margin-top: 70px;
    border-top: 1px solid var(--line);
    background: rgba(0, 0, 0, 0.72);
}

.footer-grid {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    padding: 44px 0;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 36px;
}

.footer-brand {
    color: var(--orange);
    font-size: 20px;
    font-weight: 900;
}

.site-footer h2 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 18px;
}

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

.footer-links {
    display: grid;
    gap: 9px;
}

.footer-links a {
    color: var(--muted);
}

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

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

    .menu-toggle {
        display: block;
    }

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

    .hero-poster,
    .detail-cover {
        max-width: 340px;
    }

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

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

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

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

    .brand-mark {
        width: 38px;
        height: 38px;
    }

    .brand-text strong {
        font-size: 17px;
    }

    .brand-text small {
        display: none;
    }

    .hero,
    .hero-carousel {
        min-height: 760px;
    }

    .hero-slide {
        align-content: start;
        padding: 58px 0 96px;
        gap: 30px;
    }

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

    .hero-control {
        display: none;
    }

    .section {
        padding: 48px 0;
    }

    .section-head,
    .page-head {
        display: block;
    }

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

    .list-card,
    .search-result {
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 12px;
    }

    .list-poster img,
    .search-result img {
        width: 92px;
    }

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

@media (max-width: 520px) {
    .page-shell,
    .header-inner,
    .footer-grid,
    .mobile-panel nav,
    .mobile-search {
        width: min(100% - 22px, 1240px);
    }

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

    .movie-card {
        border-radius: 18px;
    }

    .player-panel,
    .info-panel,
    .rich-text section {
        padding: 16px;
    }

    .player-btn {
        width: 70px;
        height: 70px;
        font-size: 26px;
    }
}
