:root {
    --color-emerald: #059669;
    --color-emerald-dark: #047857;
    --color-teal: #0f766e;
    --color-cyan: #0e7490;
    --color-gold: #f59e0b;
    --color-text: #111827;
    --color-muted: #6b7280;
    --color-border: #e5e7eb;
    --color-panel: #ffffff;
    --color-soft: #f8fafc;
    --shadow-card: 0 20px 45px rgba(15, 23, 42, 0.12);
    --shadow-soft: 0 14px 35px rgba(15, 23, 42, 0.08);
    --radius-xl: 24px;
    --radius-lg: 18px;
    --container: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    color: var(--color-text);
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 42%, #f9fafb 100%);
    line-height: 1.6;
}

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

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

button,
input {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
}

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

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

.site-logo {
    font-size: 20px;
    color: #0f172a;
}

.logo-mark {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--color-emerald), var(--color-cyan));
    box-shadow: 0 12px 24px rgba(5, 150, 105, 0.25);
    font-size: 14px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    flex: 1;
}

.nav-link {
    padding: 10px 13px;
    border-radius: 12px;
    color: #374151;
    font-size: 15px;
    font-weight: 650;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--color-emerald-dark);
    background: #ecfdf5;
    transform: translateY(-1px);
}

.menu-button {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: #ecfdf5;
    color: var(--color-emerald-dark);
    cursor: pointer;
}

.menu-button span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: currentColor;
    border-radius: 99px;
}

.mobile-nav {
    display: none;
    padding: 0 16px 16px;
    background: #ffffff;
}

.mobile-nav a {
    display: block;
    padding: 12px 16px;
    border-radius: 12px;
    color: #374151;
    font-weight: 700;
}

.mobile-nav a:hover {
    background: #ecfdf5;
    color: var(--color-emerald-dark);
}

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

.hero-slider {
    position: relative;
    height: 620px;
    min-height: 540px;
    overflow: hidden;
    background: linear-gradient(135deg, #064e3b, #115e59 48%, #164e63);
}

.hero-site-title {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1s ease;
}

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

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.68;
    transform: scale(1.02);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 75% 30%, rgba(16, 185, 129, 0.3), transparent 32%),
        linear-gradient(90deg, rgba(2, 6, 23, 0.88) 0%, rgba(15, 23, 42, 0.62) 48%, rgba(15, 23, 42, 0.12) 100%);
}

.hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
}

.hero-copy {
    max-width: 690px;
    color: #ffffff;
    padding-top: 30px;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    margin-bottom: 22px;
    border: 1px solid rgba(167, 243, 208, 0.28);
    border-radius: 999px;
    color: #d1fae5;
    background: rgba(16, 185, 129, 0.18);
    backdrop-filter: blur(10px);
    font-size: 14px;
    font-weight: 700;
}

.hero-copy h2 {
    margin: 0 0 18px;
    font-size: clamp(42px, 7vw, 76px);
    line-height: 1.05;
    letter-spacing: -0.055em;
}

.hero-copy p {
    max-width: 660px;
    margin: 0 0 24px;
    color: #e5e7eb;
    font-size: clamp(17px, 2vw, 22px);
}

.hero-tags,
.detail-meta,
.card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-tags span,
.detail-meta span {
    padding: 7px 12px;
    border-radius: 999px;
    color: #ecfeff;
    background: rgba(15, 23, 42, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 14px;
    font-weight: 700;
}

.hero-actions,
.page-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

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

.primary-button {
    color: #ffffff;
    background: var(--color-emerald);
    box-shadow: 0 18px 32px rgba(5, 150, 105, 0.28);
}

.primary-button:hover {
    background: var(--color-emerald-dark);
    transform: translateY(-2px) scale(1.01);
}

.ghost-button,
.page-actions a {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
}

.ghost-button:hover,
.page-actions a:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.18);
}

.hero-controls {
    position: absolute;
    left: 50%;
    bottom: 32px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

.hero-arrow,
.hero-dot {
    pointer-events: auto;
    border: 0;
    cursor: pointer;
}

.hero-arrow {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.46);
    backdrop-filter: blur(12px);
    font-size: 30px;
    line-height: 1;
}

.hero-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

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

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

.search-band {
    margin-top: -46px;
    position: relative;
    z-index: 5;
}

.search-panel,
.search-page-panel {
    padding: 28px;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(229, 231, 235, 0.76);
}

.search-panel h2,
.search-page-panel h2,
.section-heading h2,
.detail-main h2,
.detail-side h2 {
    margin: 0;
    font-size: clamp(24px, 3vw, 34px);
    letter-spacing: -0.035em;
}

.search-panel p,
.section-heading p,
.page-hero p,
.category-card-body p,
.detail-main p,
.rank-card p,
.movie-card p {
    color: var(--color-muted);
}

.search-box,
.inline-search {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 54px;
    padding: 8px 14px;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    background: #ffffff;
}

