:root {
    color-scheme: dark;
    --bg: #020617;
    --bg-soft: #0f172a;
    --bg-panel: rgba(15, 23, 42, 0.72);
    --bg-card: rgba(30, 41, 59, 0.66);
    --line: rgba(148, 163, 184, 0.16);
    --line-strong: rgba(148, 163, 184, 0.28);
    --text: #f8fafc;
    --text-muted: #cbd5e1;
    --text-soft: #94a3b8;
    --cyan: #06b6d4;
    --cyan-dark: #0891b2;
    --cyan-soft: rgba(6, 182, 212, 0.16);
    --radius: 18px;
    --shadow: 0 24px 80px rgba(2, 6, 23, 0.48);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background:
        radial-gradient(circle at 20% 0%, rgba(8, 145, 178, 0.16), transparent 32rem),
        linear-gradient(180deg, #020617 0%, #0f172a 48%, #020617 100%);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    line-height: 1.55;
}

body::selection {
    color: #ffffff;
    background: rgba(6, 182, 212, 0.46);
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(100% - 32px, 1280px);
    margin-inline: auto;
}

.site-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--line);
    background: rgba(15, 23, 42, 0.94);
    backdrop-filter: blur(18px);
}

.nav-shell {
    width: min(100% - 32px, 1280px);
    height: 66px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: #f8fafc;
    font-weight: 750;
    letter-spacing: -0.02em;
}

.brand-icon {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(6, 182, 212, 0.38);
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, #0891b2, #164e63);
    box-shadow: 0 0 28px rgba(8, 145, 178, 0.42);
}

.brand-text {
    white-space: nowrap;
    font-size: 20px;
}

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

.nav-link,
.nav-search-button,
.mobile-menu-button {
    border: 0;
    color: var(--text-muted);
    background: transparent;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-link {
    font-size: 14px;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active,
.nav-search-button:hover,
.mobile-menu-button:hover {
    color: var(--cyan);
}

.nav-search-button,
.mobile-menu-button {
    width: 36px;
    height: 36px;
    display: inline-grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.55);
}

.mobile-menu-button {
    display: none;
    color: #ffffff;
}

.nav-search,
.mobile-panel {
    width: min(100% - 32px, 1280px);
    margin-inline: auto;
    padding-bottom: 16px;
}

.nav-search-form,
.big-search {
    display: flex;
    gap: 10px;
}

.nav-search-form input,
.big-search input,
.inline-filter input,
.inline-filter select,
.search-controls select {
    min-width: 0;
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 12px;
    outline: none;
    background: rgba(15, 23, 42, 0.92);
}

.nav-search-form input,
.big-search input {
    flex: 1;
    padding: 12px 14px;
}

.nav-search-form input:focus,
.big-search input:focus,
.inline-filter input:focus,
.inline-filter select:focus,
.search-controls select:focus {
    border-color: rgba(6, 182, 212, 0.7);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.14);
}

.nav-search-form button,
.big-search button,
.button-primary,
.button-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 0;
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.nav-search-form button,
.big-search button,
.button-primary {
    color: #ffffff;
    background: linear-gradient(135deg, #0891b2, #06b6d4);
}

.nav-search-form button,
.big-search button {
    padding: 0 22px;
}

.button-primary,
.button-ghost {
    min-height: 46px;
    padding: 0 24px;
}

.button-ghost {
    color: var(--text);
    border: 1px solid rgba(203, 213, 225, 0.24);
    background: rgba(15, 23, 42, 0.58);
}

.button-primary:hover,
.button-ghost:hover,
.nav-search-form button:hover,
.big-search button:hover {
    transform: translateY(-1px);
}

.mobile-panel {
    border-top: 1px solid var(--line);
    padding-top: 12px;
}

.mobile-link {
    display: block;
    padding: 10px 0;
    color: var(--text-muted);
}

.mobile-link:hover {
    color: var(--cyan);
}

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

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.72s ease;
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.hero-bg,
.hero-bg img,
.hero-gradient {
    position: absolute;
    inset: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.03);
    filter: saturate(1.05) contrast(1.02);
}

.hero-bg img.image-missing,
.card-image.image-missing,
.row-image.image-missing,
.related-image.image-missing,
.category-covers img.image-missing {
    opacity: 0;
}

