:root {
    --pudding-50: #fefdfb;
    --pudding-100: #fef9f3;
    --pudding-200: #fdf3e7;
    --pudding-500: #f8c98f;
    --pudding-600: #e2a95f;
    --moonlight-50: #f6f8fe;
    --moonlight-100: #f0f3fb;
    --moonlight-400: #b6c5ef;
    --moonlight-500: #9baee3;
    --moonlight-600: #7d93d9;
    --ink: #202331;
    --muted: #6b7280;
    --line: rgba(125, 147, 217, 0.18);
    --card: rgba(255, 255, 255, 0.92);
    --soft-shadow: 0 16px 45px rgba(125, 147, 217, 0.16);
    --strong-shadow: 0 24px 70px rgba(125, 147, 217, 0.28);
    --radius: 1.25rem;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(253, 232, 245, 0.9), transparent 32rem),
        radial-gradient(circle at top right, rgba(232, 244, 253, 0.95), transparent 34rem),
        linear-gradient(180deg, var(--pudding-50), #ffffff 44%, var(--moonlight-50));
}

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

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

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;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(18px);
    box-shadow: 0 10px 32px rgba(125, 147, 217, 0.1);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 76px;
}

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

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 16px;
    color: var(--moonlight-600);
    background: linear-gradient(135deg, #fefdfb, #f0f3fb);
    box-shadow: inset 0 0 0 1px rgba(125, 147, 217, 0.18), 0 12px 24px rgba(125, 147, 217, 0.14);
}

.brand-name {
    font-size: clamp(1.1rem, 2vw, 1.55rem);
    letter-spacing: -0.03em;
    color: transparent;
    background: linear-gradient(90deg, var(--pudding-600), var(--moonlight-600));
    -webkit-background-clip: text;
    background-clip: text;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
}

.nav-link,
.mobile-link {
    color: #4b5563;
    font-weight: 700;
    border-radius: 999px;
    transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.nav-link {
    padding: 10px 15px;
}

.nav-link:hover,
.nav-link.active,
.mobile-link:hover,
.mobile-link.active {
    color: var(--moonlight-600);
    background: var(--moonlight-100);
}

.header-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    border: 1px solid var(--pudding-200);
    border-radius: 999px;
    background: rgba(254, 253, 251, 0.86);
}

.header-search input,
.mobile-search input,
.page-filter input,
.search-panel input {
    min-width: 0;
    border: 0;
    outline: 0;
    color: var(--ink);
    background: transparent;
}

.header-search input {
    width: 220px;
    padding: 8px 4px 8px 12px;
}

.header-search button,
.mobile-search button,
.search-panel button {
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--pudding-500), var(--moonlight-600));
    box-shadow: 0 12px 24px rgba(125, 147, 217, 0.2);
}

.header-search button {
    padding: 8px 15px;
}

.menu-button {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    border: 0;
    border-radius: 14px;
    background: var(--pudding-100);
}

.menu-button span {
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: var(--ink);
}

.mobile-panel {
    display: none;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.94);
}

.mobile-panel.open {
    display: block;
}

.mobile-nav {
    display: grid;
    gap: 8px;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0 8px;
}

.mobile-link {
    padding: 12px 14px;
}

.mobile-search {
    display: flex;
    gap: 8px;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 8px 0 18px;
}

.mobile-search input {
    flex: 1;
    padding: 12px 14px;
    border-radius: 999px;
    background: var(--pudding-50);
    border: 1px solid var(--pudding-200);
}

.mobile-search button {
    padding: 0 18px;
}

.hero {
    position: relative;
    overflow: hidden;
}

.hero-stage {
    position: relative;
    min-height: 590px;
    background: #111827;
}

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

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

.hero-bg,
.hero-bg img,
.detail-backdrop,
.detail-backdrop img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-bg img,
.detail-backdrop img {
    object-fit: cover;
    filter: saturate(1.02);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(17, 24, 39, 0.88), rgba(17, 24, 39, 0.42), rgba(17, 24, 39, 0.82)),
        linear-gradient(0deg, rgba(17, 24, 39, 0.72), transparent 42%);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) 360px;
    align-items: center;
    gap: clamp(28px, 7vw, 80px);
    min-height: 590px;
    padding: 86px 0 76px;
    color: #ffffff;
}

.hero-copy {
    max-width: 720px;
    animation: slideUp 0.6s ease both;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
    padding: 7px 13px;
    border-radius: 999px;
    color: var(--moonlight-600);
    font-size: 0.88rem;
    font-weight: 800;
    background: rgba(240, 243, 251, 0.88);
}

