/* =============================================================
   光影志 · 前台样式
   编辑部排版风 · 深色 · 单一金色强调
   ============================================================= */

:root {
    --bg: #0a0b0f;
    --bg-soft: #101218;
    --card: #14161d;
    --card-hover: #191c24;
    --line: rgba(255, 255, 255, .08);
    --line-strong: rgba(255, 255, 255, .16);
    --text: #e6e7ec;
    --text-2: #9ba0ad;
    --text-3: #666b78;
    --gold: #c9a227;
    --gold-light: #e3c46a;
    --gold-dim: rgba(201, 162, 39, .13);
    --green: #4a9d6a;
    --red: #a8452f;
    --serif: "Georgia", "Times New Roman", "Songti SC", "SimSun", "Source Han Serif SC", serif;
    --radius: 4px;
    --radius-sm: 3px;
    --shadow: 0 12px 32px rgba(0, 0, 0, .55);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
                 "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

/* ---------------- Header ---------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    height: 64px;
    display: flex;
    align-items: center;
    gap: 32px;
}

.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.brand-mark {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: var(--radius-sm);
    background: var(--gold);
    color: #14100a;
    font-family: var(--serif);
    font-weight: 700;
    font-size: 16px;
}

.brand-text {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .5px;
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-text em {
    font-style: normal;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 2.4px;
    color: var(--text-3);
    margin-top: 2px;
}

.nav { display: flex; gap: 4px; flex: 1; }

.nav a {
    padding: 6px 12px;
    color: var(--text-2);
    font-size: 13.5px;
    transition: color .18s;
    border-bottom: 2px solid transparent;
}

.nav a:hover { color: var(--text); }
.nav a.active { color: var(--gold); border-bottom-color: var(--gold); }

.search {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: 1px solid var(--line-strong);
    padding: 5px 8px 5px 12px;
    width: 230px;
    transition: border-color .18s;
}

.search:focus-within {
    border-color: rgba(201, 162, 39, .4);
    background: rgba(255, 255, 255, .07);
    width: 280px;
}

.search input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--text);
    font-size: 13px;
    min-width: 0;
}

.search input::placeholder { color: var(--text-3); }

.search button {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--text-3);
    transition: all .2s;
}

.search button:hover { color: var(--gold); background: var(--gold-dim); }

/* ---------------- Hero ---------------- */

.hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    margin-bottom: 8px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 28%;
    filter: blur(1px) saturate(1.1);
    transform: scale(1.06);
}

.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, var(--bg) 6%, rgba(10, 11, 15, .94) 36%, rgba(10, 11, 15, .58) 68%, rgba(10, 11, 15, .92) 100%),
        linear-gradient(0deg, var(--bg) 1%, transparent 52%);
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 40px;
    align-items: flex-end;
    padding: 76px 0 52px;
    width: 100%;
}

.hero-poster {
    width: 186px;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .75);
    border: 1px solid rgba(255, 255, 255, .12);
    aspect-ratio: 2 / 3;
    background: var(--card);
}

.hero-poster img { width: 100%; height: 100%; object-fit: cover; }

.hero-body { flex: 1; min-width: 0; padding-bottom: 4px; }

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    letter-spacing: 2.4px;
    color: var(--gold);
    margin-bottom: 14px;
}

.hero-kicker::before {
    content: "";
    width: 22px;
    height: 1px;
    background: var(--gold);
}

.hero-title {
    font-size: clamp(30px, 3.8vw, 46px);
    font-weight: 700;
    font-family: var(--serif);
    line-height: 1.18;
    margin-bottom: 12px;
}

.hero-sub {
    color: var(--text-2);
    font-size: 14px;
    margin-bottom: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    align-items: center;
}

.hero-intro {
    color: var(--text-2);
    font-size: 14.5px;
    line-height: 1.85;
    max-width: 640px;
    margin-bottom: 26px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

/* ---------------- Buttons ---------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 42px;
    padding: 0 22px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    transition: background .18s, border-color .18s, color .18s;
    white-space: nowrap;
}

.btn-gold {
    background: var(--gold);
    color: #14100a;
}

.btn-gold:hover { background: var(--gold-light); }

.btn-ghost {
    border: 1px solid var(--line-strong);
    color: var(--text);
    background: none;
}

.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn-sm { height: 32px; padding: 0 14px; font-size: 12.5px; }

/* ---------------- Score ---------------- */

.score {
    display: inline-flex;
    align-items: baseline;
    gap: 3px;
    font-weight: 700;
    color: var(--gold);
    font-variant-numeric: tabular-nums;
    font-family: var(--serif);
}

.score b { font-size: 22px; }
.score span { font-size: 11px; color: var(--text-3); font-weight: 500; }

.score-mini {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 2px 7px;
    background: rgba(10, 11, 15, .9);
    color: var(--gold);
    font-size: 12.5px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    font-family: var(--serif);
}

/* ---------------- Chips ---------------- */

.chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 9px;
    border-radius: var(--radius-sm);
    font-size: 11.5px;
    background: none;
    color: var(--text-2);
    border: 1px solid var(--line-strong);
}