.hero-bg:has(img.image-missing),
.card-cover:has(img.image-missing),
.row-cover:has(img.image-missing),
.related-cover:has(img.image-missing),
.category-covers:has(img.image-missing) {
    background:
        radial-gradient(circle at 28% 22%, rgba(6, 182, 212, 0.32), transparent 30%),
        linear-gradient(135deg, #0f172a, #020617 56%, #164e63);
}

.hero-gradient {
    background:
        linear-gradient(90deg, rgba(2, 6, 23, 0.92) 0%, rgba(2, 6, 23, 0.62) 38%, rgba(2, 6, 23, 0.08) 100%),
        linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0.55) 34%, rgba(2, 6, 23, 0.05) 100%);
}

.hero-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding-bottom: 78px;
}

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

.eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 12px;
    margin-bottom: 16px;
    border-radius: 999px;
    color: #67e8f9;
    background: rgba(6, 182, 212, 0.16);
    font-size: 14px;
    font-weight: 700;
}

.hero h1,
.page-hero h1 {
    margin: 0 0 16px;
    color: #ffffff;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.04;
    letter-spacing: -0.05em;
}

.hero p,
.page-hero p {
    max-width: 760px;
    margin: 0 0 24px;
    color: var(--text-muted);
    font-size: clamp(16px, 2vw, 20px);
}

.hero-meta,
.hero-actions,
.pill-row,
.card-tags,
.row-tags,
.detail-meta,
.tag-panel {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.hero-meta {
    margin-bottom: 26px;
    color: var(--text-soft);
    font-size: 14px;
}

.hero-meta span,
.pill-row span,
.card-meta span,
.card-tags span,
.row-tags span,
.detail-meta span,
.detail-meta a,
.tag-panel a {
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.72);
}

.hero-meta span,
.pill-row span {
    padding: 6px 10px;
}

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

.hero-dot {
    width: 30px;
    height: 4px;
    border: 0;
    border-radius: 999px;
    background: rgba(226, 232, 240, 0.34);
}

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

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

.band-section {
    border-block: 1px solid var(--line);
    background: rgba(15, 23, 42, 0.42);
}

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

.section-heading h2 {
    margin: 0;
    font-size: clamp(24px, 3vw, 32px);
    letter-spacing: -0.03em;
}

.section-heading p,
.muted-text {
    margin: 6px 0 0;
    color: var(--text-soft);
}

.section-heading a {
    color: #67e8f9;
    white-space: nowrap;
}

.grid {
    display: grid;
    gap: 20px;
}

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

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

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

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

.movie-card {
    min-width: 0;
}

.card-link {
    position: relative;
    display: block;
    min-height: 100%;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-card);
    box-shadow: 0 10px 40px rgba(2, 6, 23, 0.18);
    transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.card-link:hover {
    transform: translateY(-4px);
    border-color: rgba(6, 182, 212, 0.42);
    background: rgba(30, 41, 59, 0.9);
}

.card-cover {
    position: relative;
    overflow: hidden;
    background: #0f172a;
}

.movie-card-small .card-cover,
.movie-card-medium .card-cover {
    aspect-ratio: 2 / 3;
}

.movie-card-large .card-cover {
    aspect-ratio: 16 / 9;
}

.movie-card-mosaic .card-cover {
    aspect-ratio: 1;
}

.card-image,
.row-image,
.related-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, opacity 0.2s ease;
}

.card-link:hover .card-image,
.rank-row:hover .row-image,
.related-card:hover .related-image {
    transform: scale(1.08);
}

.card-shade {
    position: absolute;
    inset: 0;
    opacity: 0.92;
    background: linear-gradient(180deg, transparent 34%, rgba(0, 0, 0, 0.82) 100%);
}

.play-float {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin: auto;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(8, 145, 178, 0.92);
    opacity: 0;
    transform: scale(0.86);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.card-link:hover .play-float {
    opacity: 1;
    transform: scale(1);
}

.rank-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #ffffff;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    font-weight: 800;
}

.card-content {
    position: absolute;
    inset: auto 0 0;
    padding: 14px;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.86));
}

.card-content h3,
.related-card h3,
.row-main h3 {
    margin: 0 0 6px;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.35;
}

