:root {
    color-scheme: dark;
    --bg: #070719;
    --panel: rgba(15, 23, 42, 0.72);
    --panel-strong: rgba(15, 23, 42, 0.92);
    --line: rgba(216, 180, 254, 0.22);
    --text: #f8fafc;
    --muted: #c4b5fd;
    --soft: #94a3b8;
    --accent: #facc15;
    --pink: #f472b6;
    --purple: #a78bfa;
    --cyan: #67e8f9;
    --radius: 22px;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
    background:
        radial-gradient(circle at 12% 12%, rgba(168, 85, 247, 0.34), transparent 34rem),
        radial-gradient(circle at 92% 8%, rgba(236, 72, 153, 0.22), transparent 30rem),
        linear-gradient(180deg, #0f172a 0%, #111827 42%, #020617 100%);
    color: var(--text);
    min-height: 100vh;
}

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(90deg, rgba(49, 46, 129, 0.96), rgba(88, 28, 135, 0.96), rgba(131, 24, 67, 0.94));
    backdrop-filter: blur(18px);
    box-shadow: 0 14px 46px rgba(15, 23, 42, 0.32);
}

.header-inner {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    min-height: 70px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    flex: 0 0 auto;
}

.logo-mark {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: #3b0764;
    background: linear-gradient(135deg, #fde68a, #f0abfc);
    box-shadow: 0 0 22px rgba(250, 204, 21, 0.42);
}

.logo-text {
    font-size: 1.36rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    background: linear-gradient(90deg, #fef3c7, #f9a8d4, #c4b5fd);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1 1 auto;
    overflow-x: auto;
    scrollbar-width: none;
}

.main-nav::-webkit-scrollbar {
    display: none;
}

.nav-link {
    padding: 9px 13px;
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.94rem;
    white-space: nowrap;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.13);
    transform: translateY(-1px);
}

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

.header-search input,
.big-search input,
.search-panel input,
.filter-bar input,
.filter-bar select {
    height: 42px;
    border: 1px solid rgba(216, 180, 254, 0.28);
    border-radius: 999px;
    outline: none;
    color: var(--text);
    background: rgba(255, 255, 255, 0.09);
    padding: 0 16px;
    transition: border 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.header-search input::placeholder,
.big-search input::placeholder,
.search-panel input::placeholder,
.filter-bar input::placeholder {
    color: rgba(221, 214, 254, 0.6);
}

.header-search input:focus,
.big-search input:focus,
.search-panel input:focus,
.filter-bar input:focus,
.filter-bar select:focus {
    border-color: rgba(192, 132, 252, 0.9);
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.18);
}

.header-search button,
.big-search button,
.search-panel button,
.primary-button,
.secondary-button,
.ghost-button {
    border: 0;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    padding: 0 18px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.header-search button,
.search-panel button,
.big-search button,
.primary-button {
    color: #3b0764;
    background: linear-gradient(135deg, #fef08a, #f0abfc);
    box-shadow: 0 12px 30px rgba(217, 70, 239, 0.25);
}

.secondary-button {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.ghost-button {
    color: #d8b4fe;
    background: rgba(88, 28, 135, 0.34);
    border: 1px solid rgba(216, 180, 254, 0.22);
}

.header-search button:hover,
.search-panel button:hover,
.big-search button:hover,
.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(217, 70, 239, 0.3);
}

.menu-button {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    font-size: 1.4rem;
}

.hero-carousel {
    position: relative;
    width: min(1280px, calc(100% - 32px));
    margin: 28px auto 0;
    min-height: 640px;
    overflow: hidden;
    border: 1px solid rgba(216, 180, 254, 0.25);
    border-radius: 36px;
    background: rgba(15, 23, 42, 0.66);
    box-shadow: var(--shadow);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.015);
    transition: opacity 0.55s ease, transform 0.7s ease;
    pointer-events: none;
}

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

.hero-backdrop {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    filter: saturate(1.08);
}

.hero-backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 70% 24%, rgba(250, 204, 21, 0.17), transparent 22rem),
        linear-gradient(180deg, rgba(2, 6, 23, 0.06), rgba(2, 6, 23, 0.82));
}

