:root {
    color-scheme: dark;
    --bg: #020617;
    --bg-soft: #0f172a;
    --panel: rgba(15, 23, 42, 0.72);
    --panel-strong: rgba(15, 23, 42, 0.92);
    --border: rgba(148, 163, 184, 0.18);
    --border-blue: rgba(59, 130, 246, 0.38);
    --text: #f8fafc;
    --muted: #94a3b8;
    --muted-2: #64748b;
    --blue: #3b82f6;
    --cyan: #22d3ee;
    --shadow: 0 22px 70px rgba(2, 8, 23, 0.48);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 12% 8%, rgba(59, 130, 246, 0.16), transparent 32rem),
        radial-gradient(circle at 82% 0%, rgba(34, 211, 238, 0.12), transparent 26rem),
        linear-gradient(180deg, #020617 0%, #0f172a 50%, #020617 100%);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

body.menu-open {
    overflow: hidden;
}

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

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

button,
input {
    font: inherit;
}

button {
    border: 0;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(59, 130, 246, 0.12);
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.98), rgba(15, 23, 42, 0.9));
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 50px rgba(2, 8, 23, 0.42);
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: min(1180px, calc(100% - 2rem));
    height: 4.6rem;
    margin: 0 auto;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.58rem;
    min-width: max-content;
    font-weight: 800;
}

.logo-mark {
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.95), rgba(34, 211, 238, 0.9));
    color: white;
    font-size: 0.78rem;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.48);
}

.logo-text {
    background: linear-gradient(90deg, #60a5fa, #67e8f9, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: clamp(1.15rem, 2.6vw, 1.55rem);
    letter-spacing: 0.02em;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 0.18rem;
}

.nav-link,
.mobile-link {
    border-radius: 0.75rem;
    color: #cbd5e1;
    font-size: 0.93rem;
    font-weight: 600;
    transition: color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.nav-link {
    padding: 0.66rem 0.88rem;
}

.nav-link:hover,
.nav-link.active,
.mobile-link:hover,
.mobile-link.active {
    background: rgba(59, 130, 246, 0.16);
    color: #bfdbfe;
    box-shadow: 0 0 24px rgba(59, 130, 246, 0.14);
}

.header-search,
.mobile-search {
    display: flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.86);
}

.header-search input,
.mobile-search input {
    width: 11rem;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: white;
    padding: 0.65rem 0.8rem 0.65rem 1rem;
}

.header-search button,
.mobile-search button {
    height: 100%;
    padding: 0.65rem 0.94rem;
    border-left: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(59, 130, 246, 0.18);
    color: #bfdbfe;
    cursor: pointer;
}

.mobile-toggle {
    display: none;
    border-radius: 0.8rem;
    background: rgba(148, 163, 184, 0.12);
    color: white;
    cursor: pointer;
    padding: 0.65rem 0.82rem;
}

.mobile-nav {
    display: none;
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto 1rem;
    border: 1px solid rgba(59, 130, 246, 0.16);
    border-radius: 1rem;
    background: rgba(15, 23, 42, 0.98);
    padding: 0.75rem;
}

.mobile-link {
    display: block;
    padding: 0.82rem 0.9rem;
}

.mobile-search {
    margin-top: 0.75rem;
}

.mobile-search input {
    width: 100%;
}

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

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

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

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.03);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(2, 6, 23, 0.88), rgba(2, 6, 23, 0.5) 46%, rgba(2, 6, 23, 0.24)),
        linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0.52) 36%, rgba(2, 6, 23, 0.14) 100%);
}

.hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 0 0 6.5rem;
}

.hero-copy {
    max-width: 48rem;
}

.badge-row,
.hero-meta,
.detail-meta,
.detail-tags,
.tag-row,
.filter-chips,
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.62rem;
}

.badge-row span,
.detail-tags span,
.tag-row span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.76);
    color: #cbd5e1;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.34rem 0.7rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
}

.badge-row span:first-child {
    background: rgba(59, 130, 246, 0.92);
    color: white;
    border-color: rgba(96, 165, 250, 0.55);
}

.hero h1 {
    margin: 1rem 0 0.8rem;
    max-width: 54rem;
    color: white;
    font-size: clamp(2.4rem, 6vw, 5rem);
    line-height: 1.04;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.38);
}

