:root {
    --teal-900: #073b43;
    --teal-800: #075563;
    --teal-700: #0f766e;
    --teal-600: #0d9488;
    --cyan-500: #06b6d4;
    --amber-500: #f59e0b;
    --rose-500: #f43f5e;
    --slate-950: #020617;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-500: #64748b;
    --gray-700: #334155;
    --gray-900: #0f172a;
    --white: #ffffff;
    --shadow-soft: 0 18px 50px rgba(15, 23, 42, 0.12);
    --shadow-card: 0 14px 35px rgba(15, 23, 42, 0.14);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--gray-900);
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 42%, #eefcff 100%);
}

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

img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

button,
input {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    color: var(--white);
    background: linear-gradient(90deg, var(--teal-800), var(--cyan-500));
    box-shadow: 0 10px 28px rgba(6, 78, 91, 0.24);
}

.nav-shell {
    width: min(1200px, calc(100% - 32px));
    height: 68px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
}

.brand-icon {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #042f36;
    background: linear-gradient(135deg, #fde68a, var(--amber-500));
    box-shadow: 0 10px 24px rgba(245, 158, 11, 0.34);
    font-size: 15px;
    font-weight: 900;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-copy strong {
    font-size: 20px;
    letter-spacing: 0.03em;
}

.brand-copy small {
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
}

.nav-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-link {
    padding: 9px 14px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 700;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-1px);
}

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

.nav-search input,
.inline-filter input {
    width: 100%;
    border: 0;
    outline: none;
    color: var(--white);
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
}

.nav-search input {
    height: 40px;
    padding: 0 16px;
    border-radius: 999px 0 0 999px;
}

.nav-search input::placeholder,
.inline-filter input::placeholder {
    color: rgba(255, 255, 255, 0.74);
}

.nav-search button,
.inline-filter button,
.primary-btn,
.ghost-btn,
.text-link {
    border: 0;
    cursor: pointer;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav-search button {
    height: 40px;
    padding: 0 18px;
    border-radius: 0 999px 999px 0;
    color: #06343d;
    background: linear-gradient(135deg, #fde68a, var(--amber-500));
}

.nav-search button:hover,
.primary-btn:hover,
.ghost-btn:hover,
.text-link:hover {
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    margin-left: auto;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.16);
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    border-radius: 2px;
    background: var(--white);
}

.hero {
    position: relative;
    height: min(720px, 72vh);
    min-height: 540px;
    overflow: hidden;
    color: var(--white);
    background: var(--slate-950);
}

.hero-track,
.hero-slide {
    position: absolute;
    inset: 0;
}

.hero-slide {
    display: flex;
    align-items: flex-end;
    padding: 0 calc((100% - min(1200px, calc(100% - 32px))) / 2) 88px;
    background-position: center;
    background-size: cover;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 0.8s ease, transform 1.2s ease;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-content {
    width: min(720px, calc(100% - 32px));
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, rgba(3, 24, 32, 0.78), rgba(6, 78, 91, 0.36));
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(16px);
}

.eyebrow,
.hero-tags,
.mini-tags,
.filter-chips,
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.eyebrow span,
.hero-tags span,
.mini-tags span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.eyebrow span {
    padding: 7px 12px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.16);
}

.eyebrow span:first-child {
    color: #092b32;
    background: linear-gradient(135deg, #fde68a, var(--amber-500));
}

.hero h1,
.page-hero h1,
.detail-intro h1 {
    margin: 18px 0 14px;
    font-size: clamp(34px, 6vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.hero-meta {
    margin: 0 0 10px;
    color: rgba(255, 255, 255, 0.86);
    font-weight: 700;
}

.hero-desc,
.page-hero p,
.detail-line {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 17px;
    line-height: 1.8;
}

.hero-tags {
    margin-top: 18px;
}

.hero-tags span {
    padding: 7px 12px;
    color: #dffcff;
    background: rgba(6, 182, 212, 0.18);
    border: 1px solid rgba(103, 232, 249, 0.24);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.primary-btn,
.ghost-btn,
.text-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
}

.primary-btn {
    min-height: 46px;
    padding: 0 24px;
    color: #07343a;
    background: linear-gradient(135deg, #fef3c7, var(--amber-500));
    box-shadow: 0 14px 28px rgba(245, 158, 11, 0.28);
}

.primary-btn.small {
    min-height: 40px;
    padding: 0 18px;
    font-size: 14px;
}

.ghost-btn {
    min-height: 46px;
    padding: 0 22px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.24);
}

.ghost-btn.dark {
    color: var(--teal-800);
    background: rgba(13, 148, 136, 0.08);
    border-color: rgba(13, 148, 136, 0.18);
}

.hero-controls {
    position: absolute;
    right: calc((100% - min(1200px, calc(100% - 32px))) / 2);
    bottom: 44px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 5;
}

.hero-controls button {
    border: 0;
    cursor: pointer;
}

.hero-controls > button {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.18);
    font-size: 28px;
    backdrop-filter: blur(12px);
}

.hero-dots {
    display: flex;
    align-items: center;
    gap: 7px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.44);
}

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

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

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

.soft-panel {
    width: min(1240px, calc(100% - 24px));
    margin: 20px auto;
    padding: 42px 20px;
    border-radius: 36px;
    background: linear-gradient(135deg, rgba(236, 254, 255, 0.9), rgba(255, 247, 237, 0.9));
}

.section-head,
.panel-title,
.category-overview-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 28px;
}

.section-head h2,
.panel-title h2,
.text-panel h2 {
    margin: 0;
    font-size: clamp(26px, 3.2vw, 38px);
    letter-spacing: -0.03em;
}

.section-head p,
.category-overview-head p {
    margin: 8px 0 0;
    color: var(--gray-500);
    line-height: 1.7;
}

.section-more,
.panel-title a {
    color: var(--teal-700);
    font-weight: 900;
}

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

.category-tile {
    min-height: 154px;
    padding: 22px;
    border-radius: var(--radius-lg);
    color: var(--white);
    background: linear-gradient(135deg, var(--teal-700), var(--cyan-500));
    box-shadow: var(--shadow-soft);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-tile:nth-child(2n) {
    background: linear-gradient(135deg, #7c3aed, #ec4899);
}

.category-tile:nth-child(3n) {
    background: linear-gradient(135deg, #f97316, #f43f5e);
}

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

.category-tile span {
    display: block;
    margin-bottom: 14px;
    font-size: 32px;
}

.category-tile strong {
    display: block;
    margin-bottom: 8px;
    font-size: 20px;
}

.category-tile em {
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    font-style: normal;
    line-height: 1.6;
}

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

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

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

.movie-card {
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-soft);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

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

.poster-link {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: linear-gradient(135deg, var(--teal-900), var(--slate-900));
}

.movie-card.compact .poster-link {
    aspect-ratio: 16 / 22;
}

.poster-link img {
    transition: transform 0.55s ease, opacity 0.3s ease;
}

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

.poster-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(2, 6, 23, 0.78));
}

.corner-label,
.rank-badge,
.poster-meta,
.play-mark {
    position: absolute;
    z-index: 3;
}

.corner-label {
    top: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--white);
    font-size: 12px;
    font-weight: 900;
}

.region-label {
    left: 12px;
    background: rgba(13, 148, 136, 0.92);
}

.type-label {
    right: 12px;
    background: rgba(245, 158, 11, 0.92);
}

.rank-badge {
    left: 12px;
    bottom: 42px;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #082f37;
    background: linear-gradient(135deg, #fde68a, var(--amber-500));
    font-size: 20px;
    font-weight: 900;
}

.poster-meta {
    left: 14px;
    right: 14px;
    bottom: 14px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 13px;
    font-weight: 700;
}

.play-mark {
    left: 50%;
    top: 50%;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: var(--white);
    background: rgba(13, 148, 136, 0.9);
    transform: translate(-50%, -50%) scale(0.76);
    opacity: 0;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

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

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

.movie-card.compact .movie-card-body {
    padding: 14px;
}

.movie-card h3 {
    margin: 0 0 10px;
    font-size: 19px;
    line-height: 1.35;
}

.movie-card.compact h3 {
    font-size: 16px;
}

.movie-card h3 a:hover {
    color: var(--teal-700);
}

.movie-line {
    display: -webkit-box;
    min-height: 44px;
    margin: 0 0 14px;
    overflow: hidden;
    color: var(--gray-500);
    font-size: 14px;
    line-height: 1.6;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.mini-tags span {
    padding: 5px 9px;
    color: var(--teal-800);
    background: #ecfeff;
}

.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 32px;
    align-items: start;
}

.rank-panel,
.rank-feature,
.text-panel,
.player-card,
.category-overview-card {
    border: 1px solid rgba(15, 118, 110, 0.1);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-soft);
}

.rank-panel {
    position: sticky;
    top: 92px;
    padding: 22px;
}

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

.rank-item {
    display: grid;
    grid-template-columns: 48px 76px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border-radius: 18px;
    background: var(--white);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.small-rank .rank-item {
    grid-template-columns: 34px 58px minmax(0, 1fr);
}

.small-rank .text-link {
    display: none;
}

.rank-number {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 14px;
    color: var(--white);
    background: linear-gradient(135deg, var(--teal-700), var(--cyan-500));
    font-weight: 900;
}

.rank-thumb {
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 12px;
    background: var(--slate-900);
}

.rank-copy h3 {
    margin: 0 0 4px;
    font-size: 17px;
}

.rank-copy p,
.rank-copy span {
    display: block;
    margin: 0;
    color: var(--gray-500);
    font-size: 13px;
    line-height: 1.5;
}

.text-link {
    min-height: 38px;
    padding: 0 16px;
    color: var(--teal-800);
    background: #ccfbf1;
}

.page-hero {
    padding: 72px 0;
    color: var(--white);
    background: linear-gradient(135deg, var(--teal-900), var(--cyan-500));
    background-position: center;
    background-size: cover;
}

.compact-hero,
.category-hero,
.search-hero {
    background: radial-gradient(circle at top right, rgba(245, 158, 11, 0.3), transparent 34%), linear-gradient(135deg, var(--teal-900), var(--teal-700) 52%, var(--cyan-500));
}

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

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

.inline-filter {
    display: flex;
    width: min(620px, 100%);
    margin-top: 26px;
}

.inline-filter.large {
    width: min(780px, 100%);
}

.inline-filter input {
    height: 52px;
    padding: 0 18px;
    border-radius: 999px 0 0 999px;
}

.inline-filter button {
    min-width: 88px;
    border-radius: 0 999px 999px 0;
    color: #06343d;
    background: linear-gradient(135deg, #fde68a, var(--amber-500));
}

.filter-chips {
    margin-bottom: 26px;
}

.filter-chips button {
    border: 0;
    border-radius: 999px;
    padding: 10px 15px;
    cursor: pointer;
    color: var(--teal-800);
    background: #ecfeff;
    font-weight: 900;
}

.filter-chips button.active,
.filter-chips button:hover {
    color: var(--white);
    background: var(--teal-700);
}

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

.empty-state {
    display: none;
    padding: 48px 20px;
    border-radius: var(--radius-lg);
    color: var(--gray-500);
    text-align: center;
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.empty-state.show {
    display: block;
}

.overview-stack {
    display: grid;
    gap: 28px;
    padding: 50px 0;
}

.category-overview-card {
    padding: 26px;
}

.category-overview-head {
    align-items: center;
}

.category-overview-head > span {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border-radius: 18px;
    color: var(--white);
    background: linear-gradient(135deg, var(--teal-700), var(--cyan-500));
    font-weight: 900;
}

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

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

.rank-feature {
    position: sticky;
    top: 92px;
    padding: 18px;
}

.detail-hero {
    padding: 52px 0;
    color: var(--white);
    background: radial-gradient(circle at top right, rgba(245, 158, 11, 0.24), transparent 30%), linear-gradient(135deg, var(--slate-950), var(--teal-900) 58%, var(--teal-700));
}

.detail-hero-grid {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 38px;
    align-items: center;
}

.detail-poster {
    overflow: hidden;
    aspect-ratio: 3 / 4;
    border-radius: 30px;
    background: var(--slate-900);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

.detail-intro h1 {
    font-size: clamp(36px, 5vw, 58px);
}

.detail-line {
    max-width: 860px;
}

.detail-meta {
    margin-top: 18px;
}

.detail-meta span {
    padding: 8px 12px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.86);
    background: rgba(255, 255, 255, 0.13);
}

.player-card {
    overflow: hidden;
}

.player-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--slate-950);
    cursor: pointer;
}

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

.player-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 0;
    color: var(--white);
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.2), rgba(2, 6, 23, 0.72));
    cursor: pointer;
}

