/* =========================================================
   VARIABLES
========================================================= */

:root {
    --bg: #0d1114;
    --container: 1280px;

    /* 以下为后定义、最终生效的值 */
    --bg-deep: #090c0e;
    --bg-soft: #13191d;
    --bg-card: #151c21;
    --line: rgba(255, 255, 255, .085);
    --line-soft: rgba(255, 255, 255, .052);
    --text: #f3f1ec;
    --text-2: #c9ccc7;
    --text-3: #939993;
    --text-4: #686e6b;
    --gold: #d8b477;
    --gold-light: #efd3a1;
    --schedule-gold: #d8b477;
    --shelf-gold: #d8b477;
    --detail-bg: #0b0f12;
    --detail-card: #141a1f;
    --detail-line: rgba(255, 255, 255, .09);
    --detail-gold: #d8b477;
    --detail-gold-light: #efd3a1;
    --favorites-gold: #d8b477;
    --list-gold: #d8b477;
    --list-gold-light: #efd3a1;
    --code-gold: #d8b477;
    --code-gold-light: #efd3a1;
    --code-red: #cf6562;
    --code-teal: #4da59c;

    --accent-teal: #5bb8ad;
    --accent-rose: #d98b83;
    --accent-blue: #82a9c9;
    --shadow-soft: 0 18px 50px rgba(0, 0, 0, .24);
    --shadow-card: 0 22px 60px rgba(0, 0, 0, .32);
}

/* =========================================================
   RESET / GLOBAL
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: radial-gradient(circle at 12% -10%, rgba(91, 184, 173, .11), transparent 30rem),
        radial-gradient(circle at 88% 8%, rgba(216, 180, 119, .09), transparent 26rem),
        linear-gradient(180deg, var(--bg-deep) 0%, var(--bg) 100%);
    color: var(--text);
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        "PingFang SC",
        "Hiragino Sans GB",
        "Microsoft YaHei",
        Arial,
        sans-serif;
    line-height: 1.6;
}

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

button {
    font: inherit;
}

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

.container {
    width: min(var(--st-content), calc(100% - 48px));
    margin: 0 auto;
}

/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: relative;
    z-index: 50;
    height: 74px;
    background: rgba(11, 15, 18, .86);
    border-bottom: 1px solid var(--line);
}

.site-nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 40;
    background: rgba(0, 0, 0, .48);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}

.site-nav-backdrop.show {
    opacity: 1;
    visibility: visible;
}

.site-header-inner {
    width: min(var(--st-content), calc(100% - 48px));
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.site-brand {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 11px;
}

.site-brand-mark,
.footer-logo-mark {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: 50%;
    color: #e50914;
    background: transparent;
    border: 1px solid rgb(229 9 20);
    box-shadow: 0 0 0 1px rgb(248 105 113), 0 0 14px #e50914;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Georgia, serif;
}

.site-brand-mark {
    width: 34px;
    height: 34px;
    font-size: 18px;
}

.footer-logo-mark {
    width: 38px;
    height: 38px;
    font-size: 19px;
}

.site-brand-text,
.footer-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.site-brand-text strong,
.footer-logo-text strong {
    color: var(--text);
    font-weight: 600;
    letter-spacing: .05em;
}

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

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

.site-brand-text small,
.footer-logo-text small {
    margin-top: 5px;
    color: var(--text-3);
    font-size: 7px;
    letter-spacing: .18em;
}

/* =========================================================
   MAIN NAV
========================================================= */

.site-main-nav {
    height: 100%;
    margin-left: 54px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-item > a {
    height: 42px;
    padding: 0 15px;
    display: flex;
    align-items: center;
    color: var(--text-2);
    font-size: 1rem;
    white-space: nowrap;
    transition: color .2s ease, background .2s ease;
}

.nav-item > a:hover,
.site-main-nav .nav-item > a.active {
    color: var(--text);
    background: rgba(255, 255, 255, .035);
}

.nav-item.has-dropdown > a::after {
    content: "";
    width: 5px;
    height: 5px;
    margin-left: 8px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    opacity: .5;
}

/* =========================================================
   DROPDOWN
========================================================= */

.nav-dropdown {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    background: #111216;
    border: 1px solid var(--line);
    box-shadow: 0 22px 60px rgba(0, 0, 0, .5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.nav-item:hover > .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.movie-dropdown {
    width: 600px;
    padding: 28px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 28px;
}

.dropdown-column {
    display: flex;
    flex-direction: column;
}

.dropdown-column a {
    padding: 5px 0;
    color: var(--text-2);
    font-size: .9rem;
}

.dropdown-column a:hover {
    color: var(--text);
}

.dropdown-feature {
    padding-left: 25px;
    border-left: 1px solid var(--line);
}

.dropdown-feature-label {
    display: block;
    margin-bottom: 13px;
    color: var(--text-3);
    font-size: 8px;
    letter-spacing: .18em;
}

.dropdown-feature strong {
    display: block;
    color: var(--text);
    font-size: 15px;
    font-weight: 500;
}

.dropdown-feature p {
    margin: 9px 0 17px;
    color: var(--text-3);
    font-size: 11px;
    line-height: 1.8;
}

.dropdown-feature-link {
    color: var(--gold);
    font-size: 11px;
}

.simple-dropdown {
    width: 165px;
    padding: 9px;
}

.simple-dropdown a {
    display: block;
    padding: 9px 11px;
    color: var(--text-2);
    font-size: .9rem;
}

.simple-dropdown a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, .035);
}

.dropdown-title {
    margin-bottom: 11px;
    color: var(--gold);
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: .12em;
}

/* =========================================================
   HEADER ACTIONS / SEARCH
========================================================= */

.site-header-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-search {
    height: 38px;
    width: 38px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    background: transparent;
    color: var(--text-3);
    cursor: pointer;
}

.header-search:hover {
    color: var(--text);
}

.header-search svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
}

.header-search span,
.header-search kbd {
    display: none;
}

.header-user {
    width: 38px;
    height: 38px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--text-2);
}

.header-user:hover {
    color: var(--gold);
    border-color: rgba(216, 183, 125, .4);
}

.header-user-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.header-user-icon {
    width: 18px;
    height: 18px;
    display: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
}

.header-user-guest .header-user-icon,
.header-user.is-fallback .header-user-icon {
    display: block;
}

.site-search-panel {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    z-index: 60;
    display: none;
    padding: 20px 0 22px;
    background: rgba(11, 12, 14, .99);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 50px rgba(0, 0, 0, .42);
}

.site-header.search-open .site-search-panel {
    display: block;
    animation: search-panel-in .2s ease;
}

.site-search-panel-inner {
    position: relative;
    width: min(var(--st-content), calc(100% - 48px));
    margin: 0 auto;
}

.site-search-panel-inner svg {
    position: absolute;
    left: 18px;
    top: 50%;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #777974;
    stroke-width: 1.6;
    transform: translateY(-50%);
    pointer-events: none;
}

.site-search-input {
    width: 100%;
    height: 52px;
    padding: 0 18px 0 50px;
    border: 1px solid rgba(216, 183, 125, .36);
    background: #101114;
    color: var(--text);
    font: inherit;
    font-size: 15px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
    border-radius: 25px;
}

@keyframes search-panel-in {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   MOBILE MENU
========================================================= */

.mobile-menu-toggle {
    display: none;
    width: 34px;
    height: 34px;
    padding: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--text-2);
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 16px;
    height: 1px;
    background: currentColor;
}

.mobile-menu-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 55;
    display: none;
    padding: 18px 0 22px;
    background: rgba(11, 12, 14, .99);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 50px rgba(0, 0, 0, .42);
}

.site-header.menu-open .mobile-menu-panel {
    display: block;
}

.mobile-menu-group {
    padding: 0 24px;
    border-bottom: 1px solid var(--line-soft);
}

.mobile-menu-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
}

.mobile-menu-group.has-submenu > .mobile-menu-title::after {
    content: "";
    width: 6px;
    height: 6px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
}

.mobile-menu-group.has-submenu.is-open > .mobile-menu-title::after {
    transform: rotate(-135deg) translateY(-2px);
}

.mobile-menu-links {
    display: grid;
    padding: 0 0 11px;
}

.mobile-menu-group.has-submenu .mobile-menu-links {
    display: none;
}

.mobile-menu-group.has-submenu.is-open .mobile-menu-links {
    display: grid;
}

.mobile-menu-links a {
    padding: 7px 0;
    color: var(--text-3);
    font-size: 12px;
}

.mobile-menu-links a:hover {
    color: var(--gold);
}

/* =========================================================
   COMMENTS
========================================================= */

.comments-contain {
    margin-top: 46px;
    padding: 28px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 12px;
}

.comments-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.comments-header h3 {
    margin: 0;
    color: var(--text);
    font-size: 20px;
    font-weight: 600;
}

.comments-header h3 i {
    margin-right: 8px;
    color: var(--gold);
}

.comments-count {
    color: var(--text-3);
    font-size: 13px;
}

.global-new-comment {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px;
    background: #121512;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
}

.global-new-comment input[type="text"],
.global-new-comment .reply-input {
    flex: 1;
    min-width: 0;
    height: 42px;
    padding: 0 14px;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--text);
    font: inherit;
}

.global-new-comment input::placeholder {
    color: var(--text-4);
}

.global-new-comment .comment-input {
    width: 100%;
    min-height: 92px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #0e100f;
    color: var(--text);
    font: inherit;
    line-height: 1.6;
    resize: vertical;
    outline: none;
    transition: border-color .2s ease, background .2s ease;
}

.global-new-comment .comment-input:focus {
    border-color: rgba(216, 180, 119, .42);
    background: #101210;
}

.global-new-comment button {
    height: 38px;
    padding: 0 22px;
    border: 0;
    border-radius: 9px;
    background: var(--gold);
    color: #111;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease, opacity .2s ease, transform .2s ease;
}

.global-new-comment button:hover {
    background: var(--detail-gold-light);
    transform: translateY(-1px);
}

.global-new-comment button:active {
    transform: translateY(0);
}

.global-new-comment button:disabled {
    opacity: .5;
    cursor: not-allowed;
}

.movie-comment-form {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
}

.comment-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.star-rating {
    position: relative;
    display: inline-block;
    width: auto;
    height: 22px;
    cursor: pointer;
    font-size: 17px;
    line-height: 22px;
    letter-spacing: 2px;
    user-select: none;
    touch-action: none;
}

.star-rating-bg {
    white-space: nowrap;
    color: #303330;
}

.star-rating-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    overflow: hidden;
    white-space: nowrap;
    color: #d8b477;
    pointer-events: none;
}

.rating-value {
    color: #d8b477;
    font-size: 12px;
    white-space: nowrap;
}

.movie-comment-form #commentInput {
    width: 100%;
    min-height: 92px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #0e100f;
    line-height: 1.5;
    resize: vertical;
    transition: border-color .2s ease, background .2s ease;
}

.movie-comment-form #commentInput:focus {
    border-color: rgba(216, 180, 119, .42);
    background: #101210;
}

.movie-comment-form > button {
    align-self: flex-end;
}

.login-hint-wrapper {
    margin-top: 10px;
}

.login-hint {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--line-soft);
    border-radius: 10px;
    color: var(--text-3);
    font-size: 13px;
}

.login-hint i {
    color: var(--gold);
}

.login-hint a {
    color: var(--gold);
    font-weight: 600;
}

.w-username {
    color: var(--gold);
}

.logout-link {
    margin-left: auto;
    color: var(--text-3);
    font-size: 12px;
}

.comments-list {
    margin-top: 22px;
}

.comment {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line-soft);
}

.comment:last-child {
    border-bottom: 0;
}

.c-avatar,
.avatar {
    flex: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
}

.comment .right {
    flex: 1;
    min-width: 0;
}

.c-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
}

.username {
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
}

.time {
    color: var(--text-4);
    font-size: 12px;
}

.comment-rating-score {
    color: var(--gold);
    font-size: 12px;
}

.comment-rating-score i {
    margin-right: 4px;
}

.text {
    margin-top: 7px;
    color: var(--text-2);
    font-size: 14px;
    line-height: 1.8;
    word-break: break-word;
}

.at-s {
    margin-right: 6px;
    color: var(--gold);
}

.actions {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 10px;
    color: var(--text-4);
    font-size: 12px;
}

