:root {
    --sky-50: #f0f9ff;
    --sky-100: #e0f2fe;
    --sky-500: #0ea5e9;
    --sky-600: #0284c7;
    --blue-50: #eff6ff;
    --blue-600: #2563eb;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --white: #ffffff;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    --soft-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--gray-800);
    background: linear-gradient(180deg, var(--sky-50) 0%, #ffffff 44%, var(--blue-50) 100%);
    min-height: 100vh;
}

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

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

button,
input {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(14, 165, 233, 0.12);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.brand-icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: linear-gradient(135deg, var(--sky-500), var(--blue-600));
    border-radius: 12px;
    box-shadow: 0 12px 24px rgba(14, 165, 233, 0.28);
    font-size: 16px;
}

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

.brand-text strong,
.footer-brand {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(90deg, var(--sky-600), var(--blue-600));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-text em {
    margin-top: 4px;
    font-style: normal;
    font-size: 12px;
    color: var(--gray-500);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.nav-link {
    color: var(--gray-700);
    font-weight: 600;
    font-size: 15px;
    transition: color 0.2s ease;
}

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

.header-search {
    position: relative;
    width: 280px;
}

.header-search input,
.mobile-search input,
.page-filter {
    width: 100%;
    border: 1px solid rgba(14, 165, 233, 0.22);
    border-radius: 999px;
    padding: 10px 16px;
    outline: none;
    background: rgba(255, 255, 255, 0.92);
    color: var(--gray-800);
    box-shadow: 0 8px 18px rgba(14, 165, 233, 0.08);
}

.header-search input:focus,
.mobile-search input:focus,
.page-filter:focus {
    border-color: rgba(14, 165, 233, 0.62);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.12);
}

.search-panel {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    width: min(420px, 92vw);
    max-height: 430px;
    overflow: auto;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(14, 165, 233, 0.16);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 10px;
}

.search-panel.is-open {
    display: block;
}

.search-item {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 12px;
    padding: 10px;
    border-radius: 14px;
    transition: background 0.2s ease;
}

.search-item:hover {
    background: var(--sky-50);
}

.search-item img {
    width: 56px;
    height: 42px;
    object-fit: cover;
    border-radius: 10px;
    background: var(--sky-100);
}

.search-item strong {
    display: block;
    color: var(--gray-900);
    font-size: 14px;
    margin-bottom: 3px;
}

.search-item span {
    display: block;
    color: var(--gray-500);
    font-size: 12px;
    line-height: 1.4;
}

.search-empty {
    padding: 20px;
    color: var(--gray-500);
    text-align: center;
}

.menu-toggle {
    display: none;
    border: 0;
    background: var(--sky-100);
    color: var(--sky-600);
    width: 42px;
    height: 42px;
    border-radius: 12px;
    cursor: pointer;
}

.mobile-nav {
    display: none;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 16px;
    padding: 16px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: var(--soft-shadow);
}

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

.mobile-nav a {
    font-weight: 600;
    color: var(--gray-700);
}

.mobile-search {
    position: relative;
}

.hero {
    position: relative;
    height: 500px;
    overflow: hidden;
    background: var(--slate-900);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.hero-slide.is-active {
    opacity: 1;
    z-index: 2;
}

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

.hero-overlay,
.detail-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.36) 48%, rgba(0, 0, 0, 0.08));
}

.hero-content {
    position: absolute;
    left: max(24px, calc((100% - 1180px) / 2));
    right: 24px;
    bottom: 74px;
    z-index: 3;
    max-width: 760px;
    color: #ffffff;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 7px 16px;
    margin-bottom: 16px;
    color: #ffffff;
    background: var(--sky-500);
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 10px 24px rgba(14, 165, 233, 0.28);
}