.hero p {
    display: -webkit-box;
    max-width: 48rem;
    margin: 0 0 1.1rem;
    overflow: hidden;
    color: #dbeafe;
    font-size: clamp(1rem, 2.2vw, 1.22rem);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.hero-meta {
    margin-bottom: 1.4rem;
    color: #cbd5e1;
}

.hero-meta span,
.detail-meta span,
.movie-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.primary-button,
.ghost-button,
.small-button,
.text-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.88rem;
    font-weight: 800;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border 0.25s ease;
}

.primary-button {
    background: linear-gradient(135deg, #3b82f6, #22d3ee);
    color: white;
    padding: 0.86rem 1.35rem;
    box-shadow: 0 16px 38px rgba(59, 130, 246, 0.36);
}

.ghost-button,
.small-button {
    border: 1px solid rgba(148, 163, 184, 0.24);
    background: rgba(15, 23, 42, 0.62);
    color: #dbeafe;
    padding: 0.8rem 1rem;
}

.primary-button:hover,
.ghost-button:hover,
.small-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(59, 130, 246, 0.22);
}

.hero-control {
    position: absolute;
    top: 50%;
    z-index: 4;
    display: grid;
    width: 3rem;
    height: 3rem;
    place-items: center;
    transform: translateY(-50%);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.78);
    color: white;
    cursor: pointer;
    font-size: 2rem;
    line-height: 1;
    backdrop-filter: blur(12px);
}

.hero-prev {
    left: 1rem;
}

.hero-next {
    right: 1rem;
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 2rem;
    z-index: 4;
    display: flex;
    gap: 0.5rem;
    transform: translateX(-50%);
}

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

.hero-dot.active {
    width: 2.2rem;
    background: #3b82f6;
}

.content-shell {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
}

.home-shell {
    padding: 4rem 0 5rem;
}

.page-shell {
    padding-top: 4.6rem;
}

.content-section {
    margin: 0 0 4.2rem;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.4rem;
}

.section-line {
    display: block;
    width: 0.3rem;
    height: 2.3rem;
    border-radius: 999px;
    background: linear-gradient(180deg, #60a5fa, #22d3ee);
}

.section-title h2,
.category-overview-head h2,
.footer-links h2,
.detail-content h2 {
    margin: 0;
    color: white;
    font-size: clamp(1.35rem, 2.8vw, 2rem);
    line-height: 1.25;
}

.section-title p,
.category-overview-head p {
    margin: 0.15rem 0 0;
    color: var(--muted);
}

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

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

.scroll-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(11rem, 13rem);
    gap: 1rem;
    overflow-x: auto;
    padding: 0 0 0.8rem;
    scroll-snap-type: x mandatory;
}

.scroll-row .movie-card {
    scroll-snap-align: start;
}

.movie-card {
    display: block;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 1rem;
    background: var(--panel);
    box-shadow: 0 16px 38px rgba(2, 8, 23, 0.26);
    backdrop-filter: blur(14px);
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.movie-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-blue);
    box-shadow: 0 24px 48px rgba(59, 130, 246, 0.15);
}

.movie-cover {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(15, 23, 42, 0.9));
}

.movie-cover::after,
.horizontal-cover::after,
.detail-poster::after,
.category-card::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.7), transparent 55%);
    pointer-events: none;
}

.movie-cover img,
.horizontal-cover img,
.category-card img,
.detail-poster img,
.rank-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.movie-card:hover .movie-cover img,
.movie-card:hover .horizontal-cover img,
.category-card:hover img {
    transform: scale(1.08);
}

.movie-type {
    position: absolute;
    top: 0.7rem;
    right: 0.7rem;
    z-index: 2;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.82);
    color: white;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.26rem 0.55rem;
    backdrop-filter: blur(12px);
}

.movie-info {
    display: block;
    padding: 0.88rem;
}

.movie-title {
    display: -webkit-box;
    min-height: 2.9rem;
    overflow: hidden;
    color: white;
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    transition: color 0.25s ease;
}

.movie-card:hover .movie-title {
    color: #60a5fa;
}

.movie-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.62rem;
    margin: 0.55rem 0;
    color: var(--muted-2);
    font-size: 0.78rem;
}

.tag-row {
    gap: 0.35rem;
}

.tag-row span {
    border-radius: 0.45rem;
    background: rgba(51, 65, 85, 0.66);
    color: #cbd5e1;
    font-size: 0.7rem;
    padding: 0.16rem 0.44rem;
}

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