.action {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.action:hover {
    color: var(--gold);
}

.comment-like.is-liked,
.comment-like.is-liked i {
    color: var(--gold);
}

.reply-list {
    margin: 4px 0 0 54px;
    padding-left: 0;
    border-left: 0;
}

.reply-list .reply-list {
    margin-left: 0;
}

.reply-list .comment {
    padding: 14px 0;
}

.reply-content {
    width: 100%;
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.reply-content .reply-input {
    width: 100%;
    min-height: 88px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #0d0f13;
    color: var(--text);
    font: inherit;
    line-height: 1.6;
    resize: vertical;
    outline: none;
}

.reply-content button {
    width: auto;
}

@media (max-width: 600px) {
    .comments-contain {
        margin-top: 34px;
        padding: 18px;
        border-radius: 10px;
    }

    .comments-header h3 {
        font-size: 18px;
    }

    .global-new-comment {
        gap: 8px;
    }

    .global-new-comment button {
        padding: 0 14px;
    }

    .comment {
        gap: 10px;
    }

    .c-avatar,
    .avatar {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .reply-list {
        margin-left: 18px;
        padding-left: 10px;
    }
}

/* =========================================================
   MOVIE NAVIGATION
========================================================= */

.movie-navigation-wrap {
    width: 100%;
    margin-bottom: 28px;
}

.movie-navigation {
    width: min(var(--st-content), calc(100% - 48px));
    margin: 0 auto;
    border-bottom: 1px solid var(--line);
}

.movie-navigation-inner {
    min-height: 66px;
    display: flex;
    align-items: center;
}

.movie-navigation-label {
    flex: 0 0 auto;
    padding-right: 28px;
    margin-right: 28px;
    border-right: 1px solid var(--line);
    color: var(--text-3);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .16em;
}

.movie-navigation-links {
    display: flex;
    align-items: stretch;
    gap: 4px;
}

.movie-navigation-links a {
    position: relative;
    height: 66px;
    padding: 0 17px;
    display: flex;
    align-items: center;
    color: var(--text-3);
    font-size: .9rem;
    white-space: nowrap;
    transition: color .2s ease, background .2s ease;
}

.movie-navigation-links a:hover {
    color: #f0f0ec;
    background: rgba(255, 255, 255, .035);
}

.movie-navigation-links a.active {
    color: #f0f0ec;
}

.movie-navigation-links a.active::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: -1px;
    height: 2px;
    background: var(--detail-gold);
}
.dropdown-line {
    height: 1px;
    background: rgba(255, 255, 255, .1);
    margin: 8px;
}
/* =========================================================
   MOVIE HERO
========================================================= */

.movie-hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.movie-hero-backdrop {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(90deg, #0b0c0e 0%, rgba(11, 12, 14, .94) 28%, rgba(11, 12, 14, .72) 58%, rgba(11, 12, 14, .90) 100%),
        linear-gradient(180deg, rgba(11, 12, 14, .12), #0b0c0e 100%),
        url("https://image.tmdb.org/t/p/original/8Gxv8gSFCU0XGDykEGv7zR1n2ua.jpg");
    background-position: center, center, center top;
    background-size: cover, cover, cover;
    filter: saturate(.78);
    transform: scale(1.02);
}

.movie-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(0, 0, 0, .20), transparent 42%);
}

.movie-hero-inner {
    position: relative;
    z-index: 2;
    width: var(--container);
    margin: 0 auto;
    display: flex;
    gap: 40px;
    padding:60px 0;
}

/* =========================================================
   MOVIE POSTER
========================================================= */

.movie-poster {
    position: relative;
    width: 304px;
    min-width: 300px;
    max-width: 100%;
    flex-shrink: 0;
}

.movie-poster::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 62%, rgba(0, 0, 0, .55));
}

.movie-poster:hover {
    transform: rotate(-1.2deg);
    border-color: rgba(216, 183, 125, .45);
    box-shadow: 0 54px 110px rgba(0, 0, 0, .58), 0 12px 30px rgba(0, 0, 0, .4);
}

.movie-poster img {
    width: 100%;
    height: auto;
    object-fit: cover;
    overflow: hidden;
    background: #151619;
    box-shadow: 0 42px 95px rgba(0, 0, 0, .52), 0 8px 24px rgba(0, 0, 0, .35);
    transform: none;
    transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s ease, border-color .45s ease;
}

/* =========================================================
   MOVIE HERO CONTENT
========================================================= */

.movie-hero-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.movie-type {
    margin-bottom: 15px;
    color: var(--detail-gold);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .24em;
}

.movie-title {
    margin: 0;
    color: #f4f4f0;
    font-size: clamp(54px, 6.8vw, 60px);
    font-weight: 600;
    line-height: .96;
}

.movie-original-title {
    margin-top: 15px;
    color: #888a85;
    font-size: 16px;
    letter-spacing: .04em;
}

.movie-director {
    width: fit-content;
    margin: 10px 0 10px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    color: var(--text-2);
    font-size: .9rem;
    background: transparent;
}



.movie-director span {
    color: var(--gold);
    font-size: .9rem;
    letter-spacing: .12em;
}

.movie-rating {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.movie-rating-score {
    color: var(--gold-light);
    font-size: 28px;
    font-weight: 600;
}

.movie-rating-star {
    color: var(--gold);
    font-size: 17px;
}

.movie-rating-info {
    color: var(--text-3);
    font-size: 12px;
}

.movie-meta {
    margin-top: 10px;
    padding-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 9px 0;
}

.movie-meta-item {
    padding: 0 15px;
    border-right: 1px solid var(--line);
    color: #c7c8c3;
    font-size: 13px;
}

.movie-meta-item:last-child {
    border-right: 0;
}

.movie-meta-item.movie-meta-rating {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 3px 8px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 3px;
    background: transparent;
    color: #a7aaa3;
    font-size: 11px;
    letter-spacing: .08em;
    line-height: 1.4;
    text-align: center;
    text-transform: uppercase;
}

.movie-genres {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.movie-genre {
    /* padding: 7px 12px; */
    /* border: 1px solid rgba(255, 255, 255, .12); */
    /* color: #a9aaa5; */
    /* font-size: 11px; */
    /* border-radius: 999px; */
}

.movie-synopsis {
    margin-top: 10px;
    color: #b9bab5;
    font-size: 15px;
    line-height: 2.08;
}

.movie-actions {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.movie-action {
    height: 46px;
    padding: 0 22px;
    display: flex;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 30px;
    color: var(--text-2);
    font-size: 12px;
    letter-spacing: .02em;
    transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.movie-action svg {
    width: 15px;
    height: 15px;
    margin-right: 7px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.movie-action:hover {
    color: var(--text);
    border-color: rgba(216, 183, 125, .48);
    background: rgba(216, 183, 125, .06);
}

.movie-action.primary {
    color: #171512;
    background: var(--detail-gold);
    border-color: var(--detail-gold);
    box-shadow: 0 14px 30px rgba(216, 183, 125, .18);
}

.movie-action.primary:hover {
    background: var(--detail-gold-light);
    border-color: var(--detail-gold-light);
    box-shadow: 0 18px 36px rgba(216, 183, 125, .24);
}

.favorite-list-btn {
    margin-top: 30px;
}

.movie-action.list-trigger {
    color: var(--detail-gold);
    border-color: rgba(216, 183, 125, .42);
}

.movie-action.list-trigger:hover {
    color: #f2e2c2;
    border-color: rgba(216, 183, 125, .66);
    background: rgba(216, 183, 125, .08);
}

/* =========================================================
   QUICK FACTS
========================================================= */

.detail-quick-facts {
    width: min(var(--st-content), calc(100% - 48px));
    margin: 0 auto;
    padding: 28px 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-bottom: 1px solid var(--detail-line);
}

.quick-fact {
    padding: 0 30px;
    border-right: 1px solid var(--detail-line);
}

.quick-fact:first-child {
    padding-left: 0;
}

.quick-fact:last-child {
    border-right: 0;
}

.quick-fact-label {
    color: #656762;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.quick-fact-value {
    margin-top: 8px;
    color: #e6e6e1;
    font-size: 13px;
    font-weight: 500;
}

/* =========================================================
   MOVIE CONTENT / SECTIONS
========================================================= */

.movie-content,
.code-content,
.shelf-content,
.schedule-content,
.favorites-content {
    width: min(var(--st-content), calc(100% - 48px));
    margin: 0 auto;
}

.movie-section,
.code-section {
    padding: 0 0 30px 0;
    border-bottom: 1px solid var(--detail-line);
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: 36px;
    margin-bottom: 36px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--detail-line);
}

.section-header h2 {
    margin: 0;
    color: var(--text);
    font-size: 24px;
    font-weight: 600;
}

.section-header p {
    margin-top: 8px;
    color: #6e706b;
    font-size: 12px;
}

.section-more {
    color: #7d7f79;
    font-size: 12px;
}

.section-more:hover {
    color: var(--gold);
}

/* =========================================================
   OVERVIEW
========================================================= */

.overview-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(320px, .85fr);
    gap: 90px;
}

.overview-text {
    max-width: 780px;
}

.overview-text p {
    margin: 0;
    color: #bdbfb9;
    font-size: 15px;
    line-height: 2.2;
}

.overview-facts {
    border-left: 1px solid var(--detail-line);
    padding-left: 34px;
}

.fact {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .055);
    display: grid;
    grid-template-columns: 102px 1fr;
    gap: 15px;
}

.fact-label {
    color: #6d6f6a;
    font-size: 11px;
    letter-spacing: .04em;
}

.fact-value {
    color: #c3c4bf;
    font-size: 12px;
}

.fact-value[href]:hover {
    color: var(--detail-gold);
}

/* =========================================================
   STILLS
========================================================= */

.stills-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: auto;
    gap: 12px;
}

.still {
    aspect-ratio: 4 / 3;
    border-radius: 6px;
    background: #000;
}

.still:first-child {
    grid-row: auto;
    grid-column: auto;
}

.still img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s cubic-bezier(.2, .7, .2, 1), filter .35s ease;
}

.still:hover img {
    transform: scale(1.045);
    filter: brightness(1.12);
}

.still-lightbox {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: #000;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}

.still-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.still-lightbox-backdrop {
    position: absolute;
    inset: 0;
    cursor: zoom-out;
    background: #000;
}

.still-lightbox-stage {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: min(1000px, 100%);
    max-height: 100%;
}

.still-lightbox-img {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 88px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    background: #000;
    box-shadow: 0 34px 90px rgba(0, 0, 0, .7);
}

.still-lightbox-caption {
    margin-top: 10px;
    color: #d9d9d3;
    font-size: 13px;
    text-align: center;
}

.still-lightbox-btn {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    color: #fff;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.still-lightbox-btn svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.still-lightbox-prev {
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
}

.still-lightbox-next {
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
}

.still-lightbox-close {
    top: 18px;
    right: 18px;
}

.still-lightbox-btn:hover {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .28);
}

@media (max-width: 1000px) {
    .stills-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {
    .stills-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.pagination {
    margin: 40px 0;
    display: flex;
    justify-content: center;
    width: 100%;
}

.pagination .pg {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.pagination .pg a,
.pagination .pg strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--bg-card);
    color: var(--text-2);
    font-size: 13px;
    text-decoration: none;
}

.pagination .pg a:hover {
    border-color: var(--gold);
    background: rgba(216, 183, 125, .06);
    color: var(--text);
}

.pagination .pg strong {
    border-color: var(--gold);
    background: var(--gold);
    color: #111;
    font-weight: 600;
}

.pagination .pg .last,
.pagination .pg .nxt {
    padding: 0 14px;
}

.pagination label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 8px;
    color: var(--text-3);
    font-size: 12px;
}

.pagination .px {
    width: 42px;
    height: 36px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--bg-card);
    color: var(--text);
    text-align: center;
    outline: none;
}

.pagination .px:focus {
    border-color: var(--gold);
}

.pagination span {
    color: var(--text-3);
    font-size: 12px;
}

@media (max-width: 600px) {
    .pagination .pg a,
    .pagination .pg strong {
        min-width: 34px;
        height: 34px;
        padding: 0 8px;
    }

    .pagination label {
        display: none;
    }
}

.page-videos {
    display: grid;
    gap: 18px;
}

.p-video {
    width: min(960px, 100%);
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #000;
}

.v-b {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background: #000;
}

@media (max-width: 600px) {
    .p-video {
        border-radius: 6px;
    }
}

.load-more-wrap {
    display: flex;
    justify-content: center;
    margin: 32px 0 20px;
}

.load-more-wrap #load-more {
    height: 44px;
    padding: 0 28px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--bg-card);
    color: var(--text-2);
    font: inherit;
    font-size: 13px;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.load-more-wrap #load-more:hover {
    border-color: var(--gold);
    background: rgba(216, 183, 125, .06);
    color: var(--text);
}

