:root {
    --color-bg: #f7fbfa;
    --color-surface: #ffffff;
    --color-soft: #ecfdf5;
    --color-line: #dfe7e4;
    --color-text: #111827;
    --color-muted: #64748b;
    --color-emerald: #10b981;
    --color-emerald-dark: #047857;
    --color-teal: #14b8a6;
    --shadow-card: 0 18px 40px rgba(15, 23, 42, 0.10);
    --shadow-soft: 0 12px 30px rgba(16, 185, 129, 0.14);
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--color-text);
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 44%, #f0fdfa 100%);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 1px 18px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(16px);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: fit-content;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: white;
    background: linear-gradient(135deg, var(--color-emerald), var(--color-teal));
    border-radius: 999px;
    box-shadow: var(--shadow-soft);
    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 {
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(90deg, var(--color-emerald-dark), var(--color-teal));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.brand-text small {
    color: var(--color-muted);
    font-size: 12px;
}

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

.nav-link {
    padding: 10px 14px;
    color: #334155;
    border-radius: 12px;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-emerald-dark);
    background: var(--color-soft);
    transform: translateY(-1px);
}

.header-search {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid var(--color-line);
    border-radius: 999px;
    overflow: hidden;
}

.header-search input {
    width: 220px;
    padding: 10px 14px;
    border: 0;
    outline: none;
    background: transparent;
}

.header-search button,
.mobile-search button {
    border: 0;
    padding: 10px 16px;
    color: white;
    cursor: pointer;
    background: linear-gradient(135deg, var(--color-emerald), var(--color-teal));
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: #f1f5f9;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: #334155;
}

.mobile-nav {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
    padding: 0 0 18px;
}

.mobile-search {
    display: flex;
    margin-bottom: 14px;
    overflow: hidden;
    border: 1px solid var(--color-line);
    border-radius: 999px;
}

.mobile-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    padding: 11px 14px;
    outline: none;
}

.mobile-nav-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.mobile-nav-links a {
    padding: 11px 12px;
    background: #f8fafc;
    border-radius: 12px;
    color: #334155;
}

.hero {
    position: relative;
    min-height: 600px;
    overflow: hidden;
    background: #07130f;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.7s ease;
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
}

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(20, 184, 166, 0.30), transparent 28%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.50) 48%, rgba(0, 0, 0, 0.14));
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(var(--container), calc(100% - 32px));
    height: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: white;
    max-width: 1180px;
}

.hero-content > * {
    max-width: 690px;
}

.hero-kicker,
.section-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 14px;
    padding: 7px 13px;
    color: #bbf7d0;
    background: rgba(16, 185, 129, 0.18);
    border: 1px solid rgba(167, 243, 208, 0.28);
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
}

.section-kicker {
    color: var(--color-emerald-dark);
    background: var(--color-soft);
    border-color: #bbf7d0;
}

.hero h1,
.page-hero h1,
.category-hero h1 {
    margin: 0;
    font-size: clamp(38px, 7vw, 76px);
    line-height: 1.05;
    letter-spacing: -0.06em;
}

.hero p,
.page-hero p,
.category-hero p {
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 18px;
}

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

.hero-tags {
    margin-top: 22px;
}

.hero-tags span,
.detail-tags span,
.tag-row span {
    display: inline-flex;
    padding: 6px 10px;
    color: white;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    font-size: 13px;
}

.tag-row span {
    color: var(--color-emerald-dark);
    background: var(--color-soft);
    border: 0;
}

.detail-tags span {
    color: var(--color-emerald-dark);
    background: #ecfdf5;
    border-color: #bbf7d0;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 18px;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn.primary {
    color: white;
    background: linear-gradient(135deg, var(--color-emerald), var(--color-teal));
    box-shadow: var(--shadow-soft);
}

.btn.ghost {
    color: white;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.26);
}

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

.hero-arrow,
.hero-dot {
    border: 0;
    cursor: pointer;
}

.hero-arrow {
    width: 42px;
    height: 42px;
    color: white;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    font-size: 28px;
    line-height: 1;
}

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

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

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

.hero-panel {
    position: absolute;
    right: max(24px, calc((100vw - var(--container)) / 2));
    bottom: 34px;
    z-index: 3;
    display: grid;
    grid-template-columns: auto auto;
    gap: 4px 10px;
    padding: 16px 18px;
    color: white;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 22px;
    backdrop-filter: blur(18px);
}

