:root {
    --bg: #f7fbff;
    --bg-soft: #eef8ff;
    --surface: #ffffff;
    --surface-strong: rgba(255, 255, 255, 0.88);
    --text: #172033;
    --muted: #64748b;
    --line: rgba(15, 23, 42, 0.08);
    --sky: #0ea5e9;
    --blue: #2563eb;
    --rose: #f43f5e;
    --gold: #f59e0b;
    --shadow: 0 18px 50px rgba(15, 23, 42, 0.10);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at 12% 4%, rgba(14, 165, 233, 0.14), transparent 26rem),
        radial-gradient(circle at 88% 12%, rgba(37, 99, 235, 0.12), transparent 30rem),
        var(--bg);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

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

button,
input,
select {
    font: inherit;
}

img {
    max-width: 100%;
}

.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);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(135deg, var(--sky), var(--blue));
    box-shadow: 0 12px 30px rgba(14, 165, 233, 0.28);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand-text strong {
    font-size: 22px;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--sky), var(--blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-text small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

.nav-link {
    padding: 9px 12px;
    color: #334155;
    border-radius: 12px;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--sky);
    background: rgba(14, 165, 233, 0.10);
}

.nav-link:hover {
    transform: translateY(-1px);
}

.nav-divider {
    width: 1px;
    height: 22px;
    margin: 0 6px;
    background: var(--line);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-search,
.mobile-search,
.primary-button,
.secondary-button,
.text-button {
    border: 0;
    cursor: pointer;
}

.header-search,
.mobile-search {
    padding: 10px 14px;
    color: var(--sky);
    border: 1px solid rgba(14, 165, 233, 0.22);
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.08);
}

.menu-button {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}

.menu-button span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    border-radius: 999px;
    background: #334155;
}

.mobile-panel {
    display: none;
    width: min(1240px, calc(100% - 28px));
    margin: 0 auto 14px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow);
}

.mobile-panel.open {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.mobile-link {
    padding: 11px 12px;
    color: #334155;
    border-radius: 12px;
    background: #f8fafc;
}

.mobile-link.active,
.mobile-link:hover {
    color: var(--sky);
    background: rgba(14, 165, 233, 0.10);
}

.hero-section {
    position: relative;
    overflow: hidden;
    padding: 46px 0 34px;
    background: linear-gradient(180deg, #eff8ff 0%, #ffffff 100%);
}

.hero-glow {
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    filter: blur(30px);
    opacity: 0.34;
    pointer-events: none;
}

.hero-glow.one {
    left: -110px;
    top: -120px;
    background: #7dd3fc;
}

.hero-glow.two {
    right: -120px;
    bottom: -150px;
    background: #93c5fd;
}

.hero-inner {
    position: relative;
    width: min(1240px, calc(100% - 28px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    align-items: stretch;
}

.hero-carousel {
    position: relative;
    min-height: 560px;
    border-radius: 32px;
    overflow: hidden;
    background: #0f172a;
    box-shadow: 0 26px 80px rgba(15, 23, 42, 0.18);
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 52% 48%;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 0.55s ease, transform 0.55s ease;
    pointer-events: none;
}

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

.hero-media {
    height: 100%;
    min-height: 560px;
    border-radius: 0;
}

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

.poster-frame {
    position: relative;
    display: block;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(14, 165, 233, 0.26), rgba(37, 99, 235, 0.18)),
        linear-gradient(145deg, #dff4ff, #ffffff);
}

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

.poster-frame.cover-muted img {
    opacity: 0;
}

.hero-copy {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 54px 58px;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(15, 23, 42, 0.30), rgba(15, 23, 42, 0.94) 16%, rgba(15, 23, 42, 0.98)),
        radial-gradient(circle at 90% 20%, rgba(14, 165, 233, 0.28), transparent 24rem);
}

.hero-kicker,
.detail-kicker,
.section-heading span,
.page-hero span,
.hero-search-card span {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 12px;
    padding: 7px 12px;
    color: var(--sky);
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.12);
    font-size: 13px;
    font-weight: 700;
}

.hero-copy h1 {
    margin: 0 0 18px;
    font-size: clamp(36px, 5vw, 66px);
    line-height: 0.96;
    letter-spacing: -0.06em;
}

.hero-copy p {
    max-width: 560px;
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 17px;
    line-height: 1.8;
}

.hero-meta,
.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.hero-meta span,
.card-meta span {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.88);
    font-size: 13px;
}

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

.primary-button,
.secondary-button,
.text-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
    color: #fff;
    background: linear-gradient(135deg, var(--sky), var(--blue));
    box-shadow: 0 14px 34px rgba(14, 165, 233, 0.28);
}

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