.card-content p,
.related-card p,
.row-main p {
    display: -webkit-box;
    margin: 0 0 10px;
    overflow: hidden;
    color: var(--text-muted);
    font-size: 13px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.movie-card-small .card-content p,
.movie-card-small .card-tags,
.movie-card-small .card-review {
    display: none;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    color: var(--text-soft);
    font-size: 12px;
}

.card-meta span,
.card-tags span,
.row-tags span {
    padding: 3px 7px;
    background: rgba(15, 23, 42, 0.62);
}

.card-tags {
    margin-top: 8px;
    color: var(--text-soft);
    font-size: 12px;
}

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

.category-tile,
.category-overview-card a {
    display: block;
    min-height: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(8, 145, 178, 0.12));
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.category-tile {
    padding: 22px;
}

.category-tile:hover,
.category-overview-card a:hover {
    transform: translateY(-3px);
    border-color: rgba(6, 182, 212, 0.45);
}

.category-tile span,
.category-overview-copy h2 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 750;
}

.category-tile strong {
    display: block;
    margin: 14px 0 8px;
    color: #67e8f9;
    font-size: 34px;
}

.category-tile p,
.category-overview-copy p {
    margin: 0;
    color: var(--text-soft);
}

.mosaic-grid {
    display: grid;
    grid-template-columns: repeat(9, minmax(0, 1fr));
    grid-auto-flow: dense;
    gap: 12px;
}

.mosaic-grid .movie-card:nth-child(1),
.mosaic-grid .movie-card:nth-child(5),
.mosaic-grid .movie-card:nth-child(9) {
    grid-column: span 2;
    grid-row: span 2;
}

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

.rank-row {
    display: grid;
    grid-template-columns: 44px 150px minmax(0, 1fr) 64px;
    align-items: center;
    gap: 16px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.6);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.rank-row:hover {
    border-color: rgba(6, 182, 212, 0.36);
    background: rgba(30, 41, 59, 0.82);
}

.row-number {
    color: rgba(148, 163, 184, 0.6);
    font-size: 24px;
    font-weight: 850;
}

.row-cover {
    height: 86px;
    overflow: hidden;
    border-radius: 12px;
    background: #0f172a;
}

.row-main {
    min-width: 0;
}

.row-tags {
    color: var(--text-soft);
    font-size: 12px;
}

.row-score {
    justify-self: end;
    color: #67e8f9;
    font-size: 20px;
    font-weight: 800;
}

.library-heading {
    align-items: center;
}

.inline-filter {
    display: flex;
    gap: 10px;
}

.inline-filter input,
.inline-filter select,
.search-controls select {
    min-height: 42px;
    padding: 0 12px;
}

.page-hero {
    position: relative;
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(circle at 14% 20%, rgba(6, 182, 212, 0.18), transparent 28rem),
        linear-gradient(135deg, #020617, #0f172a 70%);
}

.compact-hero {
    padding: 72px 0 54px;
}

.pill-row span {
    color: var(--text-muted);
    font-size: 13px;
}

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

.category-overview-card a {
    overflow: hidden;
}

.category-covers {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    height: 170px;
    background: #0f172a;
}

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

.category-overview-copy {
    padding: 22px;
}

.category-overview-copy span {
    display: inline-flex;
    margin-top: 16px;
    padding: 6px 10px;
    border-radius: 999px;
    color: #67e8f9;
    background: rgba(6, 182, 212, 0.14);
    font-weight: 700;
}

.search-hero .container {
    max-width: 900px;
}

.big-search {
    max-width: 720px;
}

.big-search input,
.big-search button {
    min-height: 52px;
}

.search-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(300px, 0.85fr);
    gap: 32px;
    padding: 34px 0 72px;
}

.detail-main {
    min-width: 0;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background: #000000;
    box-shadow: var(--shadow);
}

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

.player-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border: 0;
    color: #ffffff;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.14), rgba(2, 6, 23, 0.62));
    transition: opacity 0.2s ease;
}

.player-overlay span {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(8, 145, 178, 0.94);
    box-shadow: 0 0 36px rgba(8, 145, 178, 0.46);
    font-size: 28px;
}

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

.player-loading,
.player-error {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
    text-align: center;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.72);
}

.player-controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    gap: 10px;
    padding: 14px;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.78));
    opacity: 0;
    transition: opacity 0.2s ease;
}

