:root {
    --bg: #fffaf0;
    --surface: #ffffff;
    --surface-soft: #fffbeb;
    --text: #1f2937;
    --muted: #6b7280;
    --line: #f2d9a0;
    --amber: #f59e0b;
    --amber-dark: #b45309;
    --red: #ef4444;
    --orange: #f97316;
    --shadow: 0 20px 45px rgba(146, 64, 14, 0.12);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(245, 158, 11, 0.18), transparent 34rem),
        linear-gradient(135deg, rgba(255, 251, 235, 0.92), #ffffff 38%, rgba(254, 243, 199, 0.52));
    min-height: 100vh;
}

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

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

button,
input,
select {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(251, 191, 36, 0.25);
    backdrop-filter: blur(16px);
    box-shadow: 0 12px 28px rgba(146, 64, 14, 0.08);
}

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

.brand,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(135deg, var(--red), var(--orange));
    box-shadow: 0 12px 22px rgba(249, 115, 22, 0.28);
    transition: transform 0.25s ease;
}

.brand:hover .brand-mark {
    transform: scale(1.08) rotate(4deg);
}

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

.brand-text strong,
.footer-logo strong {
    font-size: 1.35rem;
    background: linear-gradient(90deg, #dc2626, #ea580c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-text small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.78rem;
}

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

.nav-link {
    position: relative;
    padding: 27px 0;
    color: #374151;
    font-weight: 650;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 18px;
    width: 0;
    height: 3px;
    border-radius: 999px;
    background: var(--amber);
    transition: width 0.25s ease;
}

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

.nav-link:hover::after,
.nav-link.is-active::after {
    width: 100%;
}

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

.header-search input,
.mobile-search input,
.big-search input,
.filter-line input,
.filter-line select {
    width: 100%;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    border-radius: 999px;
    color: var(--text);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.header-search input:focus,
.mobile-search input:focus,
.big-search input:focus,
.filter-line input:focus,
.filter-line select:focus {
    border-color: var(--amber);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.16);
}

.header-search button,
.mobile-search button,
.big-search button,
.primary-btn {
    border: 0;
    color: #ffffff;
    background: linear-gradient(90deg, var(--amber), #eab308);
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 20px rgba(245, 158, 11, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-search button:hover,
.mobile-search button:hover,
.big-search button:hover,
.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 26px rgba(245, 158, 11, 0.28);
}

.mobile-toggle {
    display: none;
    border: 0;
    background: #fff7ed;
    color: #7c2d12;
    border-radius: 14px;
    padding: 10px 12px;
    cursor: pointer;
}

.mobile-nav {
    display: none;
    border-top: 1px solid #fde68a;
    padding: 12px 16px 18px;
    background: rgba(255, 255, 255, 0.98);
}

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

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

.mobile-link:hover,
.mobile-link.is-active {
    color: var(--amber-dark);
    background: #fffbeb;
}

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

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease, visibility 0.7s ease;
    background-image:
        linear-gradient(90deg, rgba(17, 24, 39, 0.92), rgba(17, 24, 39, 0.58), rgba(17, 24, 39, 0.2)),
        var(--hero-image);
    background-position: center;
    background-size: cover;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 20%, rgba(245, 158, 11, 0.32), transparent 24rem),
        linear-gradient(0deg, rgba(17, 24, 39, 0.3), transparent 40%);
}

.hero-content {
    position: relative;
    min-height: 590px;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) 360px;
    align-items: center;
    gap: 60px;
    color: #ffffff;
    padding: 70px 0 86px;
}

.eyebrow,
.sub-hero p,
.section-heading p {
    margin: 0 0 10px;
    color: var(--amber);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 800;
}

.hero-copy h1 {
    margin: 0;
    max-width: 780px;
    font-size: clamp(2.6rem, 6vw, 5.3rem);
    line-height: 1.02;
    letter-spacing: -0.06em;
}

.hero-copy p {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.9;
    font-size: 1.05rem;
}

