:root {
    --orange: #f97316;
    --orange-dark: #ea580c;
    --red: #ef4444;
    --green: #059669;
    --purple: #7c3aed;
    --amber: #d97706;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-900: #111827;
    --white: #ffffff;
    --shadow-sm: 0 4px 10px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 12px 30px rgba(15, 23, 42, 0.12);
    --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.18);
    --radius: 18px;
    --radius-lg: 26px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--gray-900);
    background: var(--gray-50);
    line-height: 1.6;
}

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

img {
    display: block;
    max-width: 100%;
    background: linear-gradient(135deg, #fff7ed, #fed7aa);
}

button,
input {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(14px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 66px;
    gap: 18px;
}

.logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: var(--gray-900);
}

.logo-mark {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    color: var(--white);
    background: linear-gradient(135deg, var(--orange), var(--red));
    border-radius: 12px;
    box-shadow: 0 12px 24px rgba(249, 115, 22, 0.28);
}

.logo-text {
    font-size: 22px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    white-space: nowrap;
}

.nav-link,
.mobile-link {
    color: var(--gray-700);
    font-weight: 650;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.active,
.mobile-link:hover,
.mobile-link.active {
    color: var(--orange-dark);
}

.header-search {
    display: flex;
    align-items: center;
    max-width: 310px;
    flex: 1;
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    overflow: hidden;
    background: var(--white);
}

.header-search input,
.mobile-search input,
.hero-search input,
.filter-bar input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    padding: 11px 16px;
}

.header-search button,
.mobile-search button,
.hero-search button {
    border: 0;
    color: var(--white);
    background: var(--orange);
    padding: 11px 18px;
    cursor: pointer;
    font-weight: 700;
    transition: background 0.2s ease;
}

.header-search button:hover,
.mobile-search button:hover,
.hero-search button:hover {
    background: var(--orange-dark);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: var(--gray-100);
    border-radius: 12px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: var(--gray-900);
    border-radius: 999px;
}

.mobile-nav {
    display: none;
    padding: 14px 16px 20px;
    border-top: 1px solid var(--gray-200);
    background: var(--white);
}

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

.mobile-link {
    display: block;
    padding: 11px 14px;
    border-radius: 12px;
}

.mobile-link:hover,
.mobile-link.active {
    background: #fff7ed;
}

.mobile-search {
    display: flex;
    overflow: hidden;
    margin-top: 12px;
    border: 1px solid var(--gray-200);
    border-radius: 999px;
}

.hero-section {
    overflow: hidden;
    color: var(--white);
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.22), transparent 34%),
        linear-gradient(135deg, #fb923c 0%, #f97316 42%, #ef4444 100%);
}

.hero-shell {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 34px;
    align-items: center;
    min-height: 520px;
    padding: 70px 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-intro h1,
.page-hero h1,
.detail-copy h1 {
    margin: 0 0 20px;
    line-height: 1.08;
    font-size: clamp(34px, 6vw, 62px);
    font-weight: 900;
    letter-spacing: -0.04em;
}

.hero-intro p,
.page-hero p,
.detail-copy p {
    margin: 0 0 26px;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(17px, 2vw, 22px);
}

.hero-search {
    display: flex;
    max-width: 620px;
    overflow: hidden;
    margin: 26px 0 20px;
    background: var(--white);
    border-radius: 999px;
    box-shadow: var(--shadow-md);
}

.hero-search input {
    color: var(--gray-900);
    padding: 15px 20px;
}

.hero-search button {
    padding: 15px 24px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-badges a,
.ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    color: var(--white);
    font-weight: 800;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    transition: transform 0.2s ease, background 0.2s ease;
}

.hero-badges a:hover,
.ghost-btn:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.26);
}

.hero-carousel {
    position: relative;
    min-height: 420px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 1.05fr 0.75fr;
    gap: 24px;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transform: translateX(28px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

.hero-slide-copy {
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.16);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(16px);
}

.hero-slide-copy h2 {
    margin: 0 0 14px;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.12;
}

.hero-slide-copy p {
    color: rgba(255, 255, 255, 0.9);
}

.hero-actions,
.detail-actions,
.category-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px;
    color: var(--white);
    font-weight: 850;
    background: linear-gradient(135deg, var(--orange), var(--red));
    border-radius: 999px;
    box-shadow: 0 14px 28px rgba(249, 115, 22, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 38px rgba(249, 115, 22, 0.36);
}

.hero-poster {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    aspect-ratio: 2 / 3;
}

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

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

.hero-poster span {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 12px;
    color: var(--white);
    font-weight: 900;
    background: rgba(17, 24, 39, 0.72);
    border-radius: 999px;
}

.hero-dots {
    position: absolute;
    left: 30px;
    bottom: 24px;
    display: flex;
    gap: 8px;
}

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

.hero-dot.active {
    width: 28px;
    background: var(--white);
}

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

.soft-section {
    padding: 56px 0;
    background: var(--white);
}

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

.section-heading a {
    color: var(--orange-dark);
    font-weight: 800;
}

.section-title {
    margin: 0;
    color: var(--gray-900);
    font-size: clamp(26px, 3vw, 34px);
    line-height: 1.2;
    font-weight: 900;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-card {
    position: relative;
    min-height: 250px;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.feature-card-large {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 520px;
}

.feature-link,
.feature-card img {
    display: block;
    width: 100%;
    height: 100%;
}

.feature-card img {
    position: absolute;
    inset: 0;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.feature-card:hover img {
    transform: scale(1.06);
}

.feature-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(17, 24, 39, 0.86), rgba(17, 24, 39, 0.08));
}

.feature-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 22px;
    color: var(--white);
}

.feature-content h3 {
    margin: 10px 0 8px;
    font-size: 22px;
    line-height: 1.22;
}

.feature-card-large .feature-content h3 {
    font-size: 34px;
}

.feature-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
}

