:root {
    color-scheme: light;
    --pink-50: #fff1f7;
    --pink-100: #ffe4ef;
    --pink-200: #ffc7dd;
    --pink-500: #ec4899;
    --pink-600: #db2777;
    --purple-600: #7c3aed;
    --rose-600: #e11d48;
    --slate-950: #0f172a;
    --slate-800: #1f2937;
    --slate-700: #334155;
    --slate-500: #64748b;
    --slate-200: #e2e8f0;
    --white: #ffffff;
    --card: rgba(255, 255, 255, 0.92);
    --shadow: 0 24px 60px rgba(219, 39, 119, 0.16);
    --soft-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
    --radius-xl: 30px;
    --radius-lg: 22px;
    --max-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--slate-800);
    background:
        radial-gradient(circle at top left, rgba(236, 72, 153, 0.18), transparent 34rem),
        radial-gradient(circle at top right, rgba(124, 58, 237, 0.16), transparent 30rem),
        linear-gradient(180deg, #fff7fb 0%, #ffffff 45%, #f8fafc 100%);
}

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

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

button,
input {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(244, 114, 182, 0.24);
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(20px);
    transition: box-shadow 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.header-inner,
.footer-grid,
.footer-bottom,
.section-wrap,
.page-main,
.detail-main,
.text-page {
    width: min(var(--max-width), calc(100% - 32px));
    margin: 0 auto;
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 22px;
    min-height: 74px;
}

.site-logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--slate-950);
}

.site-logo span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    color: white;
    background: linear-gradient(135deg, var(--pink-600), var(--purple-600));
    box-shadow: 0 14px 28px rgba(219, 39, 119, 0.28);
}

.site-logo strong {
    white-space: nowrap;
    font-size: 1.08rem;
}

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

.desktop-nav a {
    padding: 10px 13px;
    border-radius: 999px;
    color: var(--slate-700);
    font-weight: 700;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
    color: var(--pink-600);
    background: var(--pink-50);
    transform: translateY(-1px);
}

.header-search,
.hero-search,
.inline-filter,
.mobile-panel form {
    display: flex;
    align-items: center;
    border: 1px solid rgba(244, 114, 182, 0.35);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 26px rgba(236, 72, 153, 0.1);
    overflow: hidden;
}

.header-search input,
.hero-search input,
.inline-filter input,
.mobile-panel input {
    width: 190px;
    border: 0;
    outline: 0;
    padding: 11px 14px;
    background: transparent;
    color: var(--slate-700);
}

.header-search button,
.hero-search button,
.inline-filter button,
.mobile-panel button,
.primary-btn,
.ghost-btn {
    border: 0;
    cursor: pointer;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search button,
.hero-search button,
.inline-filter button,
.mobile-panel button,
.primary-btn {
    color: white;
    background: linear-gradient(135deg, var(--pink-600), var(--rose-600));
    box-shadow: 0 14px 30px rgba(225, 29, 72, 0.25);
}

.header-search button,
.hero-search button,
.inline-filter button,
.mobile-panel button {
    margin-right: 4px;
    padding: 9px 16px;
}

.header-search button:hover,
.hero-search button:hover,
.inline-filter button:hover,
.mobile-panel button:hover,
.primary-btn:hover,
.ghost-btn:hover {
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    border: 0;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    color: var(--slate-800);
    background: var(--pink-50);
    cursor: pointer;
}

.mobile-panel {
    display: none;
    width: min(var(--max-width), calc(100% - 32px));
    margin: 0 auto 16px;
    padding: 16px;
    border: 1px solid rgba(244, 114, 182, 0.25);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--soft-shadow);
}

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

.mobile-panel form {
    margin-bottom: 14px;
}

.mobile-panel input {
    width: 100%;
}

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

.mobile-panel nav a {
    padding: 12px 14px;
    border-radius: 14px;
    color: var(--slate-700);
    background: var(--pink-50);
    font-weight: 800;
}

.hero-carousel {
    position: relative;
    width: min(1240px, calc(100% - 32px));
    margin: 26px auto 52px;
    overflow: hidden;
    border-radius: 36px;
    min-height: 620px;
    box-shadow: var(--shadow);
    background: var(--slate-950);
}