.chip-gold { color: var(--gold); border-color: rgba(201, 162, 39, .4); }
.chip-green { color: var(--green); border-color: rgba(74, 157, 106, .45); }
.chip-mute { color: var(--text-3); }

/* ---------------- Sections ---------------- */

.section { padding: 52px 0; }
.section-tight { padding: 32px 0; }

.section + .section { border-top: 1px solid var(--line); }

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

.section-title {
    font-size: 20px;
    font-weight: 700;
    font-family: var(--serif);
    letter-spacing: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title::before {
    content: "";
    width: 3px;
    height: 18px;
    background: var(--gold);
}

.section-desc { color: var(--text-3); font-size: 12.5px; margin-top: 4px; margin-left: 13px; }

.section-more { color: var(--text-2); font-size: 12.5px; display: inline-flex; align-items: center; gap: 5px; transition: color .2s; }
.section-more:hover { color: var(--gold); }

/* ---------------- Poster grid ---------------- */

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

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

.card {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: none;
    border: none;
    transition: opacity .2s;
    display: block;
}

.card:hover { opacity: .82; }

.card-poster {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: var(--bg-soft);
    border: 1px solid var(--line);
}

.card-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity .3s;
    opacity: .92;
}

.card:hover .card-poster img { opacity: 1; }

.card-poster .empty {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: var(--text-3);
    font-size: 12px;
}

.card-body { padding: 9px 0 0; }

.card-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 3px;
}

.card-meta { font-size: 11.5px; color: var(--text-3); display: flex; align-items: center; gap: 6px; }

.card-flag {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 2px 7px;
    font-size: 10.5px;
    font-weight: 600;
    background: rgba(10, 11, 15, .9);
    color: var(--text-2);
    border: 1px solid var(--line-strong);
}

.card-flag.is-ai { color: var(--gold); border-color: rgba(201, 162, 39, .45); }
.card-flag.is-play { color: var(--green); border-color: rgba(74, 157, 106, .45); }

/* ---------------- Collection card ---------------- */

.col-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.col-card {
    position: relative;
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 16px;
    padding: 18px;
    background: var(--bg);
    transition: background .2s;
    overflow: hidden;
}

.col-card:hover { background: var(--card); }

.col-cover {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--bg-soft);
}

.col-cover img { width: 100%; height: 100%; object-fit: cover; }
.col-cover .empty { grid-column: span 3; display: grid; place-items: center; color: var(--text-3); font-size: 12px; }

.col-info { display: flex; flex-direction: column; justify-content: center; min-width: 0; }

.col-kind {
    font-size: 10.5px;
    letter-spacing: 1.6px;
    color: var(--gold);
    margin-bottom: 7px;
}

.col-title { font-size: 16px; font-weight: 700; margin-bottom: 6px; line-height: 1.4; }

.col-desc {
    font-size: 12.5px;
    color: var(--text-3);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 12px;
}

.col-foot { display: flex; align-items: center; gap: 10px; font-size: 11.5px; color: var(--text-3); }

/* ---------------- Rank list ---------------- */

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

.rank-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 11px 10px;
    border-bottom: 1px solid var(--line);
    transition: background .2s;
}

.rank-item:hover { background: var(--card); }

.rank-no {
    width: 22px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-3);
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
}

.rank-item:nth-child(-n+3) .rank-no { color: var(--gold); }

.rank-thumb {
    width: 42px;
    height: 58px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: #0e1016;
}

.rank-thumb img { width: 100%; height: 100%; object-fit: cover; }

.rank-main { flex: 1; min-width: 0; }

.rank-title {
    font-size: 13.5px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 3px;
}

.rank-meta { font-size: 11.5px; color: var(--text-3); display: flex; gap: 8px; align-items: center; }

.rank-score { font-size: 15px; font-weight: 800; color: var(--gold); font-variant-numeric: tabular-nums; flex-shrink: 0; }

/* ---------------- Filter bar ---------------- */

.filter {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px 22px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .025);
    border: 1px solid var(--line);
    margin-bottom: 28px;
}

.filter-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.filter-label { font-size: 12px; color: var(--text-3); width: 44px; flex-shrink: 0; }

.filter-tag {
    padding: 5px 13px;
    border-radius: 999px;
    font-size: 12.5px;
    color: var(--text-2);
    transition: all .18s;
    border: 1px solid transparent;
}

.filter-tag:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.filter-tag.on { color: var(--gold); background: var(--gold-dim); border-color: rgba(201, 162, 39, .28); }

/* ---------------- Pagination ---------------- */

.pager {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin: 44px 0 8px;
    flex-wrap: wrap;
}

.pager a, .pager span {
    min-width: 34px;
    height: 34px;
    padding: 0 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--text-2);
    border: 1px solid var(--line);
    transition: border-color .18s, color .18s;
}

