:root {
    --bg: #fff7ed;
    --bg-soft: #fffbeb;
    --text: #1f2937;
    --muted: #6b7280;
    --line: rgba(251, 146, 60, 0.22);
    --orange: #f97316;
    --orange-dark: #ea580c;
    --amber: #f59e0b;
    --dark: #111827;
    --radius-xl: 28px;
    --radius-lg: 20px;
    --shadow: 0 22px 55px rgba(124, 45, 18, 0.14);
    --shadow-strong: 0 30px 90px rgba(15, 23, 42, 0.35);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    background:
        radial-gradient(circle at 12% -8%, rgba(249, 115, 22, 0.18), transparent 34%),
        radial-gradient(circle at 90% 0%, rgba(245, 158, 11, 0.18), transparent 36%),
        linear-gradient(180deg, #fff7ed 0%, #ffffff 42%, #fffaf0 100%);
    line-height: 1.6;
}

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

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

button,
input,
select {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(251, 146, 60, 0.16);
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
}

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

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

.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: linear-gradient(135deg, var(--orange), var(--amber));
    box-shadow: 0 14px 30px rgba(234, 88, 12, 0.34);
}

.brand-text {
    display: grid;
    gap: 1px;
}

.brand-text strong {
    font-size: 20px;
    letter-spacing: 0.02em;
    line-height: 1.05;
    background: linear-gradient(135deg, var(--orange-dark), var(--amber));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-text em {
    font-size: 12px;
    color: var(--muted);
    font-style: normal;
}

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

.nav-link {
    padding: 9px 13px;
    border-radius: 999px;
    color: #4b5563;
    font-weight: 700;
    transition: 0.25s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--orange-dark);
    background: rgba(255, 237, 213, 0.9);
}

.header-search {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 300px;
    padding: 6px;
    border: 1px solid rgba(251, 146, 60, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
}

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

.header-search button,
.primary-btn,
.inline-filter button {
    border: 0;
    border-radius: 999px;
    padding: 10px 18px;
    color: #ffffff;
    cursor: pointer;
    font-weight: 800;
    background: linear-gradient(135deg, var(--orange), var(--amber));
    box-shadow: 0 12px 28px rgba(234, 88, 12, 0.28);
}

.menu-toggle {
    display: none;
    margin-left: auto;
    border: 0;
    border-radius: 12px;
    padding: 9px 12px;
    background: #ffedd5;
    color: var(--orange-dark);
}

.mobile-nav {
    display: none;
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto 14px;
    padding: 14px;
    border: 1px solid rgba(251, 146, 60, 0.18);
    border-radius: 18px;
    background: #ffffff;
}

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

.hero {
    position: relative;
    min-height: 680px;
    overflow: hidden;
    background: linear-gradient(135deg, #111827 0%, #7c2d12 48%, #d97706 100%);
}

.hero-slider,
.hero-slide {
    min-height: 680px;
}

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

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

.hero-backdrop {
    position: absolute;
    inset: -12% -20%;
    width: 140%;
    height: 124%;
    object-fit: cover;
    opacity: 0.22;
    filter: blur(18px) saturate(1.2);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 72% 35%, rgba(251, 146, 60, 0.24), transparent 28%),
        linear-gradient(90deg, rgba(17, 24, 39, 0.92), rgba(124, 45, 18, 0.72), rgba(17, 24, 39, 0.36));
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    max-width: 760px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 14px;
    padding: 7px 12px;
    border-radius: 999px;
    color: #fed7aa;
    background: rgba(251, 146, 60, 0.18);
    border: 1px solid rgba(251, 146, 60, 0.32);
    font-size: 13px;
    font-weight: 800;
}

.hero h1 {
    margin: 0 0 18px;
    font-size: clamp(42px, 7vw, 88px);
    line-height: 0.98;
    letter-spacing: -0.05em;
    text-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.hero p {
    max-width: 720px;
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
}

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

.hero-tags span,
.tag-row span,
.detail-meta-row span {
    border-radius: 999px;
    padding: 6px 10px;
    color: #7c2d12;
    background: #ffedd5;
    font-size: 12px;
    font-weight: 800;
}

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

.ghost-btn {
    border-radius: 999px;
    padding: 10px 18px;
    color: #ffffff;
    font-weight: 800;
    border: 1px solid rgba(255, 255, 255, 0.38);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(6px);
}

.hero-poster {
    position: relative;
    z-index: 2;
    display: block;
    border-radius: 34px;
    overflow: hidden;
    transform: rotate(2deg);
    box-shadow: var(--shadow-strong);
    aspect-ratio: 3 / 4.1;
    background: linear-gradient(135deg, #f97316, #111827);
}

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

.hero-poster:hover img {
    transform: scale(1.06);
}

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

.hero-dot {
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.42);
    transition: 0.25s ease;
}

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

.floating-orb {
    position: absolute;
    z-index: 1;
    border-radius: 999px;
    filter: blur(3px);
    opacity: 0.55;
    animation: float 7s ease-in-out infinite;
}

.orb-one {
    width: 130px;
    height: 130px;
    left: 8%;
    bottom: 16%;
    background: rgba(251, 146, 60, 0.28);
}

.orb-two {
    width: 90px;
    height: 90px;
    right: 18%;
    top: 16%;
    background: rgba(253, 224, 71, 0.24);
    animation-delay: -2s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-18px) rotate(4deg);
    }
}