.load-more-wrap #load-more:disabled {
    opacity: .6;
    cursor: not-allowed;
}

.playlist-cover-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    font-weight: 700;
    line-height: 1;
}

@media (max-width: 800px) {
    .playlist-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .playlist-body {
        padding: 14px;
    }
}

@media (max-width: 520px) {
    .playlist-grid {
        grid-template-columns: 1fr;
    }

    .playlist-cover {
        aspect-ratio: 2 / 1;
    }
}

@media (max-width: 600px) {
    .page-toolbar-filters {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 10px;
    }

    .page-filter {
        width: 100%;
        justify-content: space-between;
    }

    .page-filter select {
        flex: 1;
        min-width: 0;
    }
}

@media (max-width: 520px) {
    .stills-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .still-lightbox {
        padding: 12px;
    }

    .still-lightbox-btn {
        width: 38px;
        height: 38px;
    }

    .still-lightbox-prev {
        left: 8px;
    }

    .still-lightbox-next {
        right: 8px;
    }

    .still-lightbox-close {
        top: 10px;
        right: 10px;
    }
}


/* =========================================================
   CAST
========================================================= */

.cast-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 20px;
}
.cast-list-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 20px;
}
.cast-card {
    min-width: 0;
}

.cast-photo {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #151619;
    border: 1px solid var(--line);
    box-shadow: 0 14px 28px rgba(0, 0, 0, .22);
    transition: transform .4s cubic-bezier(.2, .7, .2, 1), border-color .4s ease, box-shadow .4s ease;
}

.cast-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease, filter .3s ease;
}

.cast-card:hover .cast-photo {
    transform: translateY(-5px);
    border-color: rgba(216, 183, 125, .38);
    box-shadow: 0 20px 36px rgba(0, 0, 0, .32);
}

.cast-card:hover .cast-photo img {
    transform: scale(1.04);
    filter: brightness(1.08);
}

.cast-name {
    margin-top: 11px;
    overflow: hidden;
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.cast-character {
    margin-top: 3px;
    overflow: hidden;
    color: var(--text-3);
    font-size: 11px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* =========================================================
   CREW
========================================================= */

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

.crew-card {
    min-width: 0;
    min-height: 118px;
    padding: 17px 18px;
    display: flex;
    align-items: center;
    gap: 17px;
    border: 1px solid var(--detail-line);
    border-left: 2px solid transparent;
    background: linear-gradient(135deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012));
    transition: border-color .25s ease, background .25s ease, transform .25s ease;
}

.crew-card:hover {
    border-left-color: var(--detail-gold);
    border-top-color: rgba(216, 183, 125, .28);
    border-right-color: rgba(216, 183, 125, .28);
    border-bottom-color: rgba(216, 183, 125, .28);
    background: linear-gradient(135deg, rgba(216, 183, 125, .07), rgba(255, 255, 255, .018));
    transform: translateY(-3px);
}

.crew-avatar {
    width: 72px;
    height: 84px;
    flex: 0 0 72px;
    overflow: hidden;
    border-radius: 3px;
    background: #191b1f;
    border: 1px solid rgba(255, 255, 255, .08);
}

.crew-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.crew-card:hover .crew-avatar img {
    transform: scale(1.045);
}

.crew-info {
    min-width: 0;
}

.crew-role {
    margin-bottom: 5px;
    color: var(--gold);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .08em;
}

.crew-name {
    overflow: hidden;
    color: var(--text);
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.crew-name-cn {
    margin-top: 3px;
    overflow: hidden;
    color: var(--text-3);
    font-size: 11px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* =========================================================
   TRAILER
========================================================= */

.trailer {
    position: relative;
    aspect-ratio: 16 / 7;
    overflow: hidden;
    background: #111;
    border: 1px solid var(--detail-line);
    border-radius: 4px;
    box-shadow: 0 24px 50px rgba(0, 0, 0, .25);
}

.trailer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.55);
}

.trailer iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.trailer-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-button {
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 50%;
    color: white;
    background: rgba(0, 0, 0, .25);
    transition: transform .25s ease, background .25s ease;
}

.play-button:hover {
    transform: scale(1.06);
    background: rgba(216, 183, 125, .18);
}

.play-button::before {
    content: "";
    margin-left: 4px;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 12px solid white;
}

/* =========================================================
   RATING
========================================================= */

.rating-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 82px;
}

.rating-score-box {
    padding-right: 72px;
    border-right: 1px solid var(--detail-line);
}

.rating-big {
    color: var(--gold-light);
    font-size: 68px;
    line-height: 1;
    font-weight: 500;
}

.rating-stars {
    margin-top: 12px;
    color: var(--detail-gold);
    letter-spacing: 3px;
    font-size: 15px;
}

.rating-count {
    margin-top: 10px;
    color: var(--text-3);
    font-size: 10px;
}

.rating-bars {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.rating-row {
    display: grid;
    grid-template-columns: 30px 1fr 45px;
    align-items: center;
    gap: 10px;
}

.rating-row-label {
    color: var(--text-3);
    font-size: 10px;
}

.rating-bar {
    height: 4px;
    background: #24252a;
}

.rating-bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #b69258, #e2c58d);
}

/* =========================================================
   RELATED MOVIES / MOVIE GRID
========================================================= */

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

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

.movie-grid .related-movie {
    min-width: 0;
}

.related-movie {
    transition: transform .4s cubic-bezier(.2, .7, .2, 1);
}

.related-movie:hover {
    /* transform: translateY(-5px); */
}

.related-poster {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: #141518;
    /* border: 1px solid rgba(255, 255, 255, .08); */
    /* box-shadow: 0 14px 28px rgba(0, 0, 0, .22); */
}

.related-poster::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, .6));
}

.related-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s cubic-bezier(.2, .7, .2, 1), filter .3s ease;
}

.related-movie:hover .related-poster img {
    transform: scale(1.045);
    filter: brightness(1.08);
}

.poster-rating {
    position: absolute;
    z-index: 2;
    right: 9px;
    bottom: 8px;
    color: white;
    font-size: 11px;
    font-weight: 600;
    text-shadow: 0 1px 5px rgba(0, 0, 0, .8);
}

.related-title {
    margin-top: 11px;
    overflow: hidden;
    color: var(--text);
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.related-meta {
    margin-top: 4px;
    overflow: hidden;
    color: var(--text-3);
    font-size: 10px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* =========================================================
   PAGE HEROES
========================================================= */

.page-hero {
    position: relative;
    min-height: 480px;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background: #0b0c0e;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(90deg, rgba(11, 12, 14, .96) 0%, rgba(11, 12, 14, .82) 45%, rgba(11, 12, 14, .54) 100%),
        linear-gradient(180deg, rgba(11, 12, 14, .16), #0b0c0e 100%),
        var(--hero-image, none);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    filter: saturate(.74);
    transform: scale(1.015);
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 78% 30%, rgba(151, 121, 81, .10), transparent 32%);
}

.page-hero-inner {
    position: relative;
    z-index: 2;
    width: min(var(--st-content), calc(100% - 48px));
    min-height: 480px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 62px 0;
}

.page-hero-copy {
    max-width: 760px;
}

.page-hero-kicker {
    color: var(--gold);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .2em;
}

.page-hero-title {
    margin: 13px 0 0;
    color: #f4f4f0;
    font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
    font-size: clamp(44px, 6vw, 76px);
    font-weight: 500;
    line-height: 1.04;
    letter-spacing: 0;
}

.page-hero-desc {
    max-width: 700px;
    margin: 19px 0 0;
    color: #a9aaa5;
    font-size: 14px;
    line-height: 1.95;
}

.page-hero-meta {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    gap: 9px 0;
}

.page-hero-meta span {
    padding: 0 16px;
    border-right: 1px solid var(--line);
    color: var(--text-2);
    font-size: 12px;
}

.page-hero-meta span:first-child {
    padding-left: 0;
}

.page-hero-meta span:last-child {
    border-right: 0;
}

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

.page-hero--list {
    min-height: 360px;
}

.page-hero--list .page-hero-inner {
    min-height: 360px;
    align-items: flex-end;
    padding: 52px 0;
}

/* =========================================================
   LIST TOOLBAR / FILTERS
========================================================= */

.content-wrap {
    width: min(var(--st-content), calc(100% - 48px));
    margin: 0 auto;
    padding: 0 0 96px;
}
.rating-wrap{
    padding:30px 0 96px;
}
.page-toolbar {
    padding: 28px 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.page-toolbar-count {
    color: var(--text-3);
    font-size: 11px;
}

.page-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.toolbar-chip {
    height: 34px;
    padding: 0 13px;
    display: flex;
    align-items: center;
    border: 1px solid var(--line);
    color: var(--text-3);
    font-size: 11px;
    white-space: nowrap;
    transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.toolbar-chip:hover,
.toolbar-chip.active {
    color: var(--text);
    border-color: rgba(216, 183, 125, .38);
    background: rgba(216, 183, 125, .06);
}

.page-toolbar-filters {
    justify-content: flex-end;
}
.p-h1 {
    font-size: 1rem;
    font-weight: 300;
    color: var(--text-3);
}
.page-filter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-3);
    font-size: 11px;
    white-space: nowrap;
}

.page-filter select {
    height: 34px;
    padding: 0 30px 0 10px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--bg-card);
    color: var(--text-2);
    font: inherit;
    outline: none;
}

.page-filter select:focus {
    border-color: var(--gold);
}

.load-end-toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 120;
    padding: 10px 16px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--bg-card);
    color: var(--text-2);
    font-size: 13px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(12px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.load-end-toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.filter-layout {
    display: grid;
    grid-template-columns: 224px minmax(0, 1fr);
    gap: 52px;
    align-items: start;
}

.filter-block {
    padding: 17px 0;
    border-bottom: 1px solid var(--line-soft);
}

.filter-block:first-child {
    padding-top: 0;
}

.filter-title {
    color: var(--text);
    font-size: 12px;
    font-weight: 600;
}

.filter-options {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.filter-option {
    padding: 5px 9px;
    border: 1px solid var(--line);
    color: var(--text-3);
    font-size: .8rem;
    transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.filter-option:hover,
.filter-option.active {
    color: var(--text);
    border-color: rgba(216, 183, 125, .35);
    background: rgba(216, 183, 125, .06);
}

.list-empty {
    padding: 70px 0;
    border: 1px dashed var(--line);
    color: var(--text-3);
    font-size: 12px;
    text-align: center;
}

/* =========================================================
   PEOPLE GRID
========================================================= */

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

.person-card {
    min-width: 0;
}

.person-photo {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #151619;
    border: 1px solid var(--line);
}

.person-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease, filter .3s ease;
}

.person-card:hover .person-photo img {
    transform: scale(1.04);
    filter: brightness(1.08);
}

.person-name {
    margin-top: 11px;
    overflow: hidden;
    color: var(--text);
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.person-role {
    margin-top: 4px;
    overflow: hidden;
    color: var(--text-3);
    font-size: 10px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* =========================================================
   PERSON HERO / FILMOGRAPHY
========================================================= */

.person-hero {
    position: relative;
    min-height: 570px;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background: #0b0c0e;
}

.person-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(90deg, rgba(11, 12, 14, .97) 0%, rgba(11, 12, 14, .82) 45%, rgba(11, 12, 14, .62) 100%),
        linear-gradient(180deg, rgba(11, 12, 14, .12), #0b0c0e 100%),
        var(--hero-image, none);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    filter: saturate(.72);
    transform: scale(1.015);
}

.person-hero-inner {
    position: relative;
    z-index: 2;
    width: min(var(--st-content), calc(100% - 48px));
    min-height: 570px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    align-items: stretch;
    gap: 58px;
    padding: 62px 0;
}

.person-portrait {
    width: 300px;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #151619;
    box-shadow: 0 30px 70px rgba(0, 0, 0, .45);
}

.person-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.person-hero-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.person-type {
    color: var(--gold);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .18em;
}

.person-title {
    margin: 11px 0 0;
    color: #f4f4f0;
    font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
    font-size: clamp(42px, 5vw, 68px);
    font-weight: 600;
    line-height: 1.06;
    letter-spacing: 0;
}
.person-original {
    font-size:1rem;
    margin-top: 12px;
    color: var(--text-3);
    font-size: 14px;
    letter-spacing: .03em;
}

.person-original .name-chinese,
.person-original .name-en {
    color: var(--text-3);
}

.person-original i {
    margin: 0 8px;
    color: var(--text-4);
    font-style: normal;
}

.person-en{
    font-size:1rem;
}
.person-bio {
    max-width: 720px;
    margin: 23px 0 0;
    color: #a9aaa5;
    font-size: 14px;
    line-height: 2;
}

.person-facts {
    margin-top: 26px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px 28px;
}

.person-fact {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 13px;
    color: var(--text-3);
    font-size: 11px;
}

.person-fact strong {
    color: var(--text-2);
    font-weight: 400;
}

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

/* =========================================================
   CODE / FANHAO DETAIL
========================================================= */
/*人物详情作品号*/
.person-works {
    border-top: 1px solid var(--line);
}
.person-work {
    display: grid;
    grid-template-columns: 120px 110px 1fr 100px;
    align-items: center;
    gap: 30px;
    min-height: 105px;
    border-bottom: 1px solid var(--line);
}
.person-work-poster {
    width: 72px;
    height: 88px;
    overflow: hidden;
}
.person-work-year {
    color: var(--code-gold);
    font-size: 11px;
    letter-spacing: .15em;
}
.person-work-poster--fanhao {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: linear-gradient(145deg, #1d1a17 0%, #111113 100%);
    border: 1px solid var(--line);
    color: var(--text);
    font-size: 10px;
    letter-spacing: .08em;
    line-height: 1.2;
    text-align: center;
}
.person-work-title {
    color: var(--text);
    font-size: 21px;
    font-weight: 300;
}
.person-work-type {
    margin-top: 4px;
    color: #69655f;
    font-size: 10px;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.code-hero {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    background:
        linear-gradient(112deg, rgba(12, 13, 15, .99) 0%, rgba(12, 13, 15, .9) 44%, rgba(12, 13, 15, .76) 100%),
        linear-gradient(180deg, rgba(197, 207, 173, .07), transparent 50%),
        #111210;
}

.code-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, transparent 0 64%, rgba(197, 207, 173, .08) 64% 64.2%, transparent 64.2% 100%),
        linear-gradient(0deg, transparent 0 82%, rgba(197, 207, 173, .05) 82% 82.2%, transparent 82.2% 100%);
}

.code-hero::after {
    content: "";
    position: absolute;
    top: -180px;
    right: -118px;
    width: 540px;
    height: 540px;
    border: 1px solid rgba(197, 207, 173, .08);
    transform: rotate(30deg);
}

.code-hero-inner {
    position: relative;
    z-index: 2;
    width: min(var(--st-content), calc(100% - 48px));
    min-height: 560px;
    margin: 0 auto;
    padding: 64px 0;
    display: grid;
    grid-template-columns: minmax(320px, 460px) minmax(0, 1fr);
    align-items: center;
    gap: 68px;
}

.code-logo {
    position: relative;
    width: min(480px, 100%);
    aspect-ratio: 16 / 9;
    padding: 28px 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .07) 0%, rgba(255, 255, 255, .015) 40%, rgba(0, 0, 0, .08) 100%),
        linear-gradient(145deg, #222522 0%, #151714 52%, #1a211c 100%);
    border: 1px solid rgba(197, 207, 173, .28);
    box-shadow:
        0 34px 72px rgba(0, 0, 0, .46),
        0 10px 24px rgba(0, 0, 0, .24),
        inset 0 1px 0 rgba(255, 255, 255, .08);
}

.code-logo::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #5f7158 0%, var(--code-gold) 52%, #6f755b 100%);
}

.code-logo::after {
    content: "";
    position: absolute;
    right: -72px;
    bottom: -92px;
    width: 240px;
    height: 240px;
    border: 1px solid rgba(197, 207, 173, .09);
    transform: rotate(45deg);
}

.code-logo-kicker {
    position: relative;
    z-index: 1;
    color: var(--code-gold);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .22em;
}

.code-logo-text {
    position: relative;
    z-index: 1;
    margin-top: 12px;
    color: #f2f1ec;
    font-size: clamp(36px, 5vw, 68px);
    font-weight: 650;
    line-height: 1;
    letter-spacing: 0;
    white-space: nowrap;
    text-shadow: 0 2px 22px rgba(197, 207, 173, .12);
}

.code-logo-text span {
    color: var(--code-gold);
}

.code-logo-meta {
    position: relative;
    z-index: 1;
    margin-top: 15px;
    color: #969893;
    font-size: 11px;
    letter-spacing: .16em;
}

.code-hero-copy {
    min-width: 0;
}

.code-kicker {
    color: var(--code-gold);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .22em;
}

.code-title {
    margin: 13px 0 0;
    color: #f4f4f0;
    font-size: clamp(42px, 5.4vw, 68px);
    font-weight: 520;
    line-height: 1.04;
    letter-spacing: 0;
}

.code-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    color: #85877e;
    font-size: 12px;
}

.code-rating-star {
    color: var(--code-gold);
    font-size: 18px;
    line-height: 1;
    transform: translateY(-1px);
}

.code-rating-score {
    color: #f1f0e9;
    font-size: 22px;
    font-weight: 650;
    line-height: 1;
}

.code-rating-count {
    letter-spacing: .01em;
}

.code-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 0;
    margin-top: 26px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.code-hero-meta span {
    padding: 0 16px;
    border-right: 1px solid var(--line);
    color: var(--text-2);
    font-size: 12px;
}

.code-hero-meta span:first-child {
    padding-left: 0;
}

.code-hero-meta span:last-child {
    border-right: 0;
}

.code-description {
    display: -webkit-box;
    max-width: 680px;
    margin: 23px 0 0;
    overflow: hidden;
    color: #a9aaa5;
    font-size: 13px;
    line-height: 1.85;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
}

.code-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 29px;
}

