:root {
    --primary-50: #f0f9ff;
    --primary-100: #e0f2fe;
    --primary-400: #38bdf8;
    --primary-500: #0ea5e9;
    --primary-600: #0284c7;
    --primary-700: #0369a1;
    --accent-400: #f59e0b;
    --accent-600: #b45309;
    --neutral-50: #fafafa;
    --neutral-100: #f5f5f5;
    --neutral-200: #e5e5e5;
    --neutral-300: #d4d4d4;
    --neutral-400: #a3a3a3;
    --neutral-500: #737373;
    --neutral-600: #525252;
    --neutral-700: #404040;
    --neutral-800: #262626;
    --neutral-900: #171717;
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.12), 0 8px 10px -6px rgb(0 0 0 / 0.12);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--neutral-800);
    background: linear-gradient(180deg, var(--neutral-50), #ffffff 38%, #ffffff);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", "Microsoft YaHei", sans-serif;
    line-height: 1.5;
}

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

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

button,
input,
select {
    font: inherit;
}

.site-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.08), 0 2px 4px -2px rgb(0 0 0 / 0.08);
    backdrop-filter: blur(12px);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    width: min(100% - 2rem, 80rem);
    height: 4rem;
    margin: 0 auto;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--primary-600);
    font-weight: 800;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary-600), var(--primary-400));
    border-radius: 999px;
    box-shadow: 0 8px 20px rgb(2 132 199 / 0.25);
}

.brand-text {
    font-size: 1.45rem;
    letter-spacing: -0.03em;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: var(--neutral-700);
    font-weight: 600;
}

.nav-menu a {
    transition: color 0.2s ease;
}

.nav-menu a:hover {
    color: var(--primary-600);
}

.nav-search {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    min-width: 17rem;
    border: 1px solid var(--neutral-300);
    border-radius: 999px;
    background: #ffffff;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.nav-search:focus-within {
    border-color: var(--primary-500);
    box-shadow: 0 0 0 4px var(--primary-100);
}

.nav-search input {
    width: 100%;
    border: 0;
    outline: 0;
    padding: 0.55rem 0.9rem;
    color: var(--neutral-800);
}

.nav-search button,
.search-large button {
    border: 0;
    color: #ffffff;
    background: var(--primary-600);
    padding: 0.55rem 1rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.nav-search button:hover,
.search-large button:hover {
    background: var(--primary-700);
}

.nav-toggle {
    display: none;
    border: 0;
    color: var(--neutral-700);
    background: transparent;
    font-size: 1.5rem;
}

.hero-slider {
    position: relative;
    height: 70vh;
    min-height: 500px;
    max-height: 800px;
    overflow: hidden;
    background: var(--neutral-900);
}

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

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

.hero-image,
.detail-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: radial-gradient(circle at top left, #164e63, #020617 60%);
}

img.is-missing {
    visibility: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgb(0 0 0 / 0.82), rgb(0 0 0 / 0.56) 45%, rgb(0 0 0 / 0.12));
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: min(100% - 2rem, 80rem);
    height: 100%;
    margin: 0 auto;
    max-width: 80rem;
    color: #ffffff;
}

.hero-content > * {
    max-width: 44rem;
}

.hero-kicker {
    width: fit-content;
    margin-bottom: 1rem;
    color: var(--primary-400);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-content h1,
.hero-content h2 {
    margin: 0;
    font-size: clamp(2.5rem, 7vw, 4.6rem);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.hero-content p {
    margin: 1.2rem 0 0;
    color: var(--neutral-200);
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    line-height: 1.75;
}

.hero-meta,
.detail-meta,
.meta-row,
.ranking-topline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.hero-meta {
    margin-top: 1.2rem;
    color: var(--neutral-300);
}

.hero-meta span,
.detail-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 1.8rem;
    padding: 0.25rem 0.75rem;
    background: rgb(14 165 233 / 0.24);
    border: 1px solid rgb(255 255 255 / 0.14);
    border-radius: 999px;
    backdrop-filter: blur(8px);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.6rem;
}

.btn-primary,
.btn-ghost,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-primary {
    padding: 0.85rem 1.7rem;
    color: #ffffff;
    background: var(--primary-600);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    background: var(--primary-700);
    box-shadow: var(--shadow-xl);
}

.btn-ghost {
    padding: 0.82rem 1.5rem;
    color: #ffffff;
    border: 1px solid rgb(255 255 255 / 0.45);
    background: rgb(255 255 255 / 0.12);
    backdrop-filter: blur(8px);
}

.btn-ghost:hover {
    background: rgb(255 255 255 / 0.2);
}

.btn-outline {
    padding: 0.75rem 1.2rem;
    color: var(--primary-700);
    border: 1px solid var(--primary-100);
    background: #ffffff;
}

.btn-outline:hover {
    color: #ffffff;
    background: var(--primary-600);
}

.hero-dots {
    position: absolute;
    right: max(1rem, calc((100vw - 80rem) / 2));
    bottom: 2rem;
    z-index: 4;
    display: flex;
    gap: 0.5rem;
}

.hero-dots button {
    width: 0.75rem;
    height: 0.75rem;
    border: 0;
    border-radius: 999px;
    background: rgb(255 255 255 / 0.45);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

.hero-dots button.is-active {
    width: 2rem;
    background: #ffffff;
}

.content-section {
    width: min(100% - 2rem, 80rem);
    margin: 0 auto;
    padding: 4rem 0;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
}

.section-heading h2 {
    margin: 0;
    color: var(--neutral-900);
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.section-heading p {
    margin: 0.45rem 0 0;
    color: var(--neutral-600);
}

.section-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--primary-600);
    font-weight: 800;
}

.grid {
    display: grid;
    gap: 1.5rem;
}

.cards-large {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

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

.movie-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--neutral-100);
    border-radius: 1rem;
    box-shadow: 0 1px 2px rgb(0 0 0 / 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-0.25rem);
    box-shadow: var(--shadow-xl);
}