.hero-tags,
.detail-tags,
.tag-row,
.chip-line {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.hero-tags span,
.detail-tags span,
.tag-row span,
.chip-line button {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 12px;
    border-radius: 999px;
    color: #92400e;
    background: rgba(254, 243, 199, 0.92);
    border: 1px solid rgba(251, 191, 36, 0.35);
    font-size: 0.8rem;
    font-weight: 700;
}

.hero-actions,
.detail-actions,
.text-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.ghost-btn,
.ghost-light-btn {
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 700;
    backdrop-filter: blur(10px);
    transition: background 0.2s ease, transform 0.2s ease;
}

.ghost-btn:hover,
.ghost-light-btn:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.26);
}

.ghost-light-btn {
    color: var(--amber-dark);
    border-color: #fcd34d;
    background: #fffbeb;
}

.hero-poster {
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
    transform: rotate(2deg);
    transition: transform 0.3s ease;
}

.hero-poster:hover {
    transform: rotate(0deg) translateY(-5px);
}

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

.hero-poster span,
.poster-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--red), var(--orange));
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.28);
}

.hero-controls {
    position: absolute;
    left: 50%;
    bottom: 26px;
    z-index: 8;
    display: flex;
    align-items: center;
    gap: 15px;
    transform: translateX(-50%);
}

.hero-controls button {
    border: 0;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.hero-controls > button {
    width: 42px;
    height: 42px;
    font-size: 1.6rem;
}

.hero-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    opacity: 0.65;
}

.hero-dot.is-active {
    width: 32px;
    opacity: 1;
    background: var(--amber);
}

.search-panel,
.filter-panel,
.search-page-panel,
.prose-card {
    margin-top: -34px;
    position: relative;
    z-index: 12;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(251, 191, 36, 0.32);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.search-panel strong {
    display: block;
    color: var(--amber-dark);
    font-size: 2rem;
    line-height: 1;
}

.search-panel span {
    color: var(--muted);
    font-weight: 700;
}

.search-panel form {
    flex: 1;
    display: flex;
    gap: 10px;
    max-width: 720px;
}

.search-panel input {
    flex: 1;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    padding: 13px 18px;
    outline: none;
}

.search-panel button {
    border: 0;
    border-radius: 999px;
    padding: 13px 20px;
    color: #ffffff;
    font-weight: 800;
    background: linear-gradient(90deg, var(--red), var(--orange));
    cursor: pointer;
}

.section-block,
.section-layout,
.stacked-previews {
    padding-top: 64px;
}

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

.section-heading h2 {
    margin: 0;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    letter-spacing: -0.04em;
}

.section-heading a {
    color: var(--amber-dark);
    font-weight: 800;
}

.section-heading.compact h2 {
    font-size: 1.3rem;
    letter-spacing: -0.02em;
}

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

.category-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(251, 191, 36, 0.28);
    border-radius: 24px;
    box-shadow: 0 16px 36px rgba(146, 64, 14, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.category-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    height: 120px;
    background: #fef3c7;
}

.category-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-card-body {
    padding: 18px;
}

.category-card-body h2 {
    margin: 0 0 8px;
    font-size: 1.15rem;
}

.category-card-body p {
    min-height: 44px;
    margin: 0 0 12px;
    color: var(--muted);
    line-height: 1.55;
    font-size: 0.92rem;
}

.category-card-body span {
    color: var(--amber-dark);
    font-weight: 800;
}

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

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

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

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

.movie-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid rgba(251, 191, 36, 0.24);
    border-radius: 22px;
    box-shadow: 0 14px 30px rgba(146, 64, 14, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 46px rgba(146, 64, 14, 0.14);
}

.poster-wrap {
    position: relative;
    overflow: hidden;
    display: block;
    background: #fef3c7;
}

.poster-wrap img {
    width: 100%;
    aspect-ratio: 3 / 4.15;
    object-fit: cover;
    transition: transform 0.35s ease;
}

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

.poster-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(17, 24, 39, 0.72));
    opacity: 0.72;
}