.category-card {
    position: relative;
    display: block;
    min-height: 11rem;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 1.2rem;
    background: var(--panel);
}

.category-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(2, 6, 23, 0.88), rgba(2, 6, 23, 0.25));
}

.category-content {
    position: absolute;
    inset: auto 1rem 1rem 1rem;
    z-index: 2;
}

.category-content strong {
    display: block;
    color: white;
    font-size: 1.25rem;
    font-weight: 900;
}

.category-content small {
    display: block;
    margin-top: 0.36rem;
    color: #cbd5e1;
}

.split-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.rank-list,
.horizontal-list {
    display: grid;
    gap: 0.8rem;
}

.rank-row {
    display: grid;
    grid-template-columns: 3.2rem 1fr auto;
    align-items: center;
    gap: 0.8rem;
    border: 1px solid var(--border);
    border-radius: 1rem;
    background: rgba(15, 23, 42, 0.68);
    padding: 0.82rem;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.rank-row:hover {
    transform: translateX(4px);
    border-color: var(--border-blue);
    background: rgba(30, 41, 59, 0.78);
}

.rank-number {
    color: #60a5fa;
    font-size: 1.25rem;
    font-weight: 900;
}

.rank-name {
    overflow: hidden;
    color: white;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-meta {
    color: var(--muted);
    font-size: 0.86rem;
    white-space: nowrap;
}

.large-rank-row {
    grid-template-columns: 3rem 4.2rem 1fr auto;
}

.rank-thumb {
    display: block;
    width: 4.2rem;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 0.65rem;
    background: rgba(30, 41, 59, 0.7);
}

.horizontal-card {
    display: grid;
    grid-template-columns: 6.6rem 1fr;
    gap: 0.9rem;
}

.horizontal-cover {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
}

.horizontal-info {
    display: grid;
    align-content: center;
    gap: 0.5rem;
    min-width: 0;
    padding: 0.75rem 0.85rem 0.75rem 0;
}

.horizontal-info .movie-title {
    min-height: 0;
    -webkit-line-clamp: 1;
}

.movie-desc {
    display: -webkit-box;
    overflow: hidden;
    color: var(--muted);
    font-size: 0.86rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.text-link {
    margin-top: 1rem;
    color: #7dd3fc;
}

.page-hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(59, 130, 246, 0.12);
    background:
        radial-gradient(circle at 75% 10%, rgba(59, 130, 246, 0.24), transparent 24rem),
        linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 0.96));
}

.page-hero-inner {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 4.2rem 0 3.4rem;
}

.small-hero .page-hero-inner,
.search-hero .page-hero-inner,
.ranking-hero .page-hero-inner,
.category-hero .page-hero-inner {
    padding-top: 4rem;
}

.eyebrow {
    display: inline-flex;
    margin-bottom: 0.78rem;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.18);
    color: #93c5fd;
    font-weight: 800;
    padding: 0.3rem 0.72rem;
}

.page-hero h1,
.detail-copy h1 {
    margin: 0;
    color: white;
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.08;
}

.page-hero p,
.lead-text {
    max-width: 58rem;
    margin: 0.9rem 0 0;
    color: #cbd5e1;
    font-size: 1.08rem;
}

.category-overview-block {
    margin: 3rem 0;
}

.category-overview-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.filter-panel {
    display: grid;
    gap: 1rem;
    margin: 2rem 0;
    border: 1px solid var(--border);
    border-radius: 1.2rem;
    background: rgba(15, 23, 42, 0.72);
    padding: 1rem;
    backdrop-filter: blur(16px);
}

.site-search-input {
    width: 100%;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 1rem;
    outline: 0;
    background: rgba(2, 6, 23, 0.62);
    color: white;
    padding: 0.92rem 1rem;
}

.filter-chip {
    border-radius: 999px;
    background: rgba(30, 41, 59, 0.76);
    color: #cbd5e1;
    cursor: pointer;
    font-weight: 700;
    padding: 0.54rem 0.88rem;
    transition: background 0.25s ease, color 0.25s ease;
}

.filter-chip.active,
.filter-chip:hover {
    background: rgba(59, 130, 246, 0.9);
    color: white;
}

.searchable-list .is-hidden {
    display: none;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
    margin: 0 0 1rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.breadcrumbs a:hover {
    color: #60a5fa;
}

.detail-shell {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    padding-bottom: 5rem;
}

.detail-hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    padding: 3.5rem 0 2.2rem;
}