.secondary-button {
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.text-button {
    color: #bae6fd;
    background: transparent;
}

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

.hero-dots {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 24px;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.hero-dot {
    min-width: 0;
    padding: 12px;
    color: rgba(255, 255, 255, 0.76);
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.52);
    backdrop-filter: blur(14px);
}

.hero-dot.active {
    color: #fff;
    border-color: rgba(14, 165, 233, 0.5);
    background: rgba(14, 165, 233, 0.25);
}

.hero-dot span,
.hero-dot small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hero-dot span {
    font-weight: 800;
}

.hero-dot small {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.64);
    font-size: 12px;
}

.hero-side {
    display: grid;
    gap: 16px;
}

.hero-search-card,
.movie-card,
.category-card,
.search-dialog,
.movie-article,
.detail-info,
.player-panel {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-strong);
    box-shadow: var(--shadow);
}

.hero-search-card {
    padding: 26px;
}

.hero-search-card h2 {
    margin: 0 0 12px;
    font-size: 28px;
    line-height: 1.16;
    letter-spacing: -0.04em;
}

.hero-search-card p {
    margin: 0 0 18px;
    color: var(--muted);
    line-height: 1.75;
}

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

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

.content-section.soft-bg {
    background: linear-gradient(180deg, #fff, var(--bg-soft));
}

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

.section-heading h2 {
    margin: 0;
    font-size: clamp(26px, 3vw, 40px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.section-more {
    color: var(--sky);
    font-weight: 800;
}

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

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

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

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

.movie-card {
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.16);
}

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

.movie-card .poster-frame {
    aspect-ratio: 16 / 10;
    border-radius: 0;
}

.play-hover {
    position: absolute;
    inset: auto 12px 12px auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    min-height: 32px;
    color: #fff;
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.92);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

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

.rank-badge {
    position: absolute;
    z-index: 3;
    left: 10px;
    top: 10px;
    display: inline-flex;
    min-width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--rose), var(--gold));
    font-weight: 900;
    box-shadow: 0 10px 26px rgba(244, 63, 94, 0.28);
}

.card-body {
    padding: 16px;
}

.card-title {
    display: -webkit-box;
    overflow: hidden;
    color: #172033;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.35;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color 0.2s ease;
}

.card-title:hover {
    color: var(--sky);
}

.card-desc {
    display: -webkit-box;
    overflow: hidden;
    min-height: 42px;
    margin: 9px 0 12px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-meta {
    margin-bottom: 12px;
}

.card-meta span {
    color: #64748b;
    background: #f1f5f9;
}

.card-tags,
.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.card-tags span,
.detail-tags span {
    padding: 5px 9px;
    color: #0369a1;
    border-radius: 999px;
    background: #e0f2fe;
    font-size: 12px;
    font-weight: 700;
}

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

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

.compact-card .card-desc {
    display: none;
}

.wide-card {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
}

.wide-card .poster-frame {
    height: 100%;
    min-height: 150px;
    aspect-ratio: auto;
}

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

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

.category-card {
    min-height: 180px;
    padding: 22px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(240, 249, 255, 0.92)),
        radial-gradient(circle at 100% 0, rgba(14, 165, 233, 0.18), transparent 12rem);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 70px rgba(14, 165, 233, 0.16);
}

.category-card span {
    display: inline-flex;
    margin-bottom: 16px;
    padding: 6px 11px;
    color: var(--sky);
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.10);
    font-size: 13px;
    font-weight: 800;
}

.category-card strong {
    display: block;
    margin-bottom: 10px;
    font-size: 21px;
    line-height: 1.2;
}

.category-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.page-hero {
    padding: 54px 0 36px;
    background: linear-gradient(180deg, #eff8ff, #fff);
}

.page-hero-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-end;
}

.page-hero h1 {
    margin: 0 0 12px;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1;
    letter-spacing: -0.05em;
}

.page-hero p {
    max-width: 760px;
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.8;
}

.inline-filter {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 22px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
}

.inline-filter label {
    flex: 1;
}

.inline-filter input,
.inline-filter select,
.global-search-box input {
    width: 100%;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 14px;
    outline: none;
    background: #f8fafc;
    padding: 0 14px;
    color: var(--text);
}

.inline-filter input:focus,
.inline-filter select:focus,
.global-search-box input:focus {
    border-color: rgba(14, 165, 233, 0.52);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.11);
}

.filter-selects {
    display: flex;
    gap: 10px;
}

.search-layer[hidden] {
    display: none;
}

.search-layer {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 80px 16px 24px;
}

.search-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.42);
    backdrop-filter: blur(6px);
}

.search-dialog {
    position: relative;
    width: min(760px, 100%);
    max-height: min(720px, calc(100vh - 120px));
    overflow: auto;
    padding: 24px;
    background: rgba(255, 255, 255, 0.96);
}