.hero-copy h1,
.hero-copy h2,
.page-hero h1,
.detail-copy h1 {
    margin: 0;
    letter-spacing: -0.045em;
    line-height: 1.08;
}

.hero-copy h1,
.hero-copy h2 {
    max-width: 760px;
    font-size: clamp(2.65rem, 7vw, 5.6rem);
}

.hero-copy p {
    max-width: 680px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: clamp(1rem, 2vw, 1.18rem);
    line-height: 1.9;
}

.hero-actions,
.detail-meta,
.hero-tags,
.detail-tags,
.quick-inner nav,
.tag-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.hero-actions {
    margin-top: 30px;
}

.primary-button,
.ghost-button,
.text-button,
.wide-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.primary-button {
    padding: 13px 22px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--pudding-500), var(--moonlight-600));
    box-shadow: 0 18px 34px rgba(125, 147, 217, 0.32);
}

.ghost-button {
    padding: 12px 20px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.36);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
}

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

.hero-tags {
    margin-top: 24px;
}

.hero-tags span,
.detail-meta span,
.detail-tags a,
.tag-row span {
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 700;
}

.hero-tags span {
    padding: 8px 12px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
}

.hero-poster {
    position: relative;
    display: block;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 2rem;
    box-shadow: var(--strong-shadow);
    transform: rotate(1.6deg);
}

.hero-poster img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.hero-poster span {
    position: absolute;
    right: 18px;
    bottom: 18px;
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    border-radius: 999px;
    color: var(--moonlight-600);
    font-weight: 900;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.hero-control {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    color: #ffffff;
    font-size: 2rem;
    background: rgba(17, 24, 39, 0.3);
    backdrop-filter: blur(10px);
    transform: translateY(-50%);
}

.hero-control.prev {
    left: max(16px, calc((100% - 1180px) / 2 - 68px));
}

.hero-control.next {
    right: max(16px, calc((100% - 1180px) / 2 - 68px));
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 28px;
    z-index: 5;
    display: flex;
    gap: 10px;
    transform: translateX(-50%);
}

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

.hero-dot.active {
    background: #ffffff;
}

.quick-categories {
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.74);
    backdrop-filter: blur(14px);
}

.quick-inner {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 0;
}

.quick-inner strong {
    flex: 0 0 auto;
    color: var(--ink);
}

.quick-inner nav {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
}

.quick-inner a,
.detail-tags a,
.tag-row span {
    flex: 0 0 auto;
    padding: 7px 12px;
    color: var(--moonlight-600);
    background: var(--moonlight-100);
}

.content-section {
    padding: clamp(48px, 6vw, 82px) 0;
}

.content-section.tinted {
    background: linear-gradient(135deg, rgba(254, 249, 243, 0.72), rgba(240, 243, 251, 0.78));
}

.section-heading,
.panel-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.section-heading h2,
.panel-heading h2,
.article-card h2,
.side-card h2,
.related-section h2,
.site-footer h2 {
    margin: 0;
    font-size: clamp(1.35rem, 3vw, 2rem);
    letter-spacing: -0.03em;
}

.section-heading p,
.page-hero p,
.category-overview-body p,
.article-card p,
.site-footer p,
.result-note {
    color: var(--muted);
    line-height: 1.8;
}

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

.section-heading a,
.panel-heading a,
.text-button {
    color: var(--moonlight-600);
    font-weight: 800;
}

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

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

.movie-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: var(--soft-shadow);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.movie-card:hover {
    border-color: rgba(125, 147, 217, 0.34);
    box-shadow: var(--strong-shadow);
    transform: translateY(-6px);
}

.card-poster {
    position: relative;
    display: block;
    overflow: hidden;
    background: var(--pudding-100);
}

.movie-card:not(.compact) .card-poster img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.movie-card.compact .card-poster img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.card-poster img {
    transition: transform 0.5s ease;
}

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

