:root {
    --orange: #f97316;
    --orange-dark: #ea580c;
    --red: #ef4444;
    --pink: #ec4899;
    --ink: #111827;
    --muted: #6b7280;
    --line: #e5e7eb;
    --paper: #ffffff;
    --soft: #f9fafb;
    --dark: #111827;
    --dark-2: #1f2937;
    --shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--soft);
    color: var(--ink);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

img {
    background: #111827;
}

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

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 1px 18px rgba(17, 24, 39, 0.08);
    backdrop-filter: blur(14px);
}

.site-header-inner {
    width: min(1180px, calc(100% - 32px));
    height: 64px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.site-brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 24px;
    font-weight: 800;
    white-space: nowrap;
    background: linear-gradient(135deg, var(--orange), var(--red));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #fff;
    font-size: 15px;
    background: linear-gradient(135deg, var(--orange), var(--red));
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.32);
}

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

.nav-link,
.nav-dropdown button {
    color: #374151;
    font-weight: 700;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active,
.nav-dropdown:hover button {
    color: var(--orange);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-panel {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    width: 210px;
    transform: translateX(-50%) translateY(8px);
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transition: 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-panel a,
.mobile-panel a,
.footer-links a {
    display: block;
    color: #4b5563;
    border-radius: 10px;
    transition: 0.2s ease;
}

.nav-dropdown-panel a {
    padding: 9px 12px;
    font-size: 14px;
}

.nav-dropdown-panel a:hover,
.mobile-panel a:hover,
.footer-links a:hover {
    color: var(--orange);
    background: #fff7ed;
}

.header-search {
    display: flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    background: #fff;
}

.header-search input,
.mobile-search input,
.hero-search input,
.search-box input,
.filter-box input {
    outline: none;
    background: transparent;
}

.header-search input {
    width: 220px;
    padding: 10px 14px;
    font-size: 14px;
}

.header-search button,
.mobile-search button,
.hero-search button,
.search-box button {
    padding: 10px 17px;
    color: #fff;
    font-weight: 800;
    background: var(--orange);
}

.header-search button:hover,
.mobile-search button:hover,
.hero-search button:hover,
.search-box button:hover,
.btn-primary:hover {
    background: var(--orange-dark);
}

.mobile-toggle {
    display: none;
    width: 42px;
    height: 42px;
    color: #374151;
    font-size: 26px;
}

.mobile-panel {
    display: none;
    padding: 14px 20px 22px;
    border-top: 1px solid var(--line);
    background: #fff;
}

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

.mobile-panel a {
    padding: 9px 10px;
    font-weight: 700;
}

.mobile-cats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 10px;
    margin: 8px 0 12px;
}

.mobile-search {
    display: flex;
    overflow: hidden;
    border: 1px solid #d1d5db;
    border-radius: 999px;
}

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

.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, var(--orange), var(--red), var(--pink));
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.22), transparent 22%),
        radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.14), transparent 26%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.18));
    pointer-events: none;
}

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

.hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.28;
    filter: blur(2px) saturate(1.15);
}

.hero-inner {
    position: relative;
    z-index: 2;
    height: 100%;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) 380px;
    gap: 52px;
    align-items: center;
    padding-top: 64px;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
    font-weight: 800;
}

.hero h1 {
    max-width: 760px;
    margin-bottom: 18px;
    font-size: clamp(42px, 6vw, 68px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.hero p {
    max-width: 700px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 20px;
    line-height: 1.75;
}

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

.btn-primary,
.btn-ghost,
.btn-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 900;
    transition: 0.2s ease;
}

.btn-primary {
    color: #fff;
    background: var(--orange);
    box-shadow: 0 14px 30px rgba(249, 115, 22, 0.35);
}

.btn-light {
    color: var(--orange);
    background: #fff;
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(255, 255, 255, 0.2);
}

.btn-ghost {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.48);
    background: rgba(255, 255, 255, 0.1);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.18);
}

.hero-search {
    display: flex;
    max-width: 520px;
    margin-top: 26px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
}

.hero-search input {
    flex: 1;
    min-width: 0;
    padding: 14px 20px;
    color: #fff;
}

.hero-search input::placeholder {
    color: rgba(255, 255, 255, 0.76);
}

.hero-poster-card {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
    transform: rotate(2deg);
}

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

.hero-poster-info {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    padding: 18px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(12px);
}

.hero-poster-info strong {
    display: block;
    margin-bottom: 4px;
    font-size: 20px;
}

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

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

.hero-dot.is-active {
    width: 34px;
    background: #fff;
}

