:root {
    color-scheme: light;
    --bg: #f7f3ec;
    --panel: #ffffff;
    --panel-soft: #fffaf2;
    --ink: #1c1917;
    --muted: #71665b;
    --line: rgba(120, 74, 30, 0.16);
    --brand: #b45309;
    --brand-dark: #78350f;
    --brand-soft: #fef3c7;
    --gold: #f59e0b;
    --shadow: 0 24px 60px rgba(68, 38, 12, 0.18);
    --radius: 24px;
    --max: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(245, 158, 11, 0.18), transparent 34rem),
        linear-gradient(180deg, #fffaf0 0%, var(--bg) 45%, #f2eee7 100%);
    min-height: 100vh;
}

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

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

button,
input {
    font: inherit;
}

main {
    padding-top: 78px;
}

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    background: rgba(255, 250, 242, 0.86);
    backdrop-filter: blur(22px);
    border-bottom: 1px solid var(--line);
}

.nav-shell {
    width: min(var(--max), calc(100% - 32px));
    min-height: 78px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 22px;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -0.03em;
    white-space: nowrap;
}

.logo-mark {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    display: inline-grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #f59e0b, #92400e);
    box-shadow: 0 12px 24px rgba(180, 83, 9, 0.28);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
}

.site-nav a {
    padding: 10px 12px;
    border-radius: 999px;
    color: #57483a;
    font-weight: 700;
    font-size: 14px;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
    color: var(--brand-dark);
    background: var(--brand-soft);
    transform: translateY(-1px);
}

.header-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: 0 12px 30px rgba(120, 74, 30, 0.08);
}

.header-search input,
.large-search input,
.inline-filter input {
    border: 0;
    outline: 0;
    color: var(--ink);
    background: transparent;
}

.header-search input {
    width: 190px;
    padding: 8px 6px 8px 12px;
}

.header-search button,
.large-search button,
.inline-filter 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,
.large-search button,
.inline-filter button,
.primary-btn {
    color: #fff;
    background: linear-gradient(135deg, #f59e0b, #b45309);
    box-shadow: 0 14px 28px rgba(180, 83, 9, 0.24);
}

.header-search button {
    padding: 8px 14px;
}

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

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: #fff7e8;
    padding: 10px;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    background: var(--brand-dark);
    border-radius: 999px;
}

.hero-carousel {
    position: relative;
    min-height: calc(100vh - 78px);
    overflow: hidden;
    background: #1c1209;
}

.hero-track {
    position: relative;
    min-height: calc(100vh - 78px);
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) 360px;
    align-items: center;
    gap: 56px;
    padding: 70px max(32px, calc((100vw - var(--max)) / 2)) 110px;
    color: #fff;
    opacity: 0;
    pointer-events: none;
    transform: scale(1.02);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(28, 18, 9, 0.96), rgba(28, 18, 9, 0.74) 48%, rgba(28, 18, 9, 0.35)),
        linear-gradient(0deg, rgba(28, 18, 9, 0.92), rgba(28, 18, 9, 0.1) 45%, rgba(28, 18, 9, 0.78)),
        var(--hero-image),
        radial-gradient(circle at 70% 35%, rgba(245, 158, 11, 0.28), transparent 28rem);
    background-size: cover;
    background-position: center;
    filter: saturate(1.1);
}

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

.hero-copy,
.hero-poster {
    position: relative;
    z-index: 2;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #b45309;
    background: #fef3c7;
    border: 1px solid rgba(180, 83, 9, 0.18);
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.03em;
}

.hero-slide .eyebrow,
.detail-hero .eyebrow,
.page-hero .eyebrow {
    color: #fff7ed;
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(12px);
}

.hero-copy h1,
.page-hero h1,
.detail-title-grid h1 {
    margin: 18px 0 18px;
    font-size: clamp(42px, 7vw, 82px);
    line-height: 0.98;
    letter-spacing: -0.07em;
}

.hero-copy p,
.page-hero p,
.detail-title-grid p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
    line-height: 1.9;
}

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

