:root {
    --bg: #020617;
    --bg-soft: #0f172a;
    --bg-card: #1e293b;
    --bg-card-2: #111827;
    --line: rgba(148, 163, 184, 0.18);
    --text: #f8fafc;
    --muted: #94a3b8;
    --muted-2: #cbd5e1;
    --emerald: #10b981;
    --emerald-deep: #059669;
    --cyan: #06b6d4;
    --yellow: #facc15;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #0f172a 0%, #020617 48%, #020617 100%);
    min-height: 100vh;
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.94), rgba(15, 23, 42, 0.96));
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.25);
}

.nav-wrap {
    max-width: 1280px;
    height: 68px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.site-logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 900;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

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

.logo-mark {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ecfeff;
    background: linear-gradient(135deg, var(--emerald), var(--cyan));
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.38);
    font-size: 14px;
}

.site-search-form {
    flex: 1;
    max-width: 520px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-search-form input,
.filter-bar input,
.filter-bar select {
    width: 100%;
    color: #fff;
    background: rgba(51, 65, 85, 0.88);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 999px;
    padding: 12px 16px;
    outline: none;
    transition: border 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.site-search-form input::placeholder,
.filter-bar input::placeholder {
    color: #94a3b8;
}

.site-search-form input:focus,
.filter-bar input:focus,
.filter-bar select:focus {
    border-color: var(--emerald);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
    background: rgba(30, 41, 59, 0.98);
}

.site-search-form button,
.primary-btn,
.ghost-btn {
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border 0.2s ease;
}

.site-search-form button,
.primary-btn {
    padding: 12px 20px;
    color: #fff;
    background: linear-gradient(135deg, var(--emerald), var(--emerald-deep));
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 12px 32px rgba(5, 150, 105, 0.25);
}

.site-search-form button:hover,
.primary-btn:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #34d399, #059669);
}

.ghost-btn {
    padding: 11px 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #e2e8f0;
    background: rgba(15, 23, 42, 0.55);
}

.ghost-btn:hover {
    color: #fff;
    border-color: rgba(16, 185, 129, 0.65);
    background: rgba(16, 185, 129, 0.16);
}

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

.nav-link {
    color: #cbd5e1;
    background: transparent;
    border: 0;
    padding: 8px 0;
    cursor: pointer;
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
}

.nav-drop {
    position: relative;
}

.drop-panel {
    position: absolute;
    top: 34px;
    right: 0;
    min-width: 180px;
    padding: 8px;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: 0.2s ease;
}

.nav-drop:hover .drop-panel,
.nav-drop:focus-within .drop-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.drop-panel a {
    display: block;
    padding: 11px 12px;
    border-radius: 10px;
    color: #cbd5e1;
}

.drop-panel a:hover {
    color: #fff;
    background: rgba(51, 65, 85, 0.72);
}

.mobile-menu-btn {
    display: none;
    color: #fff;
    background: rgba(51, 65, 85, 0.92);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 8px 12px;
}

.mobile-panel {
    display: none;
    padding: 16px 24px 22px;
    border-top: 1px solid var(--line);
    background: rgba(15, 23, 42, 0.98);
}

.mobile-panel.open {
    display: grid;
    gap: 12px;
}

.mobile-panel a {
    padding: 12px;
    border-radius: 12px;
    background: rgba(51, 65, 85, 0.62);
    color: #e2e8f0;
}

.mobile-search {
    max-width: none;
}

.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: #020617;
}

.hero-track,
.hero-slide {
    height: 100%;
}

.hero-track {
    position: relative;
}

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

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

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

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 78% 24%, rgba(16, 185, 129, 0.28), transparent 35%),
        linear-gradient(90deg, rgba(2, 6, 23, 0.96) 0%, rgba(2, 6, 23, 0.68) 45%, rgba(2, 6, 23, 0.2) 100%),
        linear-gradient(0deg, rgba(2, 6, 23, 1) 0%, rgba(2, 6, 23, 0.2) 46%, rgba(2, 6, 23, 0.1) 100%);
}