.pager a:hover { border-color: var(--gold); color: var(--gold); }
.pager .active { background: var(--gold); color: #14100a; border-color: var(--gold); font-weight: 700; }
.pager .disabled { opacity: .35; }

/* ---------------- Detail ---------------- */

.detail-hero {
    position: relative;
    padding: 44px 0 36px;
    overflow: hidden;
}

.detail-hero-bg {
    position: absolute;
    inset: -10% 0 auto 0;
    height: 130%;
    background-size: cover;
    background-position: center 20%;
    filter: blur(40px) saturate(1.4);
    opacity: .22;
    transform: scale(1.2);
}

.detail-hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 11, 15, .5), var(--bg) 76%);
}

.detail-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 42px;
}

.detail-poster {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 24px 56px rgba(0, 0, 0, .7);
    aspect-ratio: 2 / 3;
    background: var(--card);
    position: sticky;
    top: 84px;
}

.detail-poster img { width: 100%; height: 100%; object-fit: cover; }

.detail-title {
    font-size: clamp(26px, 3.2vw, 38px);
    font-weight: 700;
    font-family: var(--serif);
    line-height: 1.2;
    margin-bottom: 8px;
}

.detail-original {
    font-size: 14px;
    color: var(--text-3);
    margin-bottom: 16px;
    font-style: italic;
}

.detail-meta-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 22px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
}

.detail-score-big {
    display: flex;
    align-items: baseline;
    gap: 6px;
    padding-right: 16px;
    border-right: 1px solid var(--line);
}

.detail-score-big b {
    font-size: 38px;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

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

.info-table { display: grid; gap: 9px; margin-bottom: 26px; }

.info-row { display: flex; gap: 14px; font-size: 13.5px; line-height: 1.7; }

.info-row dt {
    width: 68px;
    flex-shrink: 0;
    color: var(--text-3);
    font-size: 13px;
}

.info-row dd { color: var(--text-2); flex: 1; min-width: 0; }

.info-row dd a { color: var(--text); border-bottom: 1px dotted var(--line-strong); }
.info-row dd a:hover { color: var(--gold); }

/* 观看入口 */
.source-box {
    padding: 20px;
    background: var(--card);
    border: 1px solid var(--line-strong);
    margin-bottom: 26px;
}

.source-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    gap: 12px;
    flex-wrap: wrap;
}

.source-head h3 { font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 8px; }

.source-list { display: flex; gap: 12px; flex-wrap: wrap; }

.source-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: none;
    border: 1px solid var(--line-strong);
    transition: border-color .18s, background .18s;
    min-width: 168px;
}

.source-btn:hover {
    background: var(--card-hover);
    border-color: var(--gold);
}

.source-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }

.source-name { font-size: 13.5px; font-weight: 600; flex: 1; }

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

.source-empty {
    text-align: center;
    padding: 22px 16px;
    color: var(--text-2);
    font-size: 13.5px;
}

.source-empty strong { display: block; color: var(--text); font-size: 15px; margin-bottom: 6px; }

/* AI 宣传片 */
.promo-box {
    overflow: hidden;
    border: 1px solid rgba(201, 162, 39, .28);
    background: var(--card);
    margin-bottom: 26px;
}

.promo-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 18px;
    border-bottom: 1px solid var(--line);
}

.promo-head h3 { font-size: 14px; font-weight: 700; flex: 1; }

.promo-badge {
    font-size: 10.5px;
    padding: 2px 8px;
    color: var(--gold);
    border: 1px solid rgba(201, 162, 39, .45);
    letter-spacing: .5px;
}

.promo-video { width: 100%; display: block; background: #000; aspect-ratio: 16 / 9; object-fit: cover; }

.promo-poster { width: 100%; display: block; aspect-ratio: 16 / 9; object-fit: cover; }

.promo-note {
    padding: 12px 20px;
    font-size: 12px;
    color: var(--text-3);
    line-height: 1.7;
    border-top: 1px solid rgba(124, 134, 255, .12);
}

/* 简介 */
.summary-box { margin-bottom: 26px; }

.summary-box h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.summary-box h3::before {
    content: "";
    width: 3px;
    height: 14px;
    border-radius: 2px;
    background: var(--gold);
}

.summary-text {
    font-size: 14px;
    line-height: 1.95;
    color: var(--text-2);
    white-space: pre-wrap;
}

/* ---------------- Empty state ---------------- */

.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-3);
}

.empty-state .icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--line);
    font-size: 26px;
}

.empty-state h3 { color: var(--text-2); font-size: 16px; margin-bottom: 8px; font-weight: 600; }

/* ---------------- Footer ---------------- */

.site-footer {
    margin-top: 60px;
    border-top: 1px solid var(--line);
    background: var(--bg-soft);
    padding: 44px 0 26px;
    position: relative;
    z-index: 1;
}

.foot-top {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--line);
}