.card-cover {
    position: relative;
    display: block;
    overflow: hidden;
    background: radial-gradient(circle at 20% 20%, #38bdf8, #0f172a 70%);
}

.poster-cover {
    aspect-ratio: 3 / 4;
}

.wide-cover {
    aspect-ratio: 16 / 9;
}

.horizontal-cover {
    width: 12rem;
    min-height: 100%;
    flex: 0 0 12rem;
}

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

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

.play-badge {
    position: absolute;
    left: 50%;
    top: 50%;
    display: grid;
    place-items: center;
    width: 3.25rem;
    height: 3.25rem;
    color: #ffffff;
    background: rgb(14 165 233 / 0.88);
    border-radius: 999px;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.year-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.2rem 0.55rem;
    color: #ffffff;
    background: rgb(0 0 0 / 0.7);
    border-radius: 999px;
    font-size: 0.78rem;
    backdrop-filter: blur(6px);
}

.card-body {
    padding: 1rem;
}

.card-large .card-body {
    padding: 1.35rem;
}

.meta-row,
.ranking-topline {
    color: var(--neutral-500);
    font-size: 0.82rem;
}

.meta-row span:first-child,
.ranking-topline span:not(.rank-number) {
    color: var(--primary-700);
    background: var(--primary-100);
    border-radius: 999px;
    padding: 0.18rem 0.55rem;
    font-weight: 700;
}

.movie-card h3 {
    margin: 0.65rem 0 0.45rem;
    color: var(--neutral-800);
    font-size: 1rem;
    line-height: 1.35;
    font-weight: 800;
}

.card-large h3 {
    font-size: 1.25rem;
}

.movie-card h3 a:hover,
.ranking-row h2 a:hover {
    color: var(--primary-600);
}

.movie-card p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.7em;
    margin: 0;
    color: var(--neutral-600);
    font-size: 0.92rem;
}

.card-large p {
    -webkit-line-clamp: 3;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.9rem;
}

.tag-row span {
    display: inline-flex;
    color: var(--accent-600);
    background: #fffbeb;
    border-radius: 999px;
    padding: 0.22rem 0.6rem;
    font-size: 0.8rem;
    font-weight: 700;
}

.highlight-panel {
    width: min(100% - 2rem, 80rem);
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-50), #eef2ff);
    border-radius: 1.5rem;
}

.split-layout,
.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(18rem, 1fr);
    gap: 2rem;
}

.horizontal-list {
    display: grid;
    gap: 1.2rem;
}

.card-horizontal {
    display: flex;
    min-height: 10rem;
}

.ranking-box {
    position: sticky;
    top: 5.5rem;
    align-self: start;
    padding: 2rem;
    color: #ffffff;
    background: linear-gradient(135deg, var(--neutral-800), var(--neutral-900));
    border-radius: 1.5rem;
    box-shadow: var(--shadow-xl);
}

.ranking-box h2 {
    margin: 0;
    font-size: 1.65rem;
}

.ranking-box p {
    margin: 0.5rem 0 1rem;
    color: var(--neutral-300);
}

.rank-list,
.ranking-list-page {
    display: grid;
    gap: 0.75rem;
}

.rank-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgb(255 255 255 / 0.12);
}

