:root {
    --rose-50: #fff1f2;
    --rose-100: #ffe4e6;
    --rose-200: #fecdd3;
    --rose-500: #f43f5e;
    --rose-600: #e11d48;
    --pink-50: #fdf2f8;
    --pink-500: #ec4899;
    --amber-50: #fffbeb;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --slate-50: #f8fafc;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-900: #111827;
    --white: #ffffff;
    --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 24px 55px rgba(225, 29, 72, 0.18);
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

body.nav-open {
    overflow: hidden;
}

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

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

button,
input,
select {
    font: inherit;
}

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

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 60;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(254, 205, 211, 0.8);
    box-shadow: 0 6px 22px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(16px);
}

.navbar {
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

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

.brand-mark {
    width: 36px;
    height: 36px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    color: var(--white);
    background: linear-gradient(135deg, var(--rose-500), var(--pink-500));
    box-shadow: 0 12px 24px rgba(244, 63, 94, 0.25);
}

.brand-text {
    font-size: 21px;
    line-height: 1;
    background: linear-gradient(90deg, var(--rose-500), var(--pink-500));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    color: var(--gray-700);
    font-size: 15px;
}

.nav-links a {
    transition: color 0.2s ease;
}

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

.nav-search {
    position: relative;
    width: 250px;
}

.nav-search input,
.hero-search input,
.filter-panel input,
.filter-panel select {
    width: 100%;
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    background: var(--white);
    outline: none;
    color: var(--gray-900);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-search input {
    padding: 10px 16px 10px 42px;
}

.nav-search svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
}

.nav-search input:focus,
.hero-search input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
    border-color: var(--rose-500);
    box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.12);
}

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

.mobile-menu {
    display: none;
    padding: 12px 0 18px;
    border-top: 1px solid var(--rose-100);
}

.mobile-menu a {
    display: block;
    padding: 10px 16px;
    border-radius: 14px;
    color: var(--gray-700);
}

.mobile-menu a:hover {
    color: var(--rose-500);
    background: var(--rose-50);
}

.page-main {
    padding-top: 68px;
}

.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--rose-100), var(--pink-50) 45%, var(--amber-50));
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(244, 63, 94, 0.16), transparent 34%), radial-gradient(circle at bottom right, rgba(251, 191, 36, 0.18), transparent 36%);
    pointer-events: none;
}

.hero-blobs {
    position: absolute;
    inset: 0;
    opacity: 0.45;
    pointer-events: none;
}

.blob {
    position: absolute;
    width: 288px;
    height: 288px;
    border-radius: 999px;
    filter: blur(36px);
    mix-blend-mode: multiply;
    animation: blobMove 12s infinite ease-in-out;
}

.blob-one {
    left: 8%;
    top: 14%;
    background: #fda4af;
}

.blob-two {
    right: 8%;
    top: 24%;
    background: #f9a8d4;
    animation-delay: 2s;
}

.blob-three {
    left: 28%;
    bottom: 10%;
    background: #fcd34d;
    animation-delay: 4s;
}

@keyframes blobMove {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(28px, -36px) scale(1.08);
    }
    66% {
        transform: translate(-24px, 24px) scale(0.94);
    }
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    align-items: center;
    gap: 42px;
    padding: 96px 0 72px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--rose-600);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow-sm);
    font-size: 14px;
    font-weight: 700;
}

.hero h1,
.page-hero h1,
.detail-title h1 {
    margin: 20px 0 18px;
    font-size: clamp(42px, 7vw, 78px);
    line-height: 1.05;
    letter-spacing: -0.05em;
    background: linear-gradient(90deg, var(--rose-600), var(--pink-500), var(--amber-500));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-lead {
    margin: 0 0 28px;
    max-width: 660px;
    color: var(--gray-700);
    font-size: clamp(18px, 2.2vw, 24px);
}

.hero-search {
    display: flex;
    max-width: 640px;
    padding: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(12px);
}

.hero-search input {
    flex: 1;
    padding: 14px 18px;
    border: 0;
    background: transparent;
}

.hero-search button,
.btn-primary,
.btn-secondary,
.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hero-search button,
.btn-primary {
    border: 0;
    color: var(--white);
    background: linear-gradient(90deg, var(--rose-500), var(--pink-500));
    box-shadow: 0 14px 26px rgba(244, 63, 94, 0.25);
}

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

.btn-primary,
.btn-secondary,
.btn-ghost {
    min-height: 48px;
    padding: 0 22px;
}

.btn-primary:hover,
.hero-search button:hover,
.btn-secondary:hover,
.btn-ghost:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    color: var(--rose-600);
    border: 2px solid var(--rose-500);
    background: var(--white);
}