.foot-brand { display: flex; gap: 14px; align-items: flex-start; }
.foot-brand strong { font-size: 15px; display: block; margin-bottom: 6px; }
.foot-brand p { font-size: 12.5px; color: var(--text-3); line-height: 1.8; }

.foot-links h4 {
    font-size: 12px;
    color: var(--text-3);
    margin-bottom: 12px;
    font-weight: 600;
    letter-spacing: 1px;
}

.foot-links a { display: block; font-size: 13px; color: var(--text-2); margin-bottom: 9px; transition: color .2s; }
.foot-links a:hover { color: var(--gold); }

.foot-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-top: 20px;
    font-size: 11.5px;
    color: var(--text-3);
    flex-wrap: wrap;
}

/* ---------------- Block title (重复用) ---------------- */

.page-head { padding: 46px 0 8px; }

.page-title {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -.5px;
    margin-bottom: 8px;
}

.page-sub { color: var(--text-3); font-size: 13.5px; }

/* ---------------- Responsive ---------------- */

@media (max-width: 1080px) {
    .grid { grid-template-columns: repeat(5, 1fr); }
    .detail-grid { grid-template-columns: 220px 1fr; gap: 30px; }
    .col-list { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
    .wrap { padding: 0 16px; }
    .site-header { position: sticky; }
    .header-inner { gap: 12px; height: auto; padding: 9px 0 0; flex-wrap: wrap; }
    .brand-text { font-size: 15px; }
    .search { width: auto; flex: 1; min-width: 0; }
    .search:focus-within { width: auto; }
    /* 移动端导航：不收进隐藏菜单，改为第二行横向滑动，保证所有入口可达 */
    .nav {
        display: flex;
        order: 3;
        flex: 0 0 100%;
        width: 100%;
        gap: 2px;
        margin: 0 -16px;
        padding: 0 16px 8px;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .nav::-webkit-scrollbar { display: none; }
    .nav a { white-space: nowrap; flex-shrink: 0; padding: 4px 10px; font-size: 13px; }
    .hero { min-height: auto; }
    .hero-inner { flex-direction: column; align-items: flex-start; gap: 22px; padding: 40px 0 32px; }
    .hero-poster { width: 150px; }
    .grid { grid-template-columns: repeat(3, 1fr); gap: 14px 12px; }
    .grid-4, .grid-5 { grid-template-columns: repeat(3, 1fr); }
    .rank { grid-template-columns: 1fr; }
    .detail-grid { grid-template-columns: 1fr; gap: 26px; }
    .detail-poster { width: 160px; position: static; }
    .col-card { grid-template-columns: 120px 1fr; gap: 14px; padding: 14px; }
    .foot-top { grid-template-columns: 1fr; gap: 24px; }
    .section { padding: 36px 0; }
    .info-row { flex-direction: column; gap: 2px; }
    .info-row dt { width: auto; font-size: 12px; }
}

@media (max-width: 520px) {
    .grid, .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
    .hero-title { font-size: 26px; }
    .hero-sub { font-size: 13px; }
    .source-btn { min-width: 100%; }
    .page-title { font-size: 24px; }
    .filter-bar { gap: 10px; }
    .chip { font-size: 11.5px; padding: 3px 9px; }
}

/* =============================================================
   影单 · 播放列表式
   ============================================================= */

.pl-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 8px;
}

.pl-card { display: block; transition: opacity .2s; }
.pl-card:hover { opacity: .8; }

.pl-cover {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    aspect-ratio: 16 / 9;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    overflow: hidden;
}

.pl-cover-cell { overflow: hidden; }
.pl-cover-cell img { width: 100%; height: 100%; object-fit: cover; }
.pl-cover-cell.is-empty { grid-column: span 4; display: grid; place-items: center; color: var(--text-3); font-size: 12px; }

.pl-card-body { padding: 12px 0 0; }

.pl-card-title { font-size: 15px; font-weight: 700; font-family: var(--serif); margin-bottom: 4px; }

.pl-card-sub {
    font-size: 12.5px;
    color: var(--text-3);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px;
}

.pl-card-meta { font-size: 11.5px; color: var(--text-3); margin-top: 8px; display: flex; gap: 6px; }
.pl-card-meta .dot { opacity: .5; }

/* ---- 影单详情 Hero ---- */

.pl-hero {
    position: relative;
    background: var(--bg-soft);
    background-size: cover;
    background-position: center 22%;
    padding: 64px 0 52px;
    margin-bottom: 44px;
    overflow: hidden;
}

.pl-hero-mask {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10, 11, 15, .72) 0%, rgba(10, 11, 15, .9) 60%, var(--bg) 100%);
}

.pl-hero-inner { position: relative; z-index: 1; }

.pl-hero-kind {
    font-size: 11px;
    letter-spacing: 2.4px;
    color: var(--gold);
    margin-bottom: 12px;
}