.hero-track {
    position: relative;
    min-height: 620px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
    align-items: center;
    gap: 40px;
    padding: 66px;
    opacity: 0;
    pointer-events: none;
    transform: scale(1.02);
    transition: opacity 0.65s ease, transform 0.65s ease;
    background-image:
        linear-gradient(90deg, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.68) 48%, rgba(219, 39, 119, 0.3)),
        var(--hero-bg);
    background-size: cover;
    background-position: center;
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.hero-copy {
    position: relative;
    z-index: 2;
    color: white;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--pink-600);
    font-size: 0.84rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-copy .eyebrow,
.page-hero .eyebrow,
.detail-info .eyebrow {
    color: #f9a8d4;
}

.hero-copy h2 {
    max-width: 760px;
    margin: 0 0 18px;
    font-size: clamp(2.6rem, 7vw, 5.8rem);
    line-height: 0.96;
    letter-spacing: -0.07em;
}

.hero-copy p {
    max-width: 680px;
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.08rem;
    line-height: 1.9;
}

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

.hero-tags span,
.tag-row span,
.filter-chips button {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 11px;
    border-radius: 999px;
    color: var(--pink-600);
    background: rgba(252, 231, 243, 0.92);
    font-size: 0.78rem;
    font-weight: 800;
}

.hero-copy .hero-tags span,
.detail-info .hero-tags span {
    color: white;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
}

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

.primary-btn,
.ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
}

.ghost-btn {
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(14px);
}

.detail-info .ghost-btn,
.page-hero .ghost-btn {
    color: var(--pink-600);
    border-color: rgba(236, 72, 153, 0.25);
    background: rgba(255, 255, 255, 0.78);
}

.hero-poster {
    position: relative;
    z-index: 2;
    justify-self: center;
    width: min(390px, 100%);
    border: 10px solid rgba(255, 255, 255, 0.16);
    border-radius: 34px;
    overflow: hidden;
    box-shadow: 0 36px 80px rgba(0, 0, 0, 0.42);
    transform: rotate(2deg);
}

.hero-poster img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

.hero-bar {
    position: absolute;
    left: 30px;
    right: 30px;
    bottom: 28px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 24px;
    color: white;
    background: rgba(15, 23, 42, 0.58);
    backdrop-filter: blur(18px);
}

.hero-bar h1 {
    margin: 0 0 4px;
    font-size: clamp(1.08rem, 2.5vw, 1.55rem);
}

.hero-bar p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92rem;
}

.hero-search input {
    width: min(350px, 36vw);
    color: white;
}

.hero-search input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.hero-search {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.12);
}

.hero-dots {
    position: absolute;
    z-index: 6;
    right: 50px;
    top: 46px;
    display: flex;
    gap: 8px;
}

.hero-dots button {
    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-dots button.is-active {
    width: 34px;
    background: white;
}

.section-wrap {
    margin-top: 56px;
}

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

.section-heading.single {
    display: block;
}

.section-heading span {
    display: block;
    margin-bottom: 5px;
    color: var(--pink-600);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.section-heading h2 {
    margin: 0;
    color: var(--slate-950);
    font-size: clamp(1.6rem, 4vw, 2.35rem);
    letter-spacing: -0.05em;
}

.section-heading a {
    flex: 0 0 auto;
    color: var(--pink-600);
    font-weight: 900;
}

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

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

.movie-card {
    overflow: hidden;
    border: 1px solid rgba(244, 114, 182, 0.18);
    border-radius: 26px;
    background: var(--card);
    box-shadow: var(--soft-shadow);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
    transform: translateY(-7px);
    border-color: rgba(236, 72, 153, 0.38);
    box-shadow: 0 28px 54px rgba(219, 39, 119, 0.18);
}

.movie-cover {
    position: relative;
    display: block;
    overflow: hidden;
    background: linear-gradient(135deg, var(--pink-100), #ede9fe);
}

.movie-cover img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    transition: transform 0.28s ease, filter 0.28s ease;
}

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

.movie-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    color: white;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(10px);
    font-size: 0.78rem;
    font-weight: 900;
}

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

.movie-meta-line {
    margin-bottom: 8px;
    color: var(--pink-600);
    font-size: 0.78rem;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.movie-card h3 {
    margin: 0 0 9px;
    color: var(--slate-950);
    font-size: 1.05rem;
    line-height: 1.35;
}

.movie-card p {
    margin: 0 0 13px;
    color: var(--slate-500);
    line-height: 1.65;
    font-size: 0.92rem;
}

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

.category-tile,
.category-overview-card {
    overflow: hidden;
    border: 1px solid rgba(244, 114, 182, 0.18);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--soft-shadow);
}

.category-link,
.category-overview-card > a {
    display: block;
    padding: 22px;
}

.category-covers {
    display: flex;
    margin-bottom: 20px;
}

.category-covers img {
    width: 31%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border: 5px solid white;
    border-radius: 18px;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.14);
}