.hero-panel strong {
    color: #6ee7b7;
    font-size: 20px;
}

.hero-panel span {
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
}

.content-section,
.overview-stack {
    width: min(var(--container), calc(100% - 32px));
    margin: 54px auto;
}

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

.section-heading h2 {
    margin: 0;
    font-size: clamp(26px, 4vw, 38px);
    line-height: 1.14;
    letter-spacing: -0.04em;
}

.section-heading p {
    margin: 8px 0 0;
    color: var(--color-muted);
}

.section-action {
    color: var(--color-emerald-dark);
    font-weight: 800;
}

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

.category-tile,
.overview-title {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 210px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(16, 185, 129, 0.12);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

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

.category-mosaic {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    overflow: hidden;
    min-height: 110px;
    border-radius: 18px;
    background: linear-gradient(135deg, #d1fae5, #ccfbf1);
}

.category-mosaic img {
    width: 100%;
    height: 54px;
    object-fit: cover;
}

.category-tile strong,
.overview-title strong {
    font-size: 20px;
}

.category-tile small,
.overview-title small {
    color: var(--color-emerald-dark);
    font-weight: 700;
}

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

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

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

.movie-card {
    min-width: 0;
    background: var(--color-surface);
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.movie-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-cover {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, #d1fae5, #ccfbf1);
}

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

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

.cover-gradient {
    position: absolute;
    inset: auto 0 0 0;
    height: 58%;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.55));
}

.duration-badge,
.play-badge {
    position: absolute;
    color: white;
    border-radius: 999px;
}

.duration-badge {
    right: 12px;
    bottom: 12px;
    padding: 5px 9px;
    background: rgba(0, 0, 0, 0.68);
    font-size: 12px;
}

.play-badge {
    left: 12px;
    bottom: 12px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--color-emerald), var(--color-teal));
    box-shadow: var(--shadow-soft);
}

.card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 9px;
    padding: 16px;
}

.card-meta,
.card-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.card-meta em {
    padding: 4px 9px;
    color: var(--color-emerald-dark);
    background: var(--color-soft);
    border-radius: 999px;
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
}

.card-meta small,
.card-stats small,
.card-desc {
    color: var(--color-muted);
    font-size: 13px;
}

.card-content strong {
    display: -webkit-box;
    overflow: hidden;
    min-height: 48px;
    color: var(--color-text);
    font-size: 18px;
    line-height: 1.35;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color 0.2s ease;
}

.movie-card:hover .card-content strong {
    color: var(--color-emerald-dark);
}

.card-desc {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.movie-card.compact .card-content {
    padding: 14px;
}

.movie-card.compact .card-content strong {
    font-size: 16px;
}

.movie-card.horizontal .movie-card-link {
    flex-direction: row;
}

.movie-card.horizontal .card-cover {
    width: 220px;
    flex: 0 0 220px;
    aspect-ratio: 16 / 10;
}

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

.home-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 26px;
    align-items: start;
}

.ranking-card,
.detail-meta-card,
.detail-side-card,
.filter-bar {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(16, 185, 129, 0.12);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
}

.ranking-card {
    position: sticky;
    top: 92px;
    padding: 22px;
}

.ranking-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.ranking-head span {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    color: white;
    background: linear-gradient(135deg, var(--color-emerald), var(--color-teal));
    border-radius: 16px;
    font-weight: 900;
}

.ranking-head h2,
.ranking-head p {
    margin: 0;
}

.ranking-head p {
    color: var(--color-muted);
    font-size: 13px;
}

.ranking-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ranking-list li + li {
    border-top: 1px solid #eef2f7;
}

.ranking-list a {
    display: grid;
    grid-template-columns: 24px 58px 1fr;
    gap: 10px;
    align-items: center;
    padding: 12px 0;
}

.ranking-list span {
    color: var(--color-emerald-dark);
    font-weight: 900;
}

.ranking-list img {
    width: 58px;
    height: 42px;
    object-fit: cover;
    border-radius: 10px;
}