.poster-play {
    width: 50px;
    height: 50px;
    opacity: 0;
    z-index: 3;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.rank-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 4;
    min-width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, #dc2626, #f97316);
    font-weight: 900;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.24);
}

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

.card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 9px;
    color: var(--amber-dark);
    font-size: 0.78rem;
    font-weight: 800;
}

.movie-card h3 {
    margin: 0 0 8px;
    font-size: 1.02rem;
    line-height: 1.35;
}

.movie-card h3 a:hover {
    color: var(--amber-dark);
}

.movie-card p {
    min-height: 48px;
    margin: 0 0 12px;
    color: var(--muted);
    line-height: 1.6;
    font-size: 0.88rem;
}

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

.movie-card-small p {
    display: none;
}

.tag-row span {
    min-height: 24px;
    padding: 3px 9px;
    font-size: 0.72rem;
}

.rank-panel,
.side-panel,
.detail-article,
.ranking-table {
    background: #ffffff;
    border: 1px solid rgba(251, 191, 36, 0.24);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.rank-panel {
    position: sticky;
    top: 96px;
    padding: 20px;
}

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

.rank-row,
.ranking-table-row {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 16px;
    background: #fffbeb;
    transition: background 0.2s ease, transform 0.2s ease;
}

.rank-row:hover,
.ranking-table-row:hover {
    background: #fef3c7;
    transform: translateX(4px);
}

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

.rank-row strong,
.ranking-table-row strong {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.rank-row em,
.ranking-table-row em,
.ranking-table-row small {
    color: var(--muted);
    font-style: normal;
    font-size: 0.82rem;
}

.sub-hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background:
        radial-gradient(circle at 20% 0%, rgba(251, 191, 36, 0.5), transparent 26rem),
        linear-gradient(135deg, #111827, #7c2d12 58%, #b45309);
    padding: 74px 0 92px;
}

.sub-hero h1 {
    margin: 0;
    font-size: clamp(2.4rem, 6vw, 4.6rem);
    letter-spacing: -0.06em;
}

.sub-hero span {
    display: block;
    max-width: 760px;
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.8;
}

.filter-panel {
    display: block;
}

.filter-line {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px 180px;
    gap: 12px;
}

.filter-line input,
.filter-line select,
.big-search input,
.mobile-search input {
    padding: 13px 16px;
}

.chip-line {
    margin-top: 14px;
}

.chip-line button {
    cursor: pointer;
}

.chip-line button.is-active,
.chip-line button:hover {
    color: #ffffff;
    background: linear-gradient(90deg, var(--amber), #eab308);
}

.filter-count,
.search-summary {
    margin-top: 14px;
    color: var(--muted);
    font-weight: 700;
}

.category-preview {
    padding: 26px;
    margin-bottom: 24px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(251, 191, 36, 0.22);
    border-radius: 28px;
}

.search-page-panel {
    display: block;
}

.big-search input {
    flex: 1;
}

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

.detail-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(90deg, rgba(17, 24, 39, 0.94), rgba(17, 24, 39, 0.72), rgba(17, 24, 39, 0.35)),
        var(--hero-image);
    background-size: cover;
    background-position: center;
    filter: blur(2px);
    transform: scale(1.04);
}

.detail-hero-inner {
    position: relative;
    padding: 38px 0 70px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 34px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.92rem;
}

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

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

.detail-poster {
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
}

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

.detail-copy h1 {
    margin: 0;
    max-width: 850px;
    font-size: clamp(2.2rem, 5vw, 4.7rem);
    line-height: 1.05;
    letter-spacing: -0.06em;
}

.detail-copy .lead {
    max-width: 800px;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.9;
    font-size: 1.08rem;
}

.detail-section {
    padding-top: 56px;
}

.player-shell {
    position: relative;
    overflow: hidden;
    background: #000000;
    border-radius: 28px;
    box-shadow: 0 28px 72px rgba(0, 0, 0, 0.24);
    aspect-ratio: 16 / 9;
}

.movie-player {
    width: 100%;
    height: 100%;
    display: block;
    background: #000000;
}

.player-cover {
    position: absolute;
    inset: 0;
    border: 0;
    cursor: pointer;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.44));
}

