:root {
    --color-bg: #f8fafc;
    --color-panel: #ffffff;
    --color-ink: #0f172a;
    --color-muted: #64748b;
    --color-line: #e2e8f0;
    --color-primary: #059669;
    --color-primary-dark: #047857;
    --color-primary-soft: #d1fae5;
    --color-secondary: #0f766e;
    --shadow-card: 0 18px 48px rgba(15, 23, 42, 0.12);
    --shadow-soft: 0 14px 34px rgba(15, 23, 42, 0.08);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--color-ink);
    background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 48%, #ecfdf5 100%);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

body.menu-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

.main-content {
    padding-top: 64px;
}

.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.84);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    backdrop-filter: blur(16px);
    transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-nav.is-scrolled {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.09);
}

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

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    gap: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--color-primary);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.brand-icon {
    display: inline-grid;
    width: 38px;
    height: 38px;
    place-items: center;
    color: #ffffff;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(5, 150, 105, 0.24);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #334155;
    font-weight: 650;
}

.nav-links a {
    position: relative;
    padding: 8px 0;
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
    color: var(--color-primary);
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
    transform: scaleX(1);
}

.nav-search {
    display: flex;
    align-items: center;
    min-width: 220px;
}

.nav-search input {
    width: 100%;
    height: 40px;
    padding: 0 14px;
    color: #0f172a;
    background: rgba(241, 245, 249, 0.88);
    border: 1px solid rgba(203, 213, 225, 0.85);
    border-radius: 999px;
    outline: none;
    transition: border 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav-search input:focus {
    background: #ffffff;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.16);
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    color: #0f172a;
    border-radius: 12px;
    background: #f1f5f9;
}

.hero-carousel {
    position: relative;
    min-height: 680px;
    overflow: hidden;
    color: #ffffff;
    background: #020617;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    align-items: end;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease, visibility 0.7s ease;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    transition: transform 7s ease;
}

.hero-slide.is-active .hero-bg {
    transform: scale(1.11);
}

.hero-mask {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 22%, rgba(16, 185, 129, 0.34), transparent 28%),
        linear-gradient(90deg, rgba(2, 6, 23, 0.92) 0%, rgba(2, 6, 23, 0.72) 44%, rgba(2, 6, 23, 0.26) 100%),
        linear-gradient(0deg, rgba(2, 6, 23, 0.96) 0%, rgba(2, 6, 23, 0.24) 52%, rgba(2, 6, 23, 0.18) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 96px 0 118px;
}

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

.hero-kicker,
.section-kicker,
.detail-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 8px 13px;
    color: #ffffff;
    background: rgba(5, 150, 105, 0.92);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 750;
    box-shadow: 0 12px 24px rgba(5, 150, 105, 0.24);
}

.hero-title {
    margin: 0 0 18px;
    font-size: clamp(42px, 6vw, 76px);
    line-height: 1.04;
    font-weight: 900;
    letter-spacing: -0.055em;
    text-wrap: balance;
}

.hero-text {
    max-width: 640px;
    color: #dbeafe;
    font-size: clamp(17px, 2vw, 21px);
    line-height: 1.75;
}

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

.hero-meta span,
.meta-pill,
.tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    color: #e2e8f0;
    background: rgba(15, 23, 42, 0.48);
    border: 1px solid rgba(226, 232, 240, 0.16);
    border-radius: 999px;
    backdrop-filter: blur(12px);
    font-size: 14px;
}

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

.btn-primary,
.btn-secondary,
.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 760;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    box-shadow: 0 16px 32px rgba(5, 150, 105, 0.26);
}

.btn-secondary {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.26);
    backdrop-filter: blur(12px);
}

.btn-ghost {
    color: var(--color-primary);
    background: #ecfdf5;
}

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

.hero-controls {
    position: absolute;
    right: max(24px, calc((100% - 1180px) / 2));
    bottom: 42px;
    z-index: 5;
    display: flex;
    gap: 10px;
}