.pl-hero-kind::before {
    content: "";
    display: inline-block;
    width: 22px;
    height: 1px;
    background: var(--gold);
    vertical-align: middle;
    margin-right: 8px;
}

.pl-hero-title {
    font-size: clamp(28px, 3.6vw, 44px);
    font-weight: 700;
    font-family: var(--serif);
    line-height: 1.2;
    margin-bottom: 10px;
}

.pl-hero-sub {
    color: var(--text-2);
    font-size: 14.5px;
    max-width: 640px;
    margin-bottom: 16px;
}

.pl-hero-meta { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-3); }
.pl-hero-meta .dot { opacity: .5; }

/* ---- 编辑导语 ---- */

.pl-intro {
    border-left: 2px solid var(--gold);
    padding: 4px 0 4px 18px;
    margin-bottom: 44px;
    max-width: 760px;
}

.pl-intro-label {
    font-size: 10.5px;
    letter-spacing: 1.8px;
    color: var(--gold);
    margin-bottom: 8px;
}

.pl-intro p { color: var(--text-2); font-size: 14px; line-height: 1.9; }

/* ---- 正在播放 ---- */

.np {
    border: 1px solid var(--line-strong);
    background: var(--card);
    padding: 24px;
    margin-bottom: 48px;
}

.np-label {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.np-num {
    font-family: var(--serif);
    font-size: 30px;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.np-of { font-size: 12.5px; color: var(--text-3); }

.np-now {
    margin-left: auto;
    font-size: 10.5px;
    letter-spacing: 1.6px;
    color: var(--gold);
    border: 1px solid rgba(201, 162, 39, .45);
    padding: 2px 8px;
}

.np-grid {
    display: grid;
    grid-template-columns: 168px 1fr;
    gap: 26px;
}

.np-poster {
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--bg-soft);
}

.np-poster img { width: 100%; height: 100%; object-fit: cover; }

.np-body { min-width: 0; }

.np-title {
    font-size: 24px;
    font-weight: 700;
    font-family: var(--serif);
    line-height: 1.25;
    margin-bottom: 8px;
}

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

.np-sub {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    align-items: center;
    color: var(--text-3);
    font-size: 12.5px;
    margin-bottom: 16px;
}

.np-note {
    border-left: 2px solid var(--gold);
    padding: 2px 0 2px 14px;
    margin: 0 0 20px;
    color: var(--text-2);
    font-size: 13.5px;
    line-height: 1.85;
}

.np-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.np-link { font-size: 12.5px; color: var(--text-3); border-bottom: 1px dotted var(--line-strong); }
.np-link:hover { color: var(--gold); }

/* ---- 播放队列 ---- */

.queue { margin-bottom: 56px; }

.queue-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 8px;
}

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

.queue-list { list-style: none; }

.queue-item { border-bottom: 1px solid var(--line); }

.queue-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 10px;
    transition: background .18s;
}

.queue-row:hover { background: var(--card); }

.queue-item.is-current { background: var(--card); }
.queue-item.is-current .queue-no { color: var(--gold); }
.queue-item.is-current .queue-title { color: var(--gold); }

.queue-no {
    width: 26px;
    text-align: center;
    font-family: var(--serif);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-3);
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
}

.queue-poster {
    width: 38px;
    aspect-ratio: 2 / 3;
    flex-shrink: 0;
    overflow: hidden;
    background: var(--bg-soft);
    border: 1px solid var(--line);
}

.queue-poster img { width: 100%; height: 100%; object-fit: cover; }

.queue-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }

.queue-title { font-size: 13.5px; font-weight: 600; }

.queue-meta { font-size: 11.5px; color: var(--text-3); }
.queue-meta .q-score { font-style: normal; color: var(--gold); font-weight: 700; }

.queue-note {
    font-size: 12px;
    color: var(--text-3);
    line-height: 1.6;
    margin-top: 3px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.queue-flag {
    font-size: 10.5px;
    padding: 2px 7px;
    flex-shrink: 0;
    border: 1px solid var(--line-strong);
    color: var(--text-3);
}

.queue-flag.is-play { color: var(--green); border-color: rgba(74, 157, 106, .45); }

@media (max-width: 900px) {
    .pl-grid { grid-template-columns: repeat(2, 1fr); }
    .np-grid { grid-template-columns: 120px 1fr; gap: 18px; }
}

/* ============ AI 剧集板块 ============ */
.ai-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 8px;
}

.ai-card { display: block; transition: opacity .2s; }
.ai-card:hover { opacity: .82; }

.ai-card-poster {
    position: relative;
    aspect-ratio: 2 / 3;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    overflow: hidden;
}

.ai-card-poster img { width: 100%; height: 100%; object-fit: cover; }

.ai-card-body { padding: 12px 0 0; }

.ai-card-title { font-size: 15px; font-weight: 700; font-family: var(--serif); margin-bottom: 4px; }

.ai-card-meta { font-size: 11.5px; color: var(--text-3); display: flex; gap: 6px; flex-wrap: wrap; }
.ai-card-meta .dot { opacity: .5; }