.pill,
.score-badge,
.year-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    font-size: 13px;
    font-weight: 900;
    border-radius: 999px;
}

.pill {
    color: var(--white);
    background: rgba(249, 115, 22, 0.9);
}

.movie-grid {
    display: grid;
    gap: 22px;
}

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

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

.movie-card {
    overflow: hidden;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.card-hover {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.poster-link {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

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

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

.score-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    color: var(--white);
    background: rgba(17, 24, 39, 0.78);
}

.year-badge {
    position: absolute;
    left: 12px;
    bottom: 12px;
    color: var(--white);
    background: linear-gradient(135deg, var(--orange), var(--red));
}

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

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

.movie-card h3 a:hover {
    color: var(--orange-dark);
}

.movie-meta {
    margin: 0 0 10px;
    color: var(--gray-500);
    font-size: 14px;
}

.line-clamp {
    display: -webkit-box;
    min-height: 48px;
    margin: 0 0 14px;
    overflow: hidden;
    color: var(--gray-600);
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-list span {
    padding: 5px 9px;
    color: var(--orange-dark);
    font-size: 12px;
    font-weight: 750;
    background: #fff7ed;
    border-radius: 999px;
}

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

.category-card {
    display: block;
    padding: 22px;
    color: var(--white);
    background: linear-gradient(135deg, var(--orange), var(--red));
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:nth-child(3n + 2) {
    background: linear-gradient(135deg, #10b981, #059669);
}

.category-card:nth-child(3n) {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.category-card span {
    display: block;
    margin-bottom: 8px;
    font-size: 20px;
    font-weight: 900;
}

.category-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
}

.split-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.rank-panel {
    padding: 26px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.rank-panel h2 {
    margin: 0 0 18px;
    color: var(--purple);
    font-size: 26px;
}

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

.compact-item {
    display: grid;
    grid-template-columns: auto 62px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 10px;
    background: var(--white);
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
    transition: background 0.2s ease, transform 0.2s ease;
}

.compact-item:hover {
    background: #fff7ed;
    transform: translateX(3px);
}

.compact-item img {
    width: 62px;
    height: 62px;
    object-fit: cover;
    border-radius: 12px;
}

.compact-item strong,
.compact-item em {
    display: block;
}

.compact-item strong {
    line-height: 1.28;
}

.compact-item em {
    margin-top: 3px;
    color: var(--gray-500);
    font-style: normal;
    font-size: 13px;
}

.compact-item b {
    color: var(--orange-dark);
}

.mini-rank {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    color: var(--white);
    background: var(--gray-900);
    border-radius: 50%;
    font-weight: 900;
}

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

.feature-strip .feature-card {
    min-height: 220px;
}

.page-hero {
    padding: 72px 0;
    color: var(--white);
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.2), transparent 34%),
        linear-gradient(135deg, #fb923c, #ef4444);
}

.page-hero .breadcrumb {
    margin-bottom: 18px;
}

.category-page-hero,
.search-hero {
    background: linear-gradient(135deg, #f97316, #dc2626);
}

.ranking-hero {
    background: linear-gradient(135deg, #111827, #7c2d12 55%, #f97316);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
}

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

.breadcrumb em {
    font-style: normal;
}

.filter-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    padding: 14px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.filter-bar label {
    color: var(--gray-700);
    font-weight: 850;
    white-space: nowrap;
}

.filter-bar input {
    background: var(--gray-50);
    border-radius: 999px;
}

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

.category-overview-card {
    overflow: hidden;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.category-overview-card a {
    display: grid;
    grid-template-columns: 220px 1fr;
    min-height: 180px;
}

.category-thumbs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    background: var(--gray-200);
}

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

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

.category-overview-body h2 {
    margin: 0 0 10px;
    font-size: 26px;
}

.category-overview-body p {
    color: var(--gray-600);
}

.category-overview-body span {
    color: var(--orange-dark);
    font-weight: 900;
}

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

.ranking-row {
    display: grid;
    grid-template-columns: 58px 96px 1fr 76px;
    gap: 18px;
    align-items: center;
    padding: 14px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ranking-row:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.ranking-index,
.ranking-score {
    display: grid;
    place-items: center;
    color: var(--white);
    font-weight: 900;
    background: linear-gradient(135deg, var(--orange), var(--red));
    border-radius: 16px;
}

.ranking-index {
    height: 48px;
}

.ranking-score {
    height: 48px;
}

.ranking-cover img {
    width: 96px;
    height: 72px;
    object-fit: cover;
    border-radius: 14px;
}

.ranking-main h2 {
    margin: 0 0 6px;
    font-size: 20px;
}

.ranking-main h2 a:hover {
    color: var(--orange-dark);
}

.ranking-main p {
    display: -webkit-box;
    margin: 0 0 8px;
    overflow: hidden;
    color: var(--gray-600);
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.ranking-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--gray-500);
    font-size: 13px;
}

.detail-hero {
    padding: 56px 0;
    color: var(--white);
    background-size: cover;
    background-position: center;
}

.detail-hero-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 34px;
    align-items: center;
}

.detail-cover {
    display: block;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

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

.detail-copy {
    max-width: 820px;
}

.detail-copy .tag-list span {
    color: var(--white);
    background: rgba(255, 255, 255, 0.18);
}

.player-wrap {
    margin-top: 42px;
}

.player-panel {
    overflow: hidden;
    background: var(--gray-900);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.video-shell {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #000;
}

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

.play-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    border: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.12));
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.play-overlay span {
    position: relative;
    width: 82px;
    height: 82px;
    border-radius: 50%;
    background: rgba(249, 115, 22, 0.94);
    box-shadow: 0 18px 50px rgba(249, 115, 22, 0.38);
}

.play-overlay span::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    transform: translate(-35%, -50%);
    border-top: 16px solid transparent;
    border-bottom: 16px solid transparent;
    border-left: 24px solid var(--white);
}

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

.watch-copy {
    padding: 22px 26px 26px;
    color: var(--white);
}

.watch-copy h2 {
    margin: 0 0 8px;
    font-size: 26px;
}

.watch-copy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
}

.detail-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.content-card {
    padding: 26px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.content-card h2 {
    margin: 0 0 14px;
    font-size: 25px;
}

.content-card p {
    margin: 0;
    color: var(--gray-700);
}

.info-card {
    grid-column: span 2;
}

.info-card table {
    width: 100%;
    border-collapse: collapse;
}

.info-card th,
.info-card td {
    padding: 13px 10px;
    border-bottom: 1px solid var(--gray-200);
    text-align: left;
}

.info-card th {
    width: 120px;
    color: var(--gray-500);
}

.search-result-head {
    margin-bottom: 24px;
}

.site-footer {
    color: var(--gray-300);
    background: var(--gray-900);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr 1fr;
    gap: 34px;
    padding: 42px 0;
}

.footer-logo {
    margin-bottom: 12px;
    color: var(--white);
    font-size: 22px;
}

.site-footer p {
    max-width: 420px;
    margin: 0;
    color: var(--gray-300);
}

.site-footer h2 {
    margin: 0 0 14px;
    color: var(--white);
    font-size: 18px;
}

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

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

.footer-bottom {
    padding: 18px 0;
    color: var(--gray-500);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

    .menu-toggle {
        display: block;
    }

    .hero-shell,
    .hero-slide,
    .detail-hero-grid {
        grid-template-columns: 1fr;
    }

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

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

    .feature-grid,
    .feature-strip,
    .four-cols,
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .three-cols {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-overview-card a {
        grid-template-columns: 180px 1fr;
    }
}

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

    .hero-shell {
        min-height: auto;
        padding: 46px 0 64px;
    }

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

    .hero-slide-copy {
        padding: 22px;
    }

    .hero-search,
    .filter-bar,
    .split-grid,
    .detail-content-grid,
    .footer-grid,
    .category-overview-grid {
        grid-template-columns: 1fr;
    }

    .hero-search,
    .filter-bar {
        flex-direction: column;
        align-items: stretch;
        border-radius: 22px;
    }

    .hero-search button {
        border-radius: 0;
    }

    .feature-grid,
    .feature-strip,
    .three-cols,
    .four-cols,
    .category-grid {
        grid-template-columns: 1fr;
    }

    .feature-card-large {
        grid-column: auto;
        grid-row: auto;
        min-height: 330px;
    }

    .category-overview-card a,
    .ranking-row {
        grid-template-columns: 1fr;
    }

    .category-thumbs {
        min-height: 180px;
    }

    .ranking-index,
    .ranking-score {
        width: 58px;
    }

    .ranking-cover img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .detail-cover {
        max-width: 260px;
    }

    .info-card {
        grid-column: auto;
    }

    .compact-item {
        grid-template-columns: 52px 1fr auto;
    }

    .compact-item .mini-rank {
        display: none;
    }
}