.search-box span,
.inline-search span {
    color: var(--color-emerald-dark);
    font-weight: 800;
}

.search-box input,
.inline-search input {
    width: 100%;
    border: 0;
    outline: 0;
    color: var(--color-text);
    background: transparent;
}

.wide-search {
    max-width: 760px;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0 22px;
}

.filter-buttons button {
    border: 0;
    border-radius: 999px;
    padding: 9px 16px;
    color: #374151;
    background: #f3f4f6;
    cursor: pointer;
    font-weight: 750;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.filter-buttons button:hover,
.filter-buttons button.is-active {
    color: #ffffff;
    background: var(--color-emerald);
    transform: translateY(-1px);
}

.content-section {
    padding: 64px 0 0;
}

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

.section-heading p {
    margin: 8px 0 0;
}

.section-more {
    color: var(--color-emerald-dark);
    background: #ecfdf5;
}

.section-more:hover {
    transform: translateY(-2px);
    background: #d1fae5;
}

.movie-grid,
.mini-result-grid,
.category-grid,
.category-overview-grid {
    display: grid;
    gap: 22px;
}

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

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

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

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

.movie-card {
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(229, 231, 235, 0.75);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.poster-link {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, #064e3b, #155e75);
}

.poster-link img,
.category-tile img,
.category-preview img,
.rank-poster img,
.detail-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

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

.play-badge {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--color-emerald-dark);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.2);
}

.card-body {
    padding: 18px;
}

.card-meta {
    gap: 8px;
    margin-bottom: 10px;
    color: var(--color-muted);
    font-size: 13px;
    font-weight: 750;
}

.card-meta span:not(:last-child)::after {
    content: "·";
    margin-left: 8px;
    color: #cbd5e1;
}

.card-title {
    margin: 0 0 8px;
    font-size: 19px;
    line-height: 1.35;
    letter-spacing: -0.02em;
}

.card-title a:hover,
.rank-card h2 a:hover {
    color: var(--color-emerald-dark);
}

.movie-card p {
    min-height: 48px;
    margin: 0 0 14px;
    font-size: 14px;
}

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

.tag-row span {
    display: inline-flex;
    max-width: 100%;
    padding: 5px 9px;
    border-radius: 999px;
    color: #047857;
    background: #ecfdf5;
    font-size: 12px;
    font-weight: 750;
}

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

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

.compact-card p {
    min-height: 42px;
    font-size: 13px;
}

.category-tile {
    position: relative;
    min-height: 170px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: #064e3b;
    box-shadow: var(--shadow-soft);
}

.category-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.82), rgba(2, 6, 23, 0.18));
}

.category-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.82;
}

.category-tile span,
.category-tile em {
    position: absolute;
    left: 18px;
    right: 18px;
    z-index: 1;
    color: #ffffff;
}

.category-tile span {
    bottom: 48px;
    font-size: 22px;
    font-weight: 900;
}

.category-tile em {
    bottom: 18px;
    color: #e5e7eb;
    font-size: 13px;
    font-style: normal;
}

.page-hero {
    padding: 72px 0;
    color: #ffffff;
    background:
        radial-gradient(circle at 85% 15%, rgba(34, 211, 238, 0.3), transparent 30%),
        linear-gradient(135deg, #065f46, #0f766e 48%, #155e75);
}

.page-hero h1 {
    margin: 8px 0 10px;
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.page-hero p {
    max-width: 760px;
    color: #e0f2fe;
    font-size: 18px;
}

.eyebrow {
    margin: 0;
    color: #a7f3d0;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.category-card {
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(229, 231, 235, 0.75);
}

.category-card-link {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 220px;
}

.category-preview {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3px;
    background: #064e3b;
}

.category-card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 26px;
}

.category-card-body h2 {
    margin: 0 0 10px;
    font-size: 30px;
    letter-spacing: -0.035em;
}

.category-card-body span {
    align-self: flex-start;
    margin-top: 12px;
    padding: 9px 14px;
    border-radius: 999px;
    color: #ffffff;
    background: var(--color-emerald);
    font-weight: 800;
}

.sticky-tools {
    align-items: center;
    padding: 18px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--color-border);
}

.inline-search {
    min-width: 320px;
}

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

.rank-card {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 20px;
    padding: 16px;
    border-radius: var(--radius-lg);
    background: #ffffff;
    border: 1px solid rgba(229, 231, 235, 0.78);
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.rank-poster {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(135deg, #064e3b, #155e75);
}

.rank-poster span {
    position: absolute;
    left: 10px;
    top: 10px;
    min-width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(135deg, var(--color-gold), #ef4444);
    font-weight: 900;
}

.rank-meta {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 800;
}

.rank-card h2 {
    margin: 0 0 8px;
    font-size: 24px;
    letter-spacing: -0.03em;
}

.rank-card p {
    margin: 0 0 12px;
}

.detail-hero {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    color: #ffffff;
    background: #020617;
}

.detail-hero > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.42;
    filter: blur(2px);
    transform: scale(1.03);
}

.detail-hero-mask {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 10%, rgba(16, 185, 129, 0.32), transparent 30%),
        linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(15, 23, 42, 0.72) 55%, rgba(15, 23, 42, 0.18));
}