.hero-content {
    position: absolute;
    left: max(24px, calc((100vw - 1280px) / 2 + 24px));
    bottom: 76px;
    max-width: 720px;
}

.hero-kicker,
.section-head span,
.page-hero span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    color: #ecfeff;
    background: rgba(16, 185, 129, 0.22);
    border: 1px solid rgba(16, 185, 129, 0.35);
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 800;
}

.hero-content h1 {
    margin: 18px 0 18px;
    font-size: clamp(36px, 7vw, 68px);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.hero-content p {
    max-width: 650px;
    color: #cbd5e1;
    font-size: 18px;
    line-height: 1.75;
}

.hero-meta,
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0 24px;
    color: #dbeafe;
}

.hero-meta span,
.detail-meta span {
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid var(--line);
}

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

.hero-arrow {
    position: absolute;
    top: 50%;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: rgba(0, 0, 0, 0.42);
    font-size: 34px;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
    background: rgba(0, 0, 0, 0.72);
    transform: translateY(-50%) scale(1.04);
}

.hero-prev {
    left: 22px;
}

.hero-next {
    right: 22px;
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 24px;
    display: flex;
    gap: 9px;
    transform: translateX(-50%);
}

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

.hero-dot.active {
    width: 34px;
    background: #fff;
}

.home-search-band,
.content-section,
.category-panel,
.overview-grid,
.detail-layout {
    max-width: 1280px;
    margin: 0 auto;
    padding: 52px 24px;
}

.home-search-band {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 520px);
    gap: 28px;
    align-items: center;
    border-bottom: 1px solid var(--line);
}

.home-search-band h2 {
    margin: 0 0 10px;
    font-size: clamp(28px, 4vw, 42px);
}

.home-search-band p,
.page-hero p,
.site-footer p,
.category-overview-head em {
    color: var(--muted-2);
    line-height: 1.8;
}

.large-search {
    max-width: none;
}

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

.section-head h2 {
    margin: 10px 0 0;
    font-size: clamp(26px, 4vw, 38px);
}

.section-head a {
    color: #a7f3d0;
    font-weight: 800;
}

.center-head {
    justify-content: center;
    text-align: center;
}

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

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

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

.movie-card {
    overflow: hidden;
    border-radius: 18px;
    background: rgba(30, 41, 59, 0.86);
    border: 1px solid rgba(148, 163, 184, 0.14);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
    transition: transform 0.24s ease, border 0.24s ease, box-shadow 0.24s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(16, 185, 129, 0.65);
    box-shadow: 0 22px 46px rgba(16, 185, 129, 0.13);
}

.poster-link {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #0f172a;
}

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

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

.card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    color: #fff;
    background: rgba(16, 185, 129, 0.92);
    font-size: 12px;
    font-weight: 800;
}