.code-actions .movie-action {
    height: 42px;
}

.code-actions .movie-action.primary.is-active {
    color: #171512;
    background: var(--code-gold);
    border-color: var(--code-gold);
}

.code-actions .movie-action.primary.is-active:hover {
    background: var(--code-gold-light);
    border-color: var(--code-gold-light);
}

.code-actions .movie-action:not(.primary) {
    color: var(--text-2);
}

.code-actions .movie-action:not(.primary):hover {
    color: var(--text);
}

.code-facts {
    width: min(var(--st-content), calc(100% - 48px));
    margin: 0 auto;
    padding: 28px 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.code-fact {
    padding: 0 30px;
    border-right: 1px solid rgba(255, 255, 255, .08);
}

.code-fact:first-child {
    padding-left: 0;
}

.code-fact:last-child {
    border-right: 0;
}

.code-fact-label {
    color: #656762;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.code-fact-value {
    display: block;
    margin-top: 8px;
    color: #e6e6e1;
    font-size: 14px;
    font-weight: 500;
}

.code-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--detail-line);
    border-left: 1px solid var(--detail-line);
}

.code-info-item {
    min-height: 104px;
    padding: 20px 22px;
    border-right: 1px solid var(--detail-line);
    border-bottom: 1px solid var(--detail-line);
    background: transparent;
}

.code-info-item span {
    color: #777a72;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.code-info-item strong {
    display: block;
    margin-top: 12px;
    overflow-wrap: anywhere;
    color: #efefe8;
    font-size: 15px;
    font-weight: 560;
}

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

.code-related-card {
    position: relative;
    min-height: 210px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    border: 1px solid rgba(216, 183, 125, .22);
    background: linear-gradient(145deg, #2a1f22 0%, #15171a 50%, #10231f 100%);
    box-shadow: 0 18px 42px rgba(0, 0, 0, .2);
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.code-related-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #c84d4d, var(--code-gold), #317f78);
    opacity: .8;
}

.code-related-card::after {
    content: "";
    position: absolute;
    right: -52px;
    bottom: -62px;
    width: 170px;
    height: 170px;
    border: 25px solid rgba(216, 183, 125, .08);
    transform: rotate(45deg);
}

.code-related-card:hover {
    border-color: rgba(235, 209, 161, .46);
    background: linear-gradient(145deg, #392429 0%, #181a1e 50%, #132a25 100%);
    transform: translateY(-5px);
}

.code-related-kicker {
    position: relative;
    z-index: 1;
    color: var(--code-gold);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .18em;
}

.code-related-code {
    position: relative;
    z-index: 1;
    margin-top: 12px;
    color: #f8f5ef;
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    white-space: nowrap;
}

.code-related-code span {
    color: var(--code-gold);
}

.code-related-meta {
    position: relative;
    z-index: 1;
    margin-top: 16px;
    color: var(--text-3);
    font-size: 11px;
}

.code-mini {
    width: fit-content;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    background: linear-gradient(135deg, #25282b, #0e1012 62%, #17201f);
    border: 1px solid rgba(216, 183, 125, .42);
    color: #f2f2ed;
    font-size: 25px;
    font-weight: 700;
    letter-spacing: 0;
}

.code-mini span {
    color: var(--code-gold);
}

.code-footer {
    margin-top: 80px;
    padding: 28px 0;
    border-top: 1px solid rgba(255, 255, 255, .08);
    color: #555752;
    font-size: 10px;
    text-align: center;
}

.code-toast {
    position: fixed;
    z-index: 220;
    left: 50%;
    bottom: 28px;
    max-width: calc(100% - 40px);
    padding: 12px 18px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(20, 22, 27, .96);
    color: #f0f0ec;
    font-size: 12px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .42);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 12px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
}

.code-toast.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

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

.actor-card {
    min-width: 0;
}

.actor-avatar {
    position: relative;
    aspect-ratio: 3 / 4;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .1);
    background: linear-gradient(150deg, #4d262a, #191b1f 72%);
    color: rgba(255, 255, 255, .92);
    font-size: 38px;
    font-weight: 500;
    transition: transform .35s cubic-bezier(.2, .7, .2, 1), border-color .35s ease, box-shadow .35s ease;
}

.actor-avatar::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 58%, rgba(0, 0, 0, .45));
}

.actor-avatar span {
    position: relative;
    z-index: 1;
}