.hero-control {
    display: inline-grid;
    width: 44px;
    height: 44px;
    place-items: center;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    backdrop-filter: blur(10px);
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-control:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

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

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

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

.section {
    padding: 72px 0;
}

.section.alt {
    background: rgba(255, 255, 255, 0.72);
}

.section.soft {
    background: linear-gradient(135deg, rgba(236, 253, 245, 0.88), rgba(240, 253, 250, 0.76));
}

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

.section-title {
    margin: 0;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.16;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.section-desc {
    max-width: 760px;
    margin-top: 10px;
    color: var(--color-muted);
    font-size: 16px;
    line-height: 1.8;
}

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

.movie-grid.compact {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
}

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

.card-shell {
    height: 100%;
    overflow: hidden;
    background: var(--color-panel);
    border: 1px solid rgba(226, 232, 240, 0.88);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.card-shell:hover {
    transform: translateY(-6px);
    border-color: rgba(16, 185, 129, 0.38);
    box-shadow: var(--shadow-card);
}

.poster-link {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #0f172a;
}

.movie-grid.compact .poster-link {
    aspect-ratio: 16 / 11;
}

.poster-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease, filter 0.45s ease;
}

.card-shell:hover .poster-link img {
    transform: scale(1.08);
    filter: saturate(1.06) contrast(1.03);
}

.poster-link::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.04), rgba(15, 23, 42, 0.56));
}

.badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 5px 10px;
    color: #ffffff;
    background: rgba(5, 150, 105, 0.94);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 750;
}

.year-badge {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 2;
    padding: 5px 10px;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.66);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    backdrop-filter: blur(10px);
}

.play-mark {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    display: inline-grid;
    width: 54px;
    height: 54px;
    place-items: center;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 999px;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.86);
    backdrop-filter: blur(12px);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.card-shell:hover .play-mark {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.card-body {
    padding: 16px;
}

.card-title {
    margin: 0 0 10px;
    color: #0f172a;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 850;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--color-muted);
    font-size: 13px;
}

.card-text {
    color: #475569;
    font-size: 14px;
    line-height: 1.68;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.category-card {
    position: relative;
    overflow: hidden;
    min-height: 170px;
    padding: 22px;
    color: #ffffff;
    background:
        radial-gradient(circle at 100% 0, rgba(255, 255, 255, 0.24), transparent 32%),
        linear-gradient(135deg, #059669, #0f766e);
    border-radius: var(--radius-md);
    box-shadow: 0 18px 36px rgba(5, 150, 105, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px rgba(5, 150, 105, 0.28);
}

.category-card h2,
.category-card h3 {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 860;
}

.category-card p {
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.72;
}

.filter-panel {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, minmax(130px, 0.6fr));
    gap: 12px;
    margin-bottom: 28px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(226, 232, 240, 0.86);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

.filter-panel input,
.filter-panel select {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    color: #0f172a;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    outline: none;
}

.filter-panel input:focus,
.filter-panel select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.14);
}

.empty-result {
    display: none;
    padding: 28px;
    color: var(--color-muted);
    text-align: center;
    background: #ffffff;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
}

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

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

.rank-item {
    display: grid;
    grid-template-columns: 76px 120px 1fr auto;
    align-items: center;
    gap: 18px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.rank-item:hover {
    transform: translateY(-2px);
    border-color: rgba(16, 185, 129, 0.36);
}

.rank-no {
    color: var(--color-primary);
    font-size: 30px;
    font-weight: 900;
    text-align: center;
}

.rank-poster {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 14px;
    background: #0f172a;
}

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

.rank-title {
    margin: 0 0 8px;
    font-size: 19px;
    font-weight: 850;
}

.rank-text {
    color: var(--color-muted);
    line-height: 1.65;
}

.page-hero {
    padding: 88px 0 52px;
    color: #ffffff;
    background:
        radial-gradient(circle at 18% 12%, rgba(16, 185, 129, 0.34), transparent 32%),
        linear-gradient(135deg, #064e3b, #0f172a 72%);
}

.page-hero h1 {
    max-width: 900px;
    margin: 0;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.14;
    font-weight: 900;
    letter-spacing: -0.045em;
}

.page-hero p {
    max-width: 760px;
    margin-top: 16px;
    color: #d1fae5;
    font-size: 18px;
    line-height: 1.8;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
}

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

.detail-hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: #020617;
}

.detail-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(16px) saturate(1.08);
    transform: scale(1.08);
    opacity: 0.42;
}

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

.detail-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 36px;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 104px 0 60px;
}

.detail-cover {
    overflow: hidden;
    aspect-ratio: 3 / 4;
    border-radius: 26px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.46);
}

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