.card-play {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #fff;
    background: rgba(2, 6, 23, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.card-body {
    padding: 18px;
}

.card-meta,
.card-foot,
.rank-row,
.compact-card,
.detail-meta {
    display: flex;
    align-items: center;
}

.card-meta {
    flex-wrap: wrap;
    gap: 8px;
    color: #94a3b8;
    font-size: 12px;
}

.card-meta span {
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.7);
}

.movie-card h3 {
    margin: 13px 0 8px;
    font-size: 18px;
    line-height: 1.35;
}

.movie-card h3 a:hover {
    color: #6ee7b7;
}

.movie-card p {
    margin: 0;
    min-height: 48px;
    color: #cbd5e1;
    line-height: 1.65;
    font-size: 14px;
}

.card-foot {
    justify-content: space-between;
    gap: 14px;
    margin-top: 18px;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.card-tags span,
.tag-wrap span,
.tag-wrap a {
    padding: 5px 9px;
    border-radius: 999px;
    color: #d1fae5;
    background: rgba(16, 185, 129, 0.14);
    border: 1px solid rgba(16, 185, 129, 0.24);
    font-size: 12px;
}

.card-foot strong,
.rank-score {
    color: var(--yellow);
}

.category-panel {
    padding-top: 28px;
    padding-bottom: 28px;
}

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

.category-tile {
    position: relative;
    min-height: 168px;
    padding: 22px;
    overflow: hidden;
    border-radius: 22px;
    background: var(--tile-bg);
    box-shadow: var(--shadow);
}

.category-tile span,
.category-overview-head span {
    display: block;
    position: relative;
    z-index: 1;
    color: #fff;
    font-size: 24px;
    font-weight: 900;
}

.category-tile em {
    display: block;
    position: relative;
    z-index: 1;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.86);
    font-style: normal;
    line-height: 1.6;
    font-size: 14px;
}

.category-tile img {
    position: absolute;
    right: -20px;
    bottom: -26px;
    width: 145px;
    height: 96px;
    object-fit: cover;
    border-radius: 16px;
    opacity: 0.42;
    transform: rotate(-8deg);
}

.horizontal-list {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 330px;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 16px;
    scrollbar-width: thin;
}

.rank-list {
    overflow: hidden;
    border-radius: 22px;
    background: rgba(30, 41, 59, 0.82);
    border: 1px solid var(--line);
}

.rank-row {
    gap: 16px;
    padding: 15px 18px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    transition: background 0.2s ease;
}

.rank-row:hover {
    background: rgba(51, 65, 85, 0.52);
}

.rank-row:last-child {
    border-bottom: 0;
}

.rank-num {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #cbd5e1;
    background: rgba(15, 23, 42, 0.8);
    font-weight: 900;
}

.top-rank .rank-num {
    color: #fff;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.rank-row img {
    width: 118px;
    height: 68px;
    object-fit: cover;
    border-radius: 12px;
}

.rank-main {
    flex: 1;
    min-width: 0;
}

.rank-main strong,
.compact-info strong {
    display: block;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-main em,
.compact-info em {
    display: block;
    margin-top: 6px;
    color: #94a3b8;
    font-style: normal;
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.page-hero {
    min-height: 300px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 80% 15%, rgba(16, 185, 129, 0.25), transparent 28%),
        linear-gradient(135deg, rgba(5, 150, 105, 0.92), rgba(8, 47, 73, 0.96));
}

.page-hero > div {
    width: min(1280px, 100%);
    margin: 0 auto;
    padding: 58px 24px;
}

.page-hero h1 {
    margin: 16px 0;
    font-size: clamp(36px, 6vw, 58px);
    letter-spacing: -0.03em;
}

.category-hero {
    background:
        radial-gradient(circle at 80% 15%, rgba(34, 211, 238, 0.22), transparent 28%),
        linear-gradient(135deg, rgba(5, 150, 105, 0.96), rgba(14, 116, 144, 0.94));
}

.rank-hero {
    background:
        radial-gradient(circle at 80% 18%, rgba(250, 204, 21, 0.2), transparent 30%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(5, 150, 105, 0.86));
}

.search-hero {
    background:
        radial-gradient(circle at 76% 10%, rgba(168, 85, 247, 0.25), transparent 30%),
        linear-gradient(135deg, rgba(37, 99, 235, 0.95), rgba(88, 28, 135, 0.92));
}

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

.category-overview-card {
    overflow: hidden;
    border-radius: 24px;
    background: rgba(30, 41, 59, 0.74);
    border: 1px solid var(--line);
}

.category-overview-head {
    display: block;
    padding: 24px;
    background: var(--tile-bg);
}

.category-overview-head em {
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.82);
    font-style: normal;
}

.mini-list {
    display: grid;
    gap: 12px;
    padding: 16px;
}

.compact-card {
    gap: 12px;
    padding: 10px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.52);
    transition: background 0.2s ease, transform 0.2s ease;
}

.compact-card:hover {
    background: rgba(51, 65, 85, 0.72);
    transform: translateX(4px);
}

.compact-card img {
    width: 96px;
    height: 58px;
    object-fit: cover;
    border-radius: 10px;
    flex: 0 0 auto;
}

.compact-info {
    flex: 1;
    min-width: 0;
}

.compact-card b {
    color: var(--yellow);
}

.filter-bar {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 160px 160px;
    gap: 12px;
    margin-bottom: 24px;
    padding: 16px;
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.68);
    border: 1px solid var(--line);
}