.rank-number {
    color: var(--accent-400);
    font-weight: 900;
}

.rank-title {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: 700;
}

.rank-type {
    color: var(--neutral-400);
    font-size: 0.82rem;
}

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

.category-tile,
.category-card {
    overflow: hidden;
    padding: 1.5rem;
    background: #ffffff;
    border: 1px solid var(--neutral-100);
    border-radius: 1.25rem;
    box-shadow: var(--shadow-lg);
}

.category-tile > a,
.category-card > a {
    display: grid;
    gap: 0.65rem;
}

.category-tile span,
.category-name {
    color: var(--primary-600);
    font-weight: 900;
    font-size: 1.25rem;
}

.category-tile strong,
.category-card p {
    color: var(--neutral-600);
    font-weight: 500;
}

.category-links {
    display: grid;
    gap: 0.35rem;
    margin-top: 1rem;
}

.category-links a {
    color: var(--neutral-700);
    font-size: 0.92rem;
}

.category-links a:hover {
    color: var(--primary-600);
}

.page-hero,
.detail-hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: radial-gradient(circle at top left, #075985, #0f172a 62%);
}

.compact-hero {
    min-height: 18rem;
    display: grid;
    place-items: center;
    text-align: center;
}

.compact-hero > div {
    width: min(100% - 2rem, 60rem);
}

.compact-hero p {
    margin: 0 0 0.65rem;
    color: var(--primary-400);
    font-weight: 800;
    letter-spacing: 0.06em;
}

.compact-hero h1 {
    margin: 0;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.08;
    font-weight: 900;
}

.compact-hero span {
    display: block;
    max-width: 48rem;
    margin: 1rem auto 0;
    color: var(--neutral-200);
    font-size: 1.05rem;
}

.filter-panel {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: #ffffff;
    border: 1px solid var(--neutral-100);
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

.filter-panel label {
    display: grid;
    gap: 0.35rem;
    color: var(--neutral-600);
    font-weight: 700;
}

.filter-panel input,
.filter-panel select,
.search-large input {
    width: 100%;
    border: 1px solid var(--neutral-300);
    border-radius: 0.8rem;
    outline: 0;
    padding: 0.75rem 0.9rem;
    color: var(--neutral-800);
    background: #ffffff;
}

.filter-panel input:focus,
.filter-panel select:focus,
.search-large input:focus {
    border-color: var(--primary-500);
    box-shadow: 0 0 0 4px var(--primary-100);
}

.detail-hero {
    min-height: 34rem;
}

.detail-bg,
.detail-shade {
    position: absolute;
    inset: 0;
}

.detail-shade {
    background: linear-gradient(90deg, rgb(0 0 0 / 0.9), rgb(0 0 0 / 0.66) 55%, rgb(0 0 0 / 0.26));
}

.detail-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(14rem, 18rem) minmax(0, 1fr);
    align-items: center;
    gap: 2rem;
    width: min(100% - 2rem, 80rem);
    min-height: 34rem;
    margin: 0 auto;
    padding: 3rem 0;
}

.detail-poster {
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: radial-gradient(circle at 20% 20%, #38bdf8, #111827 70%);
    border: 1px solid rgb(255 255 255 / 0.18);
    border-radius: 1.25rem;
    box-shadow: var(--shadow-2xl);
}

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

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    color: var(--neutral-300);
}

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

.detail-intro h1 {
    margin: 1rem 0;
    font-size: clamp(2.3rem, 5vw, 4rem);
    line-height: 1.08;
    font-weight: 900;
}

.detail-intro p {
    max-width: 52rem;
    margin: 0 0 1.2rem;
    color: var(--neutral-200);
    font-size: 1.15rem;
    line-height: 1.8;
}

.detail-meta {
    margin-bottom: 1.5rem;
}

.player-card,
.article-card,
.side-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--neutral-100);
    border-radius: 1.25rem;
    box-shadow: var(--shadow-lg);
}

.video-shell {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000000;
}

.video-player {
    width: 100%;
    height: 100%;
    background: #000000;
}

.play-trigger {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    border: 0;
    color: #ffffff;
    background: radial-gradient(circle, rgb(0 0 0 / 0.08), rgb(0 0 0 / 0.55));
    cursor: pointer;
}

.play-trigger span {
    display: grid;
    place-items: center;
    width: 5rem;
    height: 5rem;
    padding-left: 0.25rem;
    background: var(--primary-600);
    border-radius: 999px;
    box-shadow: var(--shadow-2xl);
    font-size: 2rem;
}

.player-card.is-playing .play-trigger {
    display: none;
}

