:root {
    --slate-950: #020617;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --orange-600: #ea580c;
    --orange-500: #f97316;
    --amber-500: #f59e0b;
    --amber-400: #fbbf24;
    --rose-500: #f43f5e;
    --blue-500: #3b82f6;
    --cyan-500: #06b6d4;
    --violet-500: #8b5cf6;
    --red-500: #ef4444;
    --text: #111827;
    --muted: #6b7280;
    --line: #e5e7eb;
    --card: #ffffff;
    --shadow: 0 20px 55px rgba(15, 23, 42, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    color: var(--text);
    background: linear-gradient(135deg, #f9fafb 0%, #fff7ed 45%, #fffbeb 100%);
    min-height: 100vh;
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    color: #fff;
    background: linear-gradient(90deg, var(--slate-950), var(--slate-800), var(--slate-950));
    box-shadow: 0 14px 35px rgba(2, 6, 23, 0.28);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 240px;
}

.brand-mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, var(--orange-500), var(--amber-500));
    box-shadow: 0 8px 22px rgba(249, 115, 22, 0.36);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-text strong,
.footer-brand {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(90deg, #fb923c, #fbbf24);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-text small {
    margin-top: 4px;
    color: #cbd5e1;
    font-size: 12px;
}

.header-search {
    flex: 1;
    max-width: 430px;
    position: relative;
    display: flex;
    background: rgba(51, 65, 85, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.32);
    border-radius: 999px;
    overflow: hidden;
}

.header-search input,
.mobile-search input {
    width: 100%;
    border: 0;
    outline: 0;
    color: #fff;
    background: transparent;
    padding: 11px 16px;
}

.header-search input::placeholder,
.mobile-search input::placeholder {
    color: #94a3b8;
}

.header-search button,
.mobile-search button {
    border: 0;
    color: #fff;
    cursor: pointer;
    padding: 0 18px;
    background: linear-gradient(90deg, var(--orange-500), var(--amber-500));
}

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

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

.nav-link:hover,
.nav-link.active {
    color: #fb923c;
}

.mobile-toggle {
    display: none;
    border: 0;
    color: #fff;
    font-size: 28px;
    background: transparent;
    cursor: pointer;
}

.mobile-panel {
    display: none;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0 0 18px;
}

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

.mobile-panel nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 12px;
}

.mobile-panel .nav-link {
    padding: 10px;
    text-align: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
}

.mobile-search {
    display: flex;
    border: 1px solid rgba(148, 163, 184, 0.32);
    border-radius: 999px;
    overflow: hidden;
    background: rgba(51, 65, 85, 0.85);
}

.hero-carousel {
    position: relative;
    height: 70vh;
    min-height: 560px;
    overflow: hidden;
    color: #fff;
    background: var(--slate-900);
}

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

.hero-slide.active {
    opacity: 1;
}

.hero-slide > img,
.detail-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.92), rgba(2, 6, 23, 0.45), rgba(2, 6, 23, 0.16));
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 32px));
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding-bottom: 86px;
    max-width: 1180px;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 7px 14px;
    border-radius: 999px;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    background: linear-gradient(90deg, var(--orange-500), var(--amber-500));
    box-shadow: 0 14px 30px rgba(249, 115, 22, 0.32);
}

.hero-content h1 {
    max-width: 760px;
    margin: 18px 0 14px;
    font-size: clamp(38px, 7vw, 70px);
    line-height: 1.02;
    letter-spacing: -0.055em;
}

.hero-content p {
    max-width: 680px;
    margin: 0 0 22px;
    color: #e5e7eb;
    font-size: 19px;
    line-height: 1.8;
}

.hero-meta,
.detail-meta,
.card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-meta span,
.detail-meta span {
    color: #fff;
    font-size: 14px;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
}

.hero-actions,
.sub-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.btn,
.sub-actions a,
.section-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn.primary,
.sub-actions a:first-child {
    color: #fff;
    background: linear-gradient(90deg, var(--orange-500), var(--amber-500));
    box-shadow: 0 16px 35px rgba(249, 115, 22, 0.32);
}

.btn.ghost,
.sub-actions a,
.section-more {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
}

.btn:hover,
.sub-actions a:hover,
.section-more:hover {
    transform: translateY(-2px);
}

.hero-dots {
    position: absolute;
    right: max(24px, calc((100vw - 1180px) / 2));
    bottom: 44px;
    z-index: 3;
    display: flex;
    gap: 10px;
}

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

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

.home-search-band {
    position: relative;
    z-index: 4;
    width: min(1180px, calc(100% - 32px));
    margin: -38px auto 0;
    padding: 22px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 16px;
}

.home-search,
.search-page-form {
    display: flex;
    align-items: center;
    min-height: 54px;
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #fff;
}

.home-search input,
.search-page-form input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 0 20px;
    background: transparent;
}

.home-search button,
.search-page-form button {
    align-self: stretch;
    border: 0;
    color: #fff;
    cursor: pointer;
    padding: 0 26px;
    font-weight: 800;
    background: linear-gradient(90deg, var(--orange-500), var(--amber-500));
}

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

