:root {
    --bg: #f8f5ff;
    --surface: #ffffff;
    --text: #211833;
    --muted: #6b5f79;
    --primary: #9333ea;
    --primary-dark: #6d28d9;
    --pink: #db2777;
    --gold: #facc15;
    --line: rgba(147, 51, 234, 0.16);
    --shadow: 0 20px 50px rgba(77, 29, 112, 0.16);
    --soft-shadow: 0 12px 28px rgba(77, 29, 112, 0.11);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(168, 85, 247, 0.18), transparent 28rem),
        radial-gradient(circle at top right, rgba(236, 72, 153, 0.15), transparent 24rem),
        var(--bg);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

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

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

button,
input {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(90deg, rgba(147, 51, 234, 0.96), rgba(219, 39, 119, 0.94));
    color: #fff;
    backdrop-filter: blur(16px);
    box-shadow: 0 16px 40px rgba(88, 28, 135, 0.24);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #7e22ce;
    background: linear-gradient(135deg, #fde047, #f9a8d4);
    box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.55), 0 8px 20px rgba(0, 0, 0, 0.12);
}

.brand-text {
    font-size: 1.16rem;
}

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

.nav-link,
.mobile-nav-link {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 700;
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-nav-link:hover,
.mobile-nav-link.is-active {
    color: #fef9c3;
}

.nav-link:hover {
    transform: translateY(-1px);
}

.header-search {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.header-search input,
.mobile-search input,
.big-search input,
.filter-bar input {
    border: 0;
    outline: none;
    color: var(--text);
    background: rgba(255, 255, 255, 0.96);
}

.header-search input {
    width: 220px;
    padding: 10px 14px;
    border-radius: 999px;
}

.header-search button,
.mobile-search button,
.big-search button,
.clear-filter {
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #facc15, #f97316);
    font-weight: 800;
    padding: 10px 18px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-search button:hover,
.mobile-search button:hover,
.big-search button:hover,
.clear-filter:hover,
.primary-btn:hover,
.ghost-btn:hover,
.section-more:hover {
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    border: 0;
    background: rgba(255, 255, 255, 0.16);
    width: 44px;
    height: 44px;
    border-radius: 14px;
    padding: 10px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: #fff;
    border-radius: 2px;
}

.mobile-panel {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0 0 18px;
}

.mobile-search {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}

.mobile-search input {
    flex: 1;
    padding: 12px 14px;
    border-radius: 16px;
}

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

.mobile-nav-link {
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.14);
}

.hero {
    position: relative;
    width: min(1280px, calc(100% - 32px));
    margin: 34px auto 0;
    border-radius: 30px;
    overflow: hidden;
    min-height: 640px;
    color: #fff;
    box-shadow: var(--shadow);
    background: #27113f;
}

.hero-slides,
.hero-slide {
    position: absolute;
    inset: 0;
}

.hero-slide {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.55s ease;
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.06);
    filter: saturate(1.08) contrast(1.02);
}

.hero-shade,
.detail-backdrop::after {
    position: absolute;
    inset: 0;
    content: "";
    background:
        linear-gradient(90deg, rgba(31, 10, 48, 0.94) 0%, rgba(88, 28, 135, 0.76) 44%, rgba(219, 39, 119, 0.34) 100%),
        linear-gradient(0deg, rgba(0, 0, 0, 0.72), transparent 58%);
}

.hero-content {
    position: relative;
    z-index: 2;
    min-height: 640px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    align-items: center;
    gap: 48px;
    padding: 72px;
}

.hero-copy {
    max-width: 760px;
}

.hero-kicker {
    margin: 0 0 16px;
    color: #fde68a;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero h1,
.page-hero h1,
.movie-detail-hero h1 {
    margin: 0;
    font-size: clamp(2.6rem, 6vw, 5.8rem);
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.hero-text,
.page-hero p,
.detail-one-line {
    margin: 22px 0 0;
    max-width: 720px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.06rem;
    line-height: 1.9;
}

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

.tag-row span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 6px 12px;
    color: #7e22ce;
    background: #faf5ff;
    font-size: 0.82rem;
    font-weight: 800;
}

.hero-tags {
    margin-top: 22px;
}

.hero-tags span {
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.primary-btn,
.ghost-btn,
.section-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 12px 22px;
    font-weight: 900;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-btn {
    color: #fff;
    background: linear-gradient(135deg, #9333ea, #db2777);
    box-shadow: 0 14px 30px rgba(147, 51, 234, 0.32);
}

.hero .primary-btn {
    background: linear-gradient(135deg, #facc15, #f97316);
}

.ghost-btn {
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.hero-poster {
    position: relative;
    display: block;
    border-radius: 28px;
    overflow: hidden;
    aspect-ratio: 2 / 3;
    transform: rotate(2deg);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
}

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

.hero-poster span {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    padding: 12px 14px;
    text-align: center;
    border-radius: 999px;
    color: #fff;
    font-weight: 900;
    background: rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(12px);
}

.hero-controls {
    position: absolute;
    z-index: 4;
    left: 72px;
    right: 72px;
    bottom: 110px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

.hero-arrow {
    pointer-events: auto;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
    font-size: 1.8rem;
    cursor: pointer;
}

.hero-dots {
    display: flex;
    gap: 8px;
    pointer-events: auto;
}

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

.hero-dot.is-active {
    width: 32px;
    background: #facc15;
}

.hero-strip {
    position: absolute;
    left: 72px;
    right: 72px;
    bottom: 24px;
    z-index: 4;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.hero-mini-card {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
    transition: transform 0.2s ease, background 0.2s ease;
}

.hero-mini-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.24);
}

.hero-mini-card img {
    width: 44px;
    height: 58px;
    border-radius: 12px;
    object-fit: cover;
    flex: 0 0 auto;
}

.hero-mini-card span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 800;
}

.content-section,
.category-preview {
    width: min(1280px, calc(100% - 32px));
    margin: 52px auto 0;
}

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

.section-head h2 {
    margin: 0;
    font-size: clamp(1.55rem, 3vw, 2.35rem);
    letter-spacing: -0.04em;
}

.section-head p {
    margin: 8px 0 0;
    color: var(--muted);
    line-height: 1.7;
}

.section-more {
    color: #7e22ce;
    background: #fff;
    box-shadow: var(--soft-shadow);
    white-space: nowrap;
}

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

.movie-card {
    overflow: hidden;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--soft-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.movie-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 50px rgba(77, 29, 112, 0.18);
}

.poster-link {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, #581c87, #db2777);
}

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

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

.poster-link::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.68));
}

.poster-badge,
.poster-play {
    position: absolute;
    z-index: 2;
}

.poster-badge {
    top: 12px;
    left: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    color: #fff;
    background: rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(10px);
    font-weight: 800;
    font-size: 0.82rem;
}

.poster-play {
    left: 50%;
    top: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, #9333ea, #db2777);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.3);
    transform: translate(-50%, -50%) scale(0.86);
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

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

.card-body {
    padding: 16px;
}

.card-body h3 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.35;
}

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

.card-meta,
.card-line {
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.62;
}

.card-meta {
    margin: 8px 0 0;
}

.card-line {
    margin: 8px 0 12px;
}

.card-body .tag-row span {
    padding: 4px 8px;
    font-size: 0.75rem;
}

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

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

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

.category-tile::after {
    position: absolute;
    inset: 0;
    content: "";
    z-index: 1;
    background: linear-gradient(180deg, rgba(88, 28, 135, 0.2), rgba(88, 28, 135, 0.88));
}

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

.category-tile span,
.category-tile small {
    position: relative;
    z-index: 2;
}

.category-tile span {
    font-size: 1.4rem;
    font-weight: 900;
}

.category-tile small {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.6;
}

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

.ranking-panel {
    padding: 22px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--soft-shadow);
}

.ranking-panel .section-head {
    margin-bottom: 14px;
}

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

.rank-row {
    display: grid;
    grid-template-columns: 38px 52px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 18px;
    background: #faf5ff;
    transition: transform 0.2s ease, background 0.2s ease;
}

.rank-row:hover {
    transform: translateX(4px);
    background: #fdf2f8;
}

.rank-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, #9333ea, #db2777);
    font-weight: 900;
}

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