.hero-arrow {
    position: absolute;
    z-index: 4;
    top: 50%;
    width: 46px;
    height: 46px;
    transform: translateY(-50%);
    border-radius: 999px;
    color: #fff;
    font-size: 26px;
    background: rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(8px);
    transition: 0.2s ease;
}

.hero-arrow:hover {
    background: rgba(249, 115, 22, 0.9);
}

.hero-arrow.prev {
    left: 24px;
}

.hero-arrow.next {
    right: 24px;
}

.section {
    padding: 62px 0;
}

.section-dark {
    color: #fff;
    background: linear-gradient(135deg, #111827, #1f2937, #111827);
}

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

.section-heading h2,
.page-title h1 {
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.section-heading p,
.page-title p {
    margin-top: 8px;
    color: var(--muted);
    font-size: 16px;
}

.section-dark .section-heading p,
.section-dark .movie-card-foot,
.section-dark .movie-card-body p {
    color: #d1d5db;
}

.section-more {
    color: var(--orange);
    font-weight: 900;
}

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

.movie-card {
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

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

.section-dark .movie-card {
    background: #1f2937;
}

.movie-poster {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #111827;
}

.movie-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.movie-card:hover .movie-poster img,
.rank-row:hover img,
.related-item:hover img {
    transform: scale(1.08);
}

.movie-poster::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.72), transparent 60%);
    transition: opacity 0.25s ease;
}

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

.movie-duration,
.rank-badge,
.play-mark {
    position: absolute;
    z-index: 2;
}

.movie-duration {
    right: 10px;
    bottom: 10px;
    padding: 4px 8px;
    border-radius: 8px;
    color: #fff;
    font-size: 12px;
    background: rgba(0, 0, 0, 0.72);
}

.rank-badge {
    top: 10px;
    left: 10px;
    padding: 5px 9px;
    border-radius: 999px;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    background: var(--orange);
}

.play-mark {
    top: 50%;
    left: 50%;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%) scale(0.86);
    border-radius: 999px;
    color: #fff;
    opacity: 0;
    background: var(--orange);
    transition: 0.25s ease;
}

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

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

.movie-meta-line,
.movie-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
    font-size: 13px;
}

.movie-category {
    padding: 4px 8px;
    border-radius: 999px;
    color: var(--orange);
    font-weight: 900;
    background: #fff7ed;
}

.movie-card h3 {
    margin-top: 10px;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.35;
}

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

.movie-card-body p {
    min-height: 46px;
    margin-top: 8px;
    color: var(--muted);
    line-height: 1.6;
    font-size: 14px;
}

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

.tag-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 4px 9px;
    color: #c2410c;
    font-size: 12px;
    font-weight: 800;
    background: #ffedd5;
}

.movie-card-foot {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #f3f4f6;
}

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

.category-card {
    position: relative;
    min-height: 180px;
    overflow: hidden;
    padding: 26px;
    border-radius: 24px;
    color: #fff;
    background: linear-gradient(135deg, var(--orange), var(--red));
    box-shadow: 0 18px 36px rgba(249, 115, 22, 0.22);
}

.category-card:nth-child(3n + 2) {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.category-card:nth-child(3n) {
    background: linear-gradient(135deg, #fb7185, #f97316);
}

.category-card::after {
    content: "";
    position: absolute;
    width: 160px;
    height: 160px;
    right: -60px;
    bottom: -60px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
}

.category-card h3 {
    position: relative;
    z-index: 1;
    margin-bottom: 12px;
    font-size: 24px;
    font-weight: 900;
}

.category-card p {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.7;
}

.category-card span {
    position: absolute;
    z-index: 1;
    left: 26px;
    bottom: 24px;
    font-weight: 900;
}

.page-hero {
    padding: 136px 0 72px;
    color: #fff;
    background: linear-gradient(135deg, var(--orange), var(--red));
}

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

.page-title p {
    color: rgba(255, 255, 255, 0.9);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 14px;
}

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

.filter-bar,
.search-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 28px;
    padding: 18px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.filter-box,
.search-box {
    flex: 1;
    display: flex;
    overflow: hidden;
    border: 1px solid #d1d5db;
    border-radius: 999px;
}

.filter-box input,
.search-box input {
    flex: 1;
    padding: 13px 18px;
}

.filter-note {
    color: var(--muted);
    font-weight: 700;
}

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

.rank-row {
    display: grid;
    grid-template-columns: 72px 180px minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    padding: 18px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    transition: 0.2s ease;
}

.rank-row:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 42px rgba(15, 23, 42, 0.14);
}

.rank-number {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: #fff;
    font-size: 22px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--orange), var(--red));
}

