:root {
    color-scheme: dark;
    --bg: #0f172a;
    --bg-deep: #020617;
    --panel: rgba(15, 23, 42, 0.78);
    --panel-strong: rgba(30, 41, 59, 0.88);
    --text: #ffffff;
    --muted: #cbd5e1;
    --soft: #94a3b8;
    --line: rgba(255, 255, 255, 0.12);
    --brand: #facc15;
    --brand-2: #f97316;
    --brand-3: #f59e0b;
    --danger: #ef4444;
    --radius: 24px;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background:
        radial-gradient(circle at 15% 12%, rgba(250, 204, 21, 0.11), transparent 30%),
        radial-gradient(circle at 85% 8%, rgba(249, 115, 22, 0.12), transparent 28%),
        linear-gradient(180deg, #020617 0%, #0f172a 48%, #111827 100%);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
    background: rgba(2, 6, 23, 0.92);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(16px);
}

.header-inner {
    width: min(1280px, calc(100% - 32px));
    height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.logo-mark {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #111827;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    box-shadow: 0 12px 30px rgba(250, 204, 21, 0.24);
    font-size: 15px;
}

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

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

.nav-link {
    color: rgba(255, 255, 255, 0.82);
    transition: color 0.2s ease;
    font-weight: 600;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--brand);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    width: 18px;
    height: 2px;
    background: #ffffff;
    border-radius: 999px;
}

.mobile-nav {
    display: none;
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto 14px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(16px);
}

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

.mobile-nav-link {
    padding: 12px 14px;
    border-radius: 12px;
    color: var(--muted);
}

.mobile-nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--brand);
}

.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 112px 0 70px;
}

.star-field {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    background-image:
        radial-gradient(2px 2px at 20px 30px, white, transparent),
        radial-gradient(2px 2px at 60px 70px, white, transparent),
        radial-gradient(1px 1px at 50px 50px, white, transparent),
        radial-gradient(1px 1px at 130px 80px, white, transparent),
        radial-gradient(2px 2px at 90px 10px, white, transparent);
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: starMove 180s linear infinite;
}

@keyframes starMove {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-200px);
    }
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(2, 6, 23, 0.96) 0%, rgba(15, 23, 42, 0.74) 45%, rgba(15, 23, 42, 0.2) 100%),
        linear-gradient(180deg, rgba(2, 6, 23, 0.22) 0%, #0f172a 100%),
        var(--hero-image) center / cover no-repeat;
    opacity: 0;
    transform: scale(1.03);
    transition: opacity 0.7s ease, transform 1.4s ease;
}

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

.hero-inner {
    position: relative;
    z-index: 2;
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.72fr);
    align-items: center;
    gap: 48px;
}

.hero-copy {
    max-width: 760px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border: 1px solid rgba(250, 204, 21, 0.38);
    border-radius: 999px;
    background: rgba(250, 204, 21, 0.12);
    color: var(--brand);
    font-size: 14px;
    font-weight: 700;
}

.hero h1 {
    margin: 22px 0 20px;
    font-size: clamp(42px, 7vw, 86px);
    line-height: 0.98;
    letter-spacing: -0.05em;
    text-shadow: 0 8px 22px rgba(0, 0, 0, 0.32);
}

.hero-text {
    max-width: 680px;
    color: var(--muted);
    font-size: clamp(17px, 2vw, 22px);
    line-height: 1.75;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: #111827;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    box-shadow: 0 18px 40px rgba(249, 115, 22, 0.28);
}

.btn-ghost {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(10px);
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.hero-tags a,
.tag-row span,
.info-tags span {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.86);
    font-size: 13px;
    padding: 6px 11px;
}

.hero-panel {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 32px;
    padding: 16px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.45));
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.hero-poster {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.06);
}

.hero-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.01);
}

.hero-poster::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(2, 6, 23, 0.86) 100%);
}

.hero-panel-info {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 28px;
    z-index: 2;
}

.hero-panel-info strong {
    display: block;
    font-size: 25px;
    margin-bottom: 8px;
}