.quick-panel {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: -48px;
}

.quick-panel a {
    border: 1px solid rgba(251, 146, 60, 0.2);
    border-radius: 24px;
    padding: 22px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
    transition: 0.25s ease;
}

.quick-panel a:hover,
.movie-card:hover,
.category-tile:hover,
.ranking-row:hover {
    transform: translateY(-6px);
}

.quick-panel strong {
    display: block;
    font-size: 20px;
    color: #9a3412;
}

.quick-panel span {
    color: var(--muted);
}

.content-section {
    padding: 72px 0 0;
}

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

.section-heading h2,
.category-block-head h2,
.ranking-title h2,
.page-hero h1 {
    margin: 0;
    color: #111827;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.section-heading p,
.category-block-head p,
.page-hero p,
.ranking-title p {
    margin: 8px 0 0;
    color: var(--muted);
}

.section-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 10px 16px;
    color: var(--orange-dark);
    background: #ffedd5;
    font-weight: 800;
    white-space: nowrap;
}

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

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

.movie-card {
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(251, 146, 60, 0.16);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    transition: 0.25s ease;
}

.poster-link {
    display: grid;
    height: 100%;
}

.poster-frame {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: linear-gradient(135deg, #fb923c, #111827);
}

.poster-frame img,
.category-tile img,
.ranking-poster img,
.rank-cover img,
.poster-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.poster-frame img {
    transition: 0.32s ease;
}

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

.poster-glow {
    position: absolute;
    inset: auto 0 0;
    height: 42%;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.75));
}

.poster-badge,
.poster-play {
    position: absolute;
    z-index: 2;
    border-radius: 999px;
    font-weight: 900;
}

.poster-badge {
    top: 12px;
    left: 12px;
    padding: 6px 9px;
    color: #7c2d12;
    background: #fed7aa;
    font-size: 12px;
}

.poster-play {
    right: 12px;
    bottom: 12px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: rgba(249, 115, 22, 0.9);
    box-shadow: 0 10px 22px rgba(249, 115, 22, 0.3);
}

.card-body {
    display: grid;
    gap: 8px;
    padding: 15px;
}

.card-body strong {
    color: #111827;
    font-size: 17px;
    line-height: 1.25;
}

.card-body small,
.card-desc {
    color: var(--muted);
    font-size: 13px;
}

.card-desc {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.tag-row span {
    padding: 4px 8px;
    color: #9a3412;
    background: #fff7ed;
    border: 1px solid rgba(251, 146, 60, 0.16);
}

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

.category-tile {
    position: relative;
    min-height: 230px;
    overflow: hidden;
    border-radius: 26px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    color: #ffffff;
    background: #111827;
    box-shadow: var(--shadow);
    transition: 0.25s ease;
}

.category-tile img {
    position: absolute;
    inset: 0;
    opacity: 0.46;
    filter: saturate(1.1);
}

.category-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.1), rgba(124, 45, 18, 0.92));
}

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