.ranking-list strong {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.ranking-list small {
    grid-column: 3;
    color: var(--color-muted);
    font-size: 12px;
}

.page-hero,
.category-hero {
    width: min(var(--container), calc(100% - 32px));
    margin: 34px auto 0;
    border-radius: 30px;
    overflow: hidden;
}

.page-hero {
    padding: 64px;
    color: white;
    background:
        radial-gradient(circle at 82% 20%, rgba(20, 184, 166, 0.35), transparent 30%),
        linear-gradient(135deg, #064e3b, #0f766e);
}

.soft-hero {
    color: var(--color-text);
    background:
        radial-gradient(circle at 82% 20%, rgba(20, 184, 166, 0.20), transparent 30%),
        linear-gradient(135deg, #ffffff, #ecfdf5);
    border: 1px solid #d1fae5;
}

.soft-hero p {
    color: var(--color-muted);
}

.category-hero {
    position: relative;
    min-height: 360px;
    display: grid;
    align-items: center;
    color: white;
    background-image:
        linear-gradient(90deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.34)),
        var(--category-bg);
    background-position: center;
    background-size: cover;
}

.category-hero-inner {
    max-width: 720px;
    padding: 54px;
}

.filter-bar {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) 180px 180px auto;
    gap: 14px;
    padding: 16px;
    margin-bottom: 18px;
}

.filter-bar label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: var(--color-muted);
    font-size: 13px;
    font-weight: 700;
}

.filter-bar input,
.filter-bar select,
.big-search input {
    width: 100%;
    padding: 12px 13px;
    background: #f8fafc;
    border: 1px solid var(--color-line);
    border-radius: 14px;
    outline: none;
}

.filter-bar input:focus,
.filter-bar select:focus,
.big-search input:focus {
    border-color: var(--color-emerald);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
}

.reset-filter {
    align-self: end;
    min-height: 46px;
    padding: 0 16px;
    color: var(--color-emerald-dark);
    background: var(--color-soft);
    border: 0;
    border-radius: 14px;
    cursor: pointer;
    font-weight: 800;
}

.result-note {
    margin-bottom: 18px;
    color: var(--color-muted);
}

.empty-state {
    padding: 42px;
    text-align: center;
    color: var(--color-muted);
    background: white;
    border-radius: var(--radius-lg);
}

.category-overview-block {
    margin-bottom: 28px;
}

.overview-title {
    min-height: auto;
    flex-direction: row;
    align-items: center;
    margin-bottom: 16px;
}

.overview-title .category-mosaic {
    width: 156px;
    min-height: 100px;
    flex: 0 0 156px;
}

.overview-title span:nth-child(2) {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 5px;
}

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

.podium-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.podium-card {
    overflow: hidden;
    background: white;
    border-radius: 26px;
    box-shadow: var(--shadow-card);
}

.podium-card a {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
}

.podium-rank {
    width: fit-content;
    padding: 7px 12px;
    color: white;
    background: linear-gradient(135deg, var(--color-emerald), var(--color-teal));
    border-radius: 999px;
    font-weight: 900;
}

.podium-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 20px;
}

.podium-card strong {
    font-size: 22px;
}

.podium-card small {
    color: var(--color-muted);
}

.rank-table {
    overflow: hidden;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.rank-row {
    display: grid;
    grid-template-columns: 56px 86px 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 14px 18px;
    border-bottom: 1px solid #eef2f7;
    transition: background 0.2s ease;
}

.rank-row:hover {
    background: #f8fafc;
}

.rank-index {
    color: var(--color-emerald-dark);
    font-size: 20px;
    font-weight: 900;
}

.rank-row img {
    width: 86px;
    height: 56px;
    object-fit: cover;
    border-radius: 12px;
}

.rank-info {
    display: flex;
    flex-direction: column;
}

.rank-info small,
.rank-row em {
    color: var(--color-muted);
    font-style: normal;
}

.big-search {
    display: flex;
    gap: 12px;
    width: min(720px, 100%);
    margin-top: 26px;
}

.big-search input {
    flex: 1;
    min-width: 0;
    background: rgba(255, 255, 255, 0.94);
}

.breadcrumb {
    width: min(var(--container), calc(100% - 32px));
    margin: 24px auto 16px;
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--color-muted);
    font-size: 14px;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--color-emerald-dark);
    font-weight: 700;
}

.watch-layout {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 22px;
    align-items: stretch;
}

.player-shell {
    position: relative;
    min-height: 460px;
    overflow: hidden;
    background: #020617;
    border-radius: 28px;
    box-shadow: var(--shadow-card);
}

.movie-player {
    width: 100%;
    height: 100%;
    min-height: 460px;
    background: #020617;
}

