:root {
    --bg: #0c0a09;
    --surface: #1c1917;
    --surface-2: #292524;
    --surface-3: #44403c;
    --text: #f5f5f4;
    --muted: #a8a29e;
    --dim: #78716c;
    --line: rgba(120, 113, 108, 0.28);
    --amber: #d97706;
    --amber-light: #f59e0b;
    --orange: #ea580c;
    --radius: 18px;
    --shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(12, 10, 9, 0.86);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

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

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

.logo-mark {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--amber), var(--orange));
    color: #fff;
    box-shadow: 0 0 28px rgba(217, 119, 6, 0.35);
}

.logo-text {
    font-size: 20px;
}

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

.main-nav a,
.mobile-panel a {
    color: #d6d3d1;
    transition: color 0.2s ease;
}

.main-nav a:hover,
.mobile-panel a:hover,
.footer-links a:hover {
    color: var(--amber-light);
}

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

.header-search input,
.mobile-panel input,
.search-panel input,
.filter-panel input,
.filter-panel select {
    width: 210px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(41, 37, 36, 0.82);
    color: var(--text);
    padding: 10px 12px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input:focus,
.mobile-panel input:focus,
.search-panel input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
    border-color: rgba(245, 158, 11, 0.8);
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.18);
}

.header-search button,
.mobile-panel button,
.search-panel button,
.button-primary,
.button-ghost,
.player-controls button {
    border: 0;
    border-radius: 12px;
    padding: 10px 16px;
    color: #fff;
    background: var(--amber);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.header-search button:hover,
.mobile-panel button:hover,
.search-panel button:hover,
.button-primary:hover,
.player-controls button:hover {
    background: #b45309;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(217, 119, 6, 0.22);
}

.button-ghost {
    background: rgba(41, 37, 36, 0.78);
    color: #f5f5f4;
}

.button-ghost:hover {
    background: rgba(68, 64, 60, 0.9);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: var(--text);
}

.mobile-panel {
    display: none;
    padding: 16px;
    border-top: 1px solid var(--line);
    background: rgba(12, 10, 9, 0.98);
}

.mobile-panel.is-open {
    display: grid;
    gap: 14px;
}

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

.mobile-panel input {
    flex: 1;
    width: auto;
}

.hero {
    position: relative;
    min-height: 72vh;
    overflow: hidden;
    background: linear-gradient(135deg, #0c0a09 0%, #1c1917 48%, #78350f 100%);
}

.hero-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(70px);
    opacity: 0.35;
    pointer-events: none;
}

.hero-glow-one {
    width: 360px;
    height: 360px;
    top: 90px;
    left: 6%;
    background: var(--amber);
}

.hero-glow-two {
    width: 440px;
    height: 440px;
    right: 5%;
    bottom: 40px;
    background: var(--orange);
}

.hero-stage {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 32px));
    min-height: 72vh;
    margin: 0 auto;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    align-items: center;
    gap: 52px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(18px);
    transition: opacity 0.55s ease, transform 0.55s ease, visibility 0.55s ease;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.25;
}

.hero-backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(12, 10, 9, 0.96), rgba(12, 10, 9, 0.68), rgba(12, 10, 9, 0.92));
}

.hero-backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.1);
}

.hero-copy {
    position: relative;
    z-index: 3;
    max-width: 760px;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--amber-light);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 12px 0 10px;
    font-size: clamp(36px, 6vw, 68px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.hero h2 {
    margin: 0 0 16px;
    font-size: clamp(24px, 3vw, 40px);
    color: #fde68a;
}

.hero p {
    max-width: 690px;
    margin: 0 0 24px;
    color: #d6d3d1;
    font-size: clamp(16px, 2vw, 20px);
}

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

.hero-tags span,
.detail-tags span,
.tag-row span {
    display: inline-flex;
    border-radius: 999px;
    background: rgba(217, 119, 6, 0.15);
    color: #fbbf24;
    padding: 5px 10px;
    font-size: 12px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.hero-poster {
    position: relative;
    display: block;
    width: min(360px, 100%);
    justify-self: end;
    border-radius: 26px;
    overflow: hidden;
    background: var(--surface-2);
    box-shadow: var(--shadow);
    transform: rotate(2deg);
    transition: transform 0.25s ease;
}

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

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

.hero-poster span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(217, 119, 6, 0.92);
    color: #fff;
    font-size: 28px;
    transform: translate(-50%, -50%);
}

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

.hero-dot {
    width: 34px;
    height: 8px;
    border: 0;
    border-radius: 999px;
    background: rgba(214, 211, 209, 0.32);
    padding: 0;
}

.hero-dot.is-active {
    background: var(--amber-light);
}

.quick-search-wrap {
    border-top: 1px solid rgba(245, 158, 11, 0.12);
    border-bottom: 1px solid var(--line);
    background: rgba(28, 25, 23, 0.72);
}

.quick-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    padding: 22px 0;
}

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

.quick-search input,
.search-panel input {
    flex: 1;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #0c0a09;
    color: var(--text);
    padding: 14px 16px;
    outline: none;
}