.category-covers img + img {
    margin-left: -7%;
}

.category-tile span,
.category-overview-card span {
    color: var(--pink-600);
    font-weight: 900;
}

.category-tile h3,
.category-overview-card h2 {
    margin: 8px 0 10px;
    color: var(--slate-950);
    font-size: 1.45rem;
}

.category-tile p,
.category-overview-card p {
    margin: 0;
    color: var(--slate-500);
    line-height: 1.75;
}

.category-tile ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0 22px 22px;
    list-style: none;
}

.category-tile li a,
.mini-links a {
    color: var(--slate-700);
    font-weight: 700;
}

.mini-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 22px 22px;
}

.mini-links a {
    padding: 7px 10px;
    border-radius: 999px;
    background: var(--pink-50);
    font-size: 0.86rem;
}

.ranking-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ranking-full {
    grid-template-columns: 1fr;
}

.rank-item {
    display: grid;
    grid-template-columns: auto 78px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 14px;
    border: 1px solid rgba(244, 114, 182, 0.18);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--soft-shadow);
}

.rank-number {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    color: white;
    background: linear-gradient(135deg, var(--pink-600), var(--purple-600));
    font-weight: 900;
}

.rank-thumb {
    overflow: hidden;
    border-radius: 16px;
}

.rank-thumb img {
    width: 78px;
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

.rank-title {
    display: inline-block;
    margin-bottom: 6px;
    color: var(--slate-950);
    font-weight: 900;
}

.rank-meta {
    color: var(--slate-500);
    font-size: 0.88rem;
}

.rank-item p {
    margin: 8px 0 0;
    color: var(--slate-500);
    line-height: 1.65;
}

.page-main {
    padding-top: 30px;
}

.page-hero {
    position: relative;
    overflow: hidden;
    margin: 0 0 44px;
    padding: 58px;
    border-radius: 34px;
    color: white;
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(219, 39, 119, 0.72)),
        radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.28), transparent 20rem);
    box-shadow: var(--shadow);
}

.page-hero h1 {
    max-width: 760px;
    margin: 0 0 14px;
    font-size: clamp(2.2rem, 6vw, 4.4rem);
    line-height: 1;
    letter-spacing: -0.07em;
}

.page-hero p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.05rem;
    line-height: 1.8;
}

.inline-filter {
    width: min(560px, 100%);
    margin-top: 24px;
}

.inline-filter input {
    width: 100%;
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.filter-chips button {
    border: 0;
    cursor: pointer;
}

.no-results {
    display: none;
    margin-top: 24px;
    padding: 28px;
    border-radius: 24px;
    color: var(--slate-500);
    background: rgba(255, 255, 255, 0.82);
    text-align: center;
    font-weight: 800;
}

.no-results.is-visible {
    display: block;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 28px 0 20px;
    color: var(--slate-500);
    font-weight: 800;
}

.breadcrumbs a {
    color: var(--pink-600);
}

.detail-hero {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 34px;
    align-items: center;
    padding: 34px;
    border-radius: 34px;
    color: white;
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(124, 58, 237, 0.55), rgba(219, 39, 119, 0.72));
    box-shadow: var(--shadow);
}

.detail-poster {
    overflow: hidden;
    border: 8px solid rgba(255, 255, 255, 0.18);
    border-radius: 28px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
}

.detail-poster img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

.detail-info h1 {
    margin: 0 0 18px;
    font-size: clamp(2.2rem, 6vw, 4.8rem);
    line-height: 1;
    letter-spacing: -0.07em;
}

.detail-lead {
    max-width: 780px;
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.08rem;
    line-height: 1.85;
}

.player-section {
    margin-top: 38px;
}

.player-frame {
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    background: #020617;
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.24);
}