.hero-content {
    position: relative;
    z-index: 2;
    min-height: 640px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: center;
    gap: 44px;
    padding: 72px;
}

.hero-copy {
    max-width: 720px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    color: #fde68a;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(250, 204, 21, 0.13);
    border: 1px solid rgba(250, 204, 21, 0.25);
}

.hero-copy h1,
.page-hero h1,
.detail-info h1 {
    margin: 18px 0 18px;
    font-size: clamp(2.4rem, 5.2vw, 5.8rem);
    line-height: 0.96;
    letter-spacing: -0.055em;
    text-wrap: balance;
}

.hero-copy p,
.page-hero p,
.detail-info p,
.section-heading p,
.detail-content p,
.category-overview-card p,
.movie-card p,
.top-card p,
.site-footer p {
    color: rgba(226, 232, 240, 0.82);
    line-height: 1.8;
}

.hero-copy p {
    max-width: 670px;
    font-size: 1.08rem;
}

.hero-actions,
.quick-links,
.tag-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-actions {
    margin-top: 26px;
}

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

.tag {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    color: #ddd6fe;
    font-size: 0.82rem;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(216, 180, 254, 0.18);
}

.hero-poster {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    transform: rotate(2deg);
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.46);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-poster img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.06);
}

.hero-dots {
    position: absolute;
    z-index: 3;
    left: 72px;
    right: 72px;
    bottom: 34px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.hero-dot {
    min-height: 42px;
    border: 1px solid rgba(216, 180, 254, 0.2);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.76);
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 0 14px;
    cursor: pointer;
}

.hero-dot.is-active,
.hero-dot:hover {
    color: #3b0764;
    background: linear-gradient(135deg, #fef08a, #f0abfc);
}

.search-panel,
.section,
.page-shell,
.detail-shell {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
}

.search-panel {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 20px;
    margin-top: 24px;
    padding: 22px;
    border-radius: 26px;
    background: rgba(15, 23, 42, 0.62);
    border: 1px solid var(--line);
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.24);
}

.search-panel form label {
    display: block;
    margin: 0 0 10px;
    color: #fef3c7;
    font-weight: 900;
}

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

.search-panel input,
.big-search input {
    width: min(560px, 100%);
    flex: 1 1 auto;
}

.quick-links a {
    padding: 10px 14px;
    border-radius: 999px;
    color: #ddd6fe;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(216, 180, 254, 0.16);
}

.section {
    padding: 74px 0 0;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 26px;
}

.section-heading span {
    color: #fde68a;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.section-heading h2 {
    margin: 8px 0 8px;
    font-size: clamp(1.8rem, 3vw, 3rem);
    letter-spacing: -0.035em;
}

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

.movie-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid rgba(216, 180, 254, 0.18);
    background: rgba(15, 23, 42, 0.7);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
    transition: transform 0.24s ease, border 0.24s ease, box-shadow 0.24s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(250, 204, 21, 0.5);
    box-shadow: 0 24px 70px rgba(76, 29, 149, 0.4);
}

.poster {
    position: relative;
    display: block;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
}

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

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

.play-chip {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 8px 12px;
    border-radius: 999px;
    color: #3b0764;
    font-size: 0.82rem;
    font-weight: 900;
    background: linear-gradient(135deg, #fef08a, #f0abfc);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
}

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

.movie-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 10px;
}

.movie-meta span {
    padding: 4px 8px;
    border-radius: 999px;
    color: #bfdbfe;
    font-size: 0.75rem;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(147, 197, 253, 0.16);
}

.movie-title {
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.38;
}

.movie-title a:hover,
.text-link:hover,
.ranking-table a:hover {
    color: #fde68a;
}

.movie-card p {
    min-height: 54px;
    margin: 10px 0 0;
    font-size: 0.92rem;
}

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

.category-tile {
    position: relative;
    min-height: 240px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    border-radius: 28px;
    border: 1px solid rgba(216, 180, 254, 0.2);
    background: rgba(15, 23, 42, 0.7);
    isolation: isolate;
}

.category-tile img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
    transition: transform 0.45s ease;
}

.category-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.18), rgba(15, 23, 42, 0.94));
}

