:root {
    color-scheme: dark;
    --bg: #020617;
    --bg-soft: #0f172a;
    --panel: rgba(15, 23, 42, 0.88);
    --panel-strong: #111827;
    --line: rgba(148, 163, 184, 0.18);
    --text: #f8fafc;
    --muted: #94a3b8;
    --muted-bright: #cbd5e1;
    --accent: #22d3ee;
    --accent-2: #3b82f6;
    --accent-3: #06b6d4;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(34, 211, 238, 0.18), transparent 34rem),
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.14), transparent 32rem),
        linear-gradient(180deg, #020617 0%, #0f172a 48%, #020617 100%);
    color: var(--text);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    line-height: 1.65;
}

img {
    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;
    background: rgba(15, 23, 42, 0.92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.brand-mark {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border-radius: 14px;
    color: #020617;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 12px 32px rgba(34, 211, 238, 0.25);
}

.brand-text {
    font-size: 1.02rem;
}

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

.main-nav > a,
.nav-group > button {
    border: 0;
    background: transparent;
    color: var(--muted-bright);
    padding: 8px 0;
    cursor: pointer;
    transition: color 0.2s ease;
}

.main-nav > a:hover,
.nav-group > button:hover {
    color: var(--accent);
}

.nav-group {
    position: relative;
}

.nav-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    min-width: 176px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #0f172a;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: 0.22s ease;
}

.nav-menu a {
    display: block;
    padding: 9px 12px;
    border-radius: 10px;
    color: var(--muted-bright);
}

.nav-menu a:hover {
    background: #1e293b;
    color: var(--accent);
}

.nav-group:hover .nav-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-search {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-search input,
.search-page-form input,
.filter-panel input,
.filter-panel select {
    color: var(--text);
    background: rgba(2, 6, 23, 0.72);
    border: 1px solid var(--line);
    border-radius: 999px;
    outline: 0;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-search input {
    width: 210px;
    padding: 10px 14px;
}

.nav-search input:focus,
.search-page-form input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.14);
}

.nav-search button,
.search-page-form button {
    border: 0;
    border-radius: 999px;
    padding: 10px 16px;
    color: #020617;
    font-weight: 700;
    background: var(--accent);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.nav-search button:hover,
.search-page-form button:hover {
    transform: translateY(-1px);
    background: #67e8f9;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.9);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: var(--text);
    border-radius: 999px;
}

.hero {
    min-height: calc(100vh - 68px);
    position: relative;
    overflow: hidden;
    background: #020617;
}

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

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

.hero-bg,
.detail-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.08) contrast(1.08);
}

.hero-shade,
.detail-mask {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.72) 45%, rgba(2, 6, 23, 0.2)),
        linear-gradient(0deg, #020617 0%, transparent 45%);
}

.hero-content {
    min-height: calc(100vh - 68px);
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) 380px;
    align-items: center;
    gap: 54px;
    padding: 68px 0 112px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.76rem;
    font-weight: 800;
}

.hero-copy h1,
.page-hero h1,
.detail-copy h1 {
    margin: 0;
    font-size: clamp(2.7rem, 8vw, 5.8rem);
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.hero-copy p,
.page-hero p,
.detail-one-line {
    max-width: 720px;
    margin: 22px 0 0;
    color: var(--muted-bright);
    font-size: 1.08rem;
}

.hero-tags,
.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.hero-tags span,
.tag-row span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border: 1px solid rgba(34, 211, 238, 0.28);
    border-radius: 999px;
    color: #cffafe;
    background: rgba(8, 145, 178, 0.12);
    font-size: 0.82rem;
}

