/* 黑票 Ratings —— 浅色优雅主题（依据详情页设计稿 Web1.3） */
:root {
    --page-bg: #ffffff;
    --white: #ffffff;
    --ink: #1d1d1f;
    --ink-soft: #55575e;
    --ink-faint: #8b8d94;
    --line: #e3e3e6;
    --dark-bg: #1d2328;
    --gold: #caa028;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background: var(--page-bg);
    color: var(--ink);
    font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
main { min-height: 60vh; }

/* ============ 顶栏 ============ */
.topbar {
    position: sticky; top: 0; z-index: 100;
    background: var(--white);
}
body.scrolled .topbar { box-shadow: 0 4px 14px rgba(0,0,0,.14); }
.topbar-inner {
    max-width: 1500px; margin: 0 auto;
    display: flex; align-items: center; gap: 28px;
    height: 66px; padding: 0 24px;
}
.brand {
    font-family: "Segoe Script", "Brush Script MT", "Snell Roundhand", cursive;
    font-size: 31px; font-weight: 700; color: #111; line-height: 1;
}
.brand-link { display: inline-flex; align-items: center; margin-right: 56px; flex-shrink: 0; }
.brand-logo { height: 50px; width: auto; display: block; }
.search {
    flex: 1; max-width: 340px;
    display: flex; align-items: center;
    background: #f0f0f1; border-radius: 20px; padding: 4px 5px 4px 18px;
}
.search input {
    flex: 1; border: 0; background: transparent; outline: none;
    font-size: 14px; color: var(--ink); min-width: 0;
}
.search button {
    border: 0; font-size: 14px; cursor: pointer;
    color: var(--ink); padding: 6px 20px;
    background: #fff; border-radius: 18px;
    box-shadow: 0 1px 5px rgba(0,0,0,.1);
    transition: box-shadow .15s;
}
.search button:hover { box-shadow: 0 2px 8px rgba(0,0,0,.16); }
.topnav { display: flex; gap: 38px; margin-left: 30px; }
.topnav a {
    font-size: 16px; color: var(--ink); padding: 4px 2px; position: relative;
}
.topnav a::after {
    content: ""; position: absolute; left: 50%; bottom: -6px; width: 4px; height: 4px;
    border-radius: 50%; background: var(--ink); transform: translateX(-50%);
    opacity: 0;
}
.topnav a.active::after { opacity: 1; }
.topuser { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.join-btn {
    background: var(--ink); color: #fff;
    border-radius: 20px; padding: 8px 26px;
    font-size: 14px; font-weight: 600;
}
.join-btn:hover { background: #000; }
.user-icon {
    width: 36px; height: 36px; border-radius: 50%;
    border: 1.5px solid #c9c9ce;
    display: flex; align-items: center; justify-content: center;
}
.text-btn { border: 0; background: none; color: var(--ink-faint); font-size: 13px; cursor: pointer; }
.inline-form { display: inline; }

/* ============ 通用页容器（与顶栏同宽，左右对齐 Logo / 用户图标） ============ */
.page { max-width: 1500px; margin: 26px auto 0; padding: 0 24px; }
.article-page { max-width: 900px; }
.article-body { font-size: 16px; line-height: 1.9; color: var(--ink-soft); }
.article-body h1, .article-body h2, .article-body h3 { color: var(--ink); margin: 1.2em 0 .5em; }
.article-body p { margin: .6em 0; }
.article-body ul, .article-body ol { padding-left: 1.6em; margin: .6em 0; }
.article-body img { max-width: 100%; height: auto; border-radius: 8px; }
.article-body a { color: var(--gold); }
.article-body blockquote { border-left: 3px solid var(--line); margin: .8em 0; padding: .2em 1em; color: var(--ink-faint); }
.article-body table { border-collapse: collapse; margin: .8em 0; }
.article-body table td, .article-body table th { border: 1px solid var(--line); padding: 6px 10px; }

/* ============ 首页宣传区 ============ */
.promo {
    display: flex; align-items: center; justify-content: space-between; gap: 40px;
    padding: 34px 4px; margin-bottom: 30px;
}
.promo-left { flex: 1; min-width: 0; }
.promo-slogan { font-size: 48px; font-weight: 800; letter-spacing: 2px; line-height: 1.3; }

.promo-right {
    display: flex; gap: 22px; flex-shrink: 0;
}
.activity { width: 300px; display: block; }
.act-cover {
    position: relative; width: 100%; aspect-ratio: 1 / 1; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    font-size: 56px; border-radius: 15px;
    background: linear-gradient(145deg, #26262c, #4a4d56);
}
.act-cover img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .45s ease;
}
.activity:hover .act-cover img { transform: scale(1.08); }
.activity:hover .act-cover { box-shadow: 0 12px 28px rgba(0,0,0,.22); }
.act-cover { transition: box-shadow .3s ease; }
.act-cover-1 { background: linear-gradient(145deg, #3a2f10, #c9a227); }
.act-cover-2 { background: linear-gradient(145deg, #1f2a33, #4a6578); }
.act-name {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 12px 16px;
    color: #fff; font-size: 20px; font-weight: 700; text-align: left;
    background: linear-gradient(transparent, rgba(0,0,0,.55));
}
.act-countdown { display: block; font-size: 13px; font-weight: 400; color: rgba(255,255,255,.8); margin-top: 2px; }
.act-countdown.act-ended { color: rgba(255,255,255,.6); }

/* ============ 主页菜单 ============ */
.home-menu { display: flex; flex-wrap: wrap; gap: 14px; margin: 4px 0 40px; }
.home-chip {
    padding: 9px 28px;
    background: #fff; color: var(--ink);
    border: 1px solid var(--ink); border-radius: 20px;
    font-size: 15px;
    transition: background .15s, color .15s;
}
.home-chip:hover, .home-chip.active {
    background: var(--ink); color: #fff;
}
/* 首页榜单面板 */
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* 分页（直角，与全站风格一致） */
.pager {
    display: flex; justify-content: center; flex-wrap: wrap;
    gap: 8px; margin: 34px 0 8px;
}
.pager a, .pager span {
    min-width: 36px; text-align: center;
    padding: 6px 12px; font-size: 14px;
    border: 1px solid var(--line); color: var(--ink-soft);
}
.pager a:hover { border-color: var(--ink); color: var(--ink); }
.pager .current { background: var(--ink); border-color: var(--ink); color: #fff; }
.empty-line { color: var(--ink-faint); text-align: center; padding: 40px 0; }
.alert {
    max-width: 1500px; margin: 16px auto 0; background: #fdecec; color: #a02020;
    padding: 10px 16px; font-size: 14px;
}

/* ============ 影片网格（首页/片库） ============ */
.band-section { margin-bottom: 40px; }
.band-title {
    font-size: 20px; font-weight: 700; margin-bottom: 16px;
    padding-left: 12px; border-left: 4px solid var(--ink);
}
.page-h { font-size: 26px; font-weight: 700; margin: 8px 0 20px; }
.line-hint { color: var(--ink-faint); font-size: 14px; margin-bottom: 14px; }

.movie-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 20px;
}
.movie-card { background: transparent; display: block; }
.card-poster {
    position: relative; aspect-ratio: 2 / 3; overflow: hidden;
    background: #e7e7e9; border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
    transition: box-shadow .2s ease;
}
.movie-card:hover .card-poster {
    box-shadow: 0 14px 30px rgba(0,0,0,.22);
}
/* 收藏爱心按钮（卡片） */
.fav-btn {
    position: absolute; top: 8px; right: 8px; z-index: 5;
    width: 34px; height: 34px; border-radius: 50%;
    border: 0; background: rgba(0,0,0,.35);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; opacity: 0; transition: opacity .15s;
    padding: 0;
}
.movie-card:hover .fav-btn { opacity: 1; }
.fav-btn svg { fill: none; stroke: #fff; stroke-width: 2; transition: fill .15s; }
.fav-btn.fav-on { opacity: 1; background: rgba(0,0,0,.45); }
.fav-btn.fav-on svg { fill: #e74c3c; stroke: #e74c3c; }
.fav-btn.fav-loading { pointer-events: none; opacity: .5; }
/* 详情页爱心（常驻显示） */
.fav-btn.fav-detail {
    position: static; opacity: 1; background: none;
    width: 40px; height: 40px;
}
.fav-btn.fav-detail svg { fill: none; stroke: #e0e0e2; stroke-width: 2; }
.fav-btn.fav-detail.fav-on svg { fill: #e74c3c; stroke: #e74c3c; }
.hero-title-row { display: flex; align-items: center; gap: 12px; }
.hero-title-row h1 { margin: 0; }
.card-poster img { width: 100%; height: 100%; object-fit: cover; }
.poster-fallback {
    width: 100%; height: 100%; display: flex; flex-direction: column; gap: 8px;
    align-items: center; justify-content: center;
    background: linear-gradient(160deg, #2a3138, #14181c);
    color: #c9ccd1; font-size: 26px;
}
.poster-fallback span { font-size: 15px; color: #f0f0f2; letter-spacing: 2px; }
.card-info {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: 8px; padding: 9px 0 0;
}
.card-info h3 {
    font-size: 15px; font-weight: 600; min-width: 0;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.card-score { flex-shrink: 0; color: var(--gold); font-weight: 600; font-size: 15px; }

/* 卡片上的等级绶带：覆盖海报底部 1/8 高，50% 透明底色，横向斜体文字靠右 */
.card-rank {
    position: absolute; left: 0; right: 0; bottom: 0;
    height: 12.5%;
    display: flex; align-items: center; justify-content: flex-end;
    padding-right: 10px;
    font-size: 15px; font-weight: 700; font-style: italic;
    color: #fff; letter-spacing: 2px; white-space: nowrap;
    text-shadow: 0 1px 4px rgba(0,0,0,.55);
}
.card-rank.rank-lvl-5 { background: rgba(212, 56, 13, .5); }
.card-rank.rank-lvl-4 { background: rgba(184, 136, 30, .5); }
.card-rank.rank-lvl-3 { background: rgba(205, 208, 215, .5); }
.card-rank.rank-lvl-2 { background: rgba(45, 47, 52, .55); }

/* 类型筛选 */
.genre-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.genre-chip {
    padding: 6px 18px; font-size: 13.5px;
    background: var(--white); border: 1px solid var(--line); color: var(--ink-soft);
}
.genre-chip:hover { border-color: var(--ink); color: var(--ink); }
.genre-chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ============ 详情页：深色横幅 ============ */
.hero-banner {
    position: relative;
    background:
        radial-gradient(ellipse 90% 70% at 80% 0%, rgba(255,255,255,.07), transparent 60%),
        linear-gradient(160deg, #262d33, #171c20 70%);
    padding: 30px 32px 26px;
    color: #eef0f2;
    overflow: hidden;
}
/* 有海报时：海报等比铺满、模糊毛玻璃 + 50% 黑罩，内容浮于其上 */
.hero-banner.has-poster { background: #0b0d10; }
.hero-banner.has-poster::before {
    content: ""; position: absolute; inset: 0;
    background-image: var(--poster);
    background-size: cover; background-position: center center; background-repeat: no-repeat;
    filter: blur(20px) saturate(1.05);
    transform: scale(1.15); /* 放大消除模糊边缘漏底 */
}
.hero-banner.has-poster::after {
    content: ""; position: absolute; inset: 0;
    background: rgba(0, 0, 0, .5);
}
.hero-banner.has-poster > * { position: relative; z-index: 1; }
.hero-top { display: flex; gap: 20px; }
.hero-text { flex: 1; }
.hero-text h1 { color: #fff; font-size: 42px; font-weight: 800; letter-spacing: 2px; }
.hero-meta { color: #fff; font-size: 17px; margin-top: 8px; }
.hero-synopsis {
    color: #fff; font-size: 16px; margin-top: 14px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.laurel {
    flex-shrink: 0; text-align: center; color: #e9e4d4; width: 92px;
}
.laurel span { display: block; font-size: 9.5px; letter-spacing: .5px; margin-top: -6px; line-height: 1.3; }

/* 海报 1:1.5，宽度按容器流式计算，使高度恰好与右侧播放器白框齐平；gap:0 无缝衔接
   推导：1.5P = (W - P - 16) * 9/16 + 16  =>  P = (9W + 112) / 33 */
.hero-media { display: flex; align-items: flex-start; gap: 0; margin-top: 22px; }
.hero-poster {
    flex-shrink: 0; aspect-ratio: 2 / 3;
    width: calc((900% + 112px) / 33);
    overflow: hidden; background: #0e1114;
}
.hero-poster img, .hero-poster .poster-fallback { width: 100%; height: 100%; object-fit: cover; }
.player-frame {
    flex: 1; background: #fff; padding: 8px;
    display: flex;
}
/* DPlayer 宿主：16:9 填满白色播放框；保留 播放/暂停、音量、全屏、页内全屏 */
#dplayer {
    width: 100%; aspect-ratio: 16 / 9;
    background: #000; border-radius: 0;
}
/* 页内全屏时由 DPlayer 接管铺满，取消 16:9 约束 */
#dplayer.dplayer-fulled { aspect-ratio: auto; }
/* 页内全屏图标默认是 hover 气泡，改为与全屏按钮并列常显 */
#dplayer.dplayer-simple .dplayer-full .dplayer-full-in-icon {
    display: inline-block;
    position: static;
}
/* 页内全屏时抬升横幅层叠上下文，避免被 sticky 顶栏（z-index:100）压住 */
body.dplayer-webfull .hero-banner { z-index: 100001; }
#dplayer.dplayer-simple .dplayer-controller .dplayer-icons.dplayer-icons-right .dplayer-setting { display: none; }
#dplayer.dplayer-simple .dplayer-time { display: none; }
#dplayer .dplayer-controller { height: 40px; }
#dplayer .dplayer-video-wrap { cursor: pointer; }
.player {
    position: relative; width: 100%; aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #3a3f45, #1b1f23);
    overflow: hidden;
}
.player-empty { display: flex; align-items: center; justify-content: center; }
.player-none-text { color: rgba(255,255,255,.55); font-size: 15px; letter-spacing: 1px; }
.play-btn {
    position: absolute; inset: 0; margin: auto;
    width: 66px; height: 66px; border-radius: 50%;
    background: rgba(255,255,255,.82);
    display: flex; align-items: center; justify-content: center;
}
.play-btn svg { margin-left: 4px; }
.play-btn:hover { background: #fff; }
.player-bar {
    position: absolute; left: 0; right: 0; bottom: 0;
    display: flex; align-items: center; gap: 10px;
    padding: 8px 14px; color: #d8dade; font-size: 12px;
    background: linear-gradient(transparent, rgba(0,0,0,.55));
}
.p-track { flex: 1; height: 3px; background: rgba(255,255,255,.3); }
.p-track i { display: block; width: 42%; height: 100%; background: #fff; }
.p-icon { cursor: default; }

/* ============ 专业等级金葱绶带 ============ */
.rank-band {
    height: 92px; display: flex; align-items: center; justify-content: flex-end;
    padding-right: 56px; overflow: hidden;
}
.rank-band span {
    font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", sans-serif;
    font-size: 56px; font-weight: 800; font-style: italic;
    color: #fff; letter-spacing: 8px;
    text-shadow: 0 2px 10px rgba(0,0,0,.45);
}
/* 出类拔萃：纯色底 */
.rank-lvl-4 {
    background-color: #a9801c;
}
/* 空前绝后：纯色底 */
.rank-band.rank-lvl-5 {
    background-color: #7d0e18;
}
/* 中规中矩：纯色底 */
.rank-band.rank-lvl-3 {
    background-color: #878b92;
}
/* 有失水准：纯色底 */
.rank-band.rank-lvl-2 {
    background-color: #2d2f34;
}

/* ============ 演职员 + 标语 ============ */
.credit-card {
    background: var(--white);
    display: flex; gap: 30px;
    padding: 28px 34px 34px;
}
.credit-col { flex: 1.15; }
.credit-row {
    display: flex; align-items: baseline; gap: 18px;
    padding: 10px 0; border-bottom: 1px solid var(--line);
}
.credit-row dt { flex-shrink: 0; width: 42px; font-weight: 700; font-size: 15px; }
.credit-row dd { font-size: 15px; color: var(--ink-soft); }
.credit-row dd .person-link {
    border-bottom: 1px dashed #b9bcc4;
    transition: color .15s, border-color .15s;
}
.credit-row dd .person-link:hover { color: var(--ink); border-color: var(--ink); }
.tagline-col {
    flex: 1; display: flex; align-items: center; justify-content: center;
    border-left: 1px solid var(--line); padding-left: 30px;
}
/* 荣誉奖项：图片按 200×100 等比缩放，横向居中排列 */
.award-row { display: flex; flex-wrap: wrap; gap: 40px; justify-content: center; align-items: center; }
.award-img {
    width: 200px; height: 100px;
    object-fit: contain;
}
.award-empty { font-size: 16px; color: var(--ink-faint); text-align: center; }

/* ============ 大众爆米花 ============ */
.popcorn-card {
    background: var(--white); margin-top: 16px;
    display: flex; gap: 30px; padding: 26px 34px;
}
.pop-summary {
    flex-shrink: 0; width: 210px;
    border-right: 1px solid var(--line); padding-right: 30px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 6px;
}
.pop-ticket { height: 44px; width: auto; }
.pop-none { font-size: 22px; font-weight: 700; color: var(--ink-faint); line-height: 1.4; padding: 8px 0; }
.pop-label { font-size: 30px; font-weight: 800; color: var(--gold); line-height: 1.3; }
.pop-sub { font-size: 13px; color: var(--ink-faint); }
.pop-action { flex: 1; }
.pop-hint { color: var(--ink-soft); font-size: 14.5px; }
.pop-hint a { color: #b8881e; border-bottom: 1px solid #e4c87a; }

/* 推荐/不推荐投票 */
.vote-picker { display: flex; gap: 10px; margin-bottom: 12px; }
.vote-opt { position: relative; cursor: pointer; }
.vote-opt input { position: absolute; opacity: 0; pointer-events: none; }
.vote-opt span {
    display: inline-block; padding: 7px 22px; font-size: 14.5px;
    border: 1px solid var(--line); color: var(--ink-soft);
    transition: border-color .15s, color .15s, background .15s;
}
.vote-opt span:hover { border-color: var(--gold); color: var(--gold); }
.vote-opt input:checked + span {
    background: var(--gold); border-color: var(--gold); color: #fff; font-weight: 700;
}
.rate-form textarea {
    width: 100%; border: 1px solid var(--line);
    padding: 10px 12px; font-size: 14px; font-family: inherit; resize: vertical;
    outline: none;
}
.rate-form textarea:focus { border-color: var(--gold); }
.btn-dark {
    margin-top: 10px; background: var(--ink); color: #fff; border: 0;
    padding: 9px 26px; font-size: 14.5px; cursor: pointer;
}
.btn-dark:hover { background: #000; }

/* 短评 */
.comments { background: var(--white); margin-top: 16px; padding: 24px 34px 30px; }
.comments h2 { font-size: 18px; margin-bottom: 16px; }
.comment-item {
    padding: 13px 0; border-bottom: 1px solid var(--line);
}
.comment-item:last-child { border-bottom: 0; }
.comment-head { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.comment-score { font-weight: 600; }
.comment-ticket { height: 15px; width: auto; vertical-align: -2px; }
.comment-score.rec-up { color: var(--gold); }
.comment-score.rec-down { color: var(--ink-faint); }
.comment-time { margin-left: auto; color: var(--ink-faint); font-size: 12.5px; }
.comment-item p { color: var(--ink-soft); font-size: 14px; margin-top: 4px; }

/* ============ 登录/注册 ============ */
.auth-box {
    max-width: 380px; margin: 60px auto; background: var(--white);
    padding: 36px 34px;
    box-shadow: 0 4px 24px rgba(0,0,0,.06);
}
.auth-box h1 { font-size: 22px; text-align: center; margin-bottom: 22px; }
.auth-form { display: flex; flex-direction: column; gap: 7px; }
.auth-form label { font-size: 13.5px; color: var(--ink-soft); margin-top: 8px; }
.auth-form .remember-row {
    display: flex; align-items: center; gap: 7px;
    margin-top: 12px; cursor: pointer; user-select: none;
}
.auth-form .remember-row input { width: 15px; height: 15px; cursor: pointer; accent-color: var(--ink); }
.auth-form .remember-row span { font-size: 13.5px; color: var(--ink-soft); margin: 0; }
.auth-form .captcha-row { display: flex; align-items: center; gap: 10px; }
.auth-form .captcha-row .field { flex: 1; min-width: 0; }
.captcha-img {
    height: 42px; width: 122px; flex: none;
    border: 1px solid var(--line); border-radius: 4px;
    cursor: pointer; background: #f2f3f5; display: block;
}
.field {
    border: 1px solid var(--line); padding: 10px 12px;
    font-size: 14px; outline: none;
}
.field:focus { border-color: var(--ink); }
.auth-form .btn-dark { margin-top: 20px; padding: 11px; }
.auth-alt { text-align: center; margin-top: 16px; font-size: 14px; color: var(--ink-faint); }
.auth-alt a { color: #b8881e; }
.form-err { color: #b02030; font-size: 13px; margin-bottom: 12px; }
.code-row { display: flex; gap: 8px; }
.code-row .field { flex: 1; min-width: 0; }
.code-btn { white-space: nowrap; padding: 0 14px !important; margin-top: 0 !important; font-size: 13px; cursor: pointer; }
.code-btn:disabled { opacity: .55; cursor: not-allowed; }
.code-msg { font-size: 13px; color: var(--ink-faint); margin: 0; min-height: 1em; }

/* ============ 用户中心 ============ */
.uc-card {
    display: flex; align-items: center; gap: 18px;
    background: var(--card-bg, #fff); border: 1px solid var(--line);
    border-radius: 12px; padding: 22px 24px;
}
.uc-avatar {
    width: 64px; height: 64px; border-radius: 50%; flex: none;
    background: var(--ink); display: flex; align-items: center; justify-content: center;
}
.uc-info h1 { font-size: 22px; margin: 0 0 6px; color: var(--ink); }
.uc-info p { margin: 2px 0; font-size: 13.5px; color: var(--ink-faint); }
.uc-admin-link { margin-left: auto; padding: 9px 18px; text-decoration: none; }
.uc-h { font-size: 18px; color: var(--ink); margin: 28px 0 14px; }
.uc-votes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.uc-vote {
    display: flex; gap: 14px; padding: 12px; text-decoration: none;
    background: var(--card-bg, #fff); border: 1px solid var(--line); border-radius: 10px;
    transition: box-shadow .15s;
}
.uc-vote:hover { box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.uc-poster { width: 60px; height: 84px; object-fit: cover; border-radius: 6px; flex: none; }
.uc-poster-none {
    display: flex; align-items: center; justify-content: center;
    background: #eee; color: #999; font-size: 12px;
}
.uc-vote-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.uc-vote-info strong { font-size: 15px; color: var(--ink); }
.uc-rec { font-size: 12.5px; font-weight: 600; }
.uc-rec.rec-up { color: var(--gold); }
.uc-rec.rec-down { color: #888; }
.uc-comment {
    margin: 0; font-size: 13.5px; color: var(--ink-soft);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.uc-time { font-size: 12px; color: var(--ink-faint); }
.uc-empty { color: var(--ink-faint); font-size: 14px; }
.uc-empty a { color: #b8881e; }
.uc-favs {
    display: grid; grid-template-columns: repeat(auto-fill, 100px);
    gap: 16px; margin-bottom: 10px;
}
.uc-fav {
    display: flex; flex-direction: column; gap: 5px;
    text-decoration: none;
}
.uc-fav img {
    width: 100px; height: 140px; object-fit: cover;
    border-radius: 6px; box-shadow: 0 2px 8px rgba(0,0,0,.1);
    transition: box-shadow .15s;
}
.uc-fav:hover img { box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.uc-fav-none {
    width: 100px; height: 140px; border-radius: 6px;
    background: #e7e7e9; display: flex; align-items: center; justify-content: center;
    font-size: 22px;
}
.uc-fav-title {
    font-size: 12px; color: var(--ink-soft); text-align: center;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    width: 100px;
}
.uc-actions { margin-left: auto; flex: none; display: flex; align-items: center; gap: 10px; }
.uc-actions .btn-dark { margin-top: 0; }
.uc-actions .uc-admin-link { margin-left: 0; }
.uc-edit-btn { padding: 9px 18px; cursor: pointer; }
.uc-tab-btn { padding: 9px 16px; cursor: pointer; }
.uc-pw {
    background: var(--card-bg, #fff); border: 1px solid var(--line);
    border-radius: 12px; padding: 20px 24px 24px; margin-top: 14px;
    max-width: 460px;
    display: flex; flex-direction: column; gap: 7px;
}
.uc-pw[hidden] { display: none; }
.uc-edit-section[hidden] { display: none; }
.uc-edit-section { display: flex; flex-direction: column; gap: 16px; }
#sec-section { flex-direction: row; flex-wrap: wrap; }
#sec-section .uc-pw { flex: 1; min-width: 320px; max-width: none; }
.uc-pw-h { font-size: 16px; color: var(--ink); margin: 0 0 2px; }
.uc-pw-tip { font-size: 12.5px; color: var(--ink-faint); margin: 0; }
.uc-pw label { font-size: 13.5px; color: var(--ink-soft); margin-top: 8px; }
.uc-pw .btn-dark[type="submit"] { margin-top: 16px; }
.uc-pw .form-err { margin: 4px 0 0; }
.uc-pw .form-err p { margin: 2px 0; }
.btn-danger {
    background: #c0392b; color: #fff; border: 0; border-radius: 6px;
    padding: 10px 20px; font-size: 14px; cursor: pointer; margin-top: 16px;
    transition: background .15s;
}
.btn-danger:hover { background: #a93226; }
.uc-delete { border-color: #e8c5c0; }

/* ============ 页脚 ============ */
.site-footer {
    margin-top: 50px; background: var(--page-bg);
    text-align: center; color: var(--ink-faint); font-size: 12.5px;
    padding: 26px 20px 30px; border-top: 1px solid #e8e8ea;
}
.footer-links { margin: 6px 0; display: flex; justify-content: center; gap: 10px; }
.footer-links a:hover { color: var(--ink); }

/* ============ 响应式 ============ */
@media (max-width: 1200px) {
    .activity { width: min(34vw, 300px); }
    .promo-slogan { font-size: 40px; }
}

@media (max-width: 760px) {
    .search { display: none; }
    .brand-link { margin-right: 24px; }
    .topnav { margin-left: 0; }
    .promo { flex-direction: column; align-items: flex-start; gap: 20px; }
    .promo-right { width: 100%; }
    .activity { width: calc(50% - 11px); }
    .promo-slogan { font-size: 32px; }
    .topnav { gap: 22px; }
    .hero-media { flex-direction: column; gap: 14px; }
    .hero-poster { display: none; }
    .movie-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-top { flex-direction: column; }
    .laurel { align-self: flex-end; }
    .credit-card, .popcorn-card { flex-direction: column; }
    .tagline-col, .pop-summary { border: 0; padding: 0; width: 100%; }
    .rank-band span { font-size: 34px; letter-spacing: 4px; }
    .hero-text h1 { font-size: 30px; }
    .hero-meta { font-size: 15px; }
    .hero-synopsis { font-size: 14px; }
}