.category-tile:hover img {
    transform: scale(1.08);
}

.category-tile span {
    font-size: 1.38rem;
    font-weight: 900;
}

.category-tile em {
    color: rgba(226, 232, 240, 0.76);
    font-style: normal;
    line-height: 1.65;
    margin-top: 8px;
}

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

.rank-list li {
    display: grid;
    grid-template-columns: 44px 1fr;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.64);
    border: 1px solid rgba(216, 180, 254, 0.16);
}

.rank-list li > span {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    color: #3b0764;
    font-weight: 900;
    background: linear-gradient(135deg, #fde68a, #f0abfc);
}

.rank-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.rank-item img {
    width: 54px;
    height: 72px;
    object-fit: cover;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
}

.rank-item span {
    min-width: 0;
}

.rank-item strong,
.rank-item em {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-item em {
    margin-top: 4px;
    color: var(--soft);
    font-size: 0.84rem;
    font-style: normal;
}

.center-action {
    display: flex;
    justify-content: center;
    margin-top: 22px;
}

.page-shell,
.detail-shell {
    padding: 32px 0 78px;
}

.page-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 28px;
    padding: 52px;
    border-radius: 32px;
    border: 1px solid rgba(216, 180, 254, 0.23);
    background:
        radial-gradient(circle at 86% 18%, rgba(250, 204, 21, 0.18), transparent 22rem),
        linear-gradient(135deg, rgba(49, 46, 129, 0.92), rgba(88, 28, 135, 0.82), rgba(15, 23, 42, 0.9));
    box-shadow: var(--shadow);
}

.small-hero h1,
.category-hero h1 {
    font-size: clamp(2.2rem, 4.2vw, 4.8rem);
}

.category-overview-grid {
    display: grid;
    gap: 20px;
}

.category-overview-card {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 24px;
    padding: 20px;
    border-radius: 28px;
    border: 1px solid rgba(216, 180, 254, 0.18);
    background: rgba(15, 23, 42, 0.68);
}

.category-cover img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.06);
}

.category-overview-card h2 {
    margin: 12px 0 8px;
    font-size: 2rem;
}

.mini-rank {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0;
}

.text-link {
    color: #fde68a;
    font-weight: 900;
}

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 22px;
    color: rgba(221, 214, 254, 0.78);
}

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

.filter-bar {
    display: grid;
    grid-template-columns: 1fr 180px 180px;
    gap: 12px;
    margin-bottom: 22px;
    padding: 16px;
    border: 1px solid rgba(216, 180, 254, 0.16);
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.62);
}

.filter-bar select {
    appearance: none;
}

.detail-hero {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 34px;
    align-items: center;
    padding: 30px;
    border: 1px solid rgba(216, 180, 254, 0.22);
    border-radius: 34px;
    background:
        radial-gradient(circle at 84% 20%, rgba(250, 204, 21, 0.16), transparent 24rem),
        linear-gradient(135deg, rgba(49, 46, 129, 0.76), rgba(15, 23, 42, 0.86));
    box-shadow: var(--shadow);
}

.detail-poster img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.detail-info h1 {
    font-size: clamp(2.1rem, 4vw, 4.6rem);
}

.detail-meta {
    margin: 0 0 18px;
}

.player-section {
    margin-top: 28px;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 34px;
    border: 1px solid rgba(216, 180, 254, 0.22);
    background: #000000;
    box-shadow: var(--shadow);
}

.video-player {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000000;
    cursor: pointer;
}

.player-cover {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    gap: 12px;
    border: 0;
    color: #ffffff;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.32), rgba(15, 23, 42, 0.78));
    cursor: pointer;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.player-icon {
    display: grid;
    place-items: center;
    width: 82px;
    height: 82px;
    border-radius: 999px;
    color: #3b0764;
    font-size: 2rem;
    background: linear-gradient(135deg, #fef08a, #f0abfc);
    box-shadow: 0 20px 54px rgba(0, 0, 0, 0.4);
}

.player-cover strong {
    max-width: min(760px, calc(100% - 40px));
    font-size: clamp(1.4rem, 3vw, 3rem);
    text-align: center;
    text-shadow: 0 6px 24px rgba(0, 0, 0, 0.58);
}

.detail-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 28px;
}

.detail-content article {
    padding: 28px;
    border-radius: 28px;
    border: 1px solid rgba(216, 180, 254, 0.18);
    background: rgba(15, 23, 42, 0.68);
}

.detail-content h2 {
    margin: 0 0 14px;
    font-size: 2rem;
}

.related-section {
    padding-top: 48px;
}

.top-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.top-card {
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(216, 180, 254, 0.18);
    background: rgba(15, 23, 42, 0.68);
}

.top-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.06);
}

