:root {
    color-scheme: dark;
    --stone-950: #0c0a09;
    --stone-900: #1c1917;
    --stone-850: #211e1b;
    --stone-800: #292524;
    --stone-700: #44403c;
    --stone-500: #78716c;
    --stone-400: #a8a29e;
    --stone-300: #d6d3d1;
    --stone-200: #e7e5e4;
    --amber-700: #b45309;
    --amber-600: #d97706;
    --amber-500: #f59e0b;
    --amber-400: #fbbf24;
    --amber-300: #fcd34d;
    --amber-100: #fef3c7;
    --white: #ffffff;
    --shadow-heavy: 0 25px 60px rgba(0, 0, 0, 0.38);
    --shadow-soft: 0 14px 30px rgba(0, 0, 0, 0.22);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    background: var(--stone-950);
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(180, 83, 9, 0.18), transparent 35rem),
        linear-gradient(180deg, #0c0a09 0%, #1c1917 45%, #0c0a09 100%);
    color: var(--stone-100, #f5f5f4);
}

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

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

button,
input {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(245, 158, 11, 0.16);
    background: rgba(12, 10, 9, 0.84);
    backdrop-filter: blur(14px);
}

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

.site-logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--amber-100);
    font-weight: 800;
    letter-spacing: 0.02em;
}

.site-logo-mark {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    color: #1c1917;
    background: linear-gradient(135deg, var(--amber-300), var(--amber-700));
    box-shadow: 0 10px 24px rgba(245, 158, 11, 0.25);
}

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

.nav-link,
.mobile-nav-panel a {
    padding: 10px 15px;
    border-radius: 999px;
    color: var(--stone-300);
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-nav-panel a:hover {
    color: var(--amber-100);
    background: rgba(245, 158, 11, 0.14);
}

.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 14px;
    color: var(--amber-200);
    background: rgba(41, 37, 36, 0.9);
}

.mobile-nav-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 99px;
    background: var(--amber-200);
}

.mobile-nav-panel {
    display: none;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 14px;
    padding: 12px;
    border: 1px solid rgba(245, 158, 11, 0.14);
    border-radius: 18px;
    background: rgba(28, 25, 23, 0.98);
}

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

.hero {
    position: relative;
    height: 70vh;
    min-height: 520px;
    overflow: hidden;
    background: var(--stone-900);
}

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

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

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

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(0deg, rgba(12, 10, 9, 1) 0%, rgba(12, 10, 9, 0.68) 34%, rgba(12, 10, 9, 0.18) 100%),
        linear-gradient(90deg, rgba(12, 10, 9, 0.76) 0%, rgba(12, 10, 9, 0.22) 58%, rgba(12, 10, 9, 0.6) 100%);
}

.hero-content {
    position: absolute;
    left: 50%;
    bottom: 58px;
    transform: translateX(-50%);
    z-index: 2;
}