.player-frame video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #020617;
}

.player-cover {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-items: center;
    gap: 14px;
    border: 0;
    color: white;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.66), rgba(219, 39, 119, 0.34));
    cursor: pointer;
    transition: opacity 0.24s ease, visibility 0.24s ease;
}

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

.play-icon {
    display: grid;
    place-items: center;
    width: 82px;
    height: 82px;
    border-radius: 999px;
    color: var(--pink-600);
    background: white;
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.3);
    font-size: 2rem;
}

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

.detail-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 26px;
    margin-top: 38px;
}

.detail-content article,
.movie-facts,
.text-page {
    border: 1px solid rgba(244, 114, 182, 0.18);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--soft-shadow);
}

.detail-content article,
.movie-facts {
    padding: 28px;
}

.detail-content h2,
.movie-facts h2,
.text-page h2 {
    margin: 0 0 14px;
    color: var(--slate-950);
    letter-spacing: -0.04em;
}

.detail-content p,
.text-page p {
    margin: 0 0 22px;
    color: var(--slate-700);
    line-height: 1.92;
}

.movie-facts dl {
    margin: 0;
}

.movie-facts div {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
    padding: 13px 0;
    border-bottom: 1px solid var(--slate-200);
}

.movie-facts div:last-child {
    border-bottom: 0;
}

.movie-facts dt {
    color: var(--slate-500);
    font-weight: 900;
}

.movie-facts dd {
    margin: 0;
    color: var(--slate-800);
    font-weight: 800;
}

.related-wrap {
    margin-bottom: 56px;
}

.text-page {
    padding: 34px;
    margin-bottom: 60px;
}

.site-footer {
    margin-top: 72px;
    border-top: 1px solid rgba(244, 114, 182, 0.2);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.66), rgba(248, 250, 252, 0.95));
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 34px;
    padding: 46px 0 30px;
}

.footer-logo {
    margin-bottom: 14px;
    font-size: 1.25rem;
}

.site-footer p {
    max-width: 460px;
    margin: 0;
    color: var(--slate-500);
    line-height: 1.75;
}

.site-footer h2 {
    margin: 0 0 14px;
    color: var(--slate-950);
    font-size: 1rem;
}

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

.site-footer a:hover {
    color: var(--pink-600);
}

.footer-bottom {
    padding: 18px 0 30px;
    color: var(--slate-500);
    font-size: 0.9rem;
}

@media (max-width: 1080px) {
    .header-search {
        display: none;
    }

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

    .hero-slide {
        grid-template-columns: 1fr;
        padding: 46px;
    }

    .hero-poster {
        display: none;
    }

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

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

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

    .hero-carousel,
    .hero-track {
        min-height: 680px;
    }

    .hero-slide {
        padding: 34px 24px 140px;
    }

    .hero-bar {
        left: 18px;
        right: 18px;
        bottom: 18px;
        flex-direction: column;
        align-items: stretch;
    }

    .hero-search input {
        width: 100%;
    }

    .hero-dots {
        top: 22px;
        right: 24px;
    }

    .movie-grid,
    .compact-grid,
    .category-grid,
    .category-overview-grid,
    .ranking-list,
    .footer-grid,
    .detail-hero {
        grid-template-columns: 1fr;
    }

    .detail-poster {
        width: min(300px, 100%);
        margin: 0 auto;
    }

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

    .page-hero {
        padding: 38px 24px;
    }
}

@media (max-width: 560px) {
    .header-inner,
    .footer-grid,
    .footer-bottom,
    .section-wrap,
    .page-main,
    .detail-main,
    .text-page {
        width: min(100% - 22px, var(--max-width));
    }

    .site-logo strong {
        font-size: 0.96rem;
    }

    .hero-carousel {
        width: min(100% - 18px, 1240px);
        border-radius: 24px;
    }

    .hero-copy h2,
    .detail-info h1,
    .page-hero h1 {
        letter-spacing: -0.05em;
    }

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

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

    .movie-card p,
    .tag-row {
        display: none;
    }

    .rank-item {
        grid-template-columns: auto 62px minmax(0, 1fr);
    }

    .rank-thumb img {
        width: 62px;
    }

    .detail-hero,
    .detail-content article,
    .movie-facts,
    .text-page {
        padding: 20px;
        border-radius: 22px;
    }
}
