:root {
    --bg: #f8fafc;
    --text: #111827;
    --muted: #6b7280;
    --line: #e5e7eb;
    --card: #ffffff;
    --red: #dc2626;
    --orange: #f97316;
    --blue: #2563eb;
    --dark: #111827;
    --soft-shadow: 0 16px 45px rgba(15, 23, 42, 0.10);
    --strong-shadow: 0 25px 70px rgba(15, 23, 42, 0.22);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

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

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

button,
input {
    font: inherit;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.9);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

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

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

.brand-mark,
.footer-logo span {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--red), var(--orange));
    color: #fff;
    font-weight: 900;
    box-shadow: 0 14px 28px rgba(220, 38, 38, 0.24);
}

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

.brand-name {
    font-size: 21px;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.brand-line {
    color: var(--muted);
    font-size: 12px;
}

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

.nav-link {
    color: #374151;
    font-weight: 700;
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--blue);
}

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

.header-search,
.mobile-search,
.large-search {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-search input,
.mobile-search input,
.large-search input,
.toolbar-search input {
    border: 1px solid #d1d5db;
    border-radius: 999px;
    background: #fff;
    color: var(--text);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input {
    width: 230px;
    padding: 10px 15px;
}

.header-search input:focus,
.mobile-search input:focus,
.large-search input:focus,
.toolbar-search input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.header-search button,
.mobile-search button,
.large-search button {
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--red), var(--orange));
    color: #fff;
    font-weight: 800;
    cursor: pointer;
    padding: 10px 18px;
    box-shadow: 0 14px 28px rgba(220, 38, 38, 0.18);
}

.menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: #f3f4f6;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.menu-button span {
    width: 21px;
    height: 2px;
    border-radius: 999px;
    background: #111827;
}

.mobile-panel {
    display: none;
    border-top: 1px solid var(--line);
    padding: 16px;
    background: #fff;
}

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

.mobile-search input {
    flex: 1;
    padding: 10px 14px;
}

.mobile-nav {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}

.mobile-link {
    padding: 12px 14px;
    border-radius: 14px;
    font-weight: 800;
    color: #374151;
}

.mobile-link:hover,
.mobile-link.active {
    background: #eff6ff;
    color: var(--blue);
}

.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 610px;
    color: #fff;
    background: linear-gradient(135deg, #b91c1c 0%, #dc2626 46%, #f97316 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 22%, rgba(255, 255, 255, 0.24), transparent 28%),
        radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.20), transparent 24%),
        linear-gradient(90deg, rgba(127, 29, 29, 0.36), transparent 64%);
}

.hero-shell {
    position: relative;
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    min-height: 560px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 480px;
    align-items: center;
    gap: 60px;
    opacity: 0;
    transform: translateX(26px);
    pointer-events: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: inherit;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.hero-copy h1 {
    margin: 22px 0 18px;
    max-width: 720px;
    font-size: clamp(38px, 6vw, 66px);
    line-height: 1.05;
    letter-spacing: -0.06em;
    font-weight: 950;
}

.hero-copy p {
    max-width: 700px;
    margin: 0 0 28px;
    color: #fee2e2;
    font-size: 20px;
}

.hero-actions,
.detail-copy .primary-btn {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

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

.primary-btn {
    padding: 13px 24px;
    background: #fff;
    color: var(--red);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.18);
}

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

.ghost-btn {
    padding: 12px 22px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    background: rgba(255, 255, 255, 0.10);
}

.hero-visual {
    position: relative;
    min-height: 420px;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(135deg, #111827, #7f1d1d 58%, #f97316);
    box-shadow: var(--strong-shadow);
}

.hero-visual img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.hero-visual-shade,
.poster-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.82));
}

.hero-title-card {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    display: grid;
    gap: 6px;
}

.hero-title-card strong {
    font-size: 28px;
    line-height: 1.2;
}

.hero-title-card small {
    color: #e5e7eb;
}

.hero-dots {
    position: absolute;
    left: 0;
    bottom: 30px;
    display: flex;
    gap: 8px;
}

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

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

.hero-category-strip {
    position: relative;
    width: min(1200px, calc(100% - 32px));
    margin: -34px auto 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.hero-category-strip a {
    padding: 18px 20px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    color: #111827;
    font-weight: 900;
    text-align: center;
    box-shadow: var(--soft-shadow);
}

.page-wrap {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
}

.top-space {
    padding-top: 44px;
}

.content-section {
    margin: 58px 0;
}

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

.section-heading h2 {
    margin: 0;
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.2;
    letter-spacing: -0.04em;
}

.section-heading p {
    margin: 8px 0 0;
    color: var(--muted);
}

.section-more {
    padding: 10px 16px;
    background: #fff;
    color: var(--red);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
}

.movie-grid {
    display: grid;
    gap: 22px;
}

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

.movie-card {
    border-radius: 24px;
    background: var(--card);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.16);
}

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