.btn-ghost {
    color: var(--gray-700);
    border: 1px solid var(--rose-100);
    background: rgba(255, 255, 255, 0.78);
}

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

.hero-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.hero-chip,
.tag,
.meta-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.hero-chip {
    padding: 8px 12px;
    color: var(--rose-600);
    background: rgba(255, 255, 255, 0.68);
}

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

.hero-frame {
    position: relative;
    min-height: 520px;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    background: var(--gray-900);
    box-shadow: 0 28px 70px rgba(225, 29, 72, 0.26);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
}

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

.hero-slide img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
}

.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.08), rgba(17, 24, 39, 0.86));
}

.hero-slide-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 34px;
    color: var(--white);
}

.hero-slide-content h2 {
    margin: 12px 0 8px;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.1;
}

.hero-slide-content p {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.86);
}

.hero-slide-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-slide-meta span,
.detail-meta span {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.92);
    font-size: 13px;
    font-weight: 700;
}

.hero-controls {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 999px;
    background: rgba(244, 63, 94, 0.22);
    cursor: pointer;
}

.hero-dot.is-active {
    width: 28px;
    background: linear-gradient(90deg, var(--rose-500), var(--pink-500));
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    color: var(--rose-600);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: var(--shadow-sm);
    transform: translateY(-50%);
    cursor: pointer;
}

.hero-arrow.prev {
    left: 14px;
}

.hero-arrow.next {
    right: 14px;
}

.section {
    padding: 76px 0;
}

.section-soft {
    background: linear-gradient(135deg, var(--rose-50), var(--pink-50));
}

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

.section-title {
    margin: 0 0 8px;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.1;
}

.section-desc,
.page-desc {
    margin: 0;
    color: var(--gray-600);
}

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

.feature-card,
.category-tile,
.movie-card,
.player-panel,
.detail-card,
.related-card,
.filter-panel {
    background: var(--white);
    border: 1px solid rgba(254, 205, 211, 0.74);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}

.feature-card {
    padding: 28px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover,
.movie-card:hover,
.category-tile:hover,
.related-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 54px;
    height: 54px;
    margin: 0 auto 16px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    color: var(--rose-600);
    background: var(--rose-50);
    font-size: 26px;
}

.feature-card h3,
.movie-card h3,
.category-tile h2,
.related-card h3 {
    margin: 0;
}

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

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

.movie-card {
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.movie-card img,
.related-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.card-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--white);
    background: linear-gradient(90deg, var(--rose-500), var(--pink-500));
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 10px 20px rgba(17, 24, 39, 0.22);
}

.rating-badge {
    position: absolute;
    right: 12px;
    top: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    color: #78350f;
    background: rgba(255, 251, 235, 0.94);
    font-size: 12px;
    font-weight: 800;
}

.card-body {
    padding: 18px;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--gray-500);
    font-size: 13px;
}

.movie-card h3 {
    margin-bottom: 8px;
    font-size: 18px;
    line-height: 1.3;
}

.movie-card h3 a:hover,
.related-card h3 a:hover {
    color: var(--rose-500);
}

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

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

.tag {
    padding: 6px 9px;
    color: var(--rose-600);
    background: var(--rose-50);
}

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

.category-tile {
    padding: 26px;
    min-height: 170px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-tile h2 {
    font-size: 24px;
}

.category-tile p {
    margin: 12px 0 0;
    color: var(--gray-600);
    font-size: 14px;
}

.tile-link {
    margin-top: 20px;
    color: var(--rose-600);
    font-weight: 800;
}

.page-hero {
    padding: 126px 0 54px;
    background: linear-gradient(135deg, var(--rose-100), var(--pink-50), var(--amber-50));
}

.page-hero h1 {
    font-size: clamp(38px, 6vw, 64px);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 16px;
    color: var(--gray-600);
    font-size: 14px;
}

.breadcrumb a {
    color: var(--rose-600);
    font-weight: 700;
}

.filter-panel {
    position: sticky;
    top: 82px;
    z-index: 4;
    display: grid;
    grid-template-columns: minmax(260px, 1fr) 180px 180px 150px auto;
    gap: 12px;
    align-items: center;
    padding: 14px;
    margin-bottom: 26px;
}

.filter-panel input,
.filter-panel select {
    padding: 12px 14px;
}

.clear-filter {
    border: 0;
    border-radius: 999px;
    padding: 12px 16px;
    color: var(--rose-600);
    background: var(--rose-50);
    font-weight: 800;
    cursor: pointer;
}

.is-hidden-card {
    display: none !important;
}

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

.ranking-item {
    display: grid;
    grid-template-columns: 68px 110px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 14px;
    border-radius: 22px;
    background: var(--white);
    border: 1px solid var(--rose-100);
    box-shadow: var(--shadow-sm);
}

.rank-no {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: var(--white);
    background: linear-gradient(135deg, var(--rose-500), var(--pink-500));
    font-weight: 900;
}

.rank-cover {
    width: 110px;
    aspect-ratio: 3 / 4;
    border-radius: 16px;
    overflow: hidden;
    background: var(--rose-50);
}

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

.rank-info h2 {
    margin: 0 0 8px;
    font-size: 22px;
}

.rank-info p {
    margin: 0;
    color: var(--gray-600);
}

.rank-score {
    color: var(--amber-500);
    font-size: 20px;
    font-weight: 900;
}

.detail-hero {
    padding: 120px 0 54px;
    background: linear-gradient(135deg, var(--rose-100), var(--pink-50), var(--amber-50));
}

.detail-head {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 34px;
    align-items: end;
}

.detail-poster {
    aspect-ratio: 3 / 4;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--rose-50);
    box-shadow: var(--shadow-lg);
}

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