.detail-poster {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 1.35rem;
    aspect-ratio: 2 / 3;
    background: rgba(30, 41, 59, 0.7);
    box-shadow: var(--shadow);
}

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

.detail-copy .badge-row {
    margin-bottom: 1rem;
}

.detail-meta {
    margin: 1.2rem 0;
    color: #cbd5e1;
}

.detail-tags {
    margin: 1rem 0 1.4rem;
}

.player-section {
    margin: 1rem 0 3rem;
}

.player-box {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(59, 130, 246, 0.24);
    border-radius: 1.25rem;
    background: #000;
    aspect-ratio: 16 / 9;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}

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

.play-button {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 3;
    display: grid;
    width: 5rem;
    height: 5rem;
    place-items: center;
    transform: translate(-50%, -50%);
    border-radius: 999px;
    background: linear-gradient(135deg, #3b82f6, #22d3ee);
    color: white;
    cursor: pointer;
    font-size: 1.8rem;
    box-shadow: 0 0 0 0.55rem rgba(59, 130, 246, 0.18), 0 20px 50px rgba(59, 130, 246, 0.34);
}

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

.player-status {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    z-index: 2;
    border-radius: 999px;
    background: rgba(2, 6, 23, 0.76);
    color: #dbeafe;
    font-size: 0.84rem;
    padding: 0.38rem 0.78rem;
    backdrop-filter: blur(10px);
}

.player-status:empty {
    display: none;
}

.detail-content {
    border: 1px solid var(--border);
    border-radius: 1.2rem;
    background: rgba(15, 23, 42, 0.72);
    padding: clamp(1.1rem, 3vw, 2rem);
    margin-bottom: 3.5rem;
}

.detail-content h2 {
    margin: 0 0 0.75rem;
    font-size: 1.35rem;
}

.detail-content h2:not(:first-child) {
    margin-top: 1.7rem;
}

.detail-content p {
    margin: 0;
    color: #cbd5e1;
    font-size: 1.02rem;
}

.related-extra {
    margin-top: 1rem;
}

.site-footer {
    border-top: 1px solid rgba(59, 130, 246, 0.12);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(2, 6, 23, 0.98));
}

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

.footer-logo {
    margin-bottom: 1rem;
}

.footer-brand p {
    max-width: 34rem;
    margin: 0;
    color: var(--muted);
}

.footer-links h2 {
    margin-bottom: 0.85rem;
    font-size: 1rem;
}

.footer-link-list {
    display: grid;
    gap: 0.5rem;
}

.footer-link-list a {
    color: var(--muted);
    font-size: 0.95rem;
}

.footer-link-list a:hover {
    color: #60a5fa;
}

.footer-bottom {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    color: var(--muted-2);
    padding: 1.2rem 0;
    font-size: 0.9rem;
}

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

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

@media (min-width: 768px) {
    .site-header-inner {
        height: 5rem;
    }

    .hero {
        height: 85vh;
    }

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

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

    .split-section {
        grid-template-columns: 1fr 1fr;
    }

    .detail-hero {
        grid-template-columns: minmax(14rem, 20rem) 1fr;
        padding-top: 4rem;
    }

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

@media (min-width: 1024px) {
    .movie-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

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

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

    .mobile-toggle {
        display: inline-grid;
    }

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

    .hero-control {
        display: none;
    }

    .hero-content {
        padding-bottom: 5rem;
    }

    .large-rank-row {
        grid-template-columns: 2.6rem 3.2rem 1fr;
    }

    .large-rank-row .rank-meta {
        grid-column: 3;
        white-space: normal;
    }
}

@media (max-width: 640px) {
    .site-header-inner {
        width: min(100% - 1rem, 1180px);
        height: 4.2rem;
    }

    .hero {
        min-height: 34rem;
        height: 76vh;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-actions {
        align-items: stretch;
    }

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

    .content-shell,
    .detail-shell,
    .page-hero-inner {
        width: min(100% - 1rem, 1180px);
    }

    .page-shell {
        padding-top: 4.2rem;
    }

    .home-shell {
        padding-top: 3rem;
    }

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

    .rank-row {
        grid-template-columns: 2.6rem 1fr;
    }

    .rank-meta {
        grid-column: 2;
        white-space: normal;
    }

    .horizontal-card {
        grid-template-columns: 5.4rem 1fr;
    }
}
