* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #f8fafc;
    color: #0f172a;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.6;
}

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

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

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

.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);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    backdrop-filter: blur(16px);
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.05);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    font-weight: 800;
}

.brand-mark {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 12px;
    color: #ffffff;
    background: linear-gradient(135deg, #334155, #0f172a);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.22);
}

.brand-text {
    font-size: 24px;
    letter-spacing: -0.03em;
    background: linear-gradient(90deg, #475569, #0f172a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 26px;
    flex: 1 1 auto;
}

.nav-link {
    border: 0;
    padding: 8px 0;
    background: none;
    color: #475569;
    font-weight: 600;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: #0f172a;
}

.nav-dropdown {
    position: relative;
}

.dropdown-panel {
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    display: grid;
    width: 190px;
    padding: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.nav-dropdown:hover .dropdown-panel,
.nav-dropdown:focus-within .dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-panel a {
    padding: 9px 10px;
    border-radius: 10px;
    color: #475569;
    font-size: 14px;
}

.dropdown-panel a:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.header-search {
    position: relative;
    display: flex;
    align-items: center;
    flex: 0 1 280px;
}

.header-search input {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    padding: 10px 72px 10px 16px;
    outline: none;
    background: #ffffff;
    color: #0f172a;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input:focus {
    border-color: #64748b;
    box-shadow: 0 0 0 4px rgba(100, 116, 139, 0.12);
}

.header-search button {
    position: absolute;
    right: 4px;
    border: 0;
    border-radius: 999px;
    padding: 7px 14px;
    color: #ffffff;
    background: #0f172a;
}

.menu-button {
    display: none;
    width: 42px;
    height: 42px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    border: 0;
    border-radius: 12px;
    background: #f1f5f9;
}

.menu-button span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 0 auto;
    background: #0f172a;
}

.mobile-panel {
    display: none;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 16px;
    padding: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
}

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

.mobile-link,
.mobile-sub-link {
    padding: 10px 12px;
    border-radius: 10px;
    color: #475569;
    font-weight: 600;
}

.mobile-link:hover,
.mobile-link.is-active,
.mobile-sub-link:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.mobile-subnav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    padding-top: 8px;
}

.hero {
    position: relative;
    min-height: 540px;
    overflow: hidden;
    background: #0f172a;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    min-height: 540px;
    background-position: center;
    background-size: cover;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.7s ease;
}

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

.hero-inner {
    position: relative;
    z-index: 2;
}

.hero-copy {
    width: min(650px, 100%);
    color: #ffffff;
}

.hero-kicker,
.page-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    border-radius: 999px;
    padding: 6px 12px;
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    font-size: 14px;
    font-weight: 700;
}

.hero h1 {
    margin: 0 0 18px;
    font-size: clamp(42px, 7vw, 72px);
    line-height: 1.02;
    letter-spacing: -0.06em;
}

.hero p {
    display: -webkit-box;
    max-width: 780px;
    margin: 0 0 30px;
    overflow: hidden;
    color: #cbd5e1;
    font-size: clamp(17px, 2vw, 21px);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

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

.primary-button,
.ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 12px;
    padding: 0 20px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
    color: #ffffff;
    background: #0f172a;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.2);
}

.hero .primary-button {
    color: #0f172a;
    background: #ffffff;
}

.ghost-button {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
}

.primary-button:hover,
.ghost-button:hover {
    transform: translateY(-2px);
}

.primary-button.full {
    width: 100%;
}

.hero-dots {
    position: absolute;
    right: calc((100% - min(1180px, calc(100% - 32px))) / 2);
    bottom: 34px;
    z-index: 3;
    display: flex;
    gap: 10px;
}

.hero-dots button {
    width: 34px;
    height: 4px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.35);
    transition: width 0.2s ease, background 0.2s ease;
}

.hero-dots button.is-active {
    width: 54px;
    background: #ffffff;
}

.raised-grid {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: -90px;
    margin-bottom: 64px;
}

.spotlight-card {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    border-radius: 26px;
    background: #e2e8f0;
    box-shadow: 0 26px 70px rgba(15, 23, 42, 0.28);
    transform: translateZ(0);
}

.spotlight-card img,
.poster-frame img,
.compact-thumb img,
.wide-thumb img,
.ranking-poster img,
.cover-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.65s ease;
}

.spotlight-card:hover img,
.movie-card:hover img,
.compact-card:hover img,
.wide-card:hover img,
.ranking-card:hover img {
    transform: scale(1.06);
}

.spotlight-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.05), rgba(15, 23, 42, 0.78));
}