.detail-title h1 {
    font-size: clamp(38px, 6vw, 64px);
}

.detail-title p {
    margin: 0 0 18px;
    max-width: 820px;
    color: var(--gray-700);
    font-size: 18px;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.detail-meta span {
    color: var(--rose-600);
    background: rgba(255, 255, 255, 0.74);
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
}

.player-panel {
    overflow: hidden;
    margin-bottom: 28px;
}

.player-box {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #09090b;
}

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

.player-cover {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-cover.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.player-cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.74;
    filter: brightness(0.72);
}

.play-orb {
    position: relative;
    z-index: 2;
    width: 86px;
    height: 86px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: var(--white);
    background: linear-gradient(135deg, var(--rose-500), var(--pink-500));
    box-shadow: 0 22px 45px rgba(244, 63, 94, 0.42);
    font-size: 34px;
    transform: translateZ(0);
}

.player-info {
    padding: 22px 26px 28px;
}

.player-info h2,
.detail-card h2,
.sidebar h2 {
    margin: 0 0 14px;
    font-size: 26px;
}

.player-info p,
.detail-card p {
    margin: 0;
    color: var(--gray-600);
}

.detail-card {
    padding: 26px;
    margin-bottom: 24px;
}

.detail-card p + p {
    margin-top: 14px;
}

.sidebar {
    position: sticky;
    top: 92px;
    align-self: start;
}

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

.related-card {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 14px;
    padding: 12px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.related-cover {
    aspect-ratio: 3 / 4;
    border-radius: 16px;
    overflow: hidden;
    background: var(--rose-50);
}

.related-card h3 {
    margin-bottom: 8px;
    font-size: 16px;
}

.related-card p {
    margin: 0;
    color: var(--gray-600);
    font-size: 13px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.site-footer {
    padding: 52px 0 30px;
    border-top: 1px solid var(--rose-100);
    background: linear-gradient(135deg, var(--rose-50), var(--pink-50));
}

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

.site-footer h3 {
    margin: 0 0 14px;
}

.site-footer p,
.site-footer a {
    color: var(--gray-600);
    font-size: 14px;
}

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

.footer-bottom {
    margin-top: 36px;
    padding-top: 18px;
    border-top: 1px solid rgba(254, 205, 211, 0.8);
    color: var(--gray-500);
    font-size: 13px;
}

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

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

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

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

    .sidebar {
        position: static;
    }
}

@media (max-width: 900px) {
    .nav-links,
    .site-header .nav-search {
        display: none;
    }

    .menu-toggle {
        display: inline-grid;
        place-items: center;
    }

    .mobile-menu.is-open {
        display: block;
    }

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

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

    .hero-frame,
    .hero-slide img {
        min-height: 420px;
    }

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

    .filter-panel input {
        grid-column: 1 / -1;
    }

    .ranking-item {
        grid-template-columns: 52px 88px minmax(0, 1fr);
    }

    .rank-score {
        grid-column: 3;
        justify-self: start;
    }

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

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

    .hero {
        min-height: auto;
    }

    .hero-grid {
        padding: 78px 0 46px;
    }

    .hero-search {
        display: grid;
        border-radius: 24px;
    }

    .hero-search button {
        width: 100%;
        margin-top: 6px;
    }

    .hero-actions,
    .section-head {
        align-items: stretch;
        flex-direction: column;
    }

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

    .section {
        padding: 54px 0;
    }

    .page-hero,
    .detail-hero {
        padding-top: 96px;
    }

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

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

    .ranking-item {
        grid-template-columns: 44px 82px minmax(0, 1fr);
        gap: 12px;
        padding: 12px;
    }

    .rank-no {
        width: 40px;
        height: 40px;
    }

    .rank-info h2 {
        font-size: 18px;
    }

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