.hero h1,
.detail-summary h1 {
    margin: 0 0 16px;
    font-size: clamp(34px, 6vw, 60px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.hero p,
.detail-summary p {
    margin: 0 0 22px;
    max-width: 720px;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.7;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.hero-meta span {
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    backdrop-filter: blur(8px);
    font-size: 13px;
}

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

.primary-button,
.ghost-button,
.rank-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 24px;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.primary-button {
    color: var(--gray-900);
    background: #ffffff;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.18);
}

.primary-button:hover {
    color: #ffffff;
    background: var(--sky-500);
    transform: translateY(-2px) scale(1.02);
}

.ghost-button {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.26);
    backdrop-filter: blur(10px);
}

.ghost-button:hover {
    background: rgba(255, 255, 255, 0.26);
    transform: translateY(-2px);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: background 0.2s ease;
}

.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.36);
}

.hero-arrow.prev {
    left: 24px;
}

.hero-arrow.next {
    right: 24px;
}

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

.hero-dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.56);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

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

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

.content-section {
    margin: 56px 0;
}

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

.section-heading h2,
.category-preview-head h2,
.category-preview-head h3,
.detail-main h2,
.detail-side h2 {
    margin: 0;
    color: var(--gray-900);
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.2;
}

.section-heading p {
    margin: 8px 0 0;
    color: var(--gray-500);
    line-height: 1.7;
}

.section-link,
.category-preview-head a {
    color: var(--sky-600);
    font-weight: 800;
    white-space: nowrap;
}

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

.movie-grid.compact {
    gap: 18px;
}

.movie-card {
    overflow: hidden;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: var(--soft-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.poster {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, var(--sky-100), var(--blue-50));
}

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

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

.poster::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.34);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.movie-card:hover .poster::after {
    opacity: 1;
}

.duration,
.rank-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    padding: 5px 8px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.58);
    border-radius: 9px;
    font-size: 12px;
    backdrop-filter: blur(8px);
}

.rank-badge {
    left: 10px;
    right: auto;
    background: var(--sky-500);
}