.player-cover span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 86px;
    height: 86px;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--red), var(--orange));
    box-shadow: 0 20px 36px rgba(0, 0, 0, 0.38);
    font-size: 2rem;
}

.player-shell.is-ready .player-cover {
    display: none;
}

.detail-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 30px;
    padding-top: 44px;
}

.detail-article,
.side-panel {
    padding: 28px;
}

.detail-article h2,
.side-panel h2,
.prose-card h2 {
    margin: 0 0 14px;
    font-size: 1.55rem;
    letter-spacing: -0.03em;
}

.detail-article p,
.prose-card p {
    margin: 0 0 24px;
    color: #4b5563;
    line-height: 1.95;
}

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

.info-list div {
    padding: 14px;
    border-radius: 16px;
    background: #fffbeb;
}

.info-list dt {
    color: var(--amber-dark);
    font-size: 0.82rem;
    font-weight: 900;
}

.info-list dd {
    margin: 5px 0 0;
    color: var(--text);
}

.related-list {
    display: grid;
    gap: 14px;
}

.pager-links {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 28px;
}

.pager-links a,
.pager-links span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 96px;
    min-height: 42px;
    border-radius: 999px;
    background: #fffbeb;
    color: var(--amber-dark);
    font-weight: 800;
}

.ranking-table {
    overflow: hidden;
    padding: 14px;
}

.ranking-table-row {
    grid-template-columns: 42px minmax(0, 1fr) 110px 180px;
    margin-bottom: 8px;
}

.prose-card {
    display: block;
    margin-top: -36px;
    margin-bottom: 70px;
}

.site-footer {
    margin-top: 80px;
    background: linear-gradient(135deg, #fff7ed, #ffffff 52%, #fffbeb);
    border-top: 1px solid rgba(251, 191, 36, 0.28);
}

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

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

.site-footer p,
.site-footer a,
.footer-bottom {
    color: var(--muted);
    line-height: 1.7;
    font-size: 0.92rem;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
}

.site-footer a:hover {
    color: var(--amber-dark);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 0 30px;
    border-top: 1px solid rgba(251, 191, 36, 0.28);
}

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

@media (max-width: 1120px) {
    .category-grid,
    .movie-grid,
    .full-grid,
    .slim-grid,
    .ranking-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

    .rank-panel {
        position: static;
    }
}

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

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

    .hero,
    .hero-content {
        min-height: auto;
    }

    .hero-slide {
        position: relative;
        display: none;
    }

    .hero-slide.is-active {
        display: block;
    }

    .hero-content {
        grid-template-columns: 1fr;
        padding: 54px 0 86px;
    }

    .hero-poster {
        max-width: 260px;
        margin: 0 auto;
    }

    .search-panel,
    .search-panel form,
    .footer-bottom,
    .detail-actions,
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

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

    .detail-poster {
        width: min(280px, 100%);
    }

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

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

    .ranking-table-row {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .ranking-table-row em,
    .ranking-table-row small {
        display: none;
    }
}

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

    .brand-text small {
        display: none;
    }

    .brand-mark {
        width: 40px;
        height: 40px;
    }

    .hero-copy h1,
    .detail-copy h1,
    .sub-hero h1 {
        letter-spacing: -0.04em;
    }

    .category-grid,
    .movie-grid,
    .full-grid,
    .slim-grid,
    .ranking-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 13px;
    }

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

    .movie-card p,
    .tag-row {
        display: none;
    }

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

    .detail-article,
    .side-panel {
        padding: 20px;
    }
}