.player-shell:hover .player-controls,
.player-shell:focus-within .player-controls {
    opacity: 1;
}

.player-controls button {
    border: 0;
    border-radius: 10px;
    padding: 8px 12px;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.75);
}

.detail-copy {
    margin-top: 26px;
}

.detail-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.detail-title-row h1 {
    margin: 0;
    font-size: clamp(30px, 4vw, 48px);
    letter-spacing: -0.04em;
}

.score-pill {
    flex: 0 0 auto;
    padding: 8px 12px;
    border-radius: 999px;
    color: #67e8f9;
    background: rgba(6, 182, 212, 0.14);
    font-weight: 850;
}

.detail-meta {
    margin: 16px 0 24px;
    color: var(--text-soft);
}

.detail-meta span,
.detail-meta a {
    padding: 6px 10px;
}

.detail-meta a {
    color: #67e8f9;
}

.info-panel,
.tag-panel,
.sticky-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(15, 23, 42, 0.62);
}

.info-panel {
    margin-bottom: 18px;
    padding: 22px;
}

.info-panel h2,
.sticky-card h2 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 20px;
}

.info-panel p {
    margin: 0;
    color: var(--text-muted);
}

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

.detail-facts span {
    color: var(--text-soft);
}

.tag-panel {
    padding: 18px;
}

.tag-panel a {
    padding: 6px 10px;
    color: var(--text-muted);
}

.tag-panel a:hover {
    color: #67e8f9;
}

.detail-aside {
    min-width: 0;
}

.sticky-card {
    position: sticky;
    top: 88px;
    padding: 18px;
}

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

.related-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 12px;
    padding: 10px;
    border-radius: 14px;
    background: rgba(30, 41, 59, 0.45);
    transition: background 0.2s ease;
}

.related-card:hover {
    background: rgba(30, 41, 59, 0.82);
}

.related-cover {
    height: 78px;
    overflow: hidden;
    border-radius: 10px;
    background: #0f172a;
}

.related-card span {
    color: var(--text-soft);
    font-size: 12px;
}

.site-footer {
    border-top: 1px solid var(--line);
    background: rgba(15, 23, 42, 0.7);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr));
    gap: 36px;
    padding: 48px 0;
}

.footer-brand p,
.site-footer li,
.site-footer a {
    color: var(--text-soft);
}

.footer-brand p {
    max-width: 540px;
}

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

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer li + li {
    margin-top: 8px;
}

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

[hidden] {
    display: none !important;
}

@media (max-width: 1180px) {
    .desktop-nav {
        gap: 14px;
    }

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

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

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

    .sticky-card {
        position: static;
    }
}

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

    .mobile-menu-button {
        display: inline-grid;
    }

    .hero {
        min-height: 560px;
    }

    .hero-gradient {
        background:
            linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0.68) 45%, rgba(2, 6, 23, 0.22) 100%);
    }

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

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

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

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

    .inline-filter {
        width: 100%;
        flex-direction: column;
    }

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

    .row-score {
        display: none;
    }

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

@media (max-width: 620px) {
    .container,
    .nav-shell,
    .nav-search,
    .mobile-panel {
        width: min(100% - 24px, 1280px);
    }

    .brand-text {
        font-size: 17px;
    }

    .hero {
        height: 76vh;
        min-height: 520px;
    }

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

    .hero-actions,
    .nav-search-form,
    .big-search {
        flex-direction: column;
        align-items: stretch;
    }

    .grid-large,
    .grid-medium,
    .grid-curated,
    .grid-small,
    .grid-library,
    .category-grid,
    .category-overview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .movie-card-large .card-cover {
        aspect-ratio: 2 / 3;
    }

    .movie-card-medium .card-content p,
    .movie-card-large .card-content p,
    .card-tags {
        display: none;
    }

    .category-covers {
        height: 120px;
    }

    .rank-row {
        grid-template-columns: 32px 84px minmax(0, 1fr);
        gap: 10px;
    }

    .row-cover {
        height: 70px;
    }

    .row-main p,
    .row-tags span:nth-child(n + 3) {
        display: none;
    }

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

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

@media (max-width: 420px) {
    .grid-large,
    .grid-medium,
    .grid-curated,
    .grid-small,
    .grid-library,
    .category-grid,
    .category-overview-grid {
        grid-template-columns: 1fr;
    }
}