.actor-card:nth-child(2) .actor-avatar {
    background: linear-gradient(150deg, #4b4023, #191b1f 72%);
}

.actor-card:nth-child(3) .actor-avatar {
    background: linear-gradient(150deg, #173c39, #191b1f 72%);
}

.actor-card:nth-child(4) .actor-avatar {
    background: linear-gradient(150deg, #283145, #191b1f 72%);
}

.actor-card:hover .actor-avatar {
    transform: translateY(-5px);
    border-color: rgba(216, 183, 125, .42);
    box-shadow: 0 22px 38px rgba(0, 0, 0, .28);
}

.actor-name {
    margin-top: 12px;
    overflow: hidden;
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.actor-role {
    margin-top: 4px;
    overflow: hidden;
    color: var(--text-3);
    font-size: 10px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* =========================================================
   FAVORITES
========================================================= */

.favorites-hero {
    min-height: 380px;
}

.favorites-hero .page-hero-inner {
    min-height: 380px;
}

.favorites-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    padding: 28px 0 24px;
    border-bottom: 1px solid var(--line);
}

.favorites-count {
    color: var(--text-3);
    font-size: 11px;
}

.favorites-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.favorites-search {
    position: relative;
    height: 38px;
}

.favorites-search svg {
    position: absolute;
    left: 12px;
    top: 50%;
    width: 15px;
    height: 15px;
    fill: none;
    stroke: #777974;
    stroke-width: 1.5;
    transform: translateY(-50%);
    pointer-events: none;
}

.favorites-search input {
    width: 230px;
    height: 38px;
    padding: 0 12px 0 36px;
    border: 1px solid var(--line);
    background: #101114;
    color: var(--text);
    font: inherit;
    font-size: 12px;
    outline: none;
    transition: border-color .2s ease;
}

.favorites-search input::placeholder {
    color: #555752;
}

.favorites-search input:focus {
    border-color: rgba(216, 183, 125, .55);
}

.favorites-sort {
    display: flex;
    align-items: center;
    gap: 7px;
}

.sort-chip {
    height: 34px;
    padding: 0 13px;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--text-3);
    font: inherit;
    font-size: 11px;
    white-space: nowrap;
    cursor: pointer;
    transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.sort-chip:hover,
.sort-chip.active {
    color: var(--text);
    border-color: rgba(216, 183, 125, .4);
    background: rgba(216, 183, 125, .06);
}

.favorites-panel {
    margin-top: 22px;
}

.favorites-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.favorite-head,
.favorite-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 178px 122px 54px;
    align-items: center;
    gap: 22px;
}

.favorite-head {
    padding: 0 22px 12px;
    color: var(--text-4);
    font-size: 10px;
    letter-spacing: .08em;
}

.favorite-row {
    min-height: 124px;
    padding: 18px 22px;
    border: 1px solid var(--line);
    background: linear-gradient(135deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012));
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.favorite-row:hover {
    border-color: rgba(216, 183, 125, .32);
    background: linear-gradient(135deg, rgba(216, 183, 125, .06), rgba(255, 255, 255, .018));
    transform: translateY(-2px);
}

.favorite-main {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
}

.favorite-art {
    width: 62px;
    height: 88px;
    flex: 0 0 62px;
    overflow: hidden;
    background: #151619;
    border: 1px solid var(--line);
}

.favorite-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.favorite-art.code-art {
    width: 94px;
    height: 56px;
    flex-basis: 94px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    background: linear-gradient(135deg, #25282b, #0e1012 62%, #17201f);
    border-color: rgba(216, 183, 125, .42);
    color: #f2f2ed;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: 0;
}

.code-art span {
    color: var(--favorites-gold);
}

.favorite-copy {
    min-width: 0;
}

.favorite-title {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.favorite-title a {
    overflow: hidden;
    color: var(--text);
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.favorite-title a:hover {
    color: var(--favorites-gold);
}

.favorite-type {
    flex: 0 0 auto;
    padding: 3px 7px;
    border: 1px solid var(--line);
    color: var(--text-3);
    font-size: 9px;
}

.favorite-description {
    max-width: 660px;
    margin: 7px 0 0;
    overflow: hidden;
    color: var(--text-3);
    font-size: 11px;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.favorite-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.favorite-tag {
    color: var(--text-4);
    font-size: 9px;
}

.favorite-cell {
    min-width: 0;
}

.favorite-cell-label {
    display: none;
}

.favorite-cell-value {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-2);
    font-size: 12px;
    white-space: nowrap;
}

.favorite-cell-value svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: #777974;
    stroke-width: 1.5;
}

.favorite-action {
    display: flex;
    justify-content: flex-end;
}

.favorite-remove {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(214, 106, 106, .35);
    border-radius: 50%;
    background: transparent;
    color: #b87a7a;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.favorite-remove:hover {
    color: #fff;
    border-color: rgba(214, 106, 106, .75);
    background: rgba(214, 106, 106, .12);
}

.favorite-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    background: transparent;
    color: #777974;
    cursor: pointer;
    transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.favorite-toggle svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
}

.favorite-toggle.is-favorite {
    color: #d66a6a;
    border-color: rgba(214, 106, 106, .45);
    background: rgba(214, 106, 106, .07);
}

.favorite-toggle.is-favorite svg {
    fill: rgba(214, 106, 106, .22);
}

.favorite-toggle:hover {
    color: #e58b8b;
    border-color: rgba(214, 106, 106, .6);
}

.favorite-toggle.is-removed {
    color: var(--text-4);
    border-color: var(--line);
    background: transparent;
}

.favorite-toggle.is-removed svg {
    fill: none;
}

.empty-state {
    padding: 80px 20px;
    border: 1px dashed var(--line);
    color: var(--text-3);
    font-size: 12px;
    text-align: center;
}

.toast,
.list-toast {
    position: fixed;
    z-index: 220;
    left: 50%;
    bottom: 28px;
    max-width: calc(100% - 40px);
    padding: 12px 18px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(20, 22, 27, .96);
    color: #f0f0ec;
    font-size: 12px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .42);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 12px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
}

.toast.is-visible,
.list-toast.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

/* =========================================================
   PLAYLISTS / SHELF
========================================================= */

.shelf-hero,
.schedule-hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    background: #090a0d;
}

.shelf-hero::before,
.schedule-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(9, 10, 13, .98) 0%, rgba(9, 10, 13, .86) 46%, rgba(9, 10, 13, .6) 100%),
        linear-gradient(180deg, rgba(9, 10, 13, .18), #090a0d 100%),
        var(--shelf-cover, var(--schedule-cover, none));
    background-position: center;
    background-size: cover;
    filter: saturate(.72);
    transform: scale(1.01);
}

.shelf-hero::after,
.schedule-hero::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 28%;
    background: linear-gradient(90deg, transparent, rgba(216, 183, 125, .08));
    transform: skewX(-14deg);
    transform-origin: top;
}

.shelf-hero-inner,
.schedule-hero-inner {
    position: relative;
    z-index: 2;
    width: min(var(--st-content), calc(100% - 48px));
    margin: 0 auto;
    padding: 58px 0 64px;
    display: flex;
    align-items: flex-end;
}

.shelf-hero-copy,
.schedule-hero-copy {
    max-width: 780px;
}

.shelf-hero-watermark {
    position: absolute;
    z-index: 1;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, .035);
    font-size: clamp(72px, 12vw, 170px);
    font-weight: 700;
    line-height: .8;
    letter-spacing: 0;
    pointer-events: none;
    user-select: none;
}

.shelf-hero-kicker,
.schedule-hero-kicker {
    color: var(--shelf-gold, var(--schedule-gold));
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .22em;
}

.shelf-hero-title,
.schedule-hero-title {
    margin: 13px 0 0;
    color: #f4f4f0;
    font-size: clamp(44px, 6vw, 72px);
    font-weight: 600;
    line-height: 1.04;
    letter-spacing: 0;
}

.shelf-hero-desc,
.schedule-hero-desc {
    max-width: 690px;
    margin: 18px 0 0;
    color: #a9aaa5;
    font-size: 14px;
    line-height: 1.9;
}

.shelf-hero-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px 0;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.shelf-hero-meta span {
    padding: 0 16px;
    border-right: 1px solid rgba(255, 255, 255, .08);
    color: #b9bab6;
    font-size: 12px;
}

.shelf-hero-meta span:first-child {
    padding-left: 0;
}

.shelf-hero-meta span:last-child {
    border-right: 0;
}

.shelf-hero-meta svg {
    width: 14px;
    height: 14px;
    margin-right: 7px;
    fill: none;
    stroke: #777974;
    stroke-width: 1.5;
    vertical-align: -2px;
}

.shelf-hero-user {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.my-list-avatar {
    position: relative;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 50%;
    background: #181c1a;
    overflow: hidden;
    cursor: pointer;
    padding: 0;
}

.my-list-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.my-list-avatar .avatar-plus {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    color: #d8b477;
    font-size: 22px;
    line-height: 1;
}

.my-list-avatar.is-fallback .avatar-plus {
    display: flex;
}

.avatar-upload-modal {
    position: fixed;
    inset: 0;
    z-index: 240;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.avatar-upload-modal[hidden] {
    display: none;
}

.avatar-upload-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(4, 5, 7, .76);
    backdrop-filter: blur(5px);
}

.avatar-upload-panel {
    position: relative;
    width: min(360px, 100%);
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 12px;
    background: #111318;
    box-shadow: 0 28px 70px rgba(0, 0, 0, .55);
}

.avatar-upload-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
    background: transparent;
    color: #85877e;
    font-size: 20px;
    cursor: pointer;
}

.avatar-upload-panel h3 {
    margin: 0;
    color: #f0f0eb;
    font-size: 20px;
    font-weight: 600;
}

.avatar-upload-panel p {
    margin: 8px 0 18px;
    color: #85877e;
    font-size: 12px;
}

.avatar-preview {
    display: none;
    width: 96px;
    height: 96px;
    margin: 0 auto 16px;
    border-radius: 50%;
    object-fit: cover;
    background: #0b0d0c;
}

.avatar-upload-panel input[type="file"] {
    width: 100%;
    margin-bottom: 14px;
    color: #85877e;
    font-size: 12px;
}

.avatar-upload-panel > button:not(.avatar-upload-close) {
    width: 100%;
    height: 42px;
    border: 1px solid var(--detail-gold);
    border-radius: 8px;
    background: var(--detail-gold);
    color: #171512;
    font-weight: 600;
    cursor: pointer;
}

.shelf-section {
    padding: 64px 0 0;
}

.shelf-section:last-child {
    padding-bottom: 0;
}

.shelf-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.shelf-header h2 {
    margin: 0;
    color: var(--text);
    font-size: 26px;
    font-weight: 500;
}

.shelf-header p {
    margin: 6px 0 0;
    color: var(--text-3);
    font-size: 11px;
}

.shelf-more {
    flex: 0 0 auto;
    color: var(--text-3);
    font-size: 11px;
}

.shelf-more:hover {
    color: var(--shelf-gold);
}

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

.playlist-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .08);
    background: linear-gradient(135deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012));
    transition: border-color .22s ease, background .22s ease, transform .22s ease;
}

.playlist-card::before {
    content: "";
    position: absolute;
    z-index: 3;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, #c84d4d, var(--shelf-gold), #317f78);
    transition: height .28s ease;
}

.playlist-card:hover {
    border-color: rgba(216, 183, 125, .38);
    background: linear-gradient(135deg, rgba(216, 183, 125, .06), rgba(255, 255, 255, .018));
    transform: translateY(-4px);
}

.playlist-card:hover::before {
    height: 100%;
}

.playlist-cover {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #151619;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.playlist-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 58%, rgba(0, 0, 0, .42));
    pointer-events: none;
}

.playlist-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s cubic-bezier(.2, .7, .2, 1), filter .3s ease;
}

.playlist-card:hover .playlist-cover img {
    transform: scale(1.045);
    filter: brightness(1.08);
}

.playlist-rank {
    position: absolute;
    left: 12px;
    bottom: 10px;
    z-index: 2;
    min-width: 30px;
    height: 30px;
    padding: 0 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(9, 10, 13, .86);
    border: 1px solid rgba(216, 183, 125, .38);
    color: var(--shelf-gold);
    font-size: 15px;
    font-weight: 700;
}

.playlist-body {
    padding: 16px;
}

.playlist-name {
    overflow: hidden;
    color: var(--text);
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.playlist-creator {
    margin-top: 6px;
    overflow: hidden;
    color: var(--text-3);
    font-size: 10px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.playlist-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 13px;
    color: #666863;
    font-size: 10px;
}

.playlist-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.playlist-meta svg {
    width: 13px;
    height: 13px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
}

.create-card {
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .015);
    color: var(--text-3);
    font-size: 12px;
    transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.create-card:hover {
    color: var(--shelf-gold);
    border-color: rgba(216, 183, 125, .4);
    background: rgba(216, 183, 125, .04);
}

.create-card-inner {
    padding: 34px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.create-card-plus {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(216, 183, 125, .42);
    color: var(--shelf-gold);
    font-size: 24px;
    font-weight: 300;
}

/* =========================================================
   SCHEDULE / RELEASE / TV
========================================================= */

.schedule-tabs {
    top: 74px;
    z-index: 40;
    margin-bottom:60px;
    background: rgba(9, 10, 13, .92);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 14px 36px rgba(0, 0, 0, .18);
    backdrop-filter: blur(16px);
}

.schedule-tabs-inner {
    width: min(var(--st-content), calc(100% - 48px));
    min-height: 62px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4px;
}

.schedule-tab {
    position: relative;
    height: 62px;
    padding: 0 22px;
    display: flex;
    align-items: center;
    color: var(--text-3);
    font-size: 13px;
    white-space: nowrap;
    transition: color .2s ease, background .2s ease;
}

.schedule-tab:hover {
    color: var(--text);
    background: rgba(255, 255, 255, .025);
}

.schedule-tab.active {
    color: var(--text);
}

.schedule-tab.active::after {
    content: "";
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: -1px;
    height: 2px;
    background: var(--schedule-gold);
}

.schedule-panel {
    display: none;
}

.schedule-panel.is-active {
    display: block;
}



.schedule-count {
    flex: 0 0 auto;
    color: var(--text-3);
    font-size: 11px;
}

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

.schedule-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .08);
    background: linear-gradient(135deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012));
    transition: border-color .22s ease, background .22s ease, transform .22s ease;
}

.schedule-card:hover {
    border-color: rgba(216, 183, 125, .38);
    background: linear-gradient(135deg, rgba(216, 183, 125, .06), rgba(255, 255, 255, .018));
    transform: translateY(-4px);
}

.schedule-poster {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: #151619;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.schedule-poster::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, .5));
    pointer-events: none;
}

.schedule-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s cubic-bezier(.2, .7, .2, 1), filter .3s ease;
}

.schedule-card:hover .schedule-poster img {
    transform: scale(1.045);
    filter: brightness(1.08);
}

.schedule-date {
    position: absolute;
    z-index: 2;
    left: 10px;
    bottom: 10px;
    min-width: 44px;
    padding: 6px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(9, 10, 13, .86);
    border: 1px solid rgba(216, 183, 125, .4);
}

.schedule-date strong {
    color: #f4f4f0;
    font-size: 17px;
    line-height: 1;
}

.schedule-date small {
    margin-top: 4px;
    color: var(--schedule-gold);
    font-size: 8px;
    letter-spacing: .08em;
}