.rank-main {
    min-width: 0;
}

.rank-main strong,
.rank-main em {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-main em {
    margin-top: 4px;
    color: var(--muted);
    font-style: normal;
    font-size: 0.82rem;
}

.rank-score {
    color: #db2777;
    font-weight: 900;
}

.page-main,
.movie-page-main {
    padding-bottom: 70px;
}

.page-hero {
    position: relative;
    width: min(1280px, calc(100% - 32px));
    margin: 34px auto 0;
    min-height: 320px;
    display: flex;
    align-items: center;
    border-radius: 30px;
    overflow: hidden;
    padding: 54px;
    color: #fff;
    background:
        radial-gradient(circle at 80% 20%, rgba(250, 204, 21, 0.32), transparent 20rem),
        linear-gradient(135deg, #581c87, #db2777 56%, #f97316);
    box-shadow: var(--shadow);
}

.page-hero h1 {
    font-size: clamp(2.2rem, 5vw, 4.8rem);
}

.page-hero p {
    font-size: 1.02rem;
}

.big-search {
    margin-top: 28px;
    display: flex;
    max-width: 760px;
    gap: 10px;
    padding: 8px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.18);
}

.big-search input {
    flex: 1;
    min-width: 0;
    padding: 14px 18px;
    border-radius: 18px;
}

.filter-bar {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.filter-bar input {
    flex: 1;
    min-width: 0;
    padding: 14px 18px;
    border-radius: 999px;
    box-shadow: var(--soft-shadow);
}

.clear-filter {
    background: linear-gradient(135deg, #9333ea, #db2777);
}

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

.breadcrumb {
    width: min(1280px, calc(100% - 32px));
    margin: 26px auto 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--muted);
    font-size: 0.92rem;
}

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

.movie-detail-hero {
    position: relative;
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    min-height: 560px;
    border-radius: 32px;
    overflow: hidden;
    color: #fff;
    box-shadow: var(--shadow);
    background: #160923;
}

.detail-backdrop,
.detail-backdrop img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.detail-backdrop img {
    object-fit: cover;
    filter: blur(18px) saturate(1.16);
    transform: scale(1.12);
}

.detail-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 42px;
    align-items: center;
    padding: 58px;
    min-height: 560px;
}

.detail-poster {
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.46);
    aspect-ratio: 2 / 3;
}

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