.poster-frame {
    position: relative;
    display: block;
    height: 260px;
    overflow: hidden;
    background: linear-gradient(135deg, #111827, #7f1d1d 52%, #f97316);
}

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

.movie-card:hover .poster-image {
    transform: scale(1.06);
}

.poster-badge {
    position: absolute;
    left: 14px;
    top: 14px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(220, 38, 38, 0.94);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

.movie-info {
    display: grid;
    gap: 8px;
    padding: 17px;
}

.movie-title {
    min-height: 52px;
    color: var(--text);
    font-size: 18px;
    line-height: 1.35;
    font-weight: 900;
}

.movie-meta {
    color: var(--muted);
    font-size: 13px;
}

.movie-desc {
    color: #4b5563;
    font-size: 14px;
}

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

.tag-row span,
.detail-tags span {
    display: inline-flex;
    padding: 4px 8px;
    border-radius: 999px;
    background: #fff1f2;
    color: #be123c;
    font-size: 12px;
    font-weight: 800;
}

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

.category-chip {
    display: grid;
    gap: 8px;
    padding: 22px;
    min-height: 138px;
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--soft-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-chip:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 52px rgba(15, 23, 42, 0.14);
}

.category-chip span {
    font-size: 20px;
    font-weight: 950;
}

.category-chip small {
    color: var(--muted);
    line-height: 1.55;
}

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

.horizontal-list {
    display: grid;
    gap: 16px;
}

.movie-card-horizontal .movie-card-link {
    grid-template-columns: 170px minmax(0, 1fr);
}

.movie-card-horizontal .poster-frame {
    height: 178px;
}

.movie-card-horizontal .movie-title {
    min-height: auto;
}

.ranking-card,
.side-card,
.text-card,
.player-card,
.category-overview-card {
    border-radius: 26px;
    background: #fff;
    box-shadow: var(--soft-shadow);
}

.ranking-card {
    padding: 24px;
    position: sticky;
    top: 96px;
}

.ranking-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.ranking-card-head h2,
.side-card h2,
.text-card h2 {
    margin: 0;
    font-size: 22px;
    line-height: 1.2;
}

.ranking-card-head a {
    color: var(--red);
    font-weight: 900;
}

.rank-list,
.ranking-page-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

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

.rank-item a:hover {
    background: #f9fafb;
    transform: translateX(3px);
}

.rank-num {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #f3f4f6;
    color: #6b7280;
    font-weight: 950;
}

.top-rank .rank-num {
    background: linear-gradient(135deg, var(--red), var(--orange));
    color: #fff;
}

.rank-cover {
    height: 72px;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(135deg, #111827, #7f1d1d, #f97316);
}

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

.rank-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.rank-copy strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 15px;
}

.rank-copy em {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
}

.page-hero {
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    padding: 46px;
    background: linear-gradient(135deg, #b91c1c, #dc2626 52%, #f97316);
    color: #fff;
    box-shadow: var(--strong-shadow);
}

.compact-hero h1 {
    margin: 16px 0 12px;
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.1;
    letter-spacing: -0.05em;
}

.compact-hero p {
    max-width: 780px;
    margin: 0;
    color: #fee2e2;
    font-size: 18px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: #6b7280;
    font-size: 14px;
}

.breadcrumb a {
    color: var(--blue);
    font-weight: 800;
}

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

.category-overview-card {
    padding: 22px;
    display: grid;
    gap: 18px;
}

.category-overview-main {
    display: grid;
    gap: 8px;
}

.category-overview-name {
    font-size: 23px;
    font-weight: 950;
}

.category-overview-desc {
    color: var(--muted);
}

.category-overview-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-overview-links a {
    padding: 6px 10px;
    border-radius: 999px;
    background: #f3f4f6;
    color: #374151;
    font-size: 13px;
    font-weight: 800;
}

.catalog-toolbar {
    display: grid;
    grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    margin: 28px 0 34px;
}

.toolbar-search input {
    width: 100%;
    padding: 13px 18px;
}

.toolbar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.toolbar-tags button {
    border: 0;
    border-radius: 999px;
    padding: 10px 15px;
    background: #fff;
    color: #374151;
    font-weight: 900;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
    cursor: pointer;
}

.toolbar-tags button.active,
.toolbar-tags button:hover {
    background: var(--red);
    color: #fff;
}

.empty-state {
    display: none;
    padding: 36px;
    margin-top: 18px;
    border-radius: 24px;
    background: #fff;
    color: var(--muted);
    text-align: center;
    font-weight: 800;
}

.empty-state.is-visible {
    display: block;
}

.large-search {
    max-width: 640px;
    margin-top: 24px;
}

.large-search input {
    flex: 1;
    padding: 14px 18px;
}

.ranking-page-section {
    max-width: 840px;
}

.ranking-page-list .rank-item a {
    grid-template-columns: 56px 72px minmax(0, 1fr);
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
}

.detail-layout {
    padding-bottom: 56px;
}

.detail-hero {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 34px;
    align-items: center;
    margin-bottom: 32px;
    padding: 28px;
    border-radius: 34px;
    background: linear-gradient(135deg, #111827, #7f1d1d 48%, #f97316);
    color: #fff;
    box-shadow: var(--strong-shadow);
}

.detail-poster {
    height: 430px;
    border-radius: 26px;
    overflow: hidden;
    background: linear-gradient(135deg, #111827, #7f1d1d, #f97316);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

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

.detail-copy h1 {
    margin: 20px 0 14px;
    font-size: clamp(34px, 5vw, 60px);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.detail-one-line {
    max-width: 760px;
    margin: 0 0 18px;
    color: #fee2e2;
    font-size: 19px;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.detail-meta span {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    font-weight: 800;
}

.detail-copy .primary-btn {
    margin-top: 24px;
    width: fit-content;
}

.detail-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
    align-items: start;
}

.detail-content {
    display: grid;
    gap: 24px;
}

.player-card {
    padding: 14px;
}

.video-box {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 20px;
    background: #020617;
}

.video-box video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #020617;
    cursor: pointer;
}

.player-start {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 0;
    background: radial-gradient(circle at center, rgba(220, 38, 38, 0.26), rgba(0, 0, 0, 0.46));
    color: #fff;
    cursor: pointer;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.play-icon {
    position: relative;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--red), var(--orange));
    box-shadow: 0 20px 45px rgba(220, 38, 38, 0.42);
}

.play-icon::after {
    content: "";
    position: absolute;
    left: 31px;
    top: 23px;
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 21px solid #fff;
}

.player-message {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 16px;
    display: none;
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.72);
    color: #fff;
    text-align: center;
    font-weight: 800;
}

.player-message.is-visible {
    display: block;
}

.text-card {
    padding: 28px;
}

.text-card p {
    margin: 14px 0 0;
    color: #374151;
    font-size: 17px;
}

.related-section {
    margin: 8px 0 0;
}

.detail-sidebar {
    display: grid;
    gap: 22px;
    position: sticky;
    top: 96px;
}

.side-card {
    padding: 24px;
}

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

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

.side-card dd {
    margin: 0;
    color: var(--text);
    font-weight: 800;
}

.rank-list.compact .rank-item a {
    grid-template-columns: 34px minmax(0, 1fr);
}

.rank-list.compact .rank-cover {
    display: none;
}

.site-footer {
    margin-top: 70px;
    background: #111827;
    color: #d1d5db;
}

.footer-inner {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 46px 0 30px;
}

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

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 20px;
    font-weight: 950;
}

.footer-brand p,
.site-footer p {
    color: #9ca3af;
}

.site-footer h2 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 18px;
}

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

.site-footer a:hover {
    color: #fb7185;
}

.footer-bottom {
    margin-top: 32px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    color: #9ca3af;
    text-align: center;
}

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

    .hero-slide {
        grid-template-columns: 1fr 400px;
        gap: 34px;
    }

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

    .split-section,
    .detail-main {
        grid-template-columns: 1fr;
    }

    .ranking-card,
    .detail-sidebar {
        position: static;
    }
}

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

    .menu-button {
        display: inline-flex;
        margin-left: auto;
    }

    .hero-section {
        min-height: auto;
        padding-bottom: 28px;
    }

    .hero-shell {
        min-height: auto;
        padding: 40px 0 72px;
    }

    .hero-slide {
        position: relative;
        display: none;
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hero-slide.is-active {
        display: grid;
    }

    .hero-copy h1 {
        font-size: 40px;
    }

    .hero-copy p {
        font-size: 17px;
    }

    .hero-visual,
    .hero-visual img {
        min-height: 320px;
        height: 320px;
    }

    .hero-dots {
        bottom: 26px;
    }

    .hero-category-strip {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 0;
    }

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

    .catalog-toolbar {
        grid-template-columns: 1fr;
    }

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

    .detail-poster {
        height: 360px;
        max-width: 300px;
    }

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

@media (max-width: 560px) {
    .site-header-inner {
        width: min(100% - 22px, 1200px);
        height: 66px;
        gap: 12px;
    }

    .brand-name {
        font-size: 18px;
    }

    .brand-line {
        display: none;
    }

    .hero-category-strip,
    .four-col,
    .category-grid,
    .category-overview-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .page-wrap,
    .hero-shell,
    .hero-category-strip,
    .footer-inner {
        width: min(100% - 22px, 1200px);
    }

    .page-hero,
    .detail-hero {
        border-radius: 24px;
        padding: 26px;
    }

    .movie-card-horizontal .movie-card-link {
        grid-template-columns: 130px minmax(0, 1fr);
    }

    .movie-card-horizontal .poster-frame {
        height: 164px;
    }

    .poster-frame {
        height: 240px;
    }

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

    .rank-item a {
        grid-template-columns: 38px 52px minmax(0, 1fr);
    }

    .detail-copy h1,
    .compact-hero h1 {
        font-size: 34px;
    }
}