.schedule-body {
    padding: 16px;
}

.schedule-title {
    overflow: hidden;
    color: var(--text);
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.schedule-meta {
    margin-top: 7px;
    overflow: hidden;
    color: var(--text-3);
    font-size: 10px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.schedule-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 12px;
    color: #ebd1a1;
    font-size: 12px;
    font-weight: 600;
}

.schedule-rating-star {
    color: var(--schedule-gold);
    font-size: 12px;
}

/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    margin-top: 80px;
    background: linear-gradient(180deg, #0d0e10 0%, #090a0c 100%);
    border-top: 1px solid var(--line);
}

.site-footer-main {
    width: min(var(--st-content), calc(100% - 48px));
    margin: 0 auto;
    padding: 70px 0 62px;
    display: grid;
    grid-template-columns: minmax(300px, 2.4fr) 1fr 1fr 1fr .8fr;
    gap: 60px;
}

.footer-brand {
    max-width: 430px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.footer-description {
    max-width: 390px;
    margin: 24px 0 20px;
    color: var(--text-3);
    font-size: 12px;
    line-height: 2;
}

.footer-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #5e605d;
    font-size: 8px;
    letter-spacing: .14em;
}

.footer-meta i {
    width: 20px;
    height: 1px;
    background: #3b3d3a;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-column h3 {
    margin: 3px 0 20px;
    color: var(--text);
    font-size: .9rem;
    font-weight: 600;
}

.footer-column a {
    width: fit-content;
    padding: 5px 0;
    color: var(--text-3);
    font-size: 0.88rem;
}

.footer-column a:hover {
    color: var(--gold);
}

.footer-status {
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 7px;
    color: #666863;
    font-size: 9px;
}

.status-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #8b9b7b;
    box-shadow: 0 0 8px rgba(139, 155, 123, .45);
}

.site-footer-bottom {
    width: min(var(--st-content), calc(100% - 48px));
    min-height: 65px;
    margin: 0 auto;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-bottom-left,
.footer-bottom-right {
    display: flex;
    align-items: center;
}

.footer-bottom-left {
    gap: 12px;
    color: #5d5f5b;
    font-size: 9px;
}

.footer-divider {
    width: 20px;
    height: 1px;
    background: #30322f;
}

.footer-bottom-right {
    gap: 20px;
}

.footer-bottom-right a {
    color: #62645f;
    font-size: 9px;
}

.footer-bottom-right a:hover {
    color: var(--text-2);
}

/* =========================================================
   LIST MODAL
========================================================= */

body.modal-open {
    overflow: hidden;
}

.list-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.list-modal.is-open {
    display: flex;
}

.list-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 5, 7, .76);
    backdrop-filter: blur(6px);
}

.list-modal-panel {
    position: relative;
    z-index: 1;
    width: min(520px, 100%);
    max-height: min(680px, 86vh);
    overflow: auto;
    padding: 28px;
    background: #111318;
    border: 1px solid rgba(255, 255, 255, .13);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .58), 0 8px 24px rgba(0, 0, 0, .35);
}

.list-modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.list-modal-kicker {
    color: var(--detail-gold);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .18em;
}

.list-modal-head h2 {
    margin: 7px 0 0;
    color: #f1f1ed;
    font-size: 25px;
    font-weight: 500;
}

.list-modal-close {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--detail-line);
    background: transparent;
    color: #8b8d88;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.list-modal-close:hover {
    color: #f1f1ed;
    border-color: rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .04);
}

.list-modal-body {
    color: #c6c7c2;
}

.list-create-view p {
    margin: 0 0 20px;
    color: #9b9d97;
    font-size: 13px;
    line-height: 1.8;
}

.list-create-form {
    display: grid;
    gap: 10px;
}

.list-create-form label {
    color: #7e807a;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .08em;
}

.list-create-form input {
    height: 46px;
    padding: 0 14px;
    border: 1px solid var(--detail-line);
    background: #0d0f13;
    color: #f1f1ed;
    font: inherit;
    font-size: 13px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.list-create-form input:focus {
    border-color: rgba(216, 183, 125, .5);
    box-shadow: 0 0 0 3px rgba(216, 183, 125, .08);
}

.list-create-form input.is-invalid {
    border-color: rgba(218, 102, 102, .72);
}

.list-create-form button {
    height: 46px;
    border: 1px solid var(--detail-gold);
    background: var(--detail-gold);
    color: #171512;
    font: inherit;
    font-size: 12px;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease;
}

.list-create-form button:hover {
    background: var(--detail-gold-light);
    border-color: var(--detail-gold-light);
}

.list-modal.show {
    display: flex;
}

.list-modal-mask {
    position: absolute;
    inset: 0;
    background: rgba(4, 5, 7, .76);
    backdrop-filter: blur(6px);
}

.list-modal-box {
    position: relative;
    width: min(440px, 100%);
    max-height: min(680px, 86vh);
    overflow: auto;
    padding: 30px 28px 26px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 10px;
    background: #111318;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .58), 0 8px 24px rgba(0, 0, 0, .35);
    transform: translateY(14px);
    transition: transform .25s ease;
}

.list-modal.show .list-modal-box {
    transform: translateY(0);
}

.list-modal .list-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
}

.list-modal-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border: 1px solid rgba(216, 183, 125, .28);
    border-radius: 12px;
    color: #f0d9a9;
    background: rgba(216, 183, 125, .08);
    font-size: 20px;
}

.list-modal-box h3 {
    margin: 0;
    color: #f3f3ef;
    font-size: 22px;
    font-weight: 600;
}

.list-modal-desc {
    margin: 8px 0 20px;
    color: #8d8f89;
    font-size: 13px;
    line-height: 1.7;
}

.list-select-wrap {
    position: relative;
    display: flex;
    align-items: center;
    height: 48px;
    margin-bottom: 14px;
    border: 1px solid var(--detail-line);
    border-radius: 8px;
    background: #0d0f13;
}

.list-select-wrap > i:first-child {
    margin-left: 15px;
    color: #777a72;
}

.list-select-wrap > i:last-child {
    position: absolute;
    right: 15px;
    color: #62655f;
    pointer-events: none;
}

.list-select-wrap select {
    width: 100%;
    height: 100%;
    padding: 0 40px 0 12px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #d8d9d4;
    font-size: 14px;
    appearance: none;
    cursor: pointer;
}

.list-select-wrap select option {
    background: #111318;
    color: #f1f1ed;
}

.list-submit {
    width: 100%;
    height: 48px;
    border: 1px solid var(--detail-gold);
    border-radius: 8px;
    background: var(--detail-gold);
    color: #171512;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.list-submit:hover {
    background: var(--detail-gold-light);
    border-color: var(--detail-gold-light);
    transform: translateY(-1px);
}

.create-list-btn,
.subscribe {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    border: 1px solid var(--detail-gold);
    border-radius: 8px;
    background: var(--detail-gold);
    color: #171512;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.list-modal-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, .06);
}

.list-modal-footer a {
    color: #777a72;
    font-size: 12px;
    text-decoration: none;
}

.list-modal-footer a:hover {
    color: #f0d9a9;
}

#listresult {
    margin-top: 12px;
    color: #9fb085;
    font-size: 12px;
    text-align: center;
}

.list-picker-title {
    margin-bottom: 14px;
    color: #8d8f89;
    font-size: 11px;
}

.list-options {
    display: grid;
    gap: 9px;
    margin-bottom: 18px;
}

.list-option {
    width: 100%;
    min-height: 58px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid var(--detail-line);
    background: #15171c;
    color: #d8d9d4;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.list-option:hover {
    border-color: rgba(216, 183, 125, .4);
    background: rgba(216, 183, 125, .06);
    transform: translateY(-1px);
}

.list-option.is-added {
    border-color: rgba(216, 183, 125, .38);
    background: rgba(216, 183, 125, .08);
}