.detail-info h1 {
    font-size: clamp(2.2rem, 5vw, 5rem);
}

.detail-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 26px;
    max-width: 720px;
}

.detail-meta-grid span {
    display: grid;
    gap: 4px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.detail-meta-grid b {
    color: #fde68a;
    font-size: 0.82rem;
}

.player-section {
    width: min(1280px, calc(100% - 32px));
    margin: 34px auto 0;
}

.player-shell {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 30px;
    overflow: hidden;
    background: #07030b;
    box-shadow: var(--shadow);
}

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

.player-cover {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    border: 0;
    color: #fff;
    background: linear-gradient(180deg, rgba(30, 9, 50, 0.24), rgba(30, 9, 50, 0.78));
    cursor: pointer;
    transition: opacity 0.22s ease, visibility 0.22s ease;
}

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

.play-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background: linear-gradient(135deg, #9333ea, #db2777);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.38);
    font-size: 2rem;
}

.player-cover strong {
    font-size: clamp(1.25rem, 3vw, 2rem);
}

.detail-content {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 24px;
}

.story-card {
    padding: 28px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--soft-shadow);
}

.story-card h2 {
    margin: 0 0 14px;
    font-size: 1.45rem;
}

.story-card p {
    margin: 0;
    color: #4b3e59;
    line-height: 1.95;
}

.accent-card {
    background: linear-gradient(135deg, #fff7ed, #fdf2f8);
}

.site-footer {
    margin-top: 72px;
    padding: 38px 0;
    color: #fff;
    background: linear-gradient(90deg, #581c87, #9d174d);
}

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

.footer-inner p {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.72);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.86);
}

.footer-links a:hover {
    color: #fde68a;
}

.movie-card.is-hidden {
    display: none;
}

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

    .two-column-section,
    .ranking-page-layout {
        grid-template-columns: 1fr;
    }

    .sticky-rank {
        position: static;
    }

    .hero-content {
        grid-template-columns: minmax(0, 1fr) 260px;
        padding: 48px;
    }

    .hero-controls,
    .hero-strip {
        left: 48px;
        right: 48px;
    }
}

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

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .hero {
        min-height: 760px;
    }

    .hero-content {
        min-height: 640px;
        grid-template-columns: 1fr;
        align-content: center;
        padding: 38px 28px 170px;
    }

    .hero-poster {
        display: none;
    }

    .hero-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        bottom: 22px;
        left: 24px;
        right: 24px;
    }

    .hero-controls {
        left: 24px;
        right: 24px;
        bottom: 132px;
    }

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

    .detail-layout {
        grid-template-columns: 1fr;
        padding: 34px;
    }

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

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

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 620px) {
    .header-inner {
        height: 64px;
        width: min(100% - 24px, 1280px);
    }

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

    .brand-text {
        font-size: 1rem;
    }

    .hero,
    .content-section,
    .category-preview,
    .page-hero,
    .movie-detail-hero,
    .player-section,
    .breadcrumb {
        width: min(100% - 24px, 1280px);
    }

    .hero {
        margin-top: 18px;
        min-height: 700px;
        border-radius: 24px;
    }

    .hero h1,
    .page-hero h1,
    .movie-detail-hero h1 {
        font-size: clamp(2.1rem, 13vw, 3.4rem);
    }

    .hero-text,
    .page-hero p,
    .detail-one-line {
        font-size: 0.96rem;
    }

    .hero-actions,
    .filter-bar,
    .big-search {
        flex-direction: column;
    }

    .primary-btn,
    .ghost-btn,
    .big-search button,
    .clear-filter {
        width: 100%;
    }

    .hero-strip {
        grid-template-columns: 1fr;
    }

    .hero-mini-card:nth-child(n + 4) {
        display: none;
    }

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

    .card-body {
        padding: 12px;
    }

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

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

    .category-tile {
        min-height: 180px;
    }

    .page-hero {
        padding: 34px 24px;
        border-radius: 24px;
    }

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

    .detail-layout {
        padding: 28px 22px;
    }

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

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

    .story-card {
        padding: 22px;
    }

    .rank-row {
        grid-template-columns: 32px 46px minmax(0, 1fr);
    }

    .rank-score {
        display: none;
    }
}