.full-rank .rank-row[hidden],
.movie-card[hidden] {
    display: none;
}

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

.breadcrumb {
    margin-bottom: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: #94a3b8;
    font-size: 14px;
}

.breadcrumb a:hover {
    color: #6ee7b7;
}

.player-card,
.detail-card,
.side-card {
    border-radius: 22px;
    background: rgba(30, 41, 59, 0.82);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.player-card {
    overflow: hidden;
    background: #000;
}

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

.movie-video,
.player-cover,
.player-cover img {
    width: 100%;
    height: 100%;
}

.movie-video {
    display: block;
    background: #000;
}

.player-cover {
    position: absolute;
    inset: 0;
    padding: 0;
    border: 0;
    cursor: pointer;
    background: #000;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.player-cover img {
    object-fit: cover;
}

.player-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(16, 185, 129, 0.2), transparent 34%), rgba(0, 0, 0, 0.48);
}

.player-play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 78px;
    height: 78px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--emerald), var(--cyan));
    box-shadow: 0 0 0 12px rgba(255, 255, 255, 0.1), 0 18px 52px rgba(0, 0, 0, 0.45);
    transform: translate(-50%, -50%);
    font-size: 28px;
}

.player-state {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(2, 6, 23, 0.82);
    text-align: center;
}

.player-state[hidden] {
    display: none;
}

.detail-card,
.side-card {
    padding: 24px;
    margin-top: 22px;
}

.detail-card h1 {
    margin: 0 0 12px;
    font-size: clamp(28px, 4vw, 42px);
    letter-spacing: -0.02em;
}

.tag-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0 24px;
}

.detail-card section {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.detail-card h2,
.side-card h2 {
    margin: 0 0 12px;
    font-size: 22px;
}

.detail-card p {
    color: #cbd5e1;
    line-height: 1.9;
    font-size: 16px;
}

.detail-side {
    position: sticky;
    top: 92px;
}

.side-info dl {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px 16px;
    color: #cbd5e1;
}

.side-info dt {
    color: #94a3b8;
}

.side-info dd {
    margin: 0;
}

.detail-more {
    padding-left: 0;
    padding-right: 0;
}

.site-footer {
    margin-top: 40px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.85), #020617);
    border-top: 1px solid var(--line);
}

.footer-grid {
    max-width: 1280px;
    margin: 0 auto;
    padding: 48px 24px 32px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 32px;
}

.footer-logo {
    margin-bottom: 14px;
    font-size: 20px;
}

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

.site-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.site-footer a,
.site-footer p {
    color: #94a3b8;
}

.site-footer a:hover {
    color: #6ee7b7;
}

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding: 18px 24px 28px;
    border-top: 1px solid var(--line);
    color: #64748b;
    font-size: 14px;
}

@media (max-width: 1100px) {
    .site-search-form {
        max-width: 360px;
    }

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

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

    .detail-side {
        position: static;
    }
}

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

    .desktop-nav,
    .nav-wrap > .site-search-form {
        display: none;
    }

    .mobile-menu-btn {
        display: inline-flex;
        margin-left: auto;
    }

    .hero-slider {
        height: 520px;
    }

    .hero-content {
        left: 22px;
        right: 22px;
        bottom: 72px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .home-search-band {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 560px) {
    .site-logo {
        font-size: 18px;
    }

    .logo-mark {
        width: 30px;
        height: 30px;
    }

    .hero-slider {
        height: 560px;
    }

    .hero-arrow {
        display: none;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-actions,
    .site-search-form {
        align-items: stretch;
        flex-direction: column;
    }

    .hot-grid,
    .four-grid,
    .category-grid,
    .overview-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .home-search-band,
    .content-section,
    .category-panel,
    .overview-grid,
    .detail-layout {
        padding-left: 16px;
        padding-right: 16px;
    }

    .rank-row {
        gap: 10px;
        padding: 12px;
    }

    .rank-row img {
        width: 84px;
        height: 54px;
    }

    .compact-card img {
        width: 78px;
        height: 50px;
    }
}
