:root {
    --blue-50: #eff6ff;
    --blue-100: #dbeafe;
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;
    --blue-800: #1e40af;
    --blue-900: #1e3a8a;
    --orange-500: #f97316;
    --orange-600: #ea580c;
    --green-500: #22c55e;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
    --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 22px 60px rgba(15, 23, 42, 0.18);
    --radius-lg: 18px;
    --radius-xl: 26px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

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

button,
input,
select {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(229, 231, 235, 0.9);
    box-shadow: 0 8px 30px rgba(17, 24, 39, 0.08);
    backdrop-filter: blur(16px);
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    gap: 24px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
    color: var(--blue-600);
}

.brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    color: var(--white);
    background: linear-gradient(135deg, var(--blue-600), var(--orange-500));
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
    font-size: 14px;
}

.brand-text {
    background: linear-gradient(90deg, var(--blue-600), var(--orange-500));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 16px;
    font-weight: 650;
    color: var(--gray-700);
}

.desktop-nav a {
    position: relative;
    padding: 24px 0 22px;
    transition: color 0.2s ease;
}

.desktop-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 16px;
    height: 3px;
    border-radius: 999px;
    background: var(--blue-600);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--blue-600);
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
    transform: scaleX(1);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: var(--blue-50);
    padding: 10px;
}

.menu-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--blue-700);
    border-radius: 999px;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 16px;
    padding: 16px;
    border: 1px solid var(--gray-200);
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.mobile-nav.open {
    display: flex;
}

.mobile-nav a {
    padding: 12px;
    border-radius: 12px;
    font-weight: 700;
    color: var(--gray-700);
}

.mobile-nav a:hover,
.mobile-nav a.active {
    color: var(--blue-600);
    background: var(--blue-50);
}

.hero-section {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background: linear-gradient(135deg, var(--blue-600), var(--blue-700) 45%, var(--blue-900));
}

.hero-bg-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 20%, rgba(249, 115, 22, 0.32), transparent 30%),
        radial-gradient(circle at 82% 24%, rgba(96, 165, 250, 0.4), transparent 36%),
        rgba(0, 0, 0, 0.16);
}

.hero-wrap {
    position: relative;
    z-index: 2;
    min-height: 620px;
    padding: 82px 0 120px;
}

.hero-track {
    position: relative;
}

.hero-slide {
    display: none;
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: center;
    gap: 56px;
    min-height: 450px;
}

.hero-slide.active {
    display: grid;
    animation: heroFade 0.5s ease both;
}

@keyframes heroFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-kicker,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--orange-500);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-copy h1 {
    max-width: 820px;
    margin: 0 0 12px;
    font-size: clamp(34px, 6vw, 64px);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.hero-copy h2 {
    margin: 0 0 18px;
    color: #bfdbfe;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.2;
}

.hero-copy p {
    max-width: 720px;
    margin: 0 0 24px;
    color: #dbeafe;
    font-size: clamp(17px, 2vw, 22px);
}

.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;
    align-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: inherit;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 700;
}

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

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

.primary-button {
    min-height: 52px;
    padding: 0 24px;
    color: var(--white);
    background: var(--orange-500);
    box-shadow: 0 18px 36px rgba(249, 115, 22, 0.28);
}

.primary-button:hover {
    background: var(--orange-600);
    transform: translateY(-2px);
}

.ghost-button {
    min-height: 52px;
    padding: 0 24px;
    color: var(--blue-700);
    background: var(--white);
    box-shadow: 0 18px 36px rgba(255, 255, 255, 0.18);
}

.ghost-button.dark {
    color: var(--blue-700);
    background: var(--blue-50);
}

.hero-poster {
    position: relative;
    min-height: 500px;
    overflow: hidden;
    border: 10px solid rgba(255, 255, 255, 0.18);
    border-radius: 32px;
    background: linear-gradient(145deg, rgba(30, 64, 175, 0.6), rgba(249, 115, 22, 0.45));
    box-shadow: var(--shadow-lg);
    transform: rotate(1.5deg);
}

.hero-poster img {
    width: 100%;
    height: 100%;
    min-height: 500px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-poster:hover img {
    transform: scale(1.05);
}

.hero-poster-meta {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    border-radius: 18px;
    background: rgba(17, 24, 39, 0.7);
    color: var(--white);
    padding: 12px 14px;
    font-weight: 800;
    backdrop-filter: blur(12px);
}

.hero-dots {
    display: flex;
    gap: 10px;
    margin-top: 24px;
}

.hero-dot {
    width: 34px;
    height: 8px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
}

.hero-dot.active {
    width: 54px;
    background: var(--orange-500);
}

.hero-wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    width: 100%;
    height: 120px;
    fill: var(--white);
}

.stats-panel {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: -58px;
    position: relative;
    z-index: 3;
}