.hero-tags {
    margin-top: 26px;
}

.hero-tags span,
.tag-list span {
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 12px;
    font-weight: 800;
}

.hero-tags span {
    color: #fff7ed;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.tag-list span {
    color: #7c2d12;
    background: #ffedd5;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

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

.ghost-btn {
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(10px);
}

.hero-poster,
.detail-poster,
.poster-link,
.rank-thumb {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(145deg, rgba(245, 158, 11, 0.32), rgba(120, 53, 15, 0.88)),
        radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.2), transparent 42%);
}

.hero-poster {
    width: min(360px, 100%);
    aspect-ratio: 2 / 3;
    border-radius: 32px;
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.42);
    transform: rotate(2deg);
}

.hero-poster img,
.detail-poster img,
.poster-link img,
.rank-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 2;
}

.image-missing img {
    display: none;
}

.poster-fallback {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 18px;
    color: rgba(255, 255, 255, 0.88);
    text-align: center;
    font-weight: 900;
    letter-spacing: -0.03em;
    z-index: 1;
}

.hero-control-row {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: 34px;
    width: min(var(--max), calc(100% - 32px));
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
}

.hero-dots,
.hero-arrows {
    display: flex;
    align-items: center;
    gap: 10px;
    pointer-events: auto;
}

.hero-dot,
.hero-arrows button {
    border: 0;
    cursor: pointer;
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
}

.hero-dot {
    width: 34px;
    height: 8px;
    border-radius: 999px;
    opacity: 0.55;
}

.hero-dot.is-active {
    opacity: 1;
    background: #f59e0b;
}

.hero-arrows button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 30px;
    line-height: 1;
}

.quick-search-panel,
.content-section,
.category-strip,
.detail-main,
.category-overview-list {
    width: min(var(--max), calc(100% - 32px));
    margin: 0 auto;
}