.play-mark {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 4;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    transform: translate(-50%, -50%) scale(0.86);
    opacity: 0;
    backdrop-filter: blur(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

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

.card-body {
    padding: 16px;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: var(--gray-500);
    font-size: 12px;
}

.card-body h3 {
    margin: 0 0 8px;
    color: var(--gray-800);
    font-size: 17px;
    line-height: 1.38;
}

.card-body h3 a:hover {
    color: var(--sky-600);
}

.card-body p {
    margin: 0;
    color: var(--gray-600);
    font-size: 14px;
    line-height: 1.65;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.card-tags span,
.detail-tags a {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--gray-700);
    background: linear-gradient(90deg, var(--sky-100), var(--blue-50));
    font-size: 12px;
    font-weight: 700;
}

.highlight-section {
    padding: 32px;
    border-radius: 28px;
    background: linear-gradient(90deg, var(--sky-100), var(--blue-50));
    box-shadow: var(--soft-shadow);
}

.movie-scroll {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding: 4px 4px 18px;
    scroll-snap-type: x proximity;
}

.scroll-card {
    flex: 0 0 300px;
    scroll-snap-align: start;
}

.category-preview {
    margin-bottom: 36px;
}

.category-preview-head {
    margin-bottom: 16px;
}

.category-preview-head h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
}

.category-preview-head h3 span {
    width: 5px;
    height: 26px;
    background: var(--sky-500);
    border-radius: 999px;
}

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

.movie-card.horizontal {
    display: grid;
    grid-template-columns: 210px 1fr;
}

.movie-card.horizontal .poster {
    aspect-ratio: auto;
    height: 100%;
    min-height: 142px;
}

.movie-card.horizontal .play-mark {
    width: 42px;
    height: 42px;
    opacity: 0.92;
    transform: translate(-50%, -50%) scale(1);
}

.tag-cloud-section,
.category-grid-section,
.ranking-section {
    padding: 32px;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: var(--soft-shadow);
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tag-cloud a {
    padding: 10px 16px;
    border-radius: 999px;
    color: var(--gray-700);
    background: linear-gradient(90deg, var(--sky-100), var(--blue-50));
    font-size: 14px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tag-cloud a:hover {
    transform: translateY(-2px);
    box-shadow: var(--soft-shadow);
}

.page-main {
    padding-bottom: 10px;
}

.page-hero.small {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: radial-gradient(circle at top left, rgba(14, 165, 233, 0.75), transparent 36%), linear-gradient(135deg, var(--slate-900), var(--slate-800));
}

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

.page-hero.small span {
    display: inline-flex;
    padding: 7px 14px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
    color: #ffffff;
    font-weight: 800;
}

.page-hero.small h1 {
    margin: 0 0 14px;
    font-size: clamp(34px, 5vw, 56px);
    letter-spacing: -0.03em;
}

.page-hero.small p {
    margin: 0;
    max-width: 700px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 18px;
    line-height: 1.75;
}

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

.category-card {
    position: relative;
    min-height: 190px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    border-radius: 24px;
    color: #ffffff;
    padding: 22px;
    box-shadow: var(--soft-shadow);
}

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

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

.category-card span {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.2));
}

.category-card strong,
.category-card em {
    position: relative;
    z-index: 2;
}

.category-card strong {
    font-size: 22px;
    margin-bottom: 8px;
}

.category-card em {
    font-style: normal;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.55;
}

.with-filter {
    align-items: center;
}

.page-filter {
    max-width: 300px;
}

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

.rank-row {
    display: grid;
    grid-template-columns: 64px 132px 1fr auto;
    gap: 18px;
    align-items: center;
    padding: 14px;
    border-radius: 20px;
    background: linear-gradient(90deg, #ffffff, rgba(240, 249, 255, 0.78));
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.rank-num {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--sky-500), var(--blue-600));
    font-weight: 900;
}

.rank-cover {
    display: block;
    overflow: hidden;
    border-radius: 16px;
    aspect-ratio: 16 / 10;
    background: var(--sky-100);
}

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

.rank-info h2 {
    margin: 0 0 7px;
    font-size: 20px;
}

.rank-info h2 a:hover {
    color: var(--sky-600);
}

.rank-info p {
    margin: 0 0 8px;
    color: var(--gray-600);
    line-height: 1.6;
}

.rank-info div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rank-info span {
    color: var(--gray-500);
    background: var(--sky-50);
    border-radius: 999px;
    padding: 4px 9px;
    font-size: 12px;
}

.rank-action {
    color: #ffffff;
    background: var(--sky-500);
}

.rank-action:hover {
    background: var(--blue-600);
    transform: translateY(-2px);
}

.detail-hero {
    position: relative;
    min-height: 540px;
    overflow: hidden;
    color: #ffffff;
    background: var(--slate-900);
}

.detail-hero > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.05);
}

.detail-hero-inner {
    position: relative;
    z-index: 3;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 38px 0 76px;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 150px;
    font-size: 14px;
}

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

.detail-summary {
    max-width: 820px;
}

.player-card {
    margin-top: -56px;
    position: relative;
    z-index: 10;
    border-radius: 28px;
    background: linear-gradient(180deg, #0f172a, #020617);
    box-shadow: 0 22px 70px rgba(2, 6, 23, 0.32);
    padding: 14px;
}

.player-shell {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 20px;
    background: #000000;
}

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

.player-shell video {
    z-index: 1;
    background: #000000;
}

.player-cover {
    z-index: 2;
    border: 0;
    padding: 0;
    cursor: pointer;
    color: #ffffff;
    background: #000000;
}

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

.player-cover span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 86px;
    height: 86px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.38);
    backdrop-filter: blur(14px);
    transform: translate(-50%, -50%);
    font-size: 34px;
}

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

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    margin-top: 34px;
}