.stat-card {
    padding: 28px;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.stat-card strong {
    display: block;
    color: var(--blue-600);
    font-size: 36px;
    line-height: 1;
}

.stat-card span {
    color: var(--gray-600);
    font-weight: 700;
}

.stat-card.accent strong {
    color: var(--orange-500);
}

.stat-card.green strong {
    color: var(--green-500);
}

.stat-card.dark strong {
    color: var(--gray-900);
}

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

.soft-bg {
    background: var(--gray-50);
}

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

.section-heading h2,
.panel-heading h2,
.article-card h2 {
    margin: 0 0 8px;
    color: var(--gray-800);
    font-size: clamp(26px, 4vw, 40px);
    line-height: 1.15;
}

.section-heading p,
.panel-heading p {
    margin: 0;
    color: var(--gray-600);
    font-size: 17px;
}

.section-more,
.text-link {
    color: var(--blue-600);
    font-weight: 800;
}

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

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

.movie-card {
    overflow: hidden;
    border: 1px solid rgba(229, 231, 235, 0.86);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.movie-card:hover {
    transform: translateY(-5px);
    border-color: rgba(37, 99, 235, 0.28);
    box-shadow: var(--shadow-lg);
}

.poster-link,
.rank-thumb,
.overview-cover,
.category-card,
.detail-poster {
    position: relative;
    display: block;
    overflow: hidden;
    background: linear-gradient(145deg, var(--blue-700), var(--orange-500));
}

.poster-link {
    height: 300px;
}

.poster-link img,
.rank-thumb img,
.overview-cover img,
.category-card img,
.detail-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.movie-card:hover .poster-link img,
.category-card:hover img,
.overview-card:hover img {
    transform: scale(1.08);
}

.poster-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    font-weight: 900;
    background: linear-gradient(145deg, var(--blue-700), var(--orange-500));
}

.poster-shade,
.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, 0.72));
}

.card-play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 999px;
    color: var(--white);
    background: rgba(249, 115, 22, 0.92);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.85);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

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

.card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    border-radius: 999px;
    color: var(--white);
    background: var(--blue-600);
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 800;
}

.card-body {
    padding: 18px;
}

.card-meta,
.rank-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--gray-500);
    font-size: 13px;
    font-weight: 700;
}

.card-meta a {
    color: var(--blue-600);
}

.movie-card h3 {
    margin: 10px 0 8px;
    color: var(--gray-900);
    font-size: 18px;
    line-height: 1.35;
}

.movie-card h3 a:hover,
.rank-row h3 a:hover,
.sample-links a:hover {
    color: var(--blue-600);
}

.movie-card p {
    margin: 0 0 12px;
    color: var(--gray-600);
    font-size: 14px;
}

.tag-row span {
    background: var(--gray-100);
    color: var(--gray-600);
}

.compact-card {
    display: grid;
    grid-template-columns: 124px 1fr;
}

.compact-card .poster-link {
    height: 100%;
    min-height: 168px;
}

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

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

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 34px;
    align-items: start;
}

.hot-panel,
.article-card,
.filter-panel,
.player-card,
.cta-box {
    border: 1px solid rgba(229, 231, 235, 0.9);
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.hot-panel {
    position: sticky;
    top: 92px;
    padding: 24px;
}

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

.rank-row {
    display: grid;
    grid-template-columns: 46px 76px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 12px;
    box-shadow: none;
}

.rank-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    color: var(--white);
    background: linear-gradient(135deg, var(--blue-600), var(--orange-500));
    font-weight: 900;
}

.rank-thumb {
    width: 76px;
    height: 96px;
    border-radius: 14px;
}

.rank-info h3 {
    margin: 0 0 4px;
    font-size: 17px;
}

.rank-info p {
    margin: 0 0 6px;
    color: var(--gray-600);
    font-size: 14px;
}

.small-button {
    min-height: 40px;
    padding: 0 14px;
    color: var(--white);
    background: var(--blue-600);
    white-space: nowrap;
}

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

.category-card {
    height: 220px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.category-name,
.category-count {
    position: absolute;
    left: 18px;
    right: 18px;
    z-index: 2;
    color: var(--white);
}

.category-name {
    bottom: 46px;
    font-size: 22px;
    font-weight: 900;
}

.category-count {
    bottom: 20px;
    color: #dbeafe;
    font-weight: 700;
}

.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
}