.quick-search-panel {
    display: grid;
    grid-template-columns: 1fr minmax(280px, 500px);
    gap: 28px;
    align-items: center;
    margin-top: -44px;
    position: relative;
    z-index: 5;
    padding: 28px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.quick-search-panel h2,
.section-heading h2,
.info-panel h2,
.side-panel h2 {
    margin: 10px 0 0;
    font-size: clamp(24px, 3vw, 36px);
    letter-spacing: -0.04em;
}

.large-search,
.inline-filter {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: 999px;
    background: #fffaf3;
    border: 1px solid var(--line);
}

.large-search input,
.inline-filter input {
    flex: 1;
    min-width: 0;
    padding: 12px 14px;
}

.large-search button,
.inline-filter button {
    padding: 12px 18px;
}

.category-strip {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    padding: 36px 0 10px;
}

.category-strip a,
.category-preview-card,
.category-overview-card,
.movie-card,
.info-panel,
.side-panel,
.watch-panel {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid var(--line);
    box-shadow: 0 16px 42px rgba(120, 74, 30, 0.09);
}

.category-strip a {
    display: flex;
    flex-direction: column;
    min-height: 118px;
    padding: 18px;
    border-radius: 22px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.category-strip a:hover,
.movie-card:hover,
.category-preview-card:hover,
.category-overview-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: rgba(180, 83, 9, 0.32);
}

.category-strip strong {
    font-size: 18px;
    margin-bottom: 8px;
}

.category-strip span,
.section-heading p,
.movie-card p,
.category-preview-card p,
.category-overview-copy p,
.footer-inner p,
.movie-meta-line,
.movie-data-list dt,
.rank-info em {
    color: var(--muted);
}

.content-section {
    padding: 58px 0 16px;
}

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

.section-heading h2 {
    margin: 0 0 8px;
}

.section-heading p {
    margin: 0;
}

.text-link {
    color: var(--brand);
    font-weight: 900;
}

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

.movie-card {
    overflow: hidden;
    border-radius: 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.poster-link {
    display: block;
    aspect-ratio: 16 / 22;
}

.poster-link::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 48%;
    background: linear-gradient(0deg, rgba(28, 25, 23, 0.78), transparent);
    z-index: 3;
}

.poster-year,
.rank-index {
    position: absolute;
    z-index: 4;
    border-radius: 999px;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    backdrop-filter: blur(10px);
}

.poster-year {
    left: 12px;
    top: 12px;
    padding: 6px 10px;
    background: rgba(28, 25, 23, 0.56);
}

.rank-index {
    right: 12px;
    top: 12px;
    padding: 6px 9px;
    background: linear-gradient(135deg, #f59e0b, #b45309);
}

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

.movie-card h3 {
    margin: 8px 0 8px;
    font-size: 18px;
    line-height: 1.25;
}

.movie-card h3 a:hover {
    color: var(--brand);
}

.movie-card p {
    margin: 0 0 14px;
    min-height: 54px;
    font-size: 14px;
    line-height: 1.7;
}

.movie-meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    font-weight: 800;
}

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

.movie-card.compact h3 {
    font-size: 15px;
}

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

.two-column-section {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 26px;
    align-items: start;
}

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

.rank-row {
    display: grid;
    grid-template-columns: auto 72px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 12px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid var(--line);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-row:hover {
    transform: translateX(4px);
    box-shadow: 0 14px 30px rgba(120, 74, 30, 0.12);
}

.list-rank {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, #f59e0b, #92400e);
    font-weight: 900;
}

.rank-thumb {
    width: 72px;
    aspect-ratio: 16 / 22;
    border-radius: 14px;
}

.rank-thumb span {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 8px;
    color: rgba(255, 255, 255, 0.86);
    text-align: center;
    font-size: 12px;
    font-weight: 900;
}

.rank-info {
    min-width: 0;
}

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

.rank-info em {
    margin-top: 6px;
    font-size: 13px;
    font-style: normal;
}

.category-preview-grid {
    display: grid;
    gap: 14px;
}

.category-preview-card {
    padding: 18px;
    border-radius: 22px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.category-preview-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.category-preview-card div:last-child {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-preview-card div:last-child a {
    padding: 7px 10px;
    color: #7c2d12;
    background: #ffedd5;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 86px max(24px, calc((100vw - var(--max)) / 2));
    color: #fff;
    background:
        linear-gradient(135deg, rgba(120, 53, 15, 0.98), rgba(180, 83, 9, 0.9)),
        radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.6), transparent 28rem);
}

.page-hero h1 {
    max-width: 920px;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.84);
}

.page-hero .inline-filter {
    max-width: 740px;
    margin-top: 28px;
    background: rgba(255, 255, 255, 0.92);
}

.category-overview-list {
    display: grid;
    gap: 24px;
    padding: 42px 0;
}

.category-overview-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 24px;
    align-items: start;
    padding: 24px;
    border-radius: 28px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.category-overview-copy h2 {
    margin: 14px 0 10px;
    font-size: 28px;
}

.mini-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.detail-hero {
    position: relative;
    color: #fff;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(28, 18, 9, 0.96), rgba(28, 18, 9, 0.7)),
        var(--hero-image),
        radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.26), transparent 28rem);
    background-size: cover;
    background-position: center;
}

.detail-hero-inner {
    width: min(var(--max), calc(100% - 32px));
    margin: 0 auto;
    padding: 52px 0 70px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    align-items: center;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 28px;
    font-weight: 700;
}

.breadcrumb a:hover {
    color: #fcd34d;
}

.detail-title-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 44px;
    align-items: center;
}

.detail-title-grid h1 {
    font-size: clamp(38px, 6vw, 70px);
}

.detail-poster {
    aspect-ratio: 2 / 3;
    border-radius: 28px;
    box-shadow: 0 34px 80px rgba(0, 0, 0, 0.44);
}

.detail-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 26px;
    padding: 42px 0 72px;
}

.watch-column,
.detail-aside {
    display: grid;
    gap: 22px;
    align-content: start;
}