.hero-kicker,
.detail-kicker {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.hero-kicker span,
.hero-kicker em,
.detail-kicker span,
.detail-kicker em {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 4px 12px;
    border-radius: 999px;
    color: var(--amber-100);
    background: rgba(180, 83, 9, 0.32);
    border: 1px solid rgba(251, 191, 36, 0.24);
    font-style: normal;
    font-weight: 700;
}

.hero-kicker em,
.detail-kicker em {
    color: var(--stone-200);
    background: rgba(255, 255, 255, 0.08);
}

.hero h1 {
    max-width: 860px;
    margin: 0 0 18px;
    color: var(--white);
    font-size: clamp(2.6rem, 8vw, 5.8rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
    text-shadow: 0 14px 40px rgba(0, 0, 0, 0.46);
}

.hero p {
    max-width: 720px;
    margin: 0 0 28px;
    color: var(--stone-300);
    font-size: clamp(1rem, 2.1vw, 1.28rem);
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

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

.primary-button {
    color: #1c1917;
    background: linear-gradient(135deg, var(--amber-300), var(--amber-600));
    box-shadow: 0 18px 38px rgba(245, 158, 11, 0.28);
}

.primary-button:hover,
.ghost-button:hover {
    transform: translateY(-2px);
}

.ghost-button {
    color: var(--amber-100);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: var(--white);
    background: rgba(0, 0, 0, 0.42);
    transform: translateY(-50%);
    transition: background 0.2s ease, color 0.2s ease;
}

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

.hero-prev {
    left: 24px;
}

.hero-next {
    right: 24px;
}

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

.hero-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.42);
    transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.is-active {
    width: 28px;
    background: var(--amber-400);
}

.page-stack {
    padding: 52px 0 72px;
}

.page-stack > * + * {
    margin-top: 44px;
}

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

.section-heading h2 {
    margin: 0;
    color: var(--amber-100);
    font-size: clamp(1.7rem, 4vw, 2.45rem);
    line-height: 1.15;
}

.section-heading p {
    max-width: 560px;
    margin: 0;
    color: var(--stone-400);
    line-height: 1.7;
}

.search-panel {
    padding: 14px;
    border: 1px solid rgba(251, 191, 36, 0.16);
    border-radius: 22px;
    background: rgba(28, 25, 23, 0.8);
    box-shadow: var(--shadow-soft);
}

.search-panel input {
    width: 100%;
    height: 54px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    outline: none;
    color: var(--stone-100, #f5f5f4);
    background: rgba(12, 10, 9, 0.92);
}

.search-panel input:focus {
    border-color: rgba(251, 191, 36, 0.48);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.12);
}

.horizontal-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(210px, 248px);
    gap: 18px;
    overflow-x: auto;
    padding: 4px 2px 18px;
    scroll-snap-type: x proximity;
}

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

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

.movie-card {
    display: block;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    background: var(--stone-800);
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    scroll-snap-align: start;
}

.movie-card:hover {
    transform: translateY(-5px);
    border-color: rgba(251, 191, 36, 0.28);
    background: #302b28;
    box-shadow: var(--shadow-heavy);
}

.poster-frame {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(120, 53, 15, 0.65), rgba(12, 10, 9, 0.9));
}

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

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

.poster-layer {
    position: absolute;
    inset: 0;
    opacity: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.08));
    transition: opacity 0.25s ease;
}

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

.type-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    padding: 5px 9px;
    border-radius: 999px;
    color: #1c1917;
    background: var(--amber-400);
    font-size: 0.76rem;
    font-weight: 900;
}

.card-hover-text {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 2;
    opacity: 0;
    padding: 10px;
    border-radius: 12px;
    color: var(--stone-200);
    background: rgba(0, 0, 0, 0.62);
    font-size: 0.8rem;
    line-height: 1.55;
    backdrop-filter: blur(6px);
    transition: opacity 0.25s ease;
}

.movie-card:hover .card-hover-text {
    opacity: 1;
}

.movie-card-body {
    display: grid;
    gap: 9px;
    padding: 14px;
}

.movie-card-body strong {
    overflow: hidden;
    color: var(--stone-100, #f5f5f4);
    font-size: 1rem;
    white-space: nowrap;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.movie-card:hover .movie-card-body strong {
    color: var(--amber-300);
}

.movie-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--stone-400);
    font-size: 0.86rem;
}

.movie-meta em {
    color: var(--stone-500);
    font-style: normal;
}

.tag-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.tag-row span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 2px 8px;
    border-radius: 999px;
    color: var(--amber-200);
    background: rgba(120, 53, 15, 0.26);
    font-size: 0.75rem;
}

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

.category-tile,
.category-overview-card {
    position: relative;
    min-height: 220px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    background: var(--stone-800);
    box-shadow: var(--shadow-soft);
}

.category-tile img,
.category-overview-card img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.category-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(0deg, rgba(12, 10, 9, 0.92), rgba(12, 10, 9, 0.2)),
        linear-gradient(135deg, rgba(180, 83, 9, 0.28), rgba(12, 10, 9, 0.1));
}

.category-tile strong,
.category-overview-card strong {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 72px;
    z-index: 2;
    color: var(--amber-100);
    font-size: 1.28rem;
}

.category-tile em,
.category-overview-card em {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 20px;
    z-index: 2;
    color: var(--stone-300);
    font-style: normal;
    line-height: 1.55;
}