.cta-box {
    padding: 48px;
    color: var(--white);
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.cta-box h2 {
    margin: 0 0 12px;
    font-size: clamp(30px, 5vw, 48px);
}

.cta-box p {
    max-width: 760px;
    margin: 0 auto 24px;
    color: #dbeafe;
}

.page-hero,
.detail-hero {
    color: var(--white);
    background:
        radial-gradient(circle at 20% 20%, rgba(249, 115, 22, 0.25), transparent 28%),
        linear-gradient(135deg, var(--blue-600), var(--blue-900));
}

.page-hero .wrap {
    padding: 76px 0;
}

.page-hero h1,
.detail-info h1 {
    margin: 0 0 14px;
    font-size: clamp(36px, 6vw, 60px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.page-hero p {
    max-width: 760px;
    margin: 0;
    color: #dbeafe;
    font-size: 18px;
}

.crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
    color: #dbeafe;
    font-size: 14px;
    font-weight: 700;
}

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

.filter-panel {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) auto auto;
    gap: 18px;
    align-items: end;
    margin-bottom: 28px;
    padding: 22px;
}

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

.filter-search input,
.filter-panel select {
    width: 100%;
    height: 48px;
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    background: var(--gray-50);
    color: var(--gray-800);
    padding: 0 14px;
    outline: none;
}

.filter-search input:focus,
.filter-panel select:focus {
    border-color: var(--blue-600);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.filter-controls {
    display: flex;
    gap: 14px;
}

.filter-count {
    margin: 0;
    color: var(--gray-500);
    font-size: 13px;
    font-weight: 700;
}

.overview-grid {
    display: grid;
    gap: 24px;
}

.overview-card {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 28px;
    padding: 20px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.overview-cover {
    height: 230px;
    border-radius: var(--radius-lg);
}

.overview-card h2 {
    margin: 4px 0 10px;
    font-size: 30px;
}

.overview-card p {
    color: var(--gray-600);
}

.sample-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 18px;
    margin: 14px 0;
    padding: 0;
    list-style: none;
}

.sample-links a {
    color: var(--gray-700);
    font-weight: 700;
}

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

.rank-list .rank-row {
    grid-template-columns: 64px 96px minmax(0, 1fr) auto;
    padding: 16px;
}

.rank-list .rank-thumb {
    width: 96px;
    height: 124px;
}

.detail-hero {
    padding: 72px 0;
}

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

.detail-poster {
    height: 470px;
    border: 10px solid rgba(255, 255, 255, 0.16);
    border-radius: 32px;
    box-shadow: var(--shadow-lg);
}

.detail-info .crumbs {
    margin: 0 0 18px;
}

.detail-one-line {
    max-width: 820px;
    color: #dbeafe;
    font-size: 20px;
}

.detail-tags {
    margin-top: 20px;
}

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

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

.player-start {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 0;
    color: var(--white);
    background:
        radial-gradient(circle, rgba(249, 115, 22, 0.24), transparent 38%),
        rgba(0, 0, 0, 0.44);
}

.player-card.is-playing .player-start {
    display: none;
}

.player-start span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 82px;
    height: 82px;
    border-radius: 999px;
    background: var(--orange-500);
    box-shadow: 0 0 0 16px rgba(249, 115, 22, 0.18);
    font-size: 28px;
}

.player-status {
    position: absolute;
    left: 18px;
    bottom: 18px;
    margin: 0;
    border-radius: 12px;
    color: #dbeafe;
    background: rgba(17, 24, 39, 0.72);
    padding: 8px 12px;
    font-size: 13px;
    backdrop-filter: blur(10px);
}

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

.article-card {
    padding: 24px;
}

.article-card h2 {
    font-size: 26px;
}

.article-card p {
    color: var(--gray-700);
}

.info-table dl {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 10px 14px;
    margin: 0;
}

.info-table dt {
    color: var(--gray-500);
    font-weight: 800;
}

.info-table dd {
    margin: 0;
    color: var(--gray-800);
    font-weight: 700;
}

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

.site-footer {
    color: var(--gray-300);
    background: var(--gray-900);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 1fr 1.2fr;
    gap: 36px;
    padding: 56px 0;
}

.footer-brand {
    margin-bottom: 14px;
    color: var(--white);
}

.site-footer p {
    margin: 0;
    color: #9ca3af;
}

.site-footer h2 {
    margin: 0 0 14px;
    color: var(--white);
    font-size: 18px;
}

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

.site-footer a:hover {
    color: var(--orange-500);
}

.back-top {
    display: inline-flex;
    margin-top: 14px;
    color: var(--orange-500);
    font-weight: 800;
}

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

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

@media (max-width: 1100px) {
    .desktop-nav {
        gap: 14px;
        font-size: 14px;
    }

    .hero-slide,
    .detail-wrap,
    .split-section,
    .detail-content-grid {
        grid-template-columns: 1fr;
    }

    .hero-poster {
        max-width: 460px;
    }

    .hot-panel {
        position: static;
    }

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

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

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

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

    .menu-toggle {
        display: block;
    }

    .site-nav {
        min-height: 64px;
    }

    .brand,
    .footer-brand {
        font-size: 20px;
    }

    .hero-wrap {
        min-height: auto;
        padding: 52px 0 92px;
    }

    .hero-slide {
        gap: 30px;
    }

    .hero-poster,
    .detail-poster {
        min-height: auto;
        height: 420px;
        transform: none;
    }

    .stats-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: -42px;
    }

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

    .section-heading {
        align-items: flex-start;
    }

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

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

    .compact-card {
        grid-template-columns: 110px 1fr;
    }

    .poster-link {
        height: 260px;
    }

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

    .sample-links {
        grid-template-columns: 1fr;
    }

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

    .rank-row .small-button {
        grid-column: 2 / -1;
        justify-self: start;
    }

    .rank-thumb,
    .rank-list .rank-thumb {
        width: 72px;
        height: 92px;
    }

    .page-hero .wrap,
    .detail-hero {
        padding: 52px 0;
    }

    .detail-content-grid {
        gap: 16px;
    }

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

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

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

    .hero-actions,
    .detail-actions {
        flex-direction: column;
    }

    .primary-button,
    .ghost-button {
        width: 100%;
    }
}