.play-chip,
.card-type,
.rank-badge {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.play-chip {
    left: 50%;
    top: 50%;
    width: 54px;
    height: 54px;
    border-radius: 999px;
    color: var(--moonlight-600);
    background: rgba(255, 255, 255, 0.88);
    opacity: 0;
    backdrop-filter: blur(10px);
    transform: translate(-50%, -50%) scale(0.86);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.movie-card:hover .play-chip {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.card-type {
    right: 12px;
    bottom: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 0.78rem;
    background: rgba(17, 24, 39, 0.62);
    backdrop-filter: blur(10px);
}

.rank-badge {
    left: 12px;
    top: 12px;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--pudding-500), var(--moonlight-600));
}

.card-body {
    padding: 17px;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 9px;
    color: var(--muted);
    font-size: 0.82rem;
}

.card-body h2 {
    margin: 0 0 8px;
    display: -webkit-box;
    overflow: hidden;
    min-height: 3em;
    color: var(--ink);
    font-size: 1rem;
    line-height: 1.5;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.movie-card:hover h2 {
    color: var(--moonlight-600);
}

.card-body p {
    display: -webkit-box;
    overflow: hidden;
    min-height: 3.2em;
    margin: 0 0 13px;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.65;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.tag-row {
    gap: 6px;
}

.tag-row span {
    padding: 5px 9px;
    font-size: 0.76rem;
}

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

.category-card,
.category-overview-card,
.ranking-panel,
.article-card,
.side-card,
.player-card,
.podium-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--soft-shadow);
}

.category-card {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 18px;
    padding: 16px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover,
.category-overview-card:hover,
.podium-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--strong-shadow);
}

.category-thumbs,
.category-cover {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    overflow: hidden;
    border-radius: 18px;
}

.category-thumbs img,
.category-cover img {
    width: 100%;
    aspect-ratio: 1 / 0.78;
    object-fit: cover;
}

.category-card h3,
.category-overview-body h2 {
    margin: 0 0 8px;
    font-size: 1.25rem;
}

.category-card p,
.category-overview-body p {
    margin: 0;
}

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

.ranking-panel {
    position: sticky;
    top: 96px;
    padding: 22px;
}

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

.rank-row {
    display: grid;
    grid-template-columns: 34px 58px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 18px;
    background: var(--pudding-50);
    transition: background 0.25s ease, transform 0.25s ease;
}

.rank-row:hover {
    background: var(--moonlight-100);
    transform: translateX(3px);
}

.rank-row strong {
    color: var(--moonlight-600);
    font-size: 1.05rem;
}

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

.rank-row span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 700;
}

.rank-row em {
    color: var(--pudding-600);
    font-style: normal;
    font-weight: 900;
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 76px 0 70px;
    background:
        radial-gradient(circle at 20% 20%, rgba(253, 232, 245, 0.9), transparent 30rem),
        linear-gradient(135deg, rgba(254, 249, 243, 0.92), rgba(240, 243, 251, 0.92));
}

.small-hero,
.search-hero,
.ranking-hero,
.category-hero {
    border-bottom: 1px solid var(--line);
}

.page-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.6rem);
}

.page-hero p {
    max-width: 760px;
    margin: 16px 0 0;
    font-size: 1.08rem;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    color: var(--muted);
    font-size: 0.92rem;
}

.breadcrumbs a {
    color: var(--moonlight-600);
    font-weight: 700;
}

.breadcrumbs.light {
    color: rgba(255, 255, 255, 0.78);
}

.breadcrumbs.light a {
    color: #ffffff;
}

.page-filter,
.search-panel {
    display: flex;
    align-items: center;
    gap: 10px;
    width: min(680px, 100%);
    margin-top: 28px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--soft-shadow);
}

.page-filter input,
.search-panel input {
    flex: 1;
    padding: 12px 16px;
}

.search-panel button {
    padding: 11px 18px;
}

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

.category-overview-card {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 20px;
    padding: 18px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-overview-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.mini-links {
    display: grid;
    gap: 7px;
    margin: 12px 0 14px;
}

.mini-links a {
    color: #4b5563;
    font-size: 0.92rem;
}

.text-button {
    margin-top: auto;
}

.podium-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.podium-card {
    position: relative;
    overflow: hidden;
    padding: 16px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.podium-card span {
    position: absolute;
    left: 28px;
    top: 28px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    color: #ffffff;
    font-weight: 900;
    background: linear-gradient(135deg, var(--pudding-500), var(--moonlight-600));
}

.podium-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 20px;
    object-fit: cover;
}

.podium-card strong {
    display: block;
    margin-top: 14px;
    font-size: 1.16rem;
}

.podium-card em {
    display: block;
    margin-top: 6px;
    color: var(--pudding-600);
    font-style: normal;
    font-weight: 900;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: #111827;
}

.detail-backdrop {
    opacity: 0.45;
    filter: blur(4px);
    transform: scale(1.03);
}

.detail-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(17, 24, 39, 0.94), rgba(17, 24, 39, 0.58)),
        linear-gradient(0deg, #111827, transparent 52%);
}