.detail-title {
    margin: 0 0 18px;
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -0.045em;
}

.detail-summary {
    color: #dbeafe;
    font-size: 18px;
    line-height: 1.82;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0;
}

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

.player-card {
    overflow: hidden;
    background: #020617;
    border-radius: var(--radius-lg);
    box-shadow: 0 28px 70px rgba(2, 6, 23, 0.3);
}

.player-wrap {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #020617;
}

.player-wrap video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #020617;
}

.play-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.1), rgba(2, 6, 23, 0.44));
}

.play-overlay span {
    display: grid;
    width: 86px;
    height: 86px;
    place-items: center;
    color: #ffffff;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 999px;
    box-shadow: 0 22px 40px rgba(5, 150, 105, 0.34);
    font-size: 34px;
    transform: translateX(3px);
}

.play-overlay.is-hidden {
    display: none;
}

.content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    margin-top: 34px;
}

.content-panel,
.side-panel {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

.content-panel {
    padding: 28px;
}

.content-panel h2,
.side-panel h2 {
    margin: 0 0 16px;
    font-size: 24px;
    font-weight: 860;
}

.content-panel p {
    margin: 0 0 18px;
    color: #334155;
    font-size: 16px;
    line-height: 1.92;
}

.side-panel {
    padding: 22px;
    align-self: start;
}

.side-links {
    display: grid;
    gap: 12px;
}

.side-link {
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 12px;
    align-items: center;
    padding: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.side-link:hover {
    background: #ecfdf5;
    border-color: rgba(16, 185, 129, 0.32);
}

.side-link img {
    width: 74px;
    height: 52px;
    object-fit: cover;
    border-radius: 10px;
}

.side-link strong {
    display: block;
    margin-bottom: 5px;
    color: #0f172a;
    line-height: 1.35;
}

.side-link span {
    color: var(--color-muted);
    font-size: 13px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 16px 0 4px;
}

.tags .tag-pill {
    color: #065f46;
    background: #ecfdf5;
    border-color: #a7f3d0;
}

.site-footer {
    margin-top: 76px;
    color: #cbd5e1;
    background: #0f172a;
}

.footer-inner {
    padding: 44px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 34px;
}

.footer-title {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 20px;
    font-weight: 850;
}

.footer-text {
    max-width: 560px;
    line-height: 1.8;
}

.footer-links {
    display: grid;
    gap: 9px;
}

.footer-links a:hover {
    color: #6ee7b7;
}

.footer-bottom {
    margin-top: 34px;
    padding-top: 22px;
    color: #94a3b8;
    border-top: 1px solid rgba(148, 163, 184, 0.22);
    font-size: 14px;
}

@media (max-width: 1100px) {
    .movie-grid,
    .movie-grid.compact {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

    .nav-search {
        display: none;
    }
}

@media (max-width: 820px) {
    .nav-toggle {
        display: inline-flex;
    }

    .nav-links {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px 24px 22px;
        background: rgba(255, 255, 255, 0.98);
        border-bottom: 1px solid #e2e8f0;
        box-shadow: 0 18px 38px rgba(15, 23, 42, 0.1);
    }

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

    .nav-links a {
        padding: 13px 0;
    }

    .hero-carousel {
        min-height: 640px;
    }

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

    .hero-controls {
        right: 16px;
        bottom: 30px;
    }

    .hero-dots {
        bottom: 44px;
    }

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

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

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

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

    .rank-item {
        grid-template-columns: 48px 92px 1fr;
    }

    .rank-item .btn-ghost {
        grid-column: 3;
        justify-self: start;
    }

    .detail-inner {
        grid-template-columns: 1fr;
        padding-top: 92px;
    }

    .detail-cover {
        width: min(260px, 72vw);
    }

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

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

@media (max-width: 520px) {
    .brand {
        font-size: 19px;
    }

    .brand-icon {
        width: 34px;
        height: 34px;
    }

    .hero-title,
    .detail-title {
        letter-spacing: -0.035em;
    }

    .movie-grid,
    .movie-grid.compact,
    .category-grid {
        grid-template-columns: 1fr;
    }

    .rank-item {
        grid-template-columns: 42px 1fr;
    }

    .rank-poster {
        display: none;
    }

    .rank-item .btn-ghost {
        grid-column: 2;
    }

    .content-panel {
        padding: 22px;
    }
}