.rank-thumb {
    overflow: hidden;
    border-radius: 16px;
    aspect-ratio: 16 / 10;
    background: #111827;
}

.rank-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.35s ease;
}

.rank-info h2 {
    margin-bottom: 8px;
    font-size: 22px;
    font-weight: 900;
}

.rank-info h2 a:hover {
    color: var(--orange);
}

.rank-info p {
    color: var(--muted);
    line-height: 1.7;
}

.rank-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--muted);
    font-size: 14px;
    text-align: right;
}

.detail-page {
    padding: 96px 0 64px;
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) 360px;
    gap: 30px;
}

.panel {
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(15, 23, 42, 0.09);
}

.video-shell {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: #000;
    aspect-ratio: 16 / 9;
}

.video-shell video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: #fff;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.22));
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.video-shell.is-playing .player-overlay {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.player-button {
    width: 82px;
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #fff;
    font-size: 34px;
    background: var(--orange);
    box-shadow: 0 18px 42px rgba(249, 115, 22, 0.42);
}

.player-title {
    padding: 28px;
}

.player-title h1 {
    margin-bottom: 12px;
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 900;
    line-height: 1.18;
}

.player-title p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.8;
}

.detail-content {
    padding: 28px;
}

.detail-content h2,
.sidebar h2 {
    margin-bottom: 16px;
    font-size: 24px;
    font-weight: 900;
}

.detail-content p {
    margin-bottom: 18px;
    color: #374151;
    font-size: 16px;
    line-height: 1.9;
}

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

.detail-meta-grid div {
    padding: 14px;
    border-radius: 14px;
    background: #f9fafb;
}

.detail-meta-grid strong {
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 13px;
}

.sidebar {
    display: grid;
    align-content: start;
    gap: 22px;
}

.cover-panel {
    overflow: hidden;
}

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

.cover-panel .detail-tags {
    padding: 18px;
    margin-top: 0;
}

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

.related-item {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.related-item img {
    width: 92px;
    height: 64px;
    border-radius: 12px;
    object-fit: cover;
    transition: 0.35s ease;
}

.related-item strong {
    display: block;
    margin-bottom: 4px;
    font-weight: 900;
}

.related-item:hover strong {
    color: var(--orange);
}

.related-item span {
    color: var(--muted);
    font-size: 13px;
}

.prev-next {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.prev-next a {
    padding: 16px;
    border-radius: 18px;
    color: #374151;
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.prev-next a:hover {
    color: var(--orange);
}

.search-results-empty {
    padding: 70px 20px;
    border-radius: 24px;
    background: #fff;
    text-align: center;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.about-copy {
    padding: 30px;
}

.about-copy p {
    margin-bottom: 18px;
    color: #374151;
    line-height: 1.9;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 34px;
    padding: 54px 0;
}

.site-footer h3 {
    margin-bottom: 16px;
    color: #fff;
    font-weight: 900;
}

.site-footer p {
    color: #9ca3af;
    line-height: 1.8;
}

.footer-brand {
    margin-bottom: 16px;
    font-size: 22px;
}

.footer-links {
    display: grid;
    gap: 8px;
}

.footer-links a {
    padding: 6px 0;
    color: #d1d5db;
}

.footer-links a:hover {
    background: transparent;
}

.footer-bottom {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #9ca3af;
    text-align: center;
}

.back-top {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 45;
    width: 48px;
    height: 48px;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #fff;
    font-size: 24px;
    background: var(--orange);
    box-shadow: 0 14px 26px rgba(249, 115, 22, 0.34);
}

.back-top.is-visible {
    display: flex;
}

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

    .mobile-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

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

    .hero-poster-card {
        display: none;
    }

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

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

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

@media (max-width: 760px) {
    .hero {
        height: 680px;
    }

    .hero-inner {
        padding-top: 86px;
    }

    .hero p {
        font-size: 17px;
    }

    .hero-actions,
    .section-heading,
    .filter-bar,
    .search-panel {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-arrow {
        display: none;
    }

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

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

    .movie-card-body p,
    .movie-card-tags,
    .movie-card-foot {
        display: none;
    }

    .rank-row {
        grid-template-columns: 44px 112px minmax(0, 1fr);
    }

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

    .rank-meta {
        grid-column: 2 / 4;
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

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

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

@media (max-width: 520px) {
    .site-header-inner {
        width: calc(100% - 22px);
    }

    .site-brand {
        font-size: 20px;
    }

    .brand-icon {
        width: 30px;
        height: 30px;
    }

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

    .rank-row {
        grid-template-columns: 1fr;
    }

    .rank-thumb {
        width: 100%;
    }

    .rank-meta {
        grid-column: auto;
    }
}