.quick-links a {
    color: #c2410c;
    font-weight: 800;
    padding: 9px 12px;
    border-radius: 999px;
    background: #ffedd5;
}

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

.content-section {
    margin-bottom: 68px;
}

.section-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
}

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

.section-title-row .section-more {
    min-height: 38px;
    color: #ea580c;
    border-color: #fed7aa;
    background: #fff7ed;
}

.section-title-row.light h2,
.section-title-row.light .section-more {
    color: #fff;
}

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

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

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

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

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

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

.card-poster {
    position: relative;
    height: 245px;
    overflow: hidden;
    background: linear-gradient(135deg, #111827, #f97316);
}

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

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

.card-badge,
.card-duration {
    position: absolute;
    z-index: 2;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    border-radius: 999px;
}

.card-badge {
    top: 12px;
    left: 12px;
    padding: 6px 10px;
    background: linear-gradient(90deg, var(--orange-500), var(--amber-500));
}

.card-duration {
    right: 12px;
    bottom: 12px;
    padding: 5px 9px;
    background: rgba(0, 0, 0, 0.68);
}

.card-body {
    padding: 18px;
}

.card-body h3 {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-body p {
    margin: 0 0 14px;
    color: var(--muted);
    line-height: 1.7;
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    color: #6b7280;
    font-size: 12px;
    gap: 8px;
}

.card-meta span {
    padding: 4px 7px;
    border-radius: 999px;
    background: #f3f4f6;
}

.card-tags {
    margin-top: 12px;
    color: #ea580c;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.movie-card.horizontal .card-link {
    display: flex;
    min-height: 160px;
}

.movie-card.horizontal .card-poster {
    width: 42%;
    height: auto;
    min-height: 160px;
    flex-shrink: 0;
}

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

.category-tile,
.category-overview-card a {
    position: relative;
    min-height: 210px;
    overflow: hidden;
    border-radius: 24px;
    display: flex;
    align-items: flex-end;
    padding: 28px;
    color: #fff;
    background: var(--slate-900);
    box-shadow: var(--shadow);
}

.category-tile img,
.category-overview-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
    transition: transform 0.35s ease;
}

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

.category-tile::after,
.category-overview-card a::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.86), rgba(2, 6, 23, 0.12));
}

.category-tile > div,
.category-overview-card div {
    position: relative;
    z-index: 2;
}

.category-tile strong,
.category-overview-card h2 {
    display: block;
    margin: 0 0 10px;
    font-size: 26px;
    letter-spacing: -0.03em;
}

.category-tile p,
.category-overview-card p {
    margin: 0;
    color: #e5e7eb;
    line-height: 1.7;
}

.tile-samples,
.overview-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.tile-samples span,
.overview-links a {
    font-size: 12px;
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
}

.ranking-panel {
    border-radius: 28px;
    color: #fff;
    padding: 36px;
    background: linear-gradient(135deg, var(--slate-900), var(--slate-800));
    box-shadow: var(--shadow);
}

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

.rank-card,
.ranking-row {
    display: flex;
    align-items: center;
    gap: 16px;
    border-radius: 16px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.1);
    transition: background 0.2s ease, transform 0.2s ease;
}

.rank-card:hover,
.ranking-row:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

.rank-no,
.row-no {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border-radius: 14px;
    color: #fff;
    font-weight: 900;
    background: linear-gradient(135deg, var(--orange-500), var(--amber-500));
}

.rank-card img,
.ranking-row img {
    width: 68px;
    height: 68px;
    border-radius: 14px;
    object-fit: cover;
    flex-shrink: 0;
}

.rank-info,
.row-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rank-info strong,
.row-main strong {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.rank-info em,
.row-main em,
.row-meta,
.row-views {
    color: #cbd5e1;
    font-size: 13px;
    font-style: normal;
}

.sub-hero {
    color: #fff;
    background: radial-gradient(circle at top left, rgba(249, 115, 22, 0.35), transparent 32%), linear-gradient(135deg, var(--slate-900), var(--slate-800));
}

.sub-hero-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 72px 0;
}

.sub-hero span {
    display: inline-flex;
    margin-bottom: 12px;
    color: #fdba74;
    font-weight: 900;
}

.sub-hero h1 {
    margin: 0 0 16px;
    font-size: clamp(34px, 6vw, 58px);
    line-height: 1.08;
    letter-spacing: -0.055em;
}

.sub-hero p {
    max-width: 760px;
    margin: 0;
    color: #e5e7eb;
    line-height: 1.8;
    font-size: 18px;
}

.filter-panel,
.search-panel-large {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 16px;
    align-items: end;
    margin-bottom: 30px;
    padding: 22px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

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

.filter-panel label,
.search-sort-row label {
    display: block;
    margin-bottom: 8px;
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
}

.filter-panel input,
.filter-panel select,
.search-sort-row select {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--line);
    border-radius: 14px;
    outline: 0;
    padding: 0 14px;
    color: #111827;
    background: #fff;
}

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