.category-overview-card small {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.category-overview-card small span {
    padding: 4px 8px;
    border-radius: 999px;
    color: var(--amber-100);
    background: rgba(0, 0, 0, 0.4);
}

.category-overview-card em {
    bottom: 74px;
}

.category-overview-card {
    min-height: 280px;
}

.sub-hero {
    padding: 96px 0 70px;
    background:
        radial-gradient(circle at 18% 8%, rgba(245, 158, 11, 0.28), transparent 28rem),
        linear-gradient(135deg, rgba(28, 25, 23, 0.94), rgba(12, 10, 9, 0.98));
    border-bottom: 1px solid rgba(251, 191, 36, 0.14);
}

.sub-hero span {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 6px 13px;
    border-radius: 999px;
    color: var(--amber-100);
    background: rgba(180, 83, 9, 0.28);
    font-weight: 800;
}

.sub-hero h1 {
    max-width: 850px;
    margin: 0 0 18px;
    color: var(--white);
    font-size: clamp(2.2rem, 6vw, 4.8rem);
    line-height: 1.05;
}

.sub-hero p {
    max-width: 760px;
    margin: 0;
    color: var(--stone-300);
    font-size: 1.12rem;
    line-height: 1.8;
}

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
    color: var(--stone-400);
}

.breadcrumb a {
    color: var(--amber-300);
}

.breadcrumb em {
    color: var(--stone-500);
    font-style: normal;
}

.breadcrumb strong {
    color: var(--stone-200);
    font-weight: 700;
}

.year-groups {
    display: grid;
    gap: 28px;
}

.year-block {
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 26px;
    background: rgba(28, 25, 23, 0.64);
}

.year-block h3 {
    margin: 0 0 16px;
    color: var(--amber-300);
    font-size: 1.5rem;
}

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

.latest-row {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 18px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    background: rgba(28, 25, 23, 0.86);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.latest-row:hover {
    transform: translateY(-2px);
    border-color: rgba(251, 191, 36, 0.25);
    background: var(--stone-800);
}

.latest-row img {
    width: 96px;
    height: 128px;
    border-radius: 14px;
    object-fit: cover;
}

.latest-row span {
    display: grid;
    align-content: center;
    gap: 8px;
}

.latest-row strong {
    color: var(--stone-100, #f5f5f4);
    font-size: 1.16rem;
}

.latest-row em {
    color: var(--stone-400);
    font-style: normal;
    line-height: 1.6;
}

.latest-row small {
    color: var(--amber-300);
}

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

.rank-row {
    display: grid;
    grid-template-columns: 58px 82px 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    background: rgba(28, 25, 23, 0.84);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.rank-row:hover {
    transform: translateY(-2px);
    border-color: rgba(251, 191, 36, 0.25);
    background: var(--stone-800);
}

.rank-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 16px;
    color: var(--stone-300);
    background: rgba(255, 255, 255, 0.08);
    font-weight: 900;
}

.top-rank .rank-number {
    color: #1c1917;
    background: linear-gradient(135deg, var(--amber-300), var(--amber-700));
}

.rank-row img {
    width: 82px;
    height: 110px;
    border-radius: 14px;
    object-fit: cover;
}

.rank-info {
    display: grid;
    gap: 7px;
}

.rank-info strong {
    color: var(--stone-100, #f5f5f4);
    font-size: 1.1rem;
}

.rank-info em {
    color: var(--stone-400);
    font-style: normal;
    line-height: 1.55;
}

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

.rank-heat {
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--amber-100);
    background: rgba(120, 53, 15, 0.38);
    font-weight: 800;
}

.detail-layout {
    padding: 34px 0 72px;
}

.detail-breadcrumb {
    margin: 0 0 22px;
}

.detail-card {
    overflow: hidden;
    border: 1px solid rgba(251, 191, 36, 0.14);
    border-radius: 30px;
    background: rgba(28, 25, 23, 0.84);
    box-shadow: var(--shadow-heavy);
}

.player-shell {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background:
        radial-gradient(circle at center, rgba(245, 158, 11, 0.16), transparent 22rem),
        #000000;
}

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

.play-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    color: var(--white);
    background: rgba(0, 0, 0, 0.42);
    transition: opacity 0.22s ease, visibility 0.22s ease, background 0.22s ease;
}

.play-overlay:hover {
    background: rgba(0, 0, 0, 0.28);
}

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

.play-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    padding-left: 7px;
    border-radius: 999px;
    color: #1c1917;
    background: linear-gradient(135deg, var(--amber-300), var(--amber-600));
    box-shadow: 0 22px 48px rgba(245, 158, 11, 0.34);
    font-size: 2rem;
}