.ai-card-note {
    font-size: 12.5px;
    color: var(--text-2);
    line-height: 1.65;
    margin: 8px 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ai-card-link { display: inline-block; margin-top: 10px; font-size: 12px; color: var(--gold); }

@media (max-width: 900px) {
    .ai-grid { grid-template-columns: repeat(2, 1fr); }
}

/* 生成中占位 */
.promo-generating {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 22px 18px;
    border: 1px dashed var(--line-strong);
    color: var(--text-2);
    font-size: 13px;
    line-height: 1.6;
}

.promo-spinner {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    border: 2px solid var(--line-strong);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: promo-spin .8s linear infinite;
}

@keyframes promo-spin { to { transform: rotate(360deg); } }

/* =============================================================
   图文志 · 编辑部长文
   ============================================================= */

.art-list { border-top: 1px solid var(--line); }

.art-item {
    display: flex;
    gap: 22px;
    padding: 26px 0;
    border-bottom: 1px solid var(--line);
}

.art-item:hover .art-item-title { color: var(--gold-light); }

.art-thumb {
    width: 92px;
    flex-shrink: 0;
    aspect-ratio: 2 / 3;
    background: var(--bg-soft);
    overflow: hidden;
}

.art-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(.15);
    transition: filter .3s, transform .45s;
}

.art-item:hover .art-thumb img { filter: none; transform: scale(1.03); }

.art-thumb-empty {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    font-family: var(--serif);
    font-size: 24px;
    color: var(--text-3);
    border: 1px solid var(--line);
}

.art-item-body { min-width: 0; }

.art-item-kicker {
    font-size: 11.5px;
    color: var(--text-3);
    letter-spacing: .08em;
    margin-bottom: 8px;
}

.art-item-title {
    font-family: var(--serif);
    font-size: 21px;
    line-height: 1.45;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
    transition: color .2s;
}