.search-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.search-head span {
    color: var(--sky);
    font-weight: 800;
}

.search-head h2 {
    margin: 4px 0 0;
    font-size: 30px;
}

.search-head button {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 14px;
    background: #f1f5f9;
    font-size: 28px;
    line-height: 1;
}

.search-results {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.search-result {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 12px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
}

.search-result .poster-frame {
    aspect-ratio: 16 / 10;
    border-radius: 14px;
}

.search-result h3 {
    margin: 0 0 6px;
    font-size: 17px;
}

.search-result p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.search-result small {
    color: #64748b;
}

.detail-hero {
    padding: 30px 0 56px;
    background: linear-gradient(180deg, #eff8ff, #ffffff);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 14px;
}

.breadcrumb a {
    color: var(--sky);
    font-weight: 700;
}

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

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

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

.player-shell video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #020617;
}

.player-mask {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #fff;
    border: 0;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.16), rgba(2, 6, 23, 0.66));
}

.player-mask.hidden {
    display: none;
}

.player-mask span {
    width: 78px;
    height: 78px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sky), var(--blue));
    box-shadow: 0 18px 42px rgba(14, 165, 233, 0.38);
    font-size: 28px;
}

.player-mask strong {
    font-size: 20px;
}

.detail-info {
    padding: 28px;
}

.detail-info h1 {
    margin: 0 0 14px;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.detail-info p {
    margin: 0 0 20px;
    color: var(--muted);
    line-height: 1.8;
}

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

.detail-meta div {
    padding: 12px;
    border-radius: 16px;
    background: #f8fafc;
}

.detail-meta dt {
    color: var(--muted);
    font-size: 12px;
}

.detail-meta dd {
    margin: 3px 0 0;
    font-weight: 900;
}

.article-container {
    max-width: 980px;
}

.movie-article {
    padding: 34px;
}

.movie-article h2 {
    margin: 0 0 14px;
    font-size: 26px;
    letter-spacing: -0.03em;
}

.movie-article p {
    margin: 0 0 28px;
    color: #334155;
    font-size: 17px;
    line-height: 1.95;
}

.site-footer {
    border-top: 1px solid var(--line);
    background: #fff;
}

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

.footer-brand p {
    max-width: 420px;
    margin: 18px 0 0;
    color: var(--muted);
    line-height: 1.75;
}

.brand.mini .brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 13px;
}

.brand.mini .brand-text strong {
    font-size: 18px;
}

.footer-group h3 {
    margin: 0 0 14px;
    font-size: 17px;
}

.footer-group a {
    display: block;
    width: fit-content;
    margin: 8px 0;
    color: var(--muted);
}

.footer-group a:hover {
    color: var(--sky);
}

.footer-bottom {
    padding: 18px 0;
    color: var(--muted);
    text-align: center;
    border-top: 1px solid var(--line);
}

.footer-bottom p {
    margin: 0;
}

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

    .menu-button {
        display: block;
    }

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

    .hero-side {
        grid-template-columns: 1fr 1fr;
    }

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

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

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

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

    .hero-carousel {
        min-height: 680px;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        grid-template-rows: 45% 55%;
    }

    .hero-media {
        min-height: 0;
    }

    .hero-copy {
        padding: 28px;
    }

    .hero-dots {
        grid-template-columns: 1fr;
        left: 18px;
        right: 18px;
    }

    .hero-dot:not(.active) {
        display: none;
    }

    .hero-side {
        grid-template-columns: 1fr;
    }

    .section-heading,
    .page-hero-inner,
    .inline-filter {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-selects {
        flex-direction: column;
    }

    .movie-grid,
    .library-grid,
    .ranking-grid,
    .compact-grid,
    .category-grid,
    .category-grid.large {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ranking-list {
        grid-template-columns: 1fr;
    }

    .wide-card {
        grid-template-columns: 150px minmax(0, 1fr);
    }

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

@media (max-width: 540px) {
    .header-inner {
        min-height: 66px;
    }

    .brand-text small {
        display: none;
    }

    .brand-text strong {
        font-size: 18px;
    }

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

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

    .hero-carousel {
        border-radius: 22px;
    }

    .hero-copy h1 {
        font-size: 34px;
    }

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

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

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

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

    .wide-card .poster-frame {
        aspect-ratio: 16 / 10;
    }

    .search-result {
        grid-template-columns: 96px minmax(0, 1fr);
    }

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

    .movie-article {
        padding: 22px;
    }
}

.sitemap-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}
.sitemap-links a {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    font-weight: 800;
}
.sitemap-links a span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 500;
}
@media (max-width: 900px) {
    .sitemap-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 540px) {
    .sitemap-links {
        grid-template-columns: 1fr;
    }
}