.top-card span,
.top-card h2,
.top-card p {
    margin-left: 18px;
    margin-right: 18px;
}

.top-card span {
    display: inline-flex;
    margin-top: 18px;
    color: #fde68a;
    font-weight: 900;
}

.top-card h2 {
    margin-top: 8px;
    margin-bottom: 8px;
}

.top-card p {
    margin-bottom: 20px;
}

.ranking-table-section {
    overflow-x: auto;
    border-radius: 26px;
    border: 1px solid rgba(216, 180, 254, 0.18);
    background: rgba(15, 23, 42, 0.66);
}

.ranking-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 860px;
}

.ranking-table th,
.ranking-table td {
    padding: 16px 18px;
    border-bottom: 1px solid rgba(216, 180, 254, 0.12);
    text-align: left;
}

.ranking-table th {
    color: #fde68a;
    background: rgba(255, 255, 255, 0.06);
}

.ranking-table td:first-child {
    color: #f9a8d4;
    font-weight: 900;
}

.search-page .movie-grid:empty::before {
    content: "输入关键词后可查看匹配的剧集内容";
    display: block;
    grid-column: 1 / -1;
    padding: 26px;
    border-radius: 24px;
    color: rgba(226, 232, 240, 0.76);
    background: rgba(15, 23, 42, 0.62);
    border: 1px solid rgba(216, 180, 254, 0.16);
}

.site-footer {
    margin-top: 80px;
    border-top: 1px solid rgba(216, 180, 254, 0.18);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.78), #020617);
}

.footer-grid {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 28px;
    padding: 42px 0 32px;
}

.site-footer h2,
.site-footer h3 {
    margin: 0 0 14px;
}

.site-footer a {
    display: block;
    color: rgba(226, 232, 240, 0.72);
    margin: 8px 0;
}

.site-footer a:hover {
    color: #fde68a;
}

.footer-bottom {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0 28px;
    color: rgba(148, 163, 184, 0.82);
    border-top: 1px solid rgba(216, 180, 254, 0.12);
    font-size: 0.92rem;
}

[data-card].is-hidden {
    display: none;
}

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

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

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

@media (max-width: 880px) {
    .header-inner {
        flex-wrap: wrap;
        padding: 12px 0;
    }

    .menu-button {
        display: grid;
        place-items: center;
        margin-left: auto;
    }

    .main-nav {
        display: none;
        order: 3;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        padding-top: 12px;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    .main-nav.is-open {
        display: flex;
    }

    .nav-link {
        width: 100%;
    }

    .hero-carousel {
        min-height: auto;
        border-radius: 26px;
    }

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

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

    .hero-content {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 34px 24px 92px;
    }

    .hero-poster {
        max-width: 260px;
        transform: none;
    }

    .hero-dots {
        left: 20px;
        right: 20px;
        bottom: 22px;
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-dot {
        font-size: 0;
        min-height: 10px;
        padding: 0;
    }

    .search-panel,
    .footer-grid,
    .detail-hero,
    .category-overview-card {
        grid-template-columns: 1fr;
    }

    .search-panel form div,
    .big-search,
    .filter-bar {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

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

    .rank-list,
    .mini-rank {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 560px) {
    .hero-copy h1,
    .page-hero h1,
    .detail-info h1 {
        font-size: 2.3rem;
    }

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

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

    .hero-dots {
        grid-template-columns: repeat(6, 1fr);
    }

    .footer-grid,
    .footer-bottom,
    .search-panel,
    .section,
    .page-shell,
    .detail-shell,
    .hero-carousel {
        width: min(100% - 22px, 1280px);
    }
}