.watch-panel,
.info-panel,
.side-panel {
    border-radius: 26px;
    padding: 18px;
}

.video-shell {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: #000;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
}

.video-element {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    cursor: pointer;
}

.player-toggle {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 152px;
    min-height: 56px;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    color: #fff;
    background: rgba(28, 25, 23, 0.62);
    backdrop-filter: blur(12px);
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32);
}

.player-toggle span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b, #b45309);
}

.video-shell.is-playing .player-toggle {
    opacity: 0;
    pointer-events: none;
}

.info-panel,
.side-panel {
    padding: 24px;
}

.info-panel h2,
.side-panel h2 {
    font-size: 24px;
    margin: 0 0 14px;
}

.info-panel p {
    margin: 0;
    color: #50463d;
    line-height: 1.95;
}

.movie-data-list {
    display: grid;
    gap: 12px;
    margin: 0;
}

.movie-data-list div {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed rgba(120, 74, 30, 0.18);
}

.movie-data-list dt,
.movie-data-list dd {
    margin: 0;
}

.movie-data-list dd {
    font-weight: 800;
}

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

.related-list .movie-card {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
}

.related-list .poster-link {
    aspect-ratio: 16 / 22;
}

.related-list .movie-card-body {
    min-width: 0;
}

.empty-state {
    display: block;
    padding: 32px;
    border-radius: 22px;
    text-align: center;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--line);
}

[hidden] {
    display: none !important;
}

.site-footer {
    margin-top: 28px;
    background: #1c1209;
    color: rgba(255, 255, 255, 0.78);
}

.footer-inner {
    width: min(var(--max), calc(100% - 32px));
    margin: 0 auto;
    padding: 36px 0;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
}

.footer-inner strong {
    color: #fff;
    font-size: 20px;
}

.footer-inner p {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.64);
}

.footer-inner nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-inner nav a {
    color: #fef3c7;
    font-weight: 800;
}

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

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

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

    .hero-slide {
        grid-template-columns: minmax(0, 1fr) 280px;
        gap: 32px;
    }

    .detail-main,
    .two-column-section,
    .category-overview-card {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 820px) {
    main {
        padding-top: 70px;
    }

    .nav-shell {
        min-height: 70px;
    }

    .nav-toggle {
        display: block;
        margin-left: auto;
    }

    .site-nav {
        position: fixed;
        left: 16px;
        right: 16px;
        top: 78px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
        border-radius: 22px;
        background: rgba(255, 250, 242, 0.96);
        border: 1px solid var(--line);
        box-shadow: var(--shadow);
    }

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

    .site-nav a {
        border-radius: 14px;
    }

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

    .hero-slide {
        grid-template-columns: 1fr;
        align-content: center;
        padding: 46px 20px 100px;
    }

    .hero-copy h1,
    .page-hero h1,
    .detail-title-grid h1 {
        font-size: clamp(36px, 12vw, 58px);
    }

    .hero-poster {
        width: 230px;
        justify-self: center;
    }

    .quick-search-panel {
        grid-template-columns: 1fr;
        margin-top: 20px;
    }

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

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

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

    .detail-poster {
        width: 230px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 560px) {
    .site-logo span:last-child {
        font-size: 17px;
    }

    .category-strip,
    .cards-grid,
    .mini-card-grid {
        grid-template-columns: 1fr;
    }

    .movie-card {
        display: grid;
        grid-template-columns: 112px minmax(0, 1fr);
    }

    .poster-link {
        aspect-ratio: 2 / 3;
    }

    .movie-card p {
        min-height: 0;
    }

    .tag-list {
        display: none;
    }

    .large-search,
    .inline-filter {
        border-radius: 22px;
        flex-direction: column;
        align-items: stretch;
    }

    .large-search button,
    .inline-filter button {
        width: 100%;
    }

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

    .rank-thumb {
        width: 58px;
    }

    .related-list .movie-card {
        grid-template-columns: 88px minmax(0, 1fr);
    }
}