.art-item-summary {
    font-size: 13.5px;
    color: var(--text-2);
    line-height: 1.75;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.art-item-foot {
    font-size: 11.5px;
    color: var(--text-3);
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
}

.dot { opacity: .5; }

/* ---------- 详情 ---------- */

.art-wrap {
    max-width: 780px;
    padding-top: 56px;
    padding-bottom: 80px;
}

.art-head {
    border-bottom: 1px solid var(--line);
    padding-bottom: 26px;
    margin-bottom: 34px;
}

.art-kicker-link {
    display: inline-block;
    font-size: 11.5px;
    letter-spacing: .22em;
    color: var(--gold);
    margin-bottom: 18px;
}

.art-title {
    font-family: var(--serif);
    font-size: 38px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: -.01em;
    color: var(--text);
}

.art-lede {
    margin-top: 16px;
    font-size: 16px;
    color: var(--text-2);
    line-height: 1.85;
}

.art-byline {
    margin-top: 20px;
    font-size: 12px;
    color: var(--text-3);
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.art-cover {
    margin: 0 0 38px;
    border: 1px solid var(--line);
    overflow: hidden;
}

.art-cover img {
    width: 100%;
    max-height: 380px;
    object-fit: cover;
    object-position: center 22%;
    opacity: .92;
}

.prose {
    font-size: 16.5px;
    line-height: 1.95;
    color: #d8dae1;
}

.prose p { margin: 0 0 22px; }

.prose h2 {
    font-family: var(--serif);
    font-size: 22px;
    line-height: 1.45;
    color: var(--text);
    margin: 42px 0 16px;
    padding-left: 14px;
    border-left: 2px solid var(--gold);
}

.prose h3 {
    font-family: var(--serif);
    font-size: 18px;
    color: var(--text);
    margin: 30px 0 12px;
}

.prose blockquote {
    margin: 26px 0;
    padding: 6px 0 6px 20px;
    border-left: 2px solid var(--line-strong);
    color: var(--text-2);
    font-family: var(--serif);
    font-size: 17px;
    font-style: italic;
}

.prose strong { color: var(--text); }
.prose em { color: var(--text-2); }
.prose ul, .prose ol { margin: 0 0 22px 22px; }
.prose li { margin-bottom: 8px; }

/* ---------- 影片卡 ---------- */

.art-movie {
    margin-top: 48px;
    border: 1px solid var(--line);
    background: var(--card);
    display: flex;
    gap: 20px;
    padding: 18px;
}

.art-movie-poster {
    width: 88px;
    flex-shrink: 0;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: var(--bg-soft);
}

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

.art-movie-label {
    font-size: 10.5px;
    letter-spacing: .18em;
    color: var(--gold);
    margin-bottom: 8px;
}

.art-movie-title { font-family: var(--serif); font-size: 20px; color: var(--text); }
.art-movie-title span { font-size: 14px; color: var(--text-2); }

.art-movie-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 8px;
    font-size: 12px;
    color: var(--text-3);
}

.art-movie-score { color: var(--gold); font-weight: 700; font-size: 15px; }
.art-movie-actions { margin-top: 14px; }

.art-movie-btn {
    display: inline-block;
    padding: 7px 14px;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: 12.5px;
    border-radius: 2px;
    transition: background .2s, color .2s;
}

.art-movie-btn:hover { background: var(--gold); color: #14100a; }

.art-disclaimer {
    margin-top: 34px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    font-size: 11.5px;
    color: var(--text-3);
    line-height: 1.8;
}

/* ---------- 继续读 ---------- */

.art-more {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.art-more-item { border-top: 1px solid var(--line-strong); padding-top: 16px; }

.art-more-kicker {
    font-size: 11px;
    color: var(--gold);
    letter-spacing: .1em;
    margin-bottom: 8px;
}

.art-more-title {
    font-family: var(--serif);
    font-size: 17px;
    line-height: 1.5;
    color: var(--text);
    margin-bottom: 8px;
}

.art-more-item:hover .art-more-title { color: var(--gold-light); }

.art-more-summary { font-size: 12.5px; color: var(--text-3); line-height: 1.7; }

@media (max-width: 720px) {
    .art-wrap { padding-top: 32px; padding-bottom: 48px; }
    .art-title { font-size: 26px; }
    .art-lede { font-size: 14.5px; }
    .art-item { gap: 14px; padding: 20px 0; }
    .art-thumb { width: 68px; }
    .art-item-title { font-size: 17.5px; }
    .art-item-summary { font-size: 13px; }
    .prose { font-size: 16px; line-height: 1.9; }
    .prose h2 { font-size: 19px; margin-top: 32px; }
    .art-more { grid-template-columns: 1fr; gap: 16px; }
    .art-movie { padding: 14px; gap: 14px; }
    .art-movie-poster { width: 76px; }
}

/* 影片详情页的图文志入口 */
.detail-article {
    display: block;
    margin-top: 22px;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-left: 2px solid var(--gold);
    background: linear-gradient(90deg, rgba(201,162,39,.05), transparent 60%);
    transition: border-color .2s, background .2s;
}

.detail-article:hover {
    border-color: var(--line-strong);
    border-left-color: var(--gold-light);
    background: linear-gradient(90deg, rgba(201,162,39,.09), transparent 65%);
}

.detail-article-label {
    font-size: 10.5px;
    letter-spacing: .18em;
    color: var(--gold);
    margin-bottom: 8px;
}

.detail-article-title {
    font-family: var(--serif);
    font-size: 19px;
    line-height: 1.5;
    color: var(--text);
    margin-bottom: 6px;
}

.detail-article-summary {
    font-size: 13px;
    color: var(--text-2);
    line-height: 1.7;
    margin-bottom: 10px;
}

.detail-article-more { font-size: 12.5px; color: var(--gold); }

@media (max-width: 720px) {
    .detail-article { padding: 14px 15px; margin-top: 18px; }
    .detail-article-title { font-size: 16.5px; }
}

/* 首页 · 图文志 */
.home-essays {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.home-essay {
    position: relative;
    display: block;
    padding: 22px 22px 24px;
    background: var(--card);
    border: 1px solid var(--line);
    transition: border-color .2s, background .2s, transform .25s;
}

.home-essay::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width .3s;
}

.home-essay:hover {
    border-color: var(--line-strong);
    background: var(--card-hover);
    transform: translateY(-2px);
}

.home-essay:hover::before { width: 100%; }

.home-essay-kicker {
    font-size: 11px;
    color: var(--gold);
    letter-spacing: .1em;
    margin-bottom: 12px;
}

.home-essay-title {
    font-family: var(--serif);
    font-size: 20px;
    line-height: 1.5;
    color: var(--text);
    margin-bottom: 10px;
}

.home-essay-summary {
    font-size: 13px;
    color: var(--text-2);
    line-height: 1.75;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-essay-more { font-size: 12px; color: var(--gold); }

@media (max-width: 900px) {
    .home-essays { grid-template-columns: 1fr; gap: 14px; }
    .home-essay { padding: 18px; }
    .home-essay-title { font-size: 18px; }
}

/* =============================================================
   对话式选片 · 悬浮面板
   ============================================================= */

.chat-fab {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 90;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 18px 0 14px;
    background: var(--bg-soft);
    border: 1px solid var(--gold);
    color: var(--gold);
    border-radius: 999px;
    font-size: 13px;
    letter-spacing: .02em;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .45);
    transition: background .2s, color .2s, transform .2s;
}

.chat-fab:hover { background: var(--gold); color: #14100a; transform: translateY(-1px); }

.chat-fab svg { width: 17px; height: 17px; }

.chat-panel {
    position: fixed;
    right: 24px;
    bottom: 80px;
    z-index: 95;
    width: 384px;
    max-width: calc(100vw - 32px);
    height: min(620px, 76vh);
    display: flex;
    flex-direction: column;
    background: var(--bg-soft);
    border: 1px solid var(--line-strong);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .6);
    opacity: 0;
    transform: translateY(14px);
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease;
}

.chat-panel.is-open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.chat-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px 14px;
    border-bottom: 1px solid var(--line);
}

.chat-head strong {
    display: block;
    font-family: var(--serif);
    font-size: 16px;
    color: var(--text);
    letter-spacing: .01em;
}

.chat-head span { display: block; margin-top: 3px; font-size: 11.5px; color: var(--text-3); }

.chat-close {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    color: var(--text-3);
    font-size: 18px;
    line-height: 1;
    border-radius: 2px;
    transition: color .2s, background .2s;
}

.chat-close:hover { color: var(--text); background: rgba(255, 255, 255, .05); }

.chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    scrollbar-width: thin;
    scrollbar-color: var(--line-strong) transparent;
}

.chat-body::-webkit-scrollbar { width: 6px; }
.chat-body::-webkit-scrollbar-thumb { background: var(--line-strong); }

.chat-msg { display: flex; flex-direction: column; gap: 8px; max-width: 100%; }
.chat-msg.is-user { align-items: flex-end; }

.chat-bubble {
    max-width: 88%;
    padding: 10px 13px;
    font-size: 13px;
    line-height: 1.7;
    color: var(--text);
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 3px;
    white-space: pre-wrap;
    word-break: break-word;
}

.chat-msg.is-user .chat-bubble {
    background: rgba(201, 162, 39, .1);
    border-color: rgba(201, 162, 39, .35);
    color: var(--text);
}

.chat-msg.is-bot .chat-bubble { max-width: 94%; }

.chat-typing {
    display: inline-flex;
    gap: 4px;
    align-items: center;
    padding: 12px 14px;
}

.chat-typing i {
    width: 5px;
    height: 5px;
    background: var(--text-3);
    border-radius: 50%;
    animation: chat-blink 1.2s infinite ease-in-out;
}

.chat-typing i:nth-child(2) { animation-delay: .15s; }
.chat-typing i:nth-child(3) { animation-delay: .3s; }

@keyframes chat-blink {
    0%, 80%, 100% { opacity: .25; transform: translateY(0); }
    40% { opacity: 1; transform: translateY(-2px); }
}

.chat-picks { display: flex; flex-direction: column; gap: 8px; }

.chat-pick {
    display: flex;
    gap: 10px;
    padding: 9px;
    border: 1px solid var(--line);
    background: var(--card);
    transition: border-color .2s, background .2s;
}

.chat-pick:hover { border-color: var(--gold); background: var(--card-hover); }

.chat-pick-poster {
    width: 46px;
    height: 66px;
    flex-shrink: 0;
    background: var(--bg);
    overflow: hidden;
}

.chat-pick-poster img { width: 100%; height: 100%; object-fit: cover; }

.chat-pick-main { min-width: 0; flex: 1; }

.chat-pick-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
}