.spotlight-content {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    gap: 8px;
    padding: 24px;
    color: #ffffff;
}

.spotlight-content strong {
    font-size: 24px;
    line-height: 1.2;
}

.spotlight-content em {
    display: -webkit-box;
    overflow: hidden;
    color: #cbd5e1;
    font-style: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.play-badge {
    display: grid;
    width: 54px;
    height: 54px;
    margin-top: 10px;
    place-items: center;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
}

.content-section {
    padding: 40px 0 58px;
}

.light-band {
    background: #ffffff;
}

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

.section-title h2 {
    margin: 0;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.section-title p {
    margin: 8px 0 0;
    color: #64748b;
}

.section-link {
    flex: 0 0 auto;
    color: #475569;
    font-weight: 700;
}

.section-link:hover {
    color: #0f172a;
}

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

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

.movie-card {
    display: block;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.92);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.movie-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 54px rgba(15, 23, 42, 0.12);
}

.poster-frame {
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #e2e8f0;
}

.movie-card-body {
    display: grid;
    gap: 7px;
    padding: 14px;
}

.movie-card-body strong {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 17px;
}

.movie-meta,
.movie-intro,
.compact-info em,
.wide-info em,
.ranking-meta {
    color: #64748b;
    font-size: 13px;
    font-style: normal;
}

.movie-intro {
    display: -webkit-box;
    min-height: 42px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.tag-row,
.detail-tags,
.ranking-tags,
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-row span,
.detail-tags span,
.ranking-tags span,
.ranking-tags a,
.detail-meta span,
.detail-meta a {
    border-radius: 999px;
    padding: 4px 9px;
    color: #475569;
    background: #f1f5f9;
    font-size: 12px;
    font-weight: 700;
}

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

.compact-card,
.wide-card {
    display: flex;
    gap: 14px;
    border-radius: 18px;
    padding: 12px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.light-band .compact-card {
    border: 1px solid #e2e8f0;
}

.compact-card:hover,
.wide-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.11);
}

.compact-thumb {
    flex: 0 0 94px;
    width: 94px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 14px;
    background: #e2e8f0;
}

.compact-info,
.wide-info {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.compact-info strong,
.wide-info strong {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 17px;
}

.compact-info span,
.wide-info span {
    display: -webkit-box;
    overflow: hidden;
    color: #64748b;
    font-size: 14px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

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

.category-tile,
.category-panel-main {
    display: grid;
    gap: 10px;
    min-height: 150px;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    padding: 22px;
    background: linear-gradient(135deg, #ffffff, #f1f5f9);
    box-shadow: 0 14px 38px rgba(15, 23, 42, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-tile:hover,
.category-panel-main:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 54px rgba(15, 23, 42, 0.12);
}

.category-tile span,
.category-panel-main span {
    font-size: 22px;
    font-weight: 800;
}

.category-tile em,
.category-panel-main em {
    color: #64748b;
    font-style: normal;
}

.two-column-section {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 36px;
    align-items: start;
}

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

.ranking-list a {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 4px 12px;
    align-items: center;
    border-radius: 16px;
    padding: 12px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ranking-list a:hover {
    transform: translateX(4px);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.1);
}

.rank-number {
    grid-row: span 2;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 14px;
    color: #ffffff;
    background: #0f172a;
    font-weight: 900;
}

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

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

.wide-thumb {
    flex: 0 0 170px;
    width: 170px;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    border-radius: 16px;
    background: #e2e8f0;
}

.page-main {
    min-height: 70vh;
}

.page-hero {
    padding: 48px 0 28px;
}

.slim-hero {
    padding-top: 54px;
}

.page-hero .page-kicker {
    color: #475569;
    background: #e2e8f0;
}

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

.page-hero p {
    max-width: 760px;
    margin: 0;
    color: #64748b;
    font-size: 18px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    align-items: center;
    margin-bottom: 22px;
    color: #64748b;
    font-size: 14px;
}

.breadcrumb a:hover {
    color: #0f172a;
}

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

.category-panel {
    overflow: hidden;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.07);
}

.category-samples {
    display: grid;
    gap: 8px;
    padding: 16px 20px 22px;
}

.category-samples a {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #475569;
}

.category-samples a:hover {
    color: #0f172a;
}

.filter-box,
.search-panel {
    display: flex;
    gap: 12px;
    margin-bottom: 28px;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    padding: 12px;
    background: #ffffff;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
}

.filter-box input,
.search-panel input {
    min-width: 0;
    flex: 1;
    border: 0;
    border-radius: 15px;
    padding: 13px 16px;
    outline: none;
    background: #f8fafc;
}

.filter-box button,
.search-panel button {
    border: 0;
    border-radius: 15px;
    padding: 0 20px;
    color: #ffffff;
    background: #0f172a;
    font-weight: 800;
}

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

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: #020617;
    box-shadow: 0 28px 80px rgba(2, 6, 23, 0.26);
}

.video-element {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #020617;
}

.play-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    gap: 14px;
    border: 0;
    color: #ffffff;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.12), rgba(2, 6, 23, 0.48));
    font-size: 18px;
    font-weight: 900;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.play-overlay.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.play-icon {
    display: grid;
    width: 76px;
    height: 76px;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

.detail-card,
.side-card {
    margin-top: 22px;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 26px;
    background: #ffffff;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.07);
}

.detail-card h1 {
    margin: 0 0 12px;
    font-size: clamp(34px, 4.5vw, 54px);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.detail-one-line {
    margin: 0 0 18px;
    color: #334155;
    font-size: 19px;
    font-weight: 600;
}

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

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

.detail-card h2,
.side-card h2 {
    margin: 28px 0 10px;
    font-size: 24px;
    line-height: 1.2;
}

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

.detail-card p {
    margin: 0 0 14px;
    color: #334155;
    font-size: 17px;
}

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

.cover-card img {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 18px;
    margin-bottom: 16px;
    background: #e2e8f0;
    object-fit: cover;
}

.side-related {
    display: grid;
    gap: 12px;
}

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

.detail-neighbor a {
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 16px;
    white-space: nowrap;
    text-overflow: ellipsis;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.detail-neighbor a:hover {
    color: #0f172a;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.11);
}

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

.ranking-card {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 16px;
    background: #ffffff;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ranking-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 54px rgba(15, 23, 42, 0.12);
}

.ranking-poster {
    overflow: hidden;
    border-radius: 18px;
    aspect-ratio: 3 / 4;
    background: #e2e8f0;
}

.ranking-body {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
}

.ranking-index {
    color: #64748b;
    font-size: 14px;
    font-weight: 900;
}

.ranking-body h2 {
    margin: 6px 0 10px;
    font-size: 28px;
    line-height: 1.2;
}

.ranking-body p {
    display: -webkit-box;
    margin: 0 0 14px;
    overflow: hidden;
    color: #475569;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.search-results {
    display: grid;
    gap: 18px;
    margin-bottom: 26px;
}

.search-results:empty {
    display: none;
}

.site-footer {
    margin-top: 74px;
    color: #cbd5e1;
    background: #0f172a;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 42px;
    padding: 54px 0 36px;
}

.footer-logo {
    margin-bottom: 12px;
    color: #ffffff;
    font-size: 22px;
    font-weight: 900;
}

.site-footer p {
    margin: 0;
    color: #94a3b8;
}

.site-footer h2 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 18px;
}

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

.footer-links a {
    color: #94a3b8;
}

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

.footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    padding: 20px 16px;
    text-align: center;
    color: #94a3b8;
    font-size: 14px;
}

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

.empty-state {
    border: 1px dashed #cbd5e1;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    color: #64748b;
    background: #ffffff;
}

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

    .menu-button {
        display: flex;
    }

    .raised-grid,
    .movie-grid.full-grid,
    .movie-grid,
    .category-grid,
    .category-overview-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .compact-grid,
    .two-column-section,
    .detail-layout,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .detail-sidebar {
        position: static;
    }
}

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

    .brand-text {
        font-size: 20px;
    }

    .hero,
    .hero-slide {
        min-height: 610px;
    }

    .hero p {
        -webkit-line-clamp: 5;
    }

    .hero-dots {
        right: 12px;
        bottom: 18px;
    }

    .raised-grid {
        grid-template-columns: 1fr;
        margin-top: -70px;
    }

    .spotlight-card {
        min-height: 360px;
    }

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

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

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

    .filter-box,
    .search-panel {
        flex-direction: column;
    }

    .filter-box button,
    .search-panel button {
        min-height: 44px;
    }

    .wide-card,
    .ranking-card {
        grid-template-columns: 1fr;
    }

    .wide-card {
        flex-direction: column;
    }

    .wide-thumb,
    .ranking-poster {
        width: 100%;
        flex-basis: auto;
        aspect-ratio: 16 / 10;
    }

    .detail-card,
    .side-card {
        padding: 20px;
    }

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

    .mobile-subnav {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .movie-grid.full-grid,
    .movie-grid,
    .category-grid,
    .category-overview-grid {
        grid-template-columns: 1fr;
    }

    .hero h1,
    .page-hero h1 {
        letter-spacing: -0.04em;
    }
}