.player-title,
.article-card,
.side-card {
    padding: 1.4rem;
}

.player-title h2,
.article-card h2,
.side-card h2 {
    margin: 0 0 0.6rem;
    color: var(--neutral-900);
    font-size: 1.35rem;
    font-weight: 900;
}

.player-title p,
.article-card p,
.side-card dd {
    margin: 0;
    color: var(--neutral-600);
    line-height: 1.85;
}

.article-card {
    margin-top: 1.5rem;
}

.article-card h2 + p {
    margin-bottom: 1.5rem;
}

.detail-side {
    display: grid;
    align-content: start;
    gap: 1.5rem;
}

.side-card dl {
    display: grid;
    grid-template-columns: 4rem 1fr;
    gap: 0.65rem 1rem;
    margin: 0;
}

.side-card dt {
    color: var(--neutral-500);
    font-weight: 800;
}

.detail-tags {
    margin-top: 0.6rem;
}

.ranking-row {
    display: grid;
    grid-template-columns: 8rem minmax(0, 1fr);
    gap: 1.2rem;
    padding: 1rem;
    background: #ffffff;
    border: 1px solid var(--neutral-100);
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

.ranking-cover {
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: radial-gradient(circle at 20% 20%, #38bdf8, #0f172a 70%);
    border-radius: 0.8rem;
}

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

.ranking-row h2 {
    margin: 0.6rem 0 0.4rem;
    color: var(--neutral-900);
    font-size: 1.35rem;
}

.ranking-row p {
    margin: 0;
    color: var(--neutral-600);
    line-height: 1.7;
}

.search-panel {
    margin-bottom: 2rem;
    padding: 1.2rem;
    background: #ffffff;
    border: 1px solid var(--neutral-100);
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

.search-large {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.75rem;
}

.search-large button {
    border-radius: 0.8rem;
    padding-inline: 1.4rem;
}

.search-summary {
    margin-top: 0.75rem;
    color: var(--neutral-600);
}

.site-footer {
    margin-top: 3rem;
    color: var(--neutral-300);
    background: var(--neutral-900);
}

.footer-inner {
    width: min(100% - 2rem, 80rem);
    margin: 0 auto;
    padding: 3rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-brand p {
    max-width: 32rem;
    color: var(--neutral-400);
}

.site-footer h3 {
    margin: 0 0 1rem;
    color: #ffffff;
}

.site-footer ul {
    display: grid;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer a:hover {
    color: var(--primary-400);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.4rem;
    border-top: 1px solid rgb(255 255 255 / 0.08);
    color: var(--neutral-500);
    font-size: 0.92rem;
}

.footer-bottom p {
    margin: 0;
}

@media (max-width: 1100px) {
    .cards-large,
    .cards-standard,
    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .ranking-box {
        position: static;
    }
}

@media (max-width: 780px) {
    .nav-inner {
        height: auto;
        min-height: 4rem;
        flex-wrap: wrap;
        padding: 0.65rem 0;
    }

    .nav-toggle {
        display: block;
    }

    .nav-menu,
    .nav-search {
        display: none;
        width: 100%;
    }

    .site-nav.is-open .nav-menu,
    .site-nav.is-open .nav-search {
        display: flex;
    }

    .site-nav.is-open .nav-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 0.2rem;
    }

    .site-nav.is-open .nav-menu a {
        padding: 0.7rem 0;
        border-bottom: 1px solid var(--neutral-100);
    }

    .hero-slider {
        min-height: 560px;
    }

    .hero-overlay {
        background: linear-gradient(180deg, rgb(0 0 0 / 0.72), rgb(0 0 0 / 0.86));
    }

    .hero-content {
        justify-content: end;
        padding-bottom: 5rem;
    }

    .section-heading,
    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .cards-large,
    .cards-standard,
    .category-grid,
    .filter-panel {
        grid-template-columns: 1fr;
    }

    .card-horizontal {
        display: block;
    }

    .horizontal-cover {
        width: 100%;
        aspect-ratio: 16 / 9;
    }

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

    .detail-poster {
        max-width: 16rem;
    }

    .ranking-row {
        grid-template-columns: 5.5rem minmax(0, 1fr);
    }

    .search-large {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .brand-text {
        font-size: 1.15rem;
    }

    .content-section {
        width: min(100% - 1rem, 80rem);
        padding: 2.5rem 0;
    }

    .highlight-panel {
        width: min(100% - 1rem, 80rem);
        padding: 1rem;
    }

    .hero-content h1,
    .hero-content h2,
    .compact-hero h1,
    .detail-intro h1 {
        font-size: 2.2rem;
    }
}
