* {
    box-sizing: border-box;
}

:root {
    color-scheme: dark;
    --bg: #020617;
    --bg-soft: #0f172a;
    --panel: rgba(15, 23, 42, 0.78);
    --panel-strong: rgba(15, 23, 42, 0.94);
    --line: rgba(148, 163, 184, 0.18);
    --text: #f8fafc;
    --muted: #94a3b8;
    --cyan: #22d3ee;
    --blue: #2563eb;
    --indigo: #4f46e5;
    --gold: #facc15;
    --radius: 24px;
    --shadow: 0 24px 80px rgba(8, 47, 73, 0.35);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 8% 10%, rgba(34, 211, 238, 0.22), transparent 28rem),
        radial-gradient(circle at 92% 2%, rgba(37, 99, 235, 0.24), transparent 30rem),
        linear-gradient(180deg, #020617 0%, #082f49 42%, #020617 100%);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.6;
}

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

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

button,
input,
select {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(34, 211, 238, 0.16);
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.95), rgba(30, 64, 175, 0.86), rgba(15, 23, 42, 0.95));
    backdrop-filter: blur(18px);
}

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

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

.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: white;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    box-shadow: 0 12px 34px rgba(34, 211, 238, 0.28);
}

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

.brand-text strong {
    max-width: 280px;
    font-size: 19px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand-text small {
    color: #67e8f9;
    font-size: 12px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
    color: #cbd5e1;
    font-size: 15px;
}

.main-nav a,
.mobile-nav a {
    transition: color 0.2s ease, transform 0.2s ease;
}

.main-nav a:hover,
.mobile-nav a:hover {
    color: var(--cyan);
}

.header-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px;
    border: 1px solid rgba(34, 211, 238, 0.22);
    border-radius: 999px;
    background: rgba(2, 6, 23, 0.46);
}

.header-search input {
    width: 190px;
    border: 0;
    outline: none;
    color: var(--text);
    background: transparent;
    padding: 9px 6px 9px 14px;
}

.header-search button,
.primary-button,
.ghost-button,
.wide-link,
.watch-link,
.section-more {
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.header-search button,
.primary-button,
.watch-link {
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    color: white;
    font-weight: 800;
}

.header-search button {
    padding: 9px 15px;
}

.nav-toggle {
    display: none;
    margin-left: auto;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(34, 211, 238, 0.24);
    border-radius: 14px;
    color: white;
    background: rgba(15, 23, 42, 0.7);
}

.mobile-nav {
    display: none;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    padding: 12px 20px 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    background: rgba(2, 6, 23, 0.94);
}

.mobile-nav.is-open {
    display: grid;
}

.hero {
    position: relative;
    min-height: 74vh;
    overflow: hidden;
    background: #020617;
}

.hero-slide {
    display: none;
    position: relative;
    min-height: 74vh;
    isolation: isolate;
}

.hero-slide.is-active {
    display: flex;
    align-items: center;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -3;
    background-image: var(--hero-image);
    background-size: cover;
    background-position: center;
    opacity: 0.32;
    filter: saturate(1.1);
    transform: scale(1.04);
}

.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(2, 6, 23, 0.98) 0%, rgba(15, 23, 42, 0.82) 45%, rgba(2, 6, 23, 0.36) 100%),
        linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0.05) 38%, rgba(2, 6, 23, 0.72) 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: center;
    gap: 54px;
    padding: 72px 0;
}

.hero-copy {
    max-width: 760px;
}

.eyebrow,
.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #67e8f9;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 13px;
}

.hero h1,
.page-hero h1,
.detail-copy h1 {
    margin: 14px 0 18px;
    font-size: clamp(38px, 6vw, 76px);
    line-height: 1.02;
    letter-spacing: -0.05em;
}

.hero p,
.page-hero p,
.detail-copy p {
    max-width: 740px;
    color: #cbd5e1;
    font-size: clamp(16px, 2vw, 20px);
}

.hero-meta,
.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0;
}