.hero-panel-info span {
    color: var(--muted);
    line-height: 1.6;
}

.hero-dots {
    display: flex;
    gap: 9px;
    margin-top: 16px;
    justify-content: center;
}

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

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

.page-main {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    padding: 118px 0 76px;
}

.section {
    margin-top: 76px;
}

.section:first-child {
    margin-top: 0;
}

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

.section-kicker {
    display: inline-flex;
    color: var(--brand);
    font-weight: 800;
    margin-bottom: 10px;
}

.section-heading h1,
.section-heading h2,
.page-title h1 {
    margin: 0;
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.section-heading p,
.page-title p {
    margin: 12px 0 0;
    color: var(--muted);
    line-height: 1.8;
    max-width: 760px;
}

.text-link {
    color: var(--brand);
    font-weight: 800;
    white-space: nowrap;
}

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

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

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

.movie-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.86), rgba(15, 23, 42, 0.9));
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(250, 204, 21, 0.48);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.34);
}

.movie-poster {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 2 / 3;
    background: rgba(255, 255, 255, 0.05);
}

.movie-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease, opacity 0.45s ease;
}

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

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

.watch-chip {
    position: absolute;
    left: 14px;
    bottom: 14px;
    z-index: 2;
    padding: 7px 12px;
    border-radius: 999px;
    color: #111827;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    font-size: 13px;
    font-weight: 800;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.movie-card:hover .watch-chip {
    opacity: 1;
    transform: translateY(0);
}

.rank-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    min-width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #111827;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    box-shadow: 0 12px 26px rgba(249, 115, 22, 0.24);
}

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

.movie-card h2 {
    margin: 0;
    font-size: 18px;
    line-height: 1.38;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-card h2 a:hover {
    color: var(--brand);
}

.movie-meta {
    margin: 8px 0 0;
    color: var(--soft);
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.movie-line {
    margin: 11px 0 0;
    color: var(--muted);
    line-height: 1.65;
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tag-row,
.info-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 13px;
}

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

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

.movie-card.is-compact .movie-line {
    -webkit-line-clamp: 2;
}

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

.stat-card,
.category-card,
.feature-card {
    border: 1px solid var(--line);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
    padding: 24px;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.18);
}

.stat-card strong,
.category-card strong,
.feature-card strong {
    display: block;
    font-size: 24px;
    margin-bottom: 10px;
}

.stat-card p,
.category-card p,
.feature-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.category-card {
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: rgba(250, 204, 21, 0.48);
}

.category-card .btn {
    margin-top: 18px;
    min-height: 42px;
    padding: 0 18px;
}

.page-title {
    padding: 48px;
    border: 1px solid var(--line);
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.86), rgba(15, 23, 42, 0.65));
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.page-title::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    right: -80px;
    top: -80px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(250, 204, 21, 0.2), transparent 68%);
}

.filter-panel {
    margin: 34px 0 30px;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(12px);
    flex-wrap: wrap;
}

.search-box {
    flex: 1 1 360px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
    min-height: 50px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
}

.search-box span {
    color: var(--brand);
    font-weight: 800;
}

.search-box input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #ffffff;
}

.filter-controls {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.filter-select,
.filter-clear {
    min-height: 48px;
    border-radius: 999px;
    border: 1px solid var(--line);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    padding: 0 16px;
    outline: 0;
}

.filter-select option {
    color: #0f172a;
}

.filter-clear {
    color: #111827;
    border-color: transparent;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    font-weight: 800;
}

.empty-result {
    width: 100%;
    margin: 2px 0 0;
    color: var(--brand);
}

.rank-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.rank-row {
    display: grid;
    grid-template-columns: 58px 90px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(30, 41, 59, 0.72);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.rank-row:hover {
    transform: translateX(4px);
    border-color: rgba(250, 204, 21, 0.42);
}

.rank-no {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #111827;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    font-weight: 900;
}

.rank-row img {
    width: 90px;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 14px;
}

.rank-row h2 {
    margin: 0;
    font-size: 19px;
}

.rank-row p {
    color: var(--muted);
    margin: 8px 0 0;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 22px;
    color: var(--soft);
}

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

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

.player-card,
.detail-card,
.side-card {
    border: 1px solid var(--line);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.86), rgba(15, 23, 42, 0.88));
    box-shadow: var(--shadow);
    overflow: hidden;
}

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

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