.category-tile strong {
    display: block;
    font-size: 22px;
}

.category-tile em {
    font-style: normal;
    color: #fed7aa;
    font-weight: 800;
}

.category-tile p {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 13px;
}

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

.ranking-panel,
.side-card,
.detail-card,
.category-block,
.ranking-page-list {
    border: 1px solid rgba(251, 146, 60, 0.16);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
}

.ranking-panel {
    position: sticky;
    top: 96px;
    padding: 22px;
}

.ranking-title {
    align-items: center;
    margin-bottom: 18px;
}

.ranking-title > span {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #ffedd5;
    font-size: 24px;
}

.ranking-title h2 {
    font-size: 24px;
}

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

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

.rank-item:hover {
    background: #ffedd5;
}

.rank-cover {
    width: 64px;
    height: 82px;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(135deg, #fb923c, #111827);
}

.rank-info {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.rank-info strong,
.rank-info small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-info em {
    color: #9a3412;
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
}

.rank-info small {
    color: var(--muted);
}

.rank-heat {
    color: var(--orange-dark);
    font-weight: 900;
    font-size: 12px;
}

.page-main {
    padding-top: 34px;
    padding-bottom: 80px;
}

.page-hero {
    position: relative;
    overflow: hidden;
    border-radius: 34px;
    margin-bottom: 34px;
    padding: clamp(34px, 5vw, 70px);
    background:
        radial-gradient(circle at 76% 24%, rgba(251, 146, 60, 0.22), transparent 30%),
        linear-gradient(135deg, #111827, #7c2d12 52%, #d97706);
    color: #ffffff;
    box-shadow: var(--shadow-strong);
}

.page-hero h1 {
    color: #ffffff;
}

.page-hero p {
    max-width: 740px;
    color: rgba(255, 255, 255, 0.86);
}

.inline-filter {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) auto;
    gap: 12px;
    max-width: 760px;
    margin-top: 26px;
}

.wide-filter {
    grid-template-columns: minmax(180px, 1fr) 180px 150px;
}

.inline-filter input,
.inline-filter select {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    outline: 0;
    border-radius: 999px;
    padding: 13px 16px;
    color: #111827;
    background: rgba(255, 255, 255, 0.95);
}

.category-block {
    padding: 26px;
    margin-bottom: 28px;
}

.filter-status {
    margin-bottom: 18px;
    color: #9a3412;
    font-weight: 800;
}

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

.ranking-row {
    display: grid;
    grid-template-columns: 64px 88px minmax(0, 1fr) 110px;
    align-items: center;
    gap: 16px;
    padding: 14px;
    border-radius: 20px;
    background: #fffaf0;
    transition: 0.22s ease;
}

.ranking-number {
    color: var(--orange-dark);
    font-size: 28px;
    font-weight: 950;
}

.ranking-poster {
    width: 88px;
    height: 118px;
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(135deg, #fb923c, #111827);
}

.ranking-meta strong {
    font-size: 20px;
}

.ranking-meta p {
    margin: 6px 0 8px;
    color: var(--muted);
}

.ranking-meta div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ranking-meta span {
    border-radius: 999px;
    padding: 4px 8px;
    color: #9a3412;
    background: #ffedd5;
    font-size: 12px;
    font-weight: 800;
}

.ranking-score {
    justify-self: end;
    color: var(--orange-dark);
    font-weight: 950;
}

.detail-main {
    padding-bottom: 80px;
}

.detail-hero {
    position: relative;
    min-height: 430px;
    display: flex;
    align-items: end;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(17, 24, 39, 0.96), rgba(124, 45, 18, 0.78), rgba(15, 23, 42, 0.54)),
        var(--cover-image) center / cover;
    color: #ffffff;
}

.detail-hero::before {
    content: "";
    position: absolute;
    inset: -30px;
    background: var(--cover-image) center / cover;
    filter: blur(20px) saturate(1.1);
    opacity: 0.32;
}

.detail-hero-inner {
    position: relative;
    z-index: 1;
    padding: 74px 0 56px;
}

.breadcrumb,
.breadcrumb-sep {
    display: inline-block;
    margin-bottom: 18px;
    color: #fed7aa;
    font-weight: 800;
}

.detail-hero h1 {
    max-width: 860px;
    margin: 0 0 16px;
    font-size: clamp(38px, 6vw, 76px);
    line-height: 1;
    letter-spacing: -0.04em;
}

.detail-hero p {
    max-width: 860px;
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
    align-items: start;
    margin-top: -42px;
    position: relative;
    z-index: 4;
}

.player-column {
    display: grid;
    gap: 22px;
}

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

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

.play-layer {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    gap: 10px;
    border: 0;
    color: #ffffff;
    cursor: pointer;
    background:
        radial-gradient(circle at center, rgba(249, 115, 22, 0.16), transparent 40%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.72));
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.play-layer.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.play-button {
    width: 86px;
    height: 86px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--orange), var(--amber));
    box-shadow: 0 20px 45px rgba(249, 115, 22, 0.42);
    font-size: 36px;
}