.quick-search button,
.search-panel button {
    border: 0;
    border-radius: 14px;
    background: var(--amber);
    color: #fff;
    padding: 0 22px;
}

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

.quick-links a {
    border: 1px solid rgba(245, 158, 11, 0.26);
    border-radius: 999px;
    color: #fbbf24;
    padding: 8px 12px;
}

.section-block {
    padding: 72px 0;
}

.band {
    background: rgba(28, 25, 23, 0.54);
}

.section-heading {
    margin-bottom: 30px;
}

.section-heading h2,
.page-hero h1 {
    margin: 8px 0 6px;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.15;
}

.section-heading p,
.page-hero p {
    margin: 0;
    max-width: 760px;
    color: var(--muted);
}

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

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

.all-grid {
    grid-template-columns: repeat(auto-fill, minmax(172px, 1fr));
}

.movie-card {
    min-width: 0;
    border-radius: var(--radius);
    background: var(--surface);
    overflow: hidden;
    border: 1px solid rgba(120, 113, 108, 0.18);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.movie-card:hover {
    transform: translateY(-4px);
    border-color: rgba(245, 158, 11, 0.76);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.card-link,
.card-media,
.card-body {
    display: block;
}

.card-media {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: var(--surface-2);
}

.movie-card-wide .card-media {
    aspect-ratio: 16 / 9;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.72));
    opacity: 0;
    transition: opacity 0.25s ease;
}

.movie-card:hover .card-media::after {
    opacity: 1;
}

.card-play {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(217, 119, 6, 0.92);
    color: #fff;
    transform: translate(-50%, -50%) scale(0.72);
    opacity: 0;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

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

.card-year {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.72);
    color: #fbbf24;
    padding: 4px 8px;
    font-size: 12px;
}

.card-body {
    padding: 14px;
}

.card-body strong {
    display: block;
    margin-bottom: 8px;
    color: var(--text);
    font-size: 16px;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.movie-card:hover .card-body strong {
    color: #fbbf24;
}

.card-body em,
.card-meta i,
.card-meta b {
    font-style: normal;
}

.card-body em {
    display: -webkit-box;
    min-height: 42px;
    margin-bottom: 12px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--dim);
    font-size: 12px;
}

.card-meta b {
    color: var(--amber-light);
    font-weight: 600;
}

.tag-row span {
    font-size: 11px;
    color: #d6d3d1;
    background: rgba(68, 64, 60, 0.72);
}

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

.category-tile,
.category-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(120, 113, 108, 0.2);
    border-radius: var(--radius);
    background: var(--surface);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.category-tile {
    padding: 24px;
}

.category-tile:hover,
.category-card:hover {
    transform: translateY(-3px);
    border-color: rgba(245, 158, 11, 0.7);
    background: var(--surface-2);
}

.category-tile span,
.category-card strong {
    display: block;
    margin-bottom: 8px;
    color: var(--text);
    font-size: 20px;
    font-weight: 800;
}

.category-tile em,
.category-card em {
    color: var(--muted);
    font-size: 14px;
    font-style: normal;
}

.category-card {
    min-height: 220px;
}

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

.category-card span {
    position: absolute;
    inset: auto 0 0;
    padding: 80px 22px 22px;
    background: linear-gradient(0deg, rgba(12, 10, 9, 0.95), rgba(12, 10, 9, 0));
}

.page-hero {
    position: relative;
    background: radial-gradient(circle at 20% 20%, rgba(217, 119, 6, 0.28), transparent 32%), linear-gradient(135deg, #1c1917, #0c0a09 70%);
    border-bottom: 1px solid var(--line);
}

.slim-hero .container {
    padding: 72px 0;
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 170px 170px;
    gap: 14px;
    margin-bottom: 28px;
    padding: 18px;
    border: 1px solid rgba(120, 113, 108, 0.24);
    border-radius: var(--radius);
    background: rgba(28, 25, 23, 0.68);
}

.filter-panel label {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
}

.filter-panel input,
.filter-panel select {
    width: 100%;
}

.empty-state {
    padding: 48px 0;
    color: var(--muted);
    text-align: center;
}

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

.rank-item {
    border: 1px solid rgba(120, 113, 108, 0.2);
    border-radius: var(--radius);
    background: var(--surface);
    overflow: hidden;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.rank-item:hover {
    transform: translateY(-2px);
    border-color: rgba(245, 158, 11, 0.7);
}

.rank-item a {
    display: grid;
    grid-template-columns: 70px 124px minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    padding: 14px;
}

.rank-number {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: rgba(217, 119, 6, 0.16);
    color: #fbbf24;
    font-size: 22px;
    font-weight: 900;
}

.rank-item img {
    width: 124px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 14px;
    background: var(--surface-2);
}

.rank-copy strong,
.rank-copy em,
.rank-copy b {
    display: block;
}

.rank-copy strong {
    margin-bottom: 6px;
    font-size: 19px;
}

.rank-copy em {
    color: var(--muted);
    font-style: normal;
}

.rank-copy b {
    margin-top: 8px;
    color: var(--amber-light);
    font-size: 13px;
}

.search-panel {
    margin-bottom: 28px;
}

.crumbs-wrap {
    border-bottom: 1px solid var(--line);
    background: rgba(28, 25, 23, 0.5);
}

.crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 18px 0;
    color: var(--muted);
    font-size: 14px;
}

.crumbs a:hover {
    color: var(--amber-light);
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) 340px;
    gap: 32px;
    padding-top: 38px;
    padding-bottom: 80px;
}