.chat-pick-title em {
    font-style: normal;
    font-size: 11px;
    color: var(--text-3);
    font-weight: 400;
}

.chat-pick-meta { margin-top: 3px; font-size: 11px; color: var(--text-3); }

.chat-pick-reason {
    margin-top: 5px;
    font-size: 12px;
    line-height: 1.6;
    color: var(--text-2);
}

.chat-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 0 4px; }

.chat-chip {
    padding: 5px 10px;
    font-size: 11.5px;
    color: var(--text-2);
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    transition: color .2s, border-color .2s;
}

.chat-chip:hover { color: var(--gold); border-color: var(--gold); }

.chat-input {
    display: flex;
    gap: 8px;
    padding: 12px 14px 14px;
    border-top: 1px solid var(--line);
}

.chat-input input {
    flex: 1;
    height: 38px;
    padding: 0 12px;
    font-size: 13px;
    color: var(--text);
    background: var(--bg);
    border: 1px solid var(--line-strong);
    border-radius: 2px;
    outline: none;
    transition: border-color .2s;
}

.chat-input input:focus { border-color: var(--gold); }
.chat-input input::placeholder { color: var(--text-3); }

.chat-input button {
    height: 38px;
    padding: 0 16px;
    font-size: 12.5px;
    color: #14100a;
    background: var(--gold);
    border-radius: 2px;
    transition: background .2s, opacity .2s;
}

.chat-input button:hover { background: var(--gold-light); }
.chat-input button:disabled { opacity: .45; cursor: not-allowed; }

@media (max-width: 720px) {
    .chat-fab { right: 14px; bottom: 14px; height: 40px; padding: 0 14px 0 12px; font-size: 12px; }
    .chat-panel {
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        max-width: none;
        height: 82vh;
        border-left: 0;
        border-right: 0;
        border-bottom: 0;
        transform: translateY(100%);
    }
    .chat-panel.is-open { transform: none; }
    .chat-head { padding-top: 14px; }
}