.player-cover {
    position: absolute;
    inset: 0;
    border: 0;
    padding: 0;
    background: #000000;
    color: #ffffff;
    overflow: hidden;
    z-index: 2;
}

.player-cover.is-hidden {
    display: none;
}

.player-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.62;
    transform: scale(1.02);
}

.play-pulse {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 84px;
    height: 84px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #111827;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    box-shadow: 0 0 0 16px rgba(250, 204, 21, 0.16);
    font-size: 30px;
    font-weight: 900;
}

.player-title {
    padding: 22px 24px 24px;
}

.player-title h1 {
    margin: 0 0 12px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.18;
}

.player-title p {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.detail-card {
    padding: 28px;
    margin-top: 26px;
}

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

.detail-card p {
    color: var(--muted);
    line-height: 1.9;
    margin: 0 0 18px;
}

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

.info-item {
    padding: 13px 15px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
}

.info-item span {
    display: block;
    color: var(--soft);
    font-size: 13px;
    margin-bottom: 5px;
}

.info-item strong {
    display: block;
}

.side-card {
    padding: 20px;
    position: sticky;
    top: 96px;
}

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

.mini-card {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    transition: background 0.2s ease, transform 0.2s ease;
}

.mini-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(3px);
}

.mini-card img {
    width: 76px;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 12px;
}

.mini-card strong {
    display: block;
    line-height: 1.35;
    margin-bottom: 6px;
}

.mini-card em {
    display: block;
    color: var(--soft);
    font-style: normal;
    font-size: 13px;
    line-height: 1.45;
}

.related-section {
    margin-top: 34px;
}

.site-footer {
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.72), rgba(2, 6, 23, 0.92));
}

.footer-inner {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    padding: 46px 0;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 34px;
}

.footer-brand p {
    color: var(--muted);
    line-height: 1.8;
    max-width: 520px;
}

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

.footer-links h2 {
    font-size: 18px;
    margin: 0 0 15px;
}

.footer-links a {
    display: block;
    color: var(--muted);
    margin: 10px 0;
}

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

.footer-bottom {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0 28px;
    color: var(--soft);
    border-top: 1px solid var(--line);
    text-align: center;
}

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

@media (max-width: 1120px) {
    .hero-inner,
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        max-width: 460px;
    }

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

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

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

    .side-card {
        position: static;
    }
}

@media (max-width: 760px) {
    .desktop-nav {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .header-inner {
        height: 68px;
    }

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

    .hero {
        padding-top: 92px;
    }

    .hero-inner {
        gap: 30px;
    }

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

    .hero-actions .btn {
        width: 100%;
    }

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

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

    .page-title {
        padding: 30px 22px;
        border-radius: 24px;
    }

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

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

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

    .movie-line {
        font-size: 13px;
        -webkit-line-clamp: 2;
    }

    .stats-grid,
    .category-grid,
    .feature-grid,
    .rank-list,
    .info-grid,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .filter-panel {
        align-items: stretch;
        flex-direction: column;
    }

    .search-box {
        flex-basis: auto;
    }

    .filter-controls,
    .filter-select,
    .filter-clear {
        width: 100%;
    }

    .rank-row {
        grid-template-columns: 42px 72px minmax(0, 1fr);
        gap: 12px;
    }

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

    .rank-row img {
        width: 72px;
    }

    .detail-card {
        padding: 22px;
    }

    .play-pulse {
        width: 66px;
        height: 66px;
        font-size: 24px;
    }
}

@media (max-width: 430px) {
    .movie-grid,
    .movie-grid.dense,
    .movie-grid.wide {
        grid-template-columns: 1fr 1fr;
    }

    .tag-row span {
        font-size: 12px;
        padding: 5px 8px;
    }
}