.player-overlay span {
    display: grid;
    width: 84px;
    height: 84px;
    place-items: center;
    border-radius: 999px;
    color: #07343a;
    background: linear-gradient(135deg, #fef3c7, var(--amber-500));
    box-shadow: 0 20px 50px rgba(245, 158, 11, 0.32);
    font-size: 30px;
}

.player-frame.is-ready .player-overlay {
    display: none;
}

.player-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 22px;
    background: var(--white);
}

.player-bar span {
    font-weight: 900;
}

.player-bar button {
    border: 0;
    border-radius: 999px;
    padding: 10px 18px;
    color: var(--white);
    background: var(--teal-700);
    cursor: pointer;
    font-weight: 900;
}

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

.text-panel {
    padding: 30px;
}

.text-panel p {
    margin: 16px 0 0;
    color: var(--gray-700);
    font-size: 16px;
    line-height: 1.95;
}

.site-footer {
    color: rgba(255, 255, 255, 0.76);
    background: linear-gradient(180deg, var(--slate-900), var(--slate-950));
}

.footer-shell {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 42px 0;
}

.footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    max-width: 620px;
}

.footer-brand strong {
    display: block;
    color: var(--white);
    font-size: 22px;
}

.footer-brand p {
    margin: 8px 0 0;
    line-height: 1.7;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-copy {
    margin: 26px 0 0;
    color: rgba(255, 255, 255, 0.52);
    font-size: 14px;
}

@media (max-width: 1120px) {
    .category-grid,
    .listing-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .split-layout,
    .rank-layout {
        grid-template-columns: 1fr;
    }

    .rank-panel,
    .rank-feature {
        position: static;
    }
}

@media (max-width: 900px) {
    .nav-shell {
        height: auto;
        min-height: 64px;
        flex-wrap: wrap;
        padding: 12px 0;
    }

    .nav-toggle {
        display: block;
    }

    .nav-panel {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        padding: 12px 0 4px;
    }

    .nav-panel.open {
        display: flex;
    }

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

    .nav-search {
        min-width: 0;
        width: 100%;
    }

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

    .hero-slide {
        padding: 88px 16px 96px;
    }

    .hero-content {
        width: 100%;
        padding: 24px;
    }

    .hero-controls {
        left: 16px;
        right: auto;
    }

    .movie-grid,
    .highlight-grid,
    .compact-grid,
    .listing-grid,
    .mini-overview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

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

    .detail-poster {
        width: min(320px, 100%);
    }
}

@media (max-width: 560px) {
    .brand-copy strong {
        font-size: 17px;
    }

    .brand-copy small {
        font-size: 11px;
    }

    .hero h1,
    .page-hero h1,
    .detail-intro h1 {
        font-size: 34px;
    }

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

    .movie-grid,
    .highlight-grid,
    .compact-grid,
    .listing-grid,
    .mini-overview,
    .category-grid {
        grid-template-columns: 1fr;
    }

    .rank-item {
        grid-template-columns: 40px 62px minmax(0, 1fr);
    }

    .rank-item .text-link {
        display: none;
    }

    .category-overview-head,
    .section-head,
    .panel-title {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .inline-filter input,
    .inline-filter button {
        border-radius: 999px;
    }
}