.detail-content {
    display: grid;
    grid-template-columns: minmax(210px, 300px) 1fr;
    gap: 34px;
    padding: 34px;
}

.detail-cover img {
    width: 100%;
    border-radius: 22px;
    object-fit: cover;
    box-shadow: var(--shadow-soft);
}

.detail-text h1 {
    margin: 0 0 14px;
    color: var(--white);
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.08;
}

.one-line {
    margin: 0 0 18px;
    color: var(--amber-100);
    font-size: 1.1rem;
    line-height: 1.75;
}

.detail-tags {
    margin-bottom: 26px;
}

.detail-text h2 {
    margin: 26px 0 10px;
    color: var(--amber-200);
    font-size: 1.42rem;
}

.detail-text p {
    color: var(--stone-300);
    line-height: 1.9;
}

.detail-nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 0 34px 34px;
}

.detail-nav-links a {
    overflow: hidden;
    padding: 14px 16px;
    border-radius: 16px;
    color: var(--amber-100);
    background: rgba(120, 53, 15, 0.28);
    white-space: nowrap;
    text-overflow: ellipsis;
}

.related-section {
    margin-top: 52px;
}

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

.movie-card.is-compact .movie-card-body {
    padding: 12px;
}

.site-footer {
    border-top: 1px solid rgba(251, 191, 36, 0.13);
    background: #090807;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 30px;
    padding: 42px 0;
}

.site-footer p {
    max-width: 560px;
    color: var(--stone-400);
    line-height: 1.7;
}

.site-footer h3 {
    margin: 0 0 13px;
    color: var(--amber-100);
}

.site-footer a:not(.footer-logo) {
    display: block;
    margin: 8px 0;
    color: var(--stone-400);
}

.site-footer a:hover {
    color: var(--amber-300);
}

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

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

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

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

    .mobile-nav-toggle {
        display: inline-flex;
    }

    .hero {
        height: 74vh;
        min-height: 560px;
    }

    .hero-arrow {
        display: none;
    }

    .section-heading {
        display: block;
    }

    .section-heading p {
        margin-top: 10px;
    }

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

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

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

    .rank-heat {
        grid-column: 3 / 4;
        justify-self: start;
    }

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

    .detail-cover {
        max-width: 260px;
    }

    .detail-nav-links {
        grid-template-columns: 1fr;
        padding: 0 22px 22px;
    }

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

@media (max-width: 560px) {
    .container,
    .site-header-inner,
    .mobile-nav-panel {
        width: min(100% - 22px, 1180px);
    }

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

    .hero {
        min-height: 540px;
    }

    .hero-content {
        bottom: 54px;
    }

    .hero h1 {
        font-size: 2.45rem;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
        width: min(100%, 310px);
    }

    .primary-button,
    .ghost-button {
        width: 100%;
    }

    .page-stack {
        padding: 34px 0 52px;
    }

    .horizontal-rail {
        grid-auto-columns: minmax(174px, 198px);
    }

    .movie-grid,
    .small-grid,
    .related-grid,
    .category-grid,
    .category-overview-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .movie-card-body {
        padding: 11px;
    }

    .tag-row span:nth-child(n + 3) {
        display: none;
    }

    .latest-row {
        grid-template-columns: 78px 1fr;
        gap: 12px;
    }

    .latest-row img {
        width: 78px;
        height: 108px;
    }

    .rank-row {
        grid-template-columns: 38px 62px 1fr;
        gap: 10px;
        padding: 10px;
    }

    .rank-row img {
        width: 62px;
        height: 86px;
    }

    .rank-number {
        width: 34px;
        height: 34px;
        border-radius: 12px;
        font-size: 0.86rem;
    }

    .rank-info em {
        display: none;
    }

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

    .detail-card {
        border-radius: 22px;
    }

    .play-button {
        width: 72px;
        height: 72px;
        font-size: 1.55rem;
    }
}