.hero-meta span,
.chip-row span,
.tag-row span,
.detail-tags a {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(34, 211, 238, 0.22);
    border-radius: 999px;
    color: #dbeafe;
    background: rgba(15, 23, 42, 0.62);
    padding: 7px 12px;
    font-size: 13px;
}

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

.primary-button,
.ghost-button,
.wide-link,
.section-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 22px;
    font-weight: 800;
}

.primary-button:hover,
.watch-link:hover,
.header-search button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(34, 211, 238, 0.24);
}

.primary-button.small {
    padding: 10px 16px;
    font-size: 14px;
}

.ghost-button,
.section-more {
    border: 1px solid rgba(34, 211, 238, 0.28);
    color: var(--cyan);
    background: rgba(15, 23, 42, 0.44);
}

.hero-poster,
.hero-side-card,
.top-rank-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(34, 211, 238, 0.25);
    border-radius: 30px;
    box-shadow: var(--shadow);
    background: rgba(15, 23, 42, 0.62);
}

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

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 36px;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.hero-dots button {
    width: 36px;
    height: 5px;
    border: 0;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.4);
}

.hero-dots button.is-active {
    background: var(--cyan);
}

.stats-strip {
    border-top: 1px solid rgba(148, 163, 184, 0.14);
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(2, 6, 23, 0.48);
}

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

.stats-grid div {
    padding: 20px;
    border: 1px solid rgba(34, 211, 238, 0.16);
    border-radius: 22px;
    background: rgba(15, 23, 42, 0.54);
}

.stats-grid strong {
    display: block;
    font-size: 34px;
    color: white;
}

.stats-grid span {
    color: var(--muted);
}

.content-section {
    padding: 72px 0;
}

.section-glow {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.3), rgba(8, 47, 73, 0.2));
}

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

.section-heading h2,
.rank-panel-head h2,
.detail-card h2,
.sidebar-card h2,
.prose-card h2 {
    margin: 8px 0;
    font-size: clamp(26px, 3vw, 42px);
    line-height: 1.1;
}

.section-heading p,
.rank-panel-head p,
.prose-card p,
.footer-grid p {
    color: var(--muted);
}

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

.category-tile {
    min-height: 220px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(34, 211, 238, 0.18);
    border-radius: 26px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: rgba(15, 23, 42, 0.62);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.category-tile:hover,
.movie-card:hover,
.rank-row:hover,
.top-rank-card:hover {
    transform: translateY(-5px);
    border-color: rgba(34, 211, 238, 0.48);
}

.category-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(2, 6, 23, 0.88));
}

.category-tile strong,
.category-tile small {
    position: relative;
    z-index: 1;
}

.category-tile strong {
    font-size: 22px;
}

.category-tile small {
    color: #cbd5e1;
}

.two-column-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: start;
}

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

.movie-grid-dense,
.mini-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.movie-card {
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: var(--radius);
    background: rgba(15, 23, 42, 0.68);
    box-shadow: 0 16px 48px rgba(2, 6, 23, 0.22);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.poster-link {
    position: relative;
    overflow: hidden;
    display: block;
}

.poster-link img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    transition: transform 0.45s ease;
}

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

.play-corner,
.rank-badge {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: white;
    background: rgba(8, 47, 73, 0.82);
    backdrop-filter: blur(10px);
}

.play-corner {
    right: 12px;
    bottom: 12px;
    width: 42px;
    height: 42px;
}

.rank-badge {
    left: 10px;
    top: 10px;
    padding: 6px 10px;
    font-size: 12px;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.card-body {
    padding: 15px;
}

.card-meta-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    color: #93c5fd;
    font-size: 12px;
    margin-bottom: 8px;
}

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

.card-body h3 a:hover {
    color: var(--cyan);
}

.card-desc {
    min-height: 50px;
    color: #cbd5e1;
    font-size: 14px;
    margin: 0 0 12px;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 10px;
}

.tag-row span,
.detail-tags a {
    padding: 5px 9px;
    font-size: 12px;
}

.card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 14px;
}

.watch-link {
    padding: 8px 12px;
    font-size: 13px;
}

.card-category {
    color: var(--cyan);
    font-size: 13px;
}