.hero-actions,
.detail-copy .btn {
    margin-top: 28px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.btn.primary {
    color: #020617;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 18px 44px rgba(34, 211, 238, 0.24);
}

.btn.ghost {
    margin-left: 12px;
    border: 1px solid rgba(203, 213, 225, 0.24);
    color: var(--text);
    background: rgba(15, 23, 42, 0.55);
}

.btn:hover {
    transform: translateY(-2px);
}

.hero-poster {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: var(--shadow);
    aspect-ratio: 3 / 4.25;
    background: linear-gradient(135deg, #0f172a, #1e293b);
}

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

.hero-poster:hover img {
    transform: scale(1.06);
}

.hero-play,
.poster-play,
.related-poster span {
    position: absolute;
    display: grid;
    place-items: center;
    color: #020617;
    background: rgba(34, 211, 238, 0.96);
    box-shadow: 0 12px 36px rgba(34, 211, 238, 0.25);
}

.hero-play {
    left: 50%;
    top: 50%;
    width: 74px;
    height: 74px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.6rem;
}

.hero-control-bar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.hero-dots {
    display: flex;
    gap: 10px;
}

.hero-dot {
    width: 36px;
    height: 6px;
    border: 0;
    border-radius: 999px;
    background: rgba(203, 213, 225, 0.28);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
    width: 64px;
    background: var(--accent);
}

.hero-search {
    display: flex;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(10px);
}

.hero-search input {
    width: min(380px, 48vw);
    border: 0;
    outline: 0;
    color: var(--text);
    background: transparent;
    padding: 14px 18px;
}

.hero-search button {
    border: 0;
    color: #020617;
    background: var(--accent);
    padding: 0 22px;
    font-weight: 800;
    cursor: pointer;
}

.section {
    padding: 72px 0;
}

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

.section-heading h2,
.content-block h2,
.side-card h2 {
    margin: 0;
    font-size: clamp(1.7rem, 3vw, 2.45rem);
    letter-spacing: -0.04em;
}

.section-link {
    color: var(--accent);
    font-weight: 800;
}

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

.movie-card,
.category-tile,
.category-overview-card,
.ranking-card,
.side-card,
.spotlight-panel,
.ranking-panel,
.content-block,
.related-card {
    border: 1px solid var(--line);
    background: var(--panel);
    box-shadow: 0 16px 54px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(12px);
}

.movie-card {
    overflow: hidden;
    border-radius: 22px;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(34, 211, 238, 0.45);
    box-shadow: 0 24px 70px rgba(34, 211, 238, 0.12);
}

.poster-frame {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4.15;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a, #1e293b);
}

.poster-frame img,
.related-poster img,
.ranking-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.movie-card:hover .poster-frame img,
.related-card:hover .related-poster img,
.ranking-card:hover .ranking-thumb img {
    transform: scale(1.06);
}

.poster-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    padding: 5px 9px;
    border-radius: 999px;
    color: #020617;
    background: var(--accent);
    font-size: 0.78rem;
    font-weight: 800;
}

.poster-play {
    right: 12px;
    bottom: 12px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    opacity: 0;
    transform: translateY(8px);
    transition: 0.25s ease;
}

.movie-card:hover .poster-play {
    opacity: 1;
    transform: translateY(0);
}

.movie-card-body {
    padding: 16px;
}

.movie-meta-line {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
    font-size: 0.82rem;
}

.movie-meta-line a {
    color: var(--accent);
    font-weight: 700;
}

.movie-card h2,
.ranking-card h2,
.related-card h3,
.overview-body h2 {
    margin: 9px 0 8px;
    font-size: 1.06rem;
    line-height: 1.35;
}

.movie-card h2 a:hover,
.ranking-card h2 a:hover,
.related-card h3 a:hover,
.overview-body h2 a:hover {
    color: var(--accent);
}

.movie-card p,
.ranking-card p,
.related-card p,
.overview-body p,
.spotlight-panel p,
.content-block p,
.footer-grid p {
    margin: 0;
    color: var(--muted-bright);
}

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

.category-tile {
    display: block;
    overflow: hidden;
    border-radius: 22px;
    padding: 14px;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.category-tile:hover {
    transform: translateY(-5px);
    border-color: rgba(34, 211, 238, 0.42);
}

.category-covers,
.overview-cover {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-bottom: 14px;
}

.category-covers img,
.overview-cover img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 12px;
    background: #0f172a;
}

.category-tile strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1.1rem;
}

.category-tile span {
    color: var(--muted);
    font-size: 0.92rem;
}

.split-section {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
}

.ranking-panel,
.spotlight-panel {
    border-radius: 26px;
    padding: 26px;
}

.compact-heading {
    margin-bottom: 18px;
}

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

.rank-row {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid transparent;
    border-radius: 14px;
    color: var(--muted-bright);
    background: rgba(15, 23, 42, 0.55);
}

.rank-row:hover {
    border-color: rgba(34, 211, 238, 0.32);
    color: var(--text);
}

.rank-number {
    color: var(--accent);
    font-weight: 900;
}

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

.rank-meta {
    color: var(--muted);
    font-size: 0.88rem;
}

.spotlight-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background:
        linear-gradient(135deg, rgba(34, 211, 238, 0.16), rgba(59, 130, 246, 0.08)),
        rgba(15, 23, 42, 0.88);
}

.spotlight-panel .btn {
    width: fit-content;
    margin-top: 26px;
}

.page-hero,
.detail-hero {
    position: relative;
    overflow: hidden;
    background: #020617;
}

.page-hero {
    padding: 92px 0 64px;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 22% 0%, rgba(34, 211, 238, 0.2), transparent 38rem),
        radial-gradient(circle at 80% 10%, rgba(59, 130, 246, 0.16), transparent 32rem);
    pointer-events: none;
}

.page-hero .container {
    position: relative;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    color: var(--muted);
    font-size: 0.92rem;
}

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

.filter-panel {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr 0.6fr;
    gap: 14px;
    margin-bottom: 24px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(15, 23, 42, 0.72);
}

.filter-panel label {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 0.86rem;
}