.player-start {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    color: white;
    background:
        radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.30), transparent 28%),
        rgba(2, 6, 23, 0.28);
    border: 0;
    cursor: pointer;
    text-align: center;
}

.player-start span {
    width: 74px;
    height: 74px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--color-emerald), var(--color-teal));
    border-radius: 999px;
    box-shadow: var(--shadow-soft);
    font-size: 30px;
}

.player-start strong {
    font-size: 24px;
}

.player-start small {
    color: rgba(255, 255, 255, 0.78);
}

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

.player-status {
    position: absolute;
    left: 18px;
    bottom: 18px;
    color: white;
    background: rgba(0, 0, 0, 0.62);
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 13px;
}

.player-status:empty {
    display: none;
}

.detail-side-card {
    overflow: hidden;
}

.detail-side-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.detail-side-card div {
    padding: 20px;
}

.detail-side-card span {
    color: var(--color-emerald-dark);
    font-weight: 900;
}

.detail-side-card h1 {
    margin: 8px 0;
    font-size: 25px;
    line-height: 1.2;
}

.detail-side-card p {
    margin: 0;
    color: var(--color-muted);
}

.detail-info {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    align-items: start;
}

.detail-main {
    padding: 28px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.detail-title-row {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.detail-title-row h1 {
    margin: 0;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.12;
}

.meta-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0;
}

.meta-badges span {
    padding: 8px 12px;
    color: var(--color-emerald-dark);
    background: var(--color-soft);
    border-radius: 999px;
    font-weight: 800;
    font-size: 14px;
}

.one-line {
    padding: 18px;
    color: #065f46;
    background: #ecfdf5;
    border-left: 4px solid var(--color-emerald);
    border-radius: 16px;
    font-weight: 700;
}

.detail-main h2 {
    margin: 28px 0 10px;
    font-size: 22px;
}

.detail-main p {
    color: #334155;
}

.detail-meta-card {
    position: sticky;
    top: 92px;
    padding: 22px;
}

.detail-meta-card h2 {
    margin: 0 0 16px;
}

.detail-meta-card dl {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 11px 12px;
    margin: 0;
}

.detail-meta-card dt {
    color: var(--color-muted);
}

.detail-meta-card dd {
    margin: 0;
    font-weight: 700;
}

.detail-meta-card a {
    color: var(--color-emerald-dark);
}

.sitemap-section h2 {
    margin-top: 30px;
}

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

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

.sitemap-list a {
    display: block;
    overflow: hidden;
    padding: 10px 12px;
    background: white;
    border-radius: 12px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

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

    .nav-toggle {
        display: block;
    }

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

    .home-split,
    .watch-layout,
    .detail-info {
        grid-template-columns: 1fr;
    }

    .ranking-card,
    .detail-meta-card {
        position: static;
    }

    .hero-panel {
        display: none;
    }

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

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

@media (max-width: 720px) {
    .header-inner {
        width: min(100% - 24px, var(--container));
    }

    .brand-text strong {
        font-size: 18px;
    }

    .brand-text small {
        display: none;
    }

    .hero,
    .hero-content {
        min-height: 560px;
        height: 560px;
    }

    .hero-content {
        width: min(100% - 28px, var(--container));
    }

    .hero h1,
    .page-hero h1,
    .category-hero h1 {
        font-size: 38px;
    }

    .hero p,
    .page-hero p,
    .category-hero p {
        font-size: 16px;
    }

    .content-section,
    .overview-stack,
    .page-hero,
    .category-hero,
    .breadcrumb,
    .watch-layout {
        width: min(100% - 24px, var(--container));
    }

    .content-section,
    .overview-stack {
        margin: 36px auto;
    }

    .page-hero,
    .category-hero-inner {
        padding: 34px 22px;
    }

    .section-heading,
    .detail-title-row,
    .overview-title {
        flex-direction: column;
        align-items: stretch;
    }

    .category-grid,
    .movie-grid,
    .compact-grid,
    .mini-grid,
    .horizontal-list {
        grid-template-columns: 1fr;
    }

    .movie-card.horizontal .movie-card-link {
        flex-direction: column;
    }

    .movie-card.horizontal .card-cover,
    .overview-title .category-mosaic {
        width: 100%;
        flex-basis: auto;
    }

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

    .big-search {
        flex-direction: column;
    }

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

    .rank-row em {
        grid-column: 3;
    }

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

    .player-shell,
    .movie-player {
        min-height: 260px;
    }
}