.ranking-list .ranking-row {
    color: #111827;
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.ranking-list .ranking-row:hover {
    background: #fff7ed;
}

.ranking-list .row-main em,
.ranking-list .row-meta,
.ranking-list .row-views {
    color: #64748b;
}

.row-score {
    margin-left: auto;
    color: #f59e0b;
    font-weight: 900;
    white-space: nowrap;
}

.row-views,
.row-meta {
    white-space: nowrap;
}

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

.search-page-form {
    min-height: 62px;
}

.search-sort-row {
    min-width: 180px;
}

.search-results:empty::before {
    content: "输入关键词后显示匹配内容";
    grid-column: 1 / -1;
    color: #64748b;
    padding: 36px;
    text-align: center;
    border-radius: 18px;
    background: #fff;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: var(--slate-900);
}

.detail-bg {
    position: absolute;
    inset: 0;
    opacity: 0.34;
    filter: blur(2px);
}

.detail-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(15, 23, 42, 0.72));
}

.detail-inner {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 42px 0 62px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    color: #cbd5e1;
    font-size: 14px;
    margin-bottom: 28px;
}

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

.detail-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 36px;
    align-items: center;
}

.detail-cover {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.36);
    background: linear-gradient(135deg, #111827, #f97316);
}

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

.detail-copy h1 {
    margin: 18px 0 16px;
    font-size: clamp(34px, 6vw, 62px);
    line-height: 1.08;
    letter-spacing: -0.055em;
}

.detail-one-line {
    max-width: 790px;
    color: #e5e7eb;
    font-size: 19px;
    line-height: 1.8;
}

.detail-tags,
.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    display: inline-flex;
    color: #fed7aa;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(249, 115, 22, 0.16);
}

.player-section {
    scroll-margin-top: 92px;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    background: #000;
    box-shadow: var(--shadow);
    aspect-ratio: 16 / 9;
}

.movie-player {
    width: 100%;
    height: 100%;
    display: block;
    background: #000;
}

.player-cover {
    position: absolute;
    inset: 0;
    z-index: 3;
    border: 0;
    cursor: pointer;
    color: #fff;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at center, rgba(249, 115, 22, 0.4), rgba(2, 6, 23, 0.55));
}

.player-cover.hidden {
    display: none;
}

.play-icon {
    width: 82px;
    height: 82px;
    display: grid;
    place-items: center;
    margin-bottom: 14px;
    border-radius: 999px;
    font-size: 34px;
    background: linear-gradient(135deg, var(--orange-500), var(--amber-500));
    box-shadow: 0 18px 36px rgba(249, 115, 22, 0.36);
}

.player-cover strong {
    display: block;
    font-size: 20px;
}

.detail-text {
    padding: 34px;
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.detail-text h2 {
    margin: 0 0 14px;
    font-size: 26px;
}

.detail-text h2:not(:first-child) {
    margin-top: 34px;
}

.detail-text p {
    margin: 0;
    color: #374151;
    line-height: 2;
    font-size: 16px;
}

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

.info-list div {
    padding: 16px;
    border-radius: 16px;
    background: #f8fafc;
}

.info-list dt {
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
}

.info-list dd {
    margin: 6px 0 0;
    color: #111827;
    font-weight: 800;
}

.site-footer {
    color: #cbd5e1;
    background: var(--slate-950);
}

.footer-grid {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 48px 0;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 36px;
}

.site-footer p {
    max-width: 520px;
    line-height: 1.8;
}

.site-footer h3 {
    margin: 0 0 14px;
    color: #fff;
}

.site-footer a {
    display: block;
    margin: 8px 0;
    color: #cbd5e1;
}

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

.footer-bottom {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 22px 0;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    font-size: 14px;
}

.hidden-card {
    display: none !important;
}

@media (max-width: 1024px) {
    .header-search,
    .desktop-nav {
        display: none;
    }

    .mobile-toggle {
        display: inline-flex;
        margin-left: auto;
    }

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

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

    .detail-layout {
        grid-template-columns: 240px 1fr;
    }

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

@media (max-width: 760px) {
    .header-inner {
        height: 64px;
    }

    .brand {
        min-width: 0;
    }

    .brand-text strong {
        font-size: 16px;
    }

    .brand-text small {
        display: none;
    }

    .mobile-panel nav {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .hero-content {
        padding-bottom: 92px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-dots {
        right: 18px;
        bottom: 28px;
    }

    .home-search-band {
        grid-template-columns: 1fr;
        margin-top: -24px;
    }

    .home-search,
    .search-page-form {
        display: grid;
        grid-template-columns: 1fr;
        border-radius: 18px;
    }

    .home-search input,
    .search-page-form input {
        min-height: 50px;
    }

    .home-search button,
    .search-page-form button {
        min-height: 48px;
    }

    .page-wrap {
        padding: 42px 0;
    }

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

    .movie-card.horizontal .card-link {
        display: block;
    }

    .movie-card.horizontal .card-poster {
        width: 100%;
        height: 220px;
    }

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

    .ranking-row {
        display: grid;
        grid-template-columns: 44px 64px 1fr;
    }

    .row-meta,
    .row-score,
    .row-views {
        grid-column: 3 / 4;
        margin-left: 0;
    }

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

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

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