:root {
    --teal: #0d9488;
    --cyan: #0891b2;
    --dark: #111827;
    --muted: #6b7280;
    --soft: #f3f4f6;
    --line: #e5e7eb;
    --card: #ffffff;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

body {
    min-height: 100vh;
    background: #f9fafb;
    color: #111827;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(229, 231, 235, 0.9);
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(16px);
}

.header-inner {
    max-width: 1280px;
    height: 68px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    white-space: nowrap;
    background: linear-gradient(135deg, var(--teal), var(--cyan));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-mark {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    font-size: 14px;
    background: linear-gradient(135deg, var(--teal), var(--cyan));
    box-shadow: 0 12px 30px rgba(13, 148, 136, 0.28);
}

.desktop-nav {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 18px;
    overflow: hidden;
}

.nav-link {
    color: #374151;
    font-size: 15px;
    font-weight: 600;
    transition: color 0.2s ease;
}

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

.header-search {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-search input,
.mobile-nav input,
.quick-search input,
.filter-panel input,
.filter-panel select {
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #f9fafb;
    color: #111827;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search input {
    width: 210px;
    padding: 10px 16px;
}

.header-search input:focus,
.mobile-nav input:focus,
.quick-search input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
    border-color: var(--teal);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.12);
}

.header-search button,
.mobile-nav button,
.quick-search button {
    border: 0;
    border-radius: 999px;
    padding: 10px 18px;
    color: #ffffff;
    font-weight: 700;
    background: linear-gradient(135deg, var(--teal), var(--cyan));
    box-shadow: 0 12px 28px rgba(13, 148, 136, 0.22);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    color: #374151;
    background: #f3f4f6;
}

.mobile-nav {
    display: none;
    padding: 16px 24px 22px;
    border-top: 1px solid var(--line);
    background: #ffffff;
}

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

.mobile-nav form {
    display: flex;
    gap: 8px;
}

.mobile-nav input {
    flex: 1;
    padding: 10px 14px;
}

.mobile-nav a {
    padding: 10px 12px;
    color: #374151;
    border-radius: 12px;
    font-weight: 650;
}

.mobile-nav a:hover {
    color: var(--teal);
    background: #f3f4f6;
}

main {
    overflow: hidden;
}

.hero {
    position: relative;
    color: #ffffff;
    background: linear-gradient(135deg, #0f766e, #0891b2 48%, #155e75);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.22), transparent 28%),
        radial-gradient(circle at 90% 10%, rgba(34, 211, 238, 0.24), transparent 28%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.1), rgba(15, 23, 42, 0.36));
}

.hero-inner {
    position: relative;
    max-width: 1280px;
    min-height: 620px;
    margin: 0 auto;
    padding: 74px 24px 64px;
}

.hero-slide {
    display: none;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    align-items: center;
    gap: 48px;
}

.hero-slide.active {
    display: grid;
}

.hero-copy h1 {
    max-width: 760px;
    margin: 12px 0 20px;
    font-size: clamp(38px, 6vw, 72px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.eyebrow {
    color: var(--teal);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero .eyebrow,
.page-hero .eyebrow,
.detail-hero .eyebrow {
    color: #ccfbf1;
}

.hero-desc {
    max-width: 720px;
    color: rgba(240, 253, 250, 0.92);
    font-size: 19px;
    line-height: 1.8;
}

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

.hero-tags {
    margin: 26px 0 32px;
}

.hero-tags span,
.tag-row span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 11px;
    border-radius: 999px;
    color: #0f766e;
    font-size: 13px;
    font-weight: 700;
    background: #ccfbf1;
}

.hero-actions,
.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

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

.primary-btn {
    padding: 13px 22px;
    color: #0f766e;
    background: #ffffff;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.2);
}

.primary-btn:hover,
.ghost-btn:hover,
.text-link:hover,
.card-cta:hover {
    transform: translateY(-2px);
}

.ghost-btn {
    padding: 12px 20px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.12);
}

.hero-poster {
    position: relative;
    min-height: 460px;
    border-radius: 30px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.32);
}

.hero-poster img,
.poster-frame img,
.side-thumb img,
.detail-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: linear-gradient(135deg, #e0f2fe, #ccfbf1);
}

.hero-poster img.is-missing,
.poster-frame img.is-missing,
.side-thumb img.is-missing,
.detail-poster img.is-missing {
    opacity: 0;
}

.hero-poster::after,
.poster-frame::after,
.detail-poster::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 46%, rgba(15, 23, 42, 0.52));
}

.hero-poster span {
    position: absolute;
    left: 20px;
    bottom: 20px;
    z-index: 2;
    padding: 8px 14px;
    border-radius: 999px;
    color: #ffffff;
    font-weight: 800;
    background: rgba(15, 23, 42, 0.52);
    backdrop-filter: blur(12px);
}

.hero-nav {
    position: absolute;
    left: 24px;
    bottom: 28px;
    display: flex;
    gap: 10px;
}

.hero-dot {
    width: 36px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.38);
    transition: width 0.2s ease, background 0.2s ease;
}

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