.detail-main,
.detail-side {
    border-radius: 28px;
    background: #ffffff;
    box-shadow: var(--soft-shadow);
    padding: 30px;
}

.detail-main h2,
.detail-side h2 {
    font-size: 25px;
    margin: 32px 0 14px;
}

.detail-main h2:first-of-type,
.detail-side h2:first-child {
    margin-top: 0;
}

.detail-main p {
    margin: 0 0 18px;
    color: var(--gray-700);
    line-height: 1.95;
    font-size: 16px;
}

.detail-meta-card {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 30px;
}

.detail-meta-card div {
    padding: 16px;
    border-radius: 18px;
    background: var(--sky-50);
}

.detail-meta-card strong {
    display: block;
    margin-bottom: 6px;
    color: var(--gray-500);
    font-size: 13px;
}

.detail-meta-card span {
    color: var(--gray-900);
    font-weight: 800;
}

.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

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

.detail-side .movie-card.horizontal {
    grid-template-columns: 120px 1fr;
    box-shadow: none;
    border: 1px solid rgba(14, 165, 233, 0.12);
}

.detail-side .movie-card.horizontal .poster {
    min-height: 112px;
}

.related-section {
    padding-bottom: 30px;
}

.site-footer {
    margin-top: 76px;
    background: #ffffff;
    border-top: 1px solid rgba(14, 165, 233, 0.12);
}

.footer-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 32px;
    padding: 38px 0;
}

.footer-inner p {
    max-width: 520px;
    margin: 12px 0 0;
    color: var(--gray-500);
    line-height: 1.7;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-content: flex-start;
}

.footer-links a {
    color: var(--gray-600);
    font-weight: 700;
}

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

.footer-bottom {
    padding: 18px 0;
    text-align: center;
    color: var(--gray-500);
    border-top: 1px solid rgba(14, 165, 233, 0.08);
}

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

@media (max-width: 1080px) {
    .movie-grid,
    .category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

    .detail-side .movie-card.horizontal {
        grid-template-columns: 180px 1fr;
    }
}

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

    .header-inner {
        min-height: 64px;
    }

    .menu-toggle {
        display: inline-grid;
        place-items: center;
        margin-left: auto;
    }

    .hero {
        height: 560px;
    }

    .hero-content {
        left: 22px;
        bottom: 78px;
    }

    .hero-arrow {
        display: none;
    }

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

    .section-heading,
    .category-preview-head,
    .footer-inner,
    .with-filter {
        align-items: stretch;
        flex-direction: column;
    }

    .page-filter {
        max-width: 100%;
    }

    .rank-row {
        grid-template-columns: 52px 96px 1fr;
    }

    .rank-action {
        grid-column: 2 / 4;
        width: fit-content;
    }

    .detail-meta-card {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .brand-text em {
        display: none;
    }

    .brand-text strong,
    .footer-brand {
        font-size: 19px;
    }

    .hero {
        height: 520px;
    }

    .hero h1,
    .detail-summary h1,
    .page-hero.small h1 {
        font-size: 34px;
    }

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

    .movie-card.horizontal {
        grid-template-columns: 130px 1fr;
    }

    .movie-card.horizontal .poster {
        min-height: 128px;
    }

    .highlight-section,
    .tag-cloud-section,
    .category-grid-section,
    .ranking-section,
    .detail-main,
    .detail-side {
        padding: 22px;
        border-radius: 22px;
    }

    .scroll-card {
        flex-basis: 260px;
    }

    .rank-row {
        grid-template-columns: 44px 1fr;
    }

    .rank-cover {
        display: none;
    }

    .rank-action {
        grid-column: 2;
    }

    .breadcrumbs {
        margin-bottom: 110px;
    }

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

    .player-card {
        border-radius: 18px;
        padding: 8px;
    }

    .player-shell {
        border-radius: 14px;
    }

    .player-cover span {
        width: 68px;
        height: 68px;
    }
}