.list-option-name {
    overflow: hidden;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.list-option-meta {
    flex: 0 0 auto;
    color: #777974;
    font-size: 10px;
    white-space: nowrap;
}

.list-option.is-added .list-option-meta {
    color: var(--detail-gold);
}

.list-new-button,
.list-back {
    border: 0;
    background: transparent;
    color: var(--detail-gold);
    font: inherit;
    font-size: 12px;
    cursor: pointer;
}

.list-new-button:hover,
.list-back:hover {
    color: var(--detail-gold-light);
}

.list-back {
    margin-top: 18px;
    color: #777974;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1200px) {
    .site-main-nav {
        margin-left: 25px;
    }

    .nav-item > a {
        padding: 0 10px;
    }

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

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

    .site-footer-main {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 40px;
    }

    .footer-column-last {
        display: none;
    }

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

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

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

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

@media (max-width: 1100px) {
    .movie-hero-inner {
        grid-template-columns: 260px minmax(0, 1fr);
        gap: 42px;
    }

    .movie-poster {
        width: 260px;
        min-width: 260px;
    }

    .movie-title {
        font-size: 60px;
    }

    .overview-grid {
        gap: 52px;
    }

    .code-hero-inner {
        grid-template-columns: minmax(300px, 390px) minmax(0, 1fr);
        gap: 48px;
    }

    .code-logo {
        padding: 25px;
    }
}

@media (max-width: 1000px) {
    .movie-hero-inner {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 35px;
    }

    .movie-poster {
        width: 220px;
        min-width: 220px;
    }

    .movie-title {
        font-size: 48px;
    }

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

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

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

    .overview-grid {
        gap: 40px;
    }

    .person-hero-inner {
        grid-template-columns: 240px minmax(0, 1fr);
        gap: 36px;
    }

    .person-portrait {
        width: 240px;
    }

    .filter-layout {
        grid-template-columns: 190px minmax(0, 1fr);
        gap: 32px;
    }

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

@media (max-width: 900px) {
    .favorite-head {
        display: none;
    }

    .favorite-row {
        grid-template-columns: 1fr auto;
        gap: 14px;
        padding: 16px;
    }

    .favorite-main {
        grid-column: 1 / -1;
    }

    .favorite-cell {
        display: flex;
        align-items: center;
        gap: 8px;
        grid-column: 1;
    }

    .favorite-cell-label {
        display: block;
        color: var(--text-4);
        font-size: 9px;
    }

    .favorite-action {
        grid-column: 2;
        grid-row: 2 / span 2;
        align-self: center;
    }
}

@media (max-width: 800px) {
    .site-header {
        height: 66px;
    }

    .site-header-inner {
        width: calc(100% - 32px);
    }

    .site-brand-text {
        display: none;
    }

    .site-brand-mark {
        width: 32px;
        height: 32px;
    }

    .site-main-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 100;
        width: min(320px, 82vw);
        height: 100%;
        margin: 0;
        padding: 84px 22px 28px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        background: #0f1317;
        border-left: 1px solid var(--line);
        box-shadow: -28px 0 60px rgba(0, 0, 0, .5);
        transform: translateX(100%);
        transition: transform .28s ease;
        overflow-y: auto;
        scrollbar-width: none;
    }

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

    .site-main-nav.nav-open {
        transform: translateX(0);
    }

    .site-main-nav .nav-item {
        height: auto;
        display: block;
    }

    .site-main-nav .nav-item > a {
        width: 100%;
        height: auto;
        padding: 13px 10px;
        font-size: 15px;
    }

    .site-main-nav .nav-item.has-dropdown > a::after {
        margin-left: auto;
    }

    .nav-dropdown {
        display: none;
    }

    .site-main-nav .nav-item.open > .nav-dropdown {
        display: block;
        position: static;
        width: auto;
        padding: 0 0 10px 14px;
        border: 0;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .site-main-nav .nav-item.open > .nav-dropdown a {
        display: block;
        padding: 9px 10px;
        color: var(--text-3);
        font-size: 13px;
    }

    .header-search {
        width: 34px;
        height: 34px;
    }

    .header-user {
        width: 34px;
        height: 34px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .site-search-panel {
        top: 66px;
    }

    .site-search-panel-inner {
        width: calc(100% - 32px);
    }

    .movie-navigation {
        width: calc(100% - 32px);
    }

    .movie-navigation-label {
        display: none;
    }

    .movie-navigation-links {
        width: 100%;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .movie-navigation-links::-webkit-scrollbar {
        display: none;
    }

    .movie-hero,
    .movie-hero-inner {
        min-height: auto;
    }

    .movie-hero-backdrop {
        background-image:
            linear-gradient(180deg, rgba(11, 12, 14, .75), #0b0c0e 72%),
            url("https://image.tmdb.org/t/p/original/8Gxv8gSFCU0XGDykEGv7zR1n2ua.jpg");
        background-position: center, center top;
    }

    .movie-hero-inner {
        width: calc(100% - 32px);
        min-height: auto;
        padding: 55px 0 70px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 35px;
    }

    .movie-poster {
        width: min(304px, 100%);
        min-width: 0;
        align-self: center;
    }

    .movie-hero-content {
        width: 100%;
    }

    .movie-title {
        font-size: 45px;
    }

    .movie-synopsis {
        max-width: none;
    }

    .movie-content,
    .code-content,
    .shelf-content,
    .schedule-content,
    .favorites-content {
        width: calc(100% - 32px);
    }

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

    .overview-facts {
        padding-left: 0;
        border-left: 0;
        border-top: 1px solid var(--line);
        padding-top: 20px;
    }

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

    .still:first-child {
        grid-row: auto;
    }

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

    .rating-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .rating-score-box {
        padding-right: 0;
        padding-bottom: 25px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .site-footer-main {
        width: calc(100% - 32px);
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 40px;
        padding: 55px 0 45px;
    }

    .page-hero-inner,
    .content-wrap {
        width: calc(100% - 32px);
    }

    .page-hero,
    .page-hero-inner {
        min-height: auto;
    }

    .page-hero-inner {
        padding: 52px 0 62px;
        align-items: flex-start;
    }

    .page-hero--list .page-hero-inner {
        min-height: auto;
    }

    .filter-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .filter-panel {
        position: static;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0 18px;
        padding-bottom: 4px;
        border-bottom: 1px solid var(--line);
    }

    .filter-block {
        border-bottom: 0;
    }

    .person-hero,
    .person-hero-inner {
        min-height: auto;
    }

    .person-hero-inner {
        grid-template-columns: 210px minmax(0, 1fr);
        gap: 30px;
        padding: 55px 0 65px;
    }

    .person-portrait {
        width: 210px;
    }

    .person-facts {
        grid-template-columns: 1fr;
    }

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

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

    .code-hero,
    .code-hero-inner {
        min-height: auto;
    }

    .code-hero-inner {
        width: calc(100% - 32px);
        padding: 58px 0 72px;
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .code-logo {
        width: min(480px, 100%);
    }

    .code-title {
        font-size: 50px;
    }

    .code-facts,
    .code-content {
        width: calc(100% - 32px);
    }

    .code-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 24px;
    }

    .code-fact:nth-child(2n) {
        border-right: 0;
    }

    .code-info-grid,
    .code-related,
    .actor-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .shelf-hero,
    .shelf-hero-inner,
    .schedule-hero,
    .schedule-hero-inner {
        min-height: auto;
    }

    .shelf-hero-inner,
    .shelf-content,
    .schedule-hero-inner,
    .schedule-tabs-inner,
    .schedule-content {
        width: calc(100% - 32px);
    }

    .shelf-hero-inner,
    .schedule-hero-inner {
        padding: 52px 0 60px;
    }

    .shelf-hero-watermark {
        display: none;
    }

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

@media (max-width: 600px) {
    .container {
        width: calc(100% - 24px);
    }

    .site-header-inner {
        width: calc(100% - 24px);
    }

    .site-main-nav {
        margin-left: 0;
    }

    .nav-item > a {
        padding: 0 8px;
        font-size: 12px;
    }

    .movie-navigation {
        width: calc(100% - 24px);
    }

    .movie-navigation-links a {
        padding: 0 14px;
    }

    .movie-navigation-links a.active::after {
        left: 14px;
        right: 14px;
    }

    .movie-hero-inner {
        width: calc(100% - 24px);
    }

    .movie-title {
        font-size: 38px;
    }

    .movie-original-title {
        font-size: 12px;
    }

    .movie-rating-score {
        font-size: 20px;
    }

    .movie-meta-item {
        padding-left: 10px;
        padding-right: 10px;
    }
    .movie-actions {
        flex-wrap: wrap;
    }

    .movie-content,
    .code-content,
    .shelf-content,
    .schedule-content,
    .favorites-content {
        width: calc(100% - 24px);
    }

    .movie-section,
    .code-section {
        padding: 55px 0;
    }

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

    .section-header h2 {
        font-size: 21px;
    }

    .stills-grid {
        grid-template-columns: 1fr 1fr;
        gap: 5px;
    }

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

    .cast-card {
        min-width: 0;
    }

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

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

    .related-movie {
        min-width: 0;
    }

    .trailer {
        aspect-ratio: 16 / 9;
    }

    .site-footer {
        margin-top: 60px;
    }

    .site-footer-main {
        width: calc(100% - 24px);
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 38px 25px;
        padding: 45px 0 40px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        max-width: none;
    }

    .footer-description {
        max-width: none;
    }

    .site-footer-bottom {
        width: calc(100% - 24px);
        min-height: 85px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 10px;
    }

    .page-hero-inner,
    .content-wrap {
        width: calc(100% - 24px);
    }

    .page-hero-title {
        font-size: 40px;
    }

    .page-hero--list .page-hero-title {
        font-size: 38px;
    }

    .page-toolbar {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

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

    .filter-block {
        border-bottom: 1px solid var(--line-soft);
    }

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

    .people-grid {
        display: flex;
        overflow-x: auto;
        gap: 13px;
        padding-bottom: 5px;
        scrollbar-width: none;
    }

    .people-grid::-webkit-scrollbar {
        display: none;
    }

    .person-card {
        flex: 0 0 145px;
    }

    .person-hero-inner {
        grid-template-columns: 1fr;
        align-items: flex-start;
        gap: 32px;
        padding-top: 48px;
    }

    .person-portrait {
        width: 180px;
    }

    .person-title {
        font-size: 38px;
    }

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

    .code-hero-inner {
        width: calc(100% - 24px);
        padding-top: 46px;
    }

    .code-logo {
        padding: 22px;
    }

    .code-logo-text {
        font-size: 48px;
    }

    .code-title {
        font-size: 42px;
    }

    .code-facts,
    .code-content {
        width: calc(100% - 24px);
    }

    .code-fact {
        padding: 8px 14px;
    }

    .code-fact:first-child {
        padding-left: 0;
    }

    .code-section {
        padding: 62px 0;
    }

    .code-info-grid,
    .code-related,
    .actor-grid {
        grid-template-columns: 1fr;
    }

    .shelf-hero-inner,
    .shelf-content,
    .schedule-hero-inner,
    .schedule-tabs-inner,
    .schedule-content {
        width: calc(100% - 24px);
    }

    .shelf-hero-title,
    .schedule-hero-title {
        font-size: 40px;
    }

    .shelf-section {
        padding-top: 52px;
    }

    .shelf-header {
        align-items: flex-start;
    }

    .playlist-grid,
    .schedule-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .playlist-card {
        display: grid;
        grid-template-columns: 132px minmax(0, 1fr);
    }

    .playlist-cover {
        aspect-ratio: auto;
        min-height: 100%;
        border-bottom: 0;
        border-right: 1px solid rgba(255, 255, 255, .07);
    }

    .playlist-body {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .create-card {
        min-height: 120px;
    }

    .schedule-tabs-inner {
        overflow-x: auto;
        scrollbar-width: none;
    }

    .schedule-tabs-inner::-webkit-scrollbar {
        display: none;
    }

    .schedule-tab {
        padding: 0 17px;
    }

    .schedule-tab.active::after {
        left: 17px;
        right: 17px;
    }

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

    .favorites-content {
        width: calc(100% - 24px);
    }

    .favorites-controls {
        width: 100%;
    }

    .favorites-search {
        flex: 1 1 100%;
    }

    .favorites-search input {
        width: 100%;
    }

    .favorites-sort {
        width: 100%;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .favorites-sort::-webkit-scrollbar {
        display: none;
    }

    .favorite-art {
        width: 52px;
        height: 74px;
        flex-basis: 52px;
    }

    .favorite-art.code-art {
        width: 84px;
        height: 50px;
        flex-basis: 84px;
        font-size: 18px;
    }

    .list-modal {
        padding: 12px;
        align-items: flex-end;
    }

    .list-modal-panel {
        width: 100%;
        max-height: 82vh;
        padding: 22px;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }

    .site-search-panel-inner {
        width: calc(100% - 24px);
    }
}

@media (max-width: 480px) {
    .cast-grid,
    .related-movies {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 420px) {
    .movie-title {
        font-size: 34px;
    }

    .movie-meta {
        display: flex;
        gap:9px;
    }

    .movie-meta-item {
        padding-left: 0;
        border-right: 0;
    }

    .page-hero-title {
        font-size: 34px;
    }

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

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

/* =========================================================
   FONT OVERRIDE
   放在最后，确保 !important 生效
========================================================= */

*,
*::before,
*::after {
    font-family:
        "Inter",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        "PingFang SC",
        "Microsoft YaHei",
        sans-serif !important;
}

.fa,
.fa-solid,
.fas,
.fa-regular,
.far {
    font-family: "Font Awesome 6 Free" !important;
}

.fa-brands,
.fab {
    font-family: "Font Awesome 6 Brands" !important;
}

.fa::before,
.fa-solid::before,
.fas::before,
.fa-regular::before,
.far::before {
    font-family: "Font Awesome 6 Free" !important;
}

.fa-brands::before,
.fab::before {
    font-family: "Font Awesome 6 Brands" !important;
}

.site-main-nav .nav-item > a.active {
    color: var(--text);
}

.list-hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    background: #0b0c0e;
}

.list-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(9, 10, 13, .98) 0%,
            rgba(9, 10, 13, .86) 45%,
            rgba(9, 10, 13, .58) 100%
        ),
        linear-gradient(
            180deg,
            rgba(9, 10, 13, .18),
            #090a0d 100%
        ),
        var(--list-cover, none);
    background-position: center;
    background-size: cover;
    filter: saturate(.72) contrast(1.04);
    transform: scale(1.01);
}

.list-hero::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 30%;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(216, 183, 125, .08)
        );
    transform: skewX(-14deg);
    transform-origin: top;
}

.list-hero-inner {
    position: relative;
    z-index: 2;
    width: min(var(--st-content), calc(100% - 48px));
    margin: 0 auto;
    padding: 62px 0 70px;
    display: flex;
    align-items: flex-end;
}

.list-hero-copy {
    max-width: 780px;
}


.list-hero-kicker {
    color: var(--list-gold);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .22em;
}

.list-hero-title {
    margin: 13px 0 0;
    color: #f4f4f0;
    
    font-size: clamp(46px, 6vw, 78px);
    font-weight: 600;
    line-height: 1.04;
    letter-spacing: 0;
}

.list-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 0;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.list-hero-meta span {
    padding: 0 16px;
    border-right: 1px solid rgba(255, 255, 255, .08);
    color: #b9bab6;
    font-size: 12px;
}

.list-hero-meta span:first-child {
    padding-left: 0;
}

.list-hero-meta span:last-child {
    border-right: 0;
}

.list-hero-meta svg {
    width: 14px;
    height: 14px;
    margin-right: 7px;
    fill: none;
    stroke: #777974;
    stroke-width: 1.5;
    vertical-align: -2px;
}

.list-description {
    max-width: 720px;
    margin: 21px 0 0;
    color: #a9aaa5;
    font-size: 14px;
    line-height: 2;
}

.list-edit-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 0 0 0 4px;
    padding: 0 11px;
    height: 30px;
    border: 1px solid rgba(216, 183, 125, .32);
    border-radius: 999px;
    background: rgba(216, 183, 125, .06);
    color: #d3ba8b;
    cursor: pointer;
    font: inherit;
    font-size: 11px;
    line-height: 1;
    white-space: nowrap;
    transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.list-edit-btn:hover {
    border-color: rgba(216, 183, 125, .72);
    background: rgba(216, 183, 125, .14);
    color: #f2dba9;
}

.list-edit-btn svg {
    width: 12px;
    height: 12px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
}

.list-edit-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.list-edit-modal[hidden] {
    display: none;
}

.list-edit-backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    border: 0;
    background: rgba(4, 5, 7, .78);
    backdrop-filter: blur(5px);
}

.list-edit-panel {
    position: relative;
    z-index: 1;
    width: min(520px, 100%);
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 14px;
    background: #111318;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .58);
}

.list-edit-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
    background: transparent;
    color: #85877e;
    font-size: 20px;
    cursor: pointer;
}

.list-edit-panel h3 {
    margin: 0;
    color: #f0f0eb;
    font-size: 22px;
    font-weight: 600;
}

.list-edit-panel p {
    margin: 8px 0 20px;
    color: #85877e;
    font-size: 12px;
}

.list-edit-panel label {
    display: block;
    margin: 12px 0 7px;
    color: #85877e;
    font-size: 11px;
}

.list-edit-panel input,
.list-edit-panel textarea {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #0d0f13;
    color: #e6e7e2;
    font: inherit;
    font-size: 13px;
    outline: none;
    resize: vertical;
}

.list-edit-panel input:focus,
.list-edit-panel textarea:focus {
    border-color: rgba(216, 183, 125, .5);
}

.list-edit-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.list-edit-actions button {
    height: 36px;
    padding: 0 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: transparent;
    color: #a9aaa5;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
}

.list-edit-actions button:last-child {
    border-color: #d8b477;
    background: #d8b477;
    color: #171512;
}


.list-share-label {
    flex: 0 0 auto;
    color: var(--text-3);
    font-size: 11px;
}

.list-share-input {
    min-width: 0;
    flex: 1;
    height: 42px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, .13);
    background: rgba(11, 12, 14, .72);
    color: #d8d9d4;
    font: inherit;
    font-size: 12px;
    outline: none;
}

.list-share-input:focus {
    border-color: rgba(216, 183, 125, .55);
}

.list-share-copy {
    height: 42px;
    padding: 0 16px;
    border: 1px solid var(--list-gold);
    background: var(--list-gold);
    color: #171512;
    font: inherit;
    font-size: 12px;
    white-space: nowrap;
    cursor: pointer;
    transition:
        background .2s ease,
        border-color .2s ease;
}

.list-share-copy:hover {
    background: var(--list-gold-light);
    border-color: var(--list-gold-light);
}

.list-content {
    width: min(var(--st-content), calc(100% - 48px));
    margin: 0 auto;
    padding: 52px 0 96px;
}


.list-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
    gap: 50px;
}

.works-panel,
.side-panel {
    min-width: 0;
}

.panel-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.panel-header h2 {
    margin: 0;
    color: var(--text);
    
    font-size: 24px;
    font-weight: 500;
}

.panel-header p {
    margin: 6px 0 0;
    color: var(--text-3);
    font-size: 11px;
}

.panel-count {
    flex: 0 0 auto;
    color: var(--text-3);
    font-size: 11px;
}

.works-list {
    display: grid;
    gap: 10px;
}

.work-row {
    position: relative;
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    min-height: 122px;
    padding: 15px 17px;
    border: 1px solid rgba(255, 255, 255, .08);
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, .035),
            rgba(255, 255, 255, .012)
        );
    transition:
        border-color .2s ease,
        background .2s ease,
        transform .2s ease;
    overflow: hidden;
}

.work-row-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.work-row::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background:
        linear-gradient(
            180deg,
            #c84d4d,
            var(--list-gold),
            #317f78
        );
    transition: height .28s ease;
}

.work-row:hover {
    border-color: rgba(216, 183, 125, .34);
    background:
        linear-gradient(
            135deg,
            rgba(216, 183, 125, .06),
            rgba(255, 255, 255, .018)
        );
    transform: translateY(-2px);
}

.work-row:hover::before {
    height: 100%;
}

.work-rank {
    position: absolute;
    left: 0;
    top: 0;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .72);
    color: #f0f0eb;
    font-size: 11px;
    font-weight: 600;
    z-index: 1;
}