.quick-search,
.content-section,
.page-main,
.site-footer .footer-inner,
.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.quick-search {
    margin-top: -36px;
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
    align-items: center;
    gap: 24px;
    padding-top: 26px;
    padding-bottom: 26px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.quick-search h2 {
    margin-bottom: 6px;
    font-size: 24px;
    font-weight: 900;
}

.quick-search p {
    color: var(--muted);
}

.quick-search form {
    display: flex;
    gap: 10px;
}

.quick-search input {
    flex: 1;
    padding: 13px 18px;
}

.content-section {
    padding-top: 54px;
}

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

.section-head h2 {
    margin-top: 6px;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 900;
}

.compact-head {
    align-items: center;
}

.text-link {
    color: var(--teal);
    font-size: 15px;
}

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

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

.movie-card {
    min-width: 0;
    border-radius: 18px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.poster-link {
    display: block;
}

.poster-frame {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, #e0f2fe, #ccfbf1);
}

.poster-frame img {
    transition: transform 0.3s ease;
}

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

.score-badge {
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 3;
    padding: 5px 8px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    background: rgba(13, 148, 136, 0.9);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.2);
}

.card-body {
    padding: 14px;
}

.card-body h3 {
    margin-bottom: 6px;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 850;
}

.card-body h3 a:hover {
    color: var(--teal);
}

.card-meta {
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 12px;
}

.card-desc {
    display: -webkit-box;
    min-height: 42px;
    overflow: hidden;
    color: #4b5563;
    font-size: 13px;
    line-height: 1.62;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.tag-row {
    margin-top: 10px;
}

.tag-row span {
    min-height: 24px;
    padding: 4px 9px;
    font-size: 12px;
    background: #ecfeff;
}

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

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

.category-card,
.category-overview-card a {
    display: flex;
    min-height: 140px;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover,
.category-overview-card a:hover {
    transform: translateY(-4px);
    border-color: rgba(13, 148, 136, 0.35);
    box-shadow: 0 22px 45px rgba(15, 23, 42, 0.1);
}

.category-card strong,
.category-overview-card h2 {
    color: #111827;
    font-size: 20px;
    font-weight: 900;
}

.category-card span,
.category-overview-card p {
    color: var(--muted);
    line-height: 1.65;
}

.ranking-panel,
.aside-card,
.text-card,
.player-card {
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.ranking-panel {
    padding: 24px;
}

.rank-list,
.rank-wide-list,
.side-stack {
    display: grid;
    gap: 10px;
}

.rank-row,
.rank-wide-row {
    display: grid;
    align-items: center;
    gap: 10px;
    border-radius: 14px;
    color: #374151;
    background: #f9fafb;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.rank-row {
    grid-template-columns: 32px minmax(0, 1fr) auto;
    padding: 12px;
}

.rank-row:hover,
.rank-wide-row:hover {
    color: var(--teal);
    background: #ecfeff;
    transform: translateX(3px);
}

.rank-row span,
.rank-number {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    font-weight: 900;
    background: linear-gradient(135deg, var(--teal), var(--cyan));
}

.rank-row strong,
.rank-title {
    overflow: hidden;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-row em,
.rank-wide-row strong {
    color: #f59e0b;
    font-style: normal;
    font-weight: 900;
}

.page-main {
    padding-top: 36px;
    padding-bottom: 68px;
}

.page-hero {
    display: grid;
    gap: 16px;
    margin-bottom: 32px;
    padding: 44px;
    border-radius: 28px;
    color: #ffffff;
    background: linear-gradient(135deg, #0f766e, #0891b2);
    box-shadow: var(--shadow);
}

.page-hero h1 {
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.1;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.page-hero p {
    max-width: 820px;
    color: rgba(240, 253, 250, 0.9);
    font-size: 17px;
    line-height: 1.8;
}

.slim-hero {
    min-height: 260px;
    align-content: center;
}

.category-hero {
    grid-template-columns: minmax(0, 1fr) 380px;
    align-items: center;
}

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

.side-link {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 16px;
    color: #111827;
    background: rgba(255, 255, 255, 0.95);
    transition: transform 0.2s ease, background 0.2s ease;
}

.side-link:hover {
    transform: translateY(-2px);
    background: #ffffff;
}

.side-thumb {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 12px;
    background: linear-gradient(135deg, #e0f2fe, #ccfbf1);
}

.side-copy {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.side-copy strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 850;
}

.side-copy em {
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 180px 160px 180px;
    gap: 12px;
    margin-bottom: 28px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.filter-panel input,
.filter-panel select {
    width: 100%;
    padding: 12px 14px;
    border-radius: 14px;
}

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

.empty-state {
    display: none;
    padding: 38px;
    border-radius: 22px;
    color: var(--muted);
    text-align: center;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.empty-state.show {
    display: block;
}

.category-overview-card {
    min-width: 0;
}

.mini-link-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mini-link-list a {
    max-width: 100%;
    overflow: hidden;
    padding: 6px 10px;
    border-radius: 999px;
    color: #0f766e;
    font-size: 13px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
    background: #ccfbf1;
}

.card-cta {
    align-self: flex-start;
    padding: 9px 15px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--teal), var(--cyan));
}

.rank-wide-row {
    grid-template-columns: 48px minmax(0, 1fr) 220px 64px;
    padding: 14px 16px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.rank-meta {
    color: var(--muted);
    font-size: 14px;
}

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

.breadcrumbs a:hover {
    color: var(--teal);
}

.detail-hero {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 34px;
    align-items: center;
    margin-bottom: 34px;
    padding: 30px;
    border-radius: 30px;
    color: #ffffff;
    background:
        radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.18), transparent 26%),
        linear-gradient(135deg, #0f766e, #0891b2 56%, #155e75);
    box-shadow: var(--shadow);
}

.detail-poster {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 24px;
    background: linear-gradient(135deg, #e0f2fe, #ccfbf1);
    box-shadow: 0 24px 55px rgba(15, 23, 42, 0.24);
}

.detail-copy h1 {
    margin: 10px 0 16px;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.08;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.detail-line {
    max-width: 780px;
    color: rgba(240, 253, 250, 0.92);
    font-size: 18px;
    line-height: 1.8;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.detail-meta span {
    padding: 7px 12px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.16);
}

.large-tags span {
    color: #0f766e;
    background: #ffffff;
}

.detail-copy .primary-btn {
    margin-top: 26px;
}

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

.detail-content {
    min-width: 0;
    display: grid;
    gap: 24px;
}

.player-card {
    position: relative;
    overflow: hidden;
    background: #020617;
}

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

.play-layer {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 900;
    background: rgba(2, 6, 23, 0.42);
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.player-card.playing .play-layer {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.play-icon {
    width: 72px;
    height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-left: 5px;
    border-radius: 999px;
    color: #0f766e;
    background: #ffffff;
    box-shadow: 0 24px 55px rgba(15, 23, 42, 0.34);
}

.player-message {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 4;
    display: none;
    padding: 10px 14px;
    border-radius: 14px;
    color: #ffffff;
    text-align: center;
    background: rgba(15, 23, 42, 0.72);
}

.player-message.show {
    display: block;
}

.text-card {
    padding: 26px;
}

.text-card h2,
.aside-card h2 {
    margin-bottom: 12px;
    font-size: 22px;
    font-weight: 900;
}

.text-card p {
    color: #374151;
    font-size: 16px;
    line-height: 1.95;
    white-space: pre-line;
}

.related-section {
    padding: 0;
}

.detail-aside {
    position: sticky;
    top: 92px;
}

.aside-card {
    padding: 22px;
}

.site-footer {
    margin-top: 72px;
    color: #d1d5db;
    background: linear-gradient(135deg, #111827, #1f2937);
}

.footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) 220px minmax(0, 1fr);
    gap: 42px;
    padding-top: 48px;
    padding-bottom: 38px;
}

.footer-logo {
    margin-bottom: 16px;
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
}

.footer-brand p {
    max-width: 560px;
    color: #9ca3af;
    line-height: 1.8;
}

.footer-links {
    display: grid;
    align-content: start;
    gap: 10px;
}

.footer-links h2 {
    margin-bottom: 6px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 900;
}

.footer-links a {
    color: #d1d5db;
}

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

.footer-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-chip-list a {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.footer-bottom {
    padding-top: 18px;
    padding-bottom: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #9ca3af;
    font-size: 14px;
}

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

@media (max-width: 1180px) {
    .desktop-nav {
        gap: 12px;
    }

    .header-search input {
        width: 170px;
    }

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

    .two-column,
    .detail-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .detail-aside {
        position: static;
    }
}

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

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
    }

    .hero-inner {
        min-height: auto;
        padding-top: 56px;
    }

    .hero-slide,
    .category-hero,
    .detail-hero {
        grid-template-columns: 1fr;
    }

    .hero-poster {
        min-height: 360px;
    }

    .quick-search {
        grid-template-columns: 1fr;
    }

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

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

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

    .detail-poster {
        max-width: 320px;
    }

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

@media (max-width: 720px) {
    .header-inner,
    .quick-search,
    .content-section,
    .page-main,
    .site-footer .footer-inner,
    .footer-bottom {
        padding-left: 16px;
        padding-right: 16px;
    }

    .brand {
        font-size: 19px;
    }

    .hero-inner {
        padding-left: 16px;
        padding-right: 16px;
        padding-bottom: 58px;
    }

    .hero-copy h1,
    .detail-copy h1,
    .page-hero h1 {
        letter-spacing: -0.03em;
    }

    .hero-poster {
        min-height: 300px;
        border-radius: 22px;
    }

    .hero-nav {
        left: 16px;
    }

    .quick-search form,
    .mobile-nav form {
        flex-direction: column;
    }

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

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

    .page-hero,
    .detail-hero {
        padding: 26px;
        border-radius: 24px;
    }

    .detail-hero {
        gap: 22px;
    }

    .detail-poster {
        width: 72%;
    }

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

    .rank-meta {
        display: none;
    }
}

@media (max-width: 420px) {
    .movie-grid,
    .movie-grid.small-grid,
    .movie-grid.library-grid {
        grid-template-columns: 1fr;
    }

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