.detail-main,
.side-card {
    border: 1px solid rgba(120, 113, 108, 0.2);
    border-radius: var(--radius);
    background: rgba(28, 25, 23, 0.72);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

.movie-player {
    position: relative;
    background: #000;
}

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

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: grid;
    place-items: center;
    border: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0.62));
    opacity: 1;
    transition: opacity 0.22s ease;
}

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

.player-overlay span {
    width: 86px;
    height: 86px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(217, 119, 6, 0.92);
    color: #fff;
    font-size: 34px;
    box-shadow: 0 20px 46px rgba(217, 119, 6, 0.35);
}

.player-status {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 4;
    max-width: calc(100% - 32px);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.78);
    color: #fee2e2;
    padding: 12px 16px;
    transform: translate(-50%, -50%);
}

.player-controls {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 5;
    display: flex;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.movie-player:hover .player-controls,
.movie-player.is-playing .player-controls {
    opacity: 1;
    pointer-events: auto;
}

.player-controls button {
    padding: 8px 12px;
    font-size: 13px;
    background: rgba(28, 25, 23, 0.9);
}

.detail-copy {
    padding: 26px;
}

.detail-copy h1 {
    margin: 10px 0 12px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.15;
}

.lead {
    margin: 0 0 18px;
    color: #d6d3d1;
    font-size: 18px;
}

.detail-tags {
    margin-bottom: 22px;
}

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

.info-grid div {
    min-width: 0;
    border-radius: 14px;
    background: rgba(41, 37, 36, 0.78);
    padding: 12px;
}

.info-grid .wide {
    grid-column: 1 / -1;
}

.info-grid dt {
    color: var(--dim);
    font-size: 12px;
}

.info-grid dd {
    margin: 4px 0 0;
    color: var(--text);
    font-weight: 700;
}

.info-grid a {
    color: #fbbf24;
}

.text-section {
    padding-top: 22px;
    border-top: 1px solid rgba(120, 113, 108, 0.2);
}

.text-section + .text-section {
    margin-top: 22px;
}

.text-section h2,
.side-card h2 {
    margin: 0 0 12px;
    font-size: 22px;
}

.text-section p {
    margin: 0;
    color: #d6d3d1;
    font-size: 16px;
}

.detail-side {
    display: grid;
    align-content: start;
    gap: 18px;
}

.side-card {
    padding: 18px;
}

.poster-card {
    padding: 0;
}

.poster-card img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    background: var(--surface-2);
}

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

.mini-card {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    border-radius: 14px;
    padding: 8px;
    background: rgba(41, 37, 36, 0.56);
    transition: background 0.2s ease;
}

.mini-card:hover {
    background: rgba(68, 64, 60, 0.82);
}

.mini-card img {
    width: 72px;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 10px;
    background: var(--surface-2);
}

.mini-card strong,
.mini-card em {
    display: block;
}

.mini-card strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

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

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

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 0.8fr;
    gap: 36px;
    padding: 46px 0;
}

.footer-grid p {
    max-width: 520px;
    color: var(--muted);
}

.footer-grid h2 {
    margin: 0 0 14px;
    font-size: 18px;
}

.footer-links {
    display: grid;
    gap: 9px;
    color: var(--muted);
}

.footer-bottom {
    border-top: 1px solid rgba(120, 113, 108, 0.16);
    padding: 18px 0;
    color: var(--dim);
    text-align: center;
    font-size: 14px;
}

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

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

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

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

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

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

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

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .hero-stage,
    .hero-slide {
        min-height: 86vh;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 68px 0 84px;
    }

    .hero-poster {
        width: min(240px, 72vw);
        justify-self: start;
    }

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

    .movie-grid,
    .landscape-grid,
    .all-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }

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

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

    .rank-item a {
        grid-template-columns: 52px 90px minmax(0, 1fr);
        gap: 12px;
    }

    .rank-number {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .rank-item img {
        width: 90px;
    }

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

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

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

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

    .quick-search button,
    .search-panel button,
    .mobile-panel button {
        min-height: 44px;
    }

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

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

    .section-block {
        padding: 52px 0;
    }

    .rank-copy em {
        display: none;
    }

    .rank-item a {
        grid-template-columns: 42px 76px minmax(0, 1fr);
    }

    .rank-item img {
        width: 76px;
        aspect-ratio: 2 / 3;
    }

    .detail-copy {
        padding: 20px;
    }

    .player-overlay span {
        width: 66px;
        height: 66px;
        font-size: 26px;
    }
}