.work-cover {
    position: relative;
    width: 76px;
    height: 104px;
    overflow: hidden;
    background: #151619;
    border: 1px solid rgba(255, 255, 255, .08);
}

.work-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.work-info {
    min-width: 0;
}

.work-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.work-title {
    overflow: hidden;
    color: var(--text);
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.work-type {
    flex: 0 0 auto;
    padding: 3px 7px;
    border: 1px solid rgba(255, 255, 255, .1);
    color: var(--text-3);
    font-size: 9px;
}

.work-meta {
    margin-top: 7px;
    color: var(--text-3);
    font-size: 10px;
}

.work-note {
    max-width: 580px;
    margin-top: 7px;
    overflow: hidden;
    color: #666863;
    font-size: 10px;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.work-side {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.work-rating {
    color: var(--list-gold-light);
    font-size: 13px;
    font-weight: 600;
}

.work-rating-star {
    color: var(--list-gold);
    font-size: 12px;
}

.work-remove {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .1);
    background: transparent;
    color: var(--text-4);
    cursor: pointer;
    transition:
        color .2s ease,
        border-color .2s ease,
        background .2s ease;
}

.work-remove svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
}

.work-remove:hover {
    color: #d66a6a;
    border-color: rgba(214, 106, 106, .45);
    background: rgba(214, 106, 106, .07);
}

.side-panel {
    position: sticky;
    top: 92px;
}

.hot-list {
    display: grid;
    gap: 10px;
}

.hot-list-card {
    position: relative;
    display: grid;
    grid-template-columns: 98px minmax(0, 1fr);
    gap: 15px;
    padding: 11px;
    border: 1px solid rgba(255, 255, 255, .08);
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, .035),
            rgba(255, 255, 255, .012)
        );
    transition:
        border-color .2s ease,
        background .2s ease,
        transform .2s ease;
    overflow: hidden;
}

.hot-list-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background:
        linear-gradient(
            180deg,
            #c84d4d,
            var(--list-gold),
            #317f78
        );
    transition: height .28s ease;
}

.hot-list-card:hover {
    border-color: rgba(216, 183, 125, .34);
    background:
        linear-gradient(
            135deg,
            rgba(216, 183, 125, .06),
            rgba(255, 255, 255, .018)
        );
    transform: translateY(-2px);
}

.hot-list-card:hover::before {
    height: 100%;
}

.hot-list-cover {
    width: 98px;
    height: 70px;
    overflow: hidden;
    background: #151619;
    border: 1px solid rgba(255, 255, 255, .08);
}

.hot-list-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hot-list-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hot-list-name {
    overflow: hidden;
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.hot-list-creator {
    margin-top: 5px;
    overflow: hidden;
    color: var(--text-3);
    font-size: 10px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.hot-list-views {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 8px;
    color: #666863;
    font-size: 10px;
}

.hot-list-views svg {
    width: 13px;
    height: 13px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
}

.list-toast {
    position: fixed;
    z-index: 220;
    left: 50%;
    bottom: 28px;
    max-width: calc(100% - 40px);
    padding: 12px 18px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(20, 22, 27, .96);
    color: #f0f0ec;
    font-size: 12px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .42);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 12px);
    transition:
        opacity .22s ease,
        transform .22s ease,
        visibility .22s ease;
}

.list-toast.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

@media (max-width: 1050px) {
    .list-layout {
        grid-template-columns: minmax(0, 1fr) 280px;
        gap: 32px;
    }
}

@media (max-width: 800px) {
    .list-hero,
    .list-hero-inner {
        min-height: auto;
    }

    .list-hero-inner,
    .list-content {
        width: calc(100% - 32px);
    }

    .list-hero-inner {
        padding: 56px 0 66px;
    }

    .list-hero-watermark {
        display: none;
    }

    .list-facts {
        width: calc(100% - 32px);
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 24px;
    }

    .list-fact:nth-child(2n) {
        border-right: 0;
    }

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

    .side-panel {
        position: static;
    }

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

@media (max-width: 600px) {
    .list-hero-inner,
    .list-content {
        width: calc(100% - 24px);
    }

    .list-hero-title {
        font-size: 42px;
    }

    .list-facts {
        width: calc(100% - 24px);
    }

    .list-fact {
        padding: 8px 14px;
    }

    .list-fact:first-child {
        padding-left: 0;
    }


    .work-row {
        grid-template-columns: 68px minmax(0, 1fr) auto;
        gap: 12px;
        padding: 14px;
    }

    .work-rank {
        font-size: 10px;
    }

    .work-cover {
        width: 68px;
        height: 94px;
    }

    .work-side {
        grid-column: 3;
        justify-content: flex-start;
    }

    .work-remove {
        display: none;
    }

    .hot-list {
        grid-template-columns: 1fr;
    }
}
.socials {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
    margin-top: 15px;
}
.social {
    width: 34px;
    height: 34px;
    border: 1px solid #414146;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #d7d4cd;
    font-size: 11px;
    transition: .2s;
}
.social:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: #171717;
}

.meta-item.social-links {
    display: flex;
    align-items: center;
    gap: 9px;
}

.social-link {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #3a3d3a;
    border-radius: 50%;
    color: #d7d4cd;
    font-size: 13px;
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease, color .2s ease, background .2s ease;
}

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

.social-link.twitter:hover {
    border-color: #1d9bf0;
    background: rgba(29, 155, 240, .12);
    color: #1d9bf0;
}

.social-link.instagram:hover {
    border-color: #e4405f;
    background: rgba(228, 64, 95, .12);
    color: #e4405f;
}

.social-link.tiktok:hover {
    border-color: #25f4ee;
    background: rgba(37, 244, 238, .10);
    color: #25f4ee;
}

.hero-meta {
    display: flex;
    margin-top: 62px;
    border-top: 1px solid var(--line);
    max-width: 590px;
}
.hero-meta span {
    padding: 18px 38px 0 0;
    margin-right: 38px;
    border-right: 1px solid var(--line);
    color: #68645e;
    font-size: 8px;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.hero-meta b {
    display: block;
    margin-top: 4px;
    color: var(--cw-text);
    font-size: 20px;
    font-weight: 300;
    letter-spacing: -.02em;
}
.hero-meta span:last-child {
    border-right: 0;
}



.person-profile {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 100px;
    color: #a9aaa5;
}
.biography {
    max-width: none;
    color: #aaa59e;
    font-size: 1rem;
    line-height: 1.85;
}

.person-profile-item {
    border-top: 1px solid var(--line);
}
.person-profile-row {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}
.person-profile-label {
    color: #6f6b66;
    font-size: 10px;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.person-profile-value {
    color: #ddd9d3;
    font-size: 15px;
    line-height: 1.7;
}
@media (max-width: 480px) {
    .hero-meta span {
        margin-right: 20px;
    }
}
@media (max-width: 800px) {
    .hero-meta span {
        padding-right: 22px;
        margin-right: 22px;
    }
    .person-profile{grid-template-columns: 1fr}
    .person-work-poster {
        width: 55px;
        height: 70px;
    }
	    .person-work {
        grid-template-columns: 1fr 1fr 1fr 20px;
        gap: 12px;
    }
	    .person-work-title {
        font-size: 16px;
    }
}

/* =========================================================
   TOPIC LIST
========================================================= */
.topic-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.topic-item {
    min-width: 0;
    border: 1px solid var(--detail-line);
    background: #121412;
    transition: border-color .25s ease, background .25s ease;
}

.topic-item:hover {
    border-color: rgba(197, 207, 173, .3);
    background: #151815;
}

.topic-link {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    min-height: 158px;
    color: inherit;
}

.topic-cover {
    position: relative;
    overflow: hidden;
    background: #0b0d0c;
}

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

.topic-item:hover .topic-cover img {
    transform: scale(1.03);
}

.topic-content {
    min-width: 0;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.topic-title {
    margin: 0;
    color: #efefe8;
    font-size: 18px;
    font-weight: 650;
    line-height: 1.35;
}

.topic-desc {
    display: -webkit-box;
    margin: 10px 0 0;
    overflow: hidden;
    color: #85877e;
    font-size: 12px;
    line-height: 1.7;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.topic-meta {
    margin-top: 16px;
    color: #62655f;
    font-size: 11px;
    letter-spacing: .02em;
}

@media (max-width: 800px) {
    .topic-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .topic-link {
        grid-template-columns: 1fr;
    }

    .topic-cover {
        aspect-ratio: 16 / 9;
    }
}

/* =========================================================
   SHARE
========================================================= */
.shareto {
    position: relative;
    margin-top: 20px;
}

.share-toggle {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(197, 207, 173, .3);
    border-radius: 50%;
    background: rgba(197, 207, 173, .08);
    color: #d8dfc9;
    cursor: pointer;
    transition: transform .25s ease, background .25s ease, border-color .25s ease;
}

.share-toggle:hover {
    transform: translateY(-2px);
    background: rgba(197, 207, 173, .14);
    border-color: rgba(197, 207, 173, .45);
}

.share-box {
    position: absolute;
    top: 50%;
    left: 54px;
    transform: translateY(-50%);
}

.share-list {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(16px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
    pointer-events: none;
}

.share-box.open .share-list {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
}

.share-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    color: #d0d2cc;
    text-decoration: none;
    transition: transform .25s ease, background .25s ease, border-color .25s ease;
}

.share-icon:hover {
    transform: translateY(-2px);
    background: rgba(197, 207, 173, .12);
    border-color: rgba(197, 207, 173, .35);
    color: #f0f2ea;
}