.detail-hero-content {
    position: relative;
    padding: 34px 0 52px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 36px;
    color: #cbd5e1;
    font-weight: 700;
}

.breadcrumb a:hover {
    color: #ffffff;
}

.detail-copy {
    display: grid;
    grid-template-columns: 260px 1fr;
    align-items: center;
    gap: 34px;
}

.detail-poster {
    overflow: hidden;
    aspect-ratio: 2 / 3;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, #064e3b, #155e75);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

.detail-copy h1 {
    margin: 8px 0 14px;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.04;
    letter-spacing: -0.055em;
}

.detail-lead {
    max-width: 820px;
    margin: 0 0 22px;
    color: #e5e7eb;
    font-size: 20px;
}

.detail-tags {
    margin: 20px 0 30px;
}

.detail-tags span {
    color: #ecfeff;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.player-section {
    padding: 44px 0 0;
    background: #020617;
}

.player-frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-xl);
    background: #000000;
    box-shadow: 0 30px 80px rgba(2, 6, 23, 0.45);
}

.player-frame video {
    width: 100%;
    height: 100%;
    background: #000000;
    object-fit: contain;
}

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    border: 0;
    color: #ffffff;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.28), rgba(2, 6, 23, 0.72));
    cursor: pointer;
    transition: opacity 0.24s ease, visibility 0.24s ease;
}

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

.player-icon {
    width: 88px;
    height: 88px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--color-emerald-dark);
    background: #ffffff;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
    font-size: 34px;
}

.player-overlay span:last-child {
    max-width: 80%;
    font-size: 18px;
    font-weight: 900;
    text-align: center;
}

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

.detail-main,
.detail-side {
    padding: 30px;
    border-radius: var(--radius-xl);
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(229, 231, 235, 0.76);
}

.detail-main h2:not(:first-child) {
    margin-top: 28px;
}

.detail-main p {
    font-size: 17px;
}

.detail-side dl {
    margin: 20px 0 0;
}

.detail-side dt {
    color: var(--color-muted);
    font-size: 13px;
    font-weight: 900;
}

.detail-side dd {
    margin: 4px 0 16px;
    font-weight: 750;
}

.site-footer {
    margin-top: 72px;
    color: #cbd5e1;
    background: linear-gradient(135deg, #0f172a, #1f2937 56%, #0f172a);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 32px;
    padding: 48px 0;
}

.footer-logo {
    color: #ffffff;
    font-size: 20px;
}

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

.site-footer p {
    max-width: 420px;
    color: #94a3b8;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-links a {
    padding: 7px 10px;
    border-radius: 10px;
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.06);
}

.footer-links a:hover {
    color: #ffffff;
    background: rgba(16, 185, 129, 0.22);
}

.footer-bottom {
    padding: 18px;
    text-align: center;
    color: #94a3b8;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

[data-card].is-hidden {
    display: none;
}

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

    .menu-button {
        display: block;
    }

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

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

    .category-card-link,
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .category-preview {
        min-height: 250px;
    }

    .detail-copy {
        grid-template-columns: 220px 1fr;
    }
}

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

    .nav-shell {
        height: 62px;
    }

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

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

    .hero-slider {
        height: 640px;
    }

    .hero-content {
        align-items: end;
        padding-bottom: 110px;
    }

    .hero-copy h2 {
        font-size: 40px;
    }

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

    .hero-controls {
        bottom: 20px;
    }

    .search-band {
        margin-top: 0;
        padding-top: 20px;
    }

    .search-panel,
    .search-page-panel {
        padding: 20px;
    }

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

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

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

    .card-body {
        padding: 14px;
    }

    .card-title {
        font-size: 16px;
    }

    .movie-card p {
        min-height: auto;
        font-size: 13px;
    }

    .category-tile {
        min-height: 145px;
    }

    .page-hero {
        padding: 52px 0;
    }

    .rank-card {
        grid-template-columns: 110px 1fr;
        gap: 14px;
        padding: 12px;
    }

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

    .rank-card p {
        font-size: 13px;
    }

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

    .detail-poster {
        width: min(68vw, 240px);
    }

    .detail-copy h1 {
        font-size: 40px;
    }

    .detail-lead {
        font-size: 16px;
    }

    .player-section {
        padding-top: 24px;
    }

    .player-frame {
        border-radius: 16px;
    }

    .player-icon {
        width: 68px;
        height: 68px;
        font-size: 26px;
    }

    .detail-main,
    .detail-side {
        padding: 22px;
    }

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

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

    .rank-card {
        grid-template-columns: 1fr;
    }

    .rank-poster {
        aspect-ratio: 16 / 9;
    }
}