.detail-head {
    position: relative;
    z-index: 2;
    padding: 58px 0 72px;
}

.detail-intro {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 34px;
    align-items: center;
}

.detail-cover {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 28px;
    object-fit: cover;
    box-shadow: var(--strong-shadow);
}

.detail-copy h1 {
    max-width: 900px;
    font-size: clamp(2.2rem, 5vw, 4.8rem);
}

.detail-copy p {
    max-width: 820px;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.08rem;
    line-height: 1.85;
}

.detail-meta {
    margin-top: 22px;
}

.detail-meta span {
    padding: 8px 12px;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
}

.detail-tags {
    margin-top: 16px;
}

.detail-tags a {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.88);
}

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

.detail-main {
    display: grid;
    gap: 24px;
}

.player-card {
    overflow: hidden;
    padding: 0;
    background: #0f172a;
}

.video-shell {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #0f172a;
}

.movie-player {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #0f172a;
}

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: grid;
    place-items: center;
    border: 0;
    color: var(--moonlight-600);
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.58), rgba(15, 23, 42, 0.2));
}

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

.player-button {
    display: grid;
    place-items: center;
    width: 82px;
    height: 82px;
    border-radius: 999px;
    color: var(--moonlight-600);
    font-size: 2rem;
    font-weight: 900;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.player-message {
    position: absolute;
    left: 50%;
    bottom: 18px;
    z-index: 5;
    max-width: calc(100% - 36px);
    padding: 10px 14px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.78);
    transform: translateX(-50%);
}

.article-card,
.side-card {
    padding: 24px;
}

.article-card h2 + p,
.article-card p + h2 {
    margin-top: 16px;
}

.article-card p {
    margin-bottom: 0;
    font-size: 1.02rem;
}

.detail-side {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 18px;
}

.side-card dl {
    display: grid;
    gap: 12px;
    margin: 16px 0 0;
}

.side-card dl div {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.side-card dt {
    color: var(--muted);
}

.side-card dd {
    margin: 0;
    font-weight: 700;
}

.wide-link {
    width: 100%;
    margin-top: 12px;
    padding: 12px 14px;
    color: var(--moonlight-600);
    background: var(--moonlight-100);
}

.related-section {
    padding-top: 10px;
}

.site-footer {
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), var(--pudding-50));
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 32px;
    padding: 48px 0;
}

.site-footer h2 {
    margin-bottom: 14px;
    font-size: 1rem;
}

.site-footer a {
    display: block;
    margin-top: 9px;
    color: #4b5563;
}

.site-footer a:hover {
    color: var(--moonlight-600);
}

.footer-bottom {
    display: flex;
    justify-content: center;
    gap: 18px;
    padding: 18px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.92rem;
}

.is-filtered-out {
    display: none !important;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

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

    .ranking-panel,
    .detail-side {
        position: static;
    }

    .category-overview-card,
    .category-card {
        grid-template-columns: 1fr;
    }
}

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

    .menu-button {
        display: flex;
        margin-left: auto;
    }

    .hero-stage,
    .hero-content {
        min-height: 680px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        padding-top: 54px;
        padding-bottom: 78px;
    }

    .hero-poster {
        width: min(280px, 72vw);
        margin: 0 auto;
        transform: none;
    }

    .hero-control {
        display: none;
    }

    .quick-inner {
        align-items: flex-start;
        flex-direction: column;
    }

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

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

    .detail-cover {
        width: min(260px, 74vw);
    }
}

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

    .header-inner {
        min-height: 66px;
    }

    .brand-mark {
        width: 38px;
        height: 38px;
        border-radius: 14px;
    }

    .brand-name {
        font-size: 1.08rem;
    }

    .hero-copy h1,
    .hero-copy h2 {
        font-size: clamp(2.1rem, 15vw, 3.2rem);
    }

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

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

    .page-hero {
        padding: 54px 0 50px;
    }

    .page-filter,
    .search-panel {
        border-radius: 24px;
        align-items: stretch;
        flex-direction: column;
    }

    .search-panel button {
        width: 100%;
    }

    .detail-head {
        padding: 36px 0 54px;
    }

    .detail-copy h1 {
        font-size: clamp(2rem, 13vw, 3.1rem);
    }

    .footer-bottom {
        align-items: center;
        flex-direction: column;
    }
}