.rank-panel,
.sidebar-card,
.detail-card,
.prose-card,
.category-overview-block,
.filter-bar {
    border: 1px solid rgba(34, 211, 238, 0.18);
    border-radius: 28px;
    background: var(--panel);
    box-shadow: 0 18px 60px rgba(2, 6, 23, 0.22);
}

.rank-panel {
    position: sticky;
    top: 98px;
    padding: 24px;
}

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

.rank-row {
    display: grid;
    grid-template-columns: 40px 54px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.54);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.rank-num {
    color: var(--cyan);
    font-weight: 900;
}

.rank-row img {
    width: 54px;
    aspect-ratio: 2 / 3;
    border-radius: 12px;
    object-fit: cover;
}

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

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

.rank-info small {
    color: var(--muted);
}

.rank-row em {
    color: var(--gold);
    font-style: normal;
    font-weight: 900;
}

.wide-link {
    width: 100%;
    margin-top: 18px;
    border: 1px solid rgba(34, 211, 238, 0.28);
    color: var(--cyan);
    background: rgba(8, 47, 73, 0.38);
}

.page-hero,
.detail-hero {
    position: relative;
    overflow: hidden;
    padding: 88px 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    background:
        radial-gradient(circle at 20% 20%, rgba(34, 211, 238, 0.22), transparent 28rem),
        linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(30, 64, 175, 0.58));
}

.compact-hero {
    padding: 70px 0;
}

.split-hero,
.detail-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 36px;
    align-items: center;
}

.hero-side-card {
    padding: 12px;
}

.hero-side-card img {
    width: 100%;
    aspect-ratio: 2 / 3;
    border-radius: 20px;
    object-fit: cover;
}

.hero-side-card strong,
.hero-side-card small {
    display: block;
    padding: 10px 8px 0;
}

.hero-side-card small {
    color: var(--muted);
}

.filter-bar {
    display: flex;
    align-items: end;
    gap: 16px;
    margin-bottom: 26px;
    padding: 18px;
}

.filter-bar label {
    flex: 1;
    display: grid;
    gap: 6px;
    color: #cbd5e1;
    font-size: 14px;
}

.filter-bar input,
.filter-bar select {
    width: 100%;
    border: 1px solid rgba(34, 211, 238, 0.22);
    border-radius: 16px;
    outline: none;
    color: white;
    background: rgba(2, 6, 23, 0.62);
    padding: 12px 14px;
}

.result-count {
    color: var(--cyan);
    font-weight: 800;
    white-space: nowrap;
}

.category-overview-list {
    display: grid;
    gap: 26px;
}

.category-overview-block {
    padding: 24px;
}

.category-overview-head {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    margin-bottom: 22px;
}

.category-overview-head img {
    width: 130px;
    aspect-ratio: 2 / 3;
    border-radius: 20px;
    object-fit: cover;
}

.ranking-hero .top-rank-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 30px;
}

.top-rank-card {
    min-height: 220px;
    padding: 18px;
    display: grid;
    align-content: end;
}

.top-rank-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.42;
}

.top-rank-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(2, 6, 23, 0.88));
}

.top-rank-card span,
.top-rank-card strong,
.top-rank-card small {
    position: relative;
    z-index: 1;
}

.top-rank-card span {
    color: var(--gold);
    font-weight: 900;
}

.top-rank-card strong {
    font-size: 24px;
}

.top-rank-card small {
    color: #cbd5e1;
}

.detail-hero {
    isolation: isolate;
    padding: 76px 0;
}

.detail-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: var(--detail-bg);
    background-position: center;
    background-size: cover;
    opacity: 0.24;
    filter: blur(3px) saturate(1.1);
    transform: scale(1.05);
}

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

.detail-hero-grid {
    grid-template-columns: 300px minmax(0, 1fr);
}

.detail-poster img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 30px;
    border: 1px solid rgba(34, 211, 238, 0.24);
    box-shadow: var(--shadow);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 14px;
}

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

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

.detail-main {
    display: grid;
    gap: 22px;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(34, 211, 238, 0.22);
    border-radius: 30px;
    background: #000;
    box-shadow: var(--shadow);
}