.play-layer strong {
    font-size: clamp(22px, 4vw, 38px);
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.play-layer em {
    font-style: normal;
    color: #fed7aa;
    font-weight: 800;
}

.detail-card,
.side-card {
    padding: 24px;
}

.detail-card h2,
.side-card h2 {
    margin: 0 0 12px;
    font-size: 24px;
}

.detail-card p,
.side-card p {
    margin: 0;
    color: #4b5563;
}

.detail-side {
    display: grid;
    gap: 18px;
    position: sticky;
    top: 96px;
}

.poster-side {
    overflow: hidden;
    padding: 0;
}

.poster-side img {
    height: 420px;
    background: linear-gradient(135deg, #fb923c, #111827);
}

.poster-side div {
    padding: 18px;
}

.info-list {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 10px 12px;
    margin: 0 0 18px;
}

.info-list dt {
    color: var(--muted);
}

.info-list dd {
    margin: 0;
    color: #111827;
    font-weight: 800;
}

.detail-tags {
    margin-top: 14px;
}

.compact-card .card-desc {
    display: none;
}

.site-footer {
    margin-top: 80px;
    padding: 54px 0;
    color: #d1d5db;
    background: #111827;
}

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

.footer-brand p {
    max-width: 440px;
    color: #9ca3af;
}

.brand-footer .brand-text strong {
    color: #ffffff;
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
}

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

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

.footer-grid a {
    color: #9ca3af;
}

.footer-grid a:hover {
    color: #fb923c;
}

[data-card-list] .is-filter-hidden {
    display: none;
}

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

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

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

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

    .split-layout,
    .detail-layout,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .ranking-panel,
    .detail-side {
        position: static;
    }
}

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

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

    .hero,
    .hero-slider,
    .hero-slide {
        min-height: 720px;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        align-content: center;
        gap: 24px;
    }

    .hero-poster {
        width: min(240px, 72vw);
        justify-self: center;
        order: -1;
    }

    .hero h1 {
        font-size: 42px;
    }

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

    .section-heading,
    .category-block-head,
    .ranking-title {
        align-items: start;
        flex-direction: column;
    }

    .wide-filter,
    .inline-filter {
        grid-template-columns: 1fr;
    }

    .ranking-row {
        grid-template-columns: 44px 70px minmax(0, 1fr);
    }

    .ranking-score {
        grid-column: 3;
        justify-self: start;
    }

    .ranking-poster {
        width: 70px;
        height: 94px;
    }

    .poster-side img {
        height: 320px;
    }
}

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

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

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

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

    .detail-hero-inner {
        padding-bottom: 80px;
    }

    .detail-layout {
        margin-top: -60px;
    }
}