.filter-panel input,
.filter-panel select {
    width: 100%;
    padding: 12px 14px;
    border-radius: 14px;
}

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

.category-overview-card {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 20px;
    border-radius: 24px;
    padding: 16px;
}

.overview-cover {
    grid-template-columns: repeat(2, 1fr);
    margin: 0;
}

.overview-body {
    min-width: 0;
}

.overview-links {
    display: grid;
    gap: 7px;
    margin: 14px 0;
}

.overview-links a {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted-bright);
}

.overview-links a:hover {
    color: var(--accent);
}

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

.ranking-card {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    border-radius: 22px;
    padding: 14px;
}

.ranking-thumb {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    border-radius: 16px;
    background: #0f172a;
}

.ranking-thumb span {
    position: absolute;
    left: 10px;
    top: 10px;
    color: #020617;
    background: var(--accent);
    border-radius: 999px;
    padding: 4px 8px;
    font-size: 0.76rem;
    font-weight: 900;
}

.detail-hero {
    min-height: 560px;
}

.detail-hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 42px;
    align-items: center;
    min-height: 560px;
    padding: 72px 0;
}

.detail-poster {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 28px;
    aspect-ratio: 3 / 4.2;
    background: #0f172a;
    box-shadow: var(--shadow);
}

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

.detail-tags {
    margin-bottom: 8px;
}

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

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

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

.player-stage {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
    cursor: pointer;
}

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

.player-cover-button {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    border: 0;
    color: #020617;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.04), rgba(2, 6, 23, 0.58));
    cursor: pointer;
}

.player-cover-button span {
    width: 86px;
    height: 86px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 18px 54px rgba(34, 211, 238, 0.28);
    font-size: 2rem;
}

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

.content-block,
.side-card {
    margin-top: 22px;
    border-radius: 24px;
    padding: 24px;
}

.content-block p {
    margin-top: 14px;
    font-size: 1.03rem;
}

.side-card:first-child {
    margin-top: 0;
}

.side-card dl {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 10px 14px;
    margin: 18px 0 0;
}

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

.side-card dd {
    margin: 0;
    color: var(--text);
}

.side-link {
    display: block;
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(30, 41, 59, 0.8);
    color: var(--muted-bright);
}

.side-link:hover {
    color: var(--accent);
}

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

.related-card {
    overflow: hidden;
    border-radius: 18px;
}

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

.related-poster span {
    right: 10px;
    bottom: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 0.85rem;
}

.related-card h3,
.related-card p {
    padding: 0 12px;
}

.related-card h3 {
    margin-top: 12px;
}

.related-card p {
    padding-bottom: 14px;
    font-size: 0.88rem;
}

.search-page-form {
    display: flex;
    gap: 10px;
    max-width: 720px;
    margin-top: 26px;
}

.search-page-form input {
    flex: 1;
    padding: 14px 18px;
}

.search-summary {
    margin-bottom: 18px;
    color: var(--muted-bright);
}

.site-footer {
    margin-top: 40px;
    border-top: 1px solid var(--line);
    background: rgba(2, 6, 23, 0.82);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr 0.7fr;
    gap: 28px;
    padding: 42px 0 28px;
}

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

.footer-grid a {
    display: block;
    color: var(--muted-bright);
    margin: 7px 0;
}

.footer-grid a:hover {
    color: var(--accent);
}

.footer-brand {
    margin-bottom: 14px;
}

.footer-bottom {
    padding: 18px 0 28px;
    color: var(--muted);
    font-size: 0.9rem;
}

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

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

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

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

    .side-card {
        margin-top: 0;
    }
}

@media (max-width: 900px) {
    .header-inner {
        flex-wrap: wrap;
        padding: 10px 0;
    }

    .nav-toggle {
        display: block;
        margin-left: auto;
    }

    .main-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        order: 3;
        margin: 0;
    }

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

    .nav-group:hover .nav-menu,
    .nav-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        margin-top: 6px;
    }

    .nav-search {
        order: 4;
        width: 100%;
    }

    .nav-search input {
        width: 100%;
        flex: 1;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-top: 54px;
    }

    .hero-poster {
        width: min(340px, 80vw);
    }

    .hero-control-bar {
        align-items: stretch;
        flex-direction: column;
    }

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

    .split-section,
    .category-overview-card,
    .detail-hero-inner {
        grid-template-columns: 1fr;
    }

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

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

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

    .brand-text {
        max-width: 220px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .movie-grid,
    .category-grid,
    .category-overview-grid,
    .related-grid,
    .footer-grid,
    .detail-side {
        grid-template-columns: 1fr;
    }

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

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

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

    .rank-meta {
        display: none;
    }

    .search-page-form {
        flex-direction: column;
    }

    .hero-copy h1,
    .page-hero h1,
    .detail-copy h1 {
        font-size: clamp(2.35rem, 14vw, 4rem);
    }
}