.movie-player {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.player-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    gap: 6px;
    border: 0;
    color: white;
    background: radial-gradient(circle at center, rgba(34, 211, 238, 0.2), rgba(2, 6, 23, 0.72));
}

.player-overlay span {
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: white;
    font-size: 28px;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    box-shadow: 0 20px 44px rgba(34, 211, 238, 0.28);
}

.player-overlay strong {
    margin-top: 10px;
    font-size: 24px;
}

.player-overlay small {
    color: #cbd5e1;
}

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

.player-message {
    position: absolute;
    left: 16px;
    bottom: 12px;
    margin: 0;
    color: #bae6fd;
    font-size: 13px;
}

.detail-card,
.sidebar-card,
.prose-card {
    padding: 24px;
}

.detail-card p,
.prose-card p {
    color: #d1d5db;
    margin: 0;
}

.meta-table dl {
    display: grid;
    gap: 12px;
    margin: 0;
}

.meta-table dl div {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.meta-table dt {
    color: var(--muted);
}

.meta-table dd {
    margin: 0;
}

.detail-sidebar {
    position: sticky;
    top: 98px;
}

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

.side-related-list a {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.side-related-list img {
    width: 64px;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 12px;
}

.side-related-list strong,
.side-related-list small {
    display: block;
}

.side-related-list small {
    color: var(--muted);
}

.sitemap-layout {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 26px;
}

.prose-card ul {
    display: grid;
    gap: 8px;
    padding: 0;
    margin: 12px 0 22px;
    list-style: none;
}

.prose-card li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.prose-card a {
    color: #bae6fd;
}

.sitemap-movies ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    display: grid;
    column-gap: 18px;
}

.sitemap-movies li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.sitemap-movies span {
    color: var(--muted);
    white-space: nowrap;
}

.site-footer {
    border-top: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(2, 6, 23, 0.9);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr;
    gap: 30px;
    padding: 48px 0;
}

.footer-grid h2 {
    margin: 0 0 12px;
    font-size: 18px;
}

.footer-links {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: #cbd5e1;
}

.footer-links a:hover,
.footer-bottom a:hover {
    color: var(--cyan);
}

.footer-bottom {
    padding: 18px;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
    text-align: center;
    color: var(--muted);
}

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

    .nav-toggle {
        display: inline-grid;
        place-items: center;
    }

    .header-search {
        display: none;
    }

    .hero-content,
    .two-column-layout,
    .detail-layout,
    .sitemap-layout {
        grid-template-columns: 1fr;
    }

    .rank-panel,
    .detail-sidebar {
        position: static;
    }

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

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

@media (max-width: 760px) {
    .container {
        width: min(100% - 22px, 1180px);
    }

    .header-inner {
        min-height: 68px;
    }

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

    .brand-text small {
        display: none;
    }

    .hero,
    .hero-slide {
        min-height: auto;
    }

    .hero-content {
        grid-template-columns: 1fr;
        padding: 54px 0 86px;
    }

    .hero-poster {
        max-width: 250px;
    }

    .hero h1,
    .page-hero h1,
    .detail-copy h1 {
        font-size: 38px;
    }

    .stats-grid,
    .ranking-hero .top-rank-grid,
    .footer-grid,
    .split-hero,
    .detail-hero-grid {
        grid-template-columns: 1fr;
    }

    .category-grid,
    .movie-grid,
    .movie-grid-dense,
    .mini-grid,
    .sitemap-movies ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .category-tile {
        min-height: 170px;
    }

    .section-heading,
    .filter-bar {
        display: grid;
        align-items: stretch;
    }

    .category-overview-head {
        grid-template-columns: 92px minmax(0, 1fr);
    }

    .category-overview-head img {
        width: 92px;
    }

    .card-desc {
        display: none;
    }

    .detail-poster {
        max-width: 220px;
    }
}

@media (max-width: 460px) {
    .movie-grid,
    .movie-grid-dense,
    .mini-grid,
    .category-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions,
    .card-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .primary-button,
    .ghost-button,
    .watch-link {
        width: 100%;
    }
}
