/* 田曦薇豆瓣作品评分档案 —— 极简数据档案风格
   暖白底 / 深灰黑文字 / 克制豆瓣绿 / 发丝线 / 无渐变无阴影 */

:root {
  --bg: #faf9f6;
  --paper: #fdfcf9;
  --ink: #202326;
  --ink-soft: #3c3f42;
  --mut: #77716a;
  --faint: #9d978e;
  --line: #e6e1d8;
  --line-strong: #d8d2c7;
  --green: #247a4d;
  --green-soft: #eef4ef;
  --maxw: 1120px;
  --font-cn: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
             "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  --font-num: ui-monospace, "SF Mono", "Menlo", "Consolas", "Liberation Mono", monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-cn);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100dvh;
  overflow-x: hidden;
}

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

.num {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Header ---------- */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.header-inner {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-top: 20px;
  padding-bottom: 20px;
}
.brand { display: flex; align-items: baseline; gap: 14px; }
.brand-name {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.brand-sub {
  font-size: 12.5px;
  color: var(--mut);
  letter-spacing: 0.12em;
}
.site-nav { display: flex; gap: 26px; }
.site-nav a {
  font-size: 13px;
  color: var(--mut);
  letter-spacing: 0.08em;
  transition: color .15s ease;
}
.site-nav a:hover { color: var(--ink); }

/* ---------- 人物信息 ---------- */
.person {
  text-align: center;
  padding: 88px 0 56px;
}
.person-index {
  margin: 0 0 22px;
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: 0.32em;
  color: var(--faint);
}
.person-index .dot { margin: 0 10px; }
.person-name {
  margin: 0;
  font-size: 56px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-indent: 0.14em;
  line-height: 1.2;
}
.person-en {
  margin: 14px 0 0;
  font-family: var(--font-num);
  font-size: 13px;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  color: var(--mut);
}
.person-occu {
  margin: 18px 0 0;
  font-size: 13.5px;
  color: var(--mut);
  letter-spacing: 0.18em;
}
.person-link { margin: 30px 0 0; }

/* 人物主要荣誉：编辑型清单，发丝线分隔，不做奖杯/徽章装饰 */
.person-honors {
  max-width: 640px;
  margin: 46px auto 0;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  text-align: left;
}
.ph-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 0 0 8px;
}
.ph-title {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  color: var(--ink-soft);
}
.ph-note { font-size: 11px; color: var(--faint); letter-spacing: 0.04em; }
.ph-list { list-style: none; margin: 0; padding: 0; }
.ph-list li {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
}
.ph-list li:last-child { border-bottom: 0; }
.ph-date {
  flex: none;
  width: 5.6rem;
  font-size: 11.5px;
  color: var(--faint);
}
.ph-ceremony { color: var(--mut); }
.ph-honor { color: var(--ink-soft); margin-left: auto; text-align: right; }

.btn {
  display: inline-block;
  padding: 9px 22px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: transparent;
  color: var(--ink-soft);
  font-family: var(--font-cn);
  font-size: 13px;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.btn:hover { border-color: var(--green); color: var(--green); }
.btn-quiet { color: var(--mut); }

/* ---------- 核心统计 ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  margin-bottom: 96px;
}
.stat {
  padding: 34px 16px 30px;
  text-align: center;
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: 0; }
.stat-num {
  margin: 0;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
}
.stat-num-s { font-size: 30px; padding-top: 7px; }
.stat-label {
  margin: 10px 0 0;
  font-size: 12.5px;
  color: var(--mut);
  letter-spacing: 0.14em;
}

/* ---------- 区块头 ---------- */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.section-head h2 {
  margin: 0;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.section-head h2::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 13px;
  background: var(--green);
  margin-right: 12px;
  vertical-align: -1px;
}
.section-note {
  margin: 0;
  font-size: 12px;
  color: var(--faint);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* ---------- 评分概览 ---------- */
.trend { margin-bottom: 96px; }
.trend-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 0;
  border: 1px solid var(--line);
  background: var(--paper);
}
.trend-facts {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.trend-fact {
  display: grid;
  grid-template-columns: 88px auto;
  grid-template-rows: auto auto;
  align-items: baseline;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}
.trend-fact:last-child { border-bottom: 0; }
.tf-label {
  grid-row: 1 / 3;
  font-size: 12.5px;
  color: var(--mut);
  letter-spacing: 0.12em;
}
.tf-val {
  font-size: 26px;
  font-weight: 500;
  color: var(--green);
  line-height: 1.2;
}
.tf-name {
  grid-column: 2;
  font-size: 11.5px;
  color: var(--faint);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.trend-chart {
  min-height: 220px;
  border-left: 1px solid var(--line);
  padding: 18px 22px 14px;
  display: flex;
  align-items: center;
}
.trend-chart svg { width: 100%; height: auto; display: block; }
.chart-empty {
  width: 100%;
  text-align: center;
  color: var(--faint);
  font-size: 13px;
}

/* ---------- 作品档案（编辑型列表） ---------- */
.works { margin-bottom: 96px; }

/* 排序切换：日期 / 评价人数 / 评分（组内排序） */
.sort-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: -10px 0 26px;
}
.sort-label {
  font-size: 12px;
  color: var(--faint);
  letter-spacing: 0.18em;
}
.sort-options {
  display: inline-flex;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
}
.sort-btn {
  appearance: none;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  font-family: inherit;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--mut);
  padding: 6px 18px;
  cursor: pointer;
  line-height: 1.5;
}
.sort-btn:last-child { border-right: 0; }
.sort-btn:hover { color: var(--ink); }
.sort-btn.is-active {
  background: var(--green-soft);
  color: var(--green);
  font-weight: 600;
  cursor: default;
}
.sort-btn:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: -2px;
}

.work-group + .work-group { margin-top: 52px; }
.group-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 6px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-strong);
}
.group-head h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.16em;
}
.group-count {
  font-family: var(--font-num);
  font-size: 11.5px;
  color: var(--faint);
}

.work-row {
  display: grid;
  grid-template-columns: 3.4rem 2.9rem minmax(0,1fr) 8.5rem 4.5rem;
  column-gap: 18px;
  align-items: center;
  padding: 16px 2px;
  border-bottom: 1px solid var(--line);
}
.w-year {
  font-family: var(--font-num);
  font-size: 13.5px;
  color: var(--mut);
}
.w-poster {
  width: 42px;
  height: 60px;
  border: 1px solid var(--line);
  background: #f1efe9;
  overflow: hidden;
}
.w-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.w-poster-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-num);
  font-size: 14px;
  color: #b3aca1;
  letter-spacing: 0.1em;
}
.w-main { min-width: 0; }
.w-title {
  display: inline-block;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.02em;
  transition: color .15s ease;
}
a:hover .w-title { color: var(--green); }
.w-meta {
  margin: 5px 0 0;
  font-size: 12px;
  color: var(--faint);
  letter-spacing: 0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.w-meta .sep { margin: 0 8px; color: var(--line-strong); }
.w-platform { color: var(--mut); }
.w-douban { color: var(--mut); border-bottom: 1px solid var(--line-strong); }
.w-douban:hover { color: var(--green); border-bottom-color: var(--green); }

/* 作品荣誉行：人工核实用豆瓣绿克制强调；豆瓣榜单/片单为灰色，不做徽章 */
.w-honors {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 14px;
  margin: 4px 0 0;
  font-size: 11px;
  color: var(--faint);
}
.wh { white-space: nowrap; letter-spacing: 0.02em; }
.wh-award { color: var(--green); }

.w-votes {
  text-align: right;
  font-size: 13px;
  color: var(--mut);
  white-space: nowrap;
}
.w-score {
  text-align: right;
  font-family: var(--font-num);
  font-size: 25px;
  font-weight: 500;
  color: var(--green);
  line-height: 1;
  white-space: nowrap;
}
.w-status {
  text-align: right;
  font-size: 12px;
  color: var(--mut);
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.w-status.upcoming { color: var(--faint); }

/* 桌面端豆瓣入口用全称；手机端用短称 */
.dl-short { display: none; }
/* 评分列容器（桌面端只是右对齐包装，移动端承载评分 + 人数小字两行） */
.w-scorebox { text-align: right; }

/* ---------- 数据说明 ---------- */
.about {
  margin-bottom: 88px;
  padding: 36px 40px 34px;
  border: 1px solid var(--line);
  background: var(--paper);
}
.about .section-head { margin-bottom: 18px; }
.about-list {
  margin: 0;
  padding-left: 1.1em;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 2.1;
}
.about-list strong { font-weight: 600; color: var(--ink); }
.update-line {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: 0.06em;
}
#update-label { margin-right: 10px; color: var(--mut); }
.update-sub {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--faint);
}

/* ---------- 错误态 / Footer ---------- */
.load-error {
  text-align: center;
  padding: 40px 0 80px;
  color: var(--mut);
  font-size: 14px;
}
.load-error .btn { margin-top: 12px; }

/* ---------- Header 返回链接（详情页） ---------- */
.header-back {
  font-size: 13px;
  color: var(--mut);
  letter-spacing: 0.08em;
  white-space: nowrap;
  transition: color .15s ease;
}
.header-back:hover { color: var(--green); }

/* ---------- /work/{id} Phase 3 作品详情 ---------- */
.d-hero {
  padding: 56px 0 44px;
  border-bottom: 1px solid var(--line-strong);
}
.d-hero-grid {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr) 230px;
  gap: 44px;
  align-items: center;
}
.d-poster {
  width: 168px;
  height: 240px;
  border: 1px solid var(--line);
  background: #f1efe9;
  overflow: hidden;
}
.d-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.d-poster-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  color: #b3aca1;
  letter-spacing: 0.1em;
}
.d-kicker {
  margin: 0 0 14px;
  font-size: 11px;
  color: var(--faint);
  letter-spacing: 0.28em;
}
.d-kicker .dot { margin: 0 10px; }
.d-title {
  margin: 0;
  font-size: 34px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.d-meta {
  margin: 14px 0 0;
  font-size: 13.5px;
  color: var(--mut);
  letter-spacing: 0.06em;
}
.d-meta .sep { margin: 0 10px; color: var(--line-strong); }
.d-role {
  margin: 18px 0 0;
  font-size: 15px;
  color: var(--ink-soft);
  letter-spacing: 0.06em;
}
.d-role.is-unknown { color: var(--faint); }
.d-honors { margin-top: 14px; }

/* 评分区：独立第三列，左发丝线分隔；无评分时为文字状态，绝不出现 0 */
.d-rate {
  border-left: 1px solid var(--line);
  padding-left: 36px;
  text-align: center;
}
.d-rate-label {
  margin: 0 0 8px;
  font-size: 12px;
  color: var(--faint);
  letter-spacing: 0.28em;
}
.d-score {
  margin: 0;
  font-size: 60px;
  font-weight: 500;
  line-height: 1.05;
  color: var(--green);
}
.d-votes {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--mut);
}
.d-status-text {
  margin: 0;
  font-size: 22px;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.12em;
}
.d-status-sub {
  margin: 10px auto 0;
  max-width: 280px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--faint);
}

/* 主体：左作品信息 / 右侧栏卡片 */
.d-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 316px;
  gap: 60px;
  margin: 52px 0 96px;
}
.d-block + .d-block { margin-top: 48px; }
.d-h2 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.14em;
}
.d-h2::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 13px;
  background: var(--green);
  margin-right: 12px;
  vertical-align: -1px;
}
.d-facts {
  margin: 0;
}
.d-fact {
  display: flex;
  gap: 24px;
  padding: 13px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}
.d-fact dt {
  flex: none;
  width: 96px;
  font-size: 12.5px;
  color: var(--mut);
  letter-spacing: 0.1em;
}
.d-fact dd {
  margin: 0;
  min-width: 0;
  color: var(--ink-soft);
}
.d-intro {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 2.1;
  color: var(--ink-soft);
  white-space: pre-line;
}

/* 右侧栏：发丝线纸卡，与首页 about 同一语言 */
.d-side {
  align-self: start;
  position: sticky;
  top: 24px;
}
.d-card {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 22px 24px;
}
.d-card + .d-card { margin-top: 16px; }
.d-card h3 {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.28em;
}
.d-kv {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.d-kv:last-child { border-bottom: 0; }
.dk-label {
  flex: none;
  font-size: 12.5px;
  color: var(--mut);
  letter-spacing: 0.08em;
}
.dk-val {
  text-align: right;
  color: var(--ink-soft);
}
.dk-val.is-unknown { color: var(--faint); }
.d-platform {
  margin: 10px 0 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.04em;
}
.d-platform.is-unknown { font-size: 14px; font-weight: 400; color: var(--faint); }
.d-platform-note {
  margin: 8px 0 0;
  font-size: 11.5px;
  line-height: 1.8;
  color: var(--faint);
}
.d-source-line {
  margin: 12px 0 0;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--mut);
}
.d-source-sub {
  margin: 10px 0 0;
  font-size: 11.5px;
  line-height: 1.8;
  color: var(--faint);
}
.d-btn {
  display: block;
  margin-top: 16px;
  text-align: center;
}
.d-hist-note {
  margin: 12px 0 0;
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--mut);
}
.btn-disabled {
  color: var(--faint);
  border-color: var(--line);
  cursor: not-allowed;
  pointer-events: none;
}

/* ---------- Phase 4：评分变化趋势（内联 SVG） ---------- */
.d-trend-block[hidden] { display: none; }
.d-trend-summary {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.9;
  color: var(--mut);
}
.d-trend-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 18px 0 4px;
  font-size: 12px;
  color: var(--mut);
}
.tl { display: inline-flex; align-items: center; gap: 8px; }
.tl-dot { width: 16px; height: 3px; border-radius: 2px; display: inline-block; }
.tl-dot-s { background: var(--green); }
.tl-dot-v { background: #c4bdae; }
.d-chart { width: 100%; margin-top: 4px; }
.tc-svg { width: 100%; height: auto; display: block; overflow: visible; }
.tc-grid { stroke: var(--line); stroke-width: 1; }
.tc-axis { font-size: 11px; fill: var(--faint); letter-spacing: 0.02em; }
.tc-axis-r { fill: #aca595; }
.tc-score-line {
  stroke: var(--green);
  stroke-width: 1.7;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.tc-votes-line { stroke: #c4bdae; stroke-width: 1.1; }
.tc-score-dot { fill: var(--green); }
.tc-votes-dot { fill: var(--bg); stroke: #b3ac9d; stroke-width: 1.2; }
.tc-open-ring { fill: none; stroke: var(--green); stroke-width: 1.3; }
.tc-open { font-size: 10.5px; fill: var(--green); letter-spacing: 0.12em; }
.d-trend-foot {
  margin: 12px 0 0;
  font-size: 11.5px;
  line-height: 1.8;
  color: var(--faint);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
}
.site-footer p {
  margin: 0;
  font-size: 12.5px;
  color: var(--mut);
  letter-spacing: 0.06em;
}
.footer-fine { margin-top: 6px !important; font-size: 11.5px !important; color: var(--faint) !important; }

/* ---------- 平板 ---------- */
@media (max-width: 1024px) {
  .wrap { padding: 0 28px; }
  .trend-grid { grid-template-columns: 260px 1fr; }
  .work-row { grid-template-columns: 3.2rem 2.7rem minmax(0,1fr) 7.5rem 4rem; column-gap: 14px; }

  .d-hero-grid { grid-template-columns: 132px minmax(0,1fr) 196px; gap: 32px; }
  .d-poster { width: 132px; height: 189px; }
  .d-title { font-size: 28px; }
  .d-score { font-size: 50px; }
  .d-grid { grid-template-columns: minmax(0,1fr) 280px; gap: 40px; }
}

@media (max-width: 860px) {
  .person { padding: 64px 0 44px; }
  .person-name { font-size: 46px; }
  .trend-grid { grid-template-columns: 1fr; }
  .trend-facts { flex-direction: row; flex-wrap: wrap; }
  .trend-fact {
    flex: 1 1 33%;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    text-align: center;
    border-bottom: 1px solid var(--line);
    border-right: 1px solid var(--line);
  }
  .trend-fact:last-child { border-right: 0; }
  .tf-label { grid-row: auto; margin-bottom: 6px; }
  .tf-name { grid-column: auto; white-space: normal; }
  .trend-chart { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- 手机 ---------- */
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .site-nav { display: none; }
  .brand { gap: 10px; }
  .brand-sub { font-size: 11.5px; letter-spacing: 0.08em; }

  .person { padding: 52px 0 40px; }
  .person-index { font-size: 10px; letter-spacing: 0.24em; }
  .person-name { font-size: 38px; }
  .person-en { font-size: 11.5px; letter-spacing: 0.34em; text-indent: 0.34em; }

  .stats {
    grid-template-columns: 1fr 1fr;
    margin-bottom: 72px;
  }
  .stat {
    padding: 26px 10px 22px;
    border-left: 0;
  }
  .stat:nth-child(odd) { border-right: 1px solid var(--line); }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .stat-num { font-size: 32px; }
  .stat-num-s { font-size: 24px; padding-top: 5px; }
  .stat-label { font-size: 12px; letter-spacing: 0.08em; }

  .section-head { flex-direction: column; gap: 6px; margin-bottom: 20px; }
  .section-note { white-space: normal; }

  .trend { margin-bottom: 72px; }
  .trend-fact { flex-basis: 100%; border-right: 0; }

  .works { margin-bottom: 72px; }

  /* 移动端：海报在左跨整行，右侧三行（标题 / 年份 / 角色链接），评分右置顶 */
  .work-row {
    grid-template-columns: 2.6rem minmax(0, 1fr) auto;
    grid-template-areas:
      "poster title score"
      "poster year  score"
      "poster meta  meta";
    column-gap: 11px;
    row-gap: 3px;
    padding: 14px 0;
  }
  .w-poster {
    grid-area: poster;
    width: 38px;
    height: 56px;
    align-self: start;
  }
  .w-year { grid-area: year; font-size: 11px; }
  /* display:contents 让标题链接与 meta 段落直接成为 work-row 网格项，各归其行 */
  .w-main { display: contents; }
  .w-main > a { grid-area: title; min-width: 0; align-self: center; }
  .w-title {
    font-size: 15.5px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .w-meta {
    grid-area: meta;
    white-space: normal;
    line-height: 1.5;
  }
  .w-votes { display: none; }
  .w-votes-mobile {
    display: block !important;
    margin-top: 4px;
    font-size: 10.5px;
    color: var(--faint);
    white-space: nowrap;
  }
  .w-scorebox {
    grid-area: score;
    justify-self: end;
    align-self: start;
    padding-top: 1px;
  }
  .w-score { font-size: 22px; }
  .w-status { grid-area: 1 / 3; font-size: 11.5px; align-self: start; justify-self: end; }
  .dl-long { display: none; }
  .dl-short { display: inline; }
  /* 加入平台后 meta 允许换行，避免溢出 */
  .w-meta { white-space: normal; }
  .w-honors { grid-column: 1 / -1; margin-top: 2px; }

  .person-honors { max-width: 100%; margin-top: 32px; padding-top: 22px; }
  .ph-head { flex-direction: column; gap: 5px; }
  .ph-list li { flex-wrap: wrap; gap: 2px 12px; font-size: 12px; }
  .ph-date { width: auto; }
  .ph-honor { margin-left: 0; text-align: left; flex-basis: 100%; }

  .about { padding: 26px 20px 24px; margin-bottom: 64px; }
  .about-list { font-size: 13px; line-height: 2; padding-left: 1em; }

  /* 详情页手机端：海报 → 标题 → 评分 → 角色，全部居中纵向 */
  .header-back { font-size: 12px; letter-spacing: 0.04em; }
  .d-hero { padding: 36px 0 32px; }
  .d-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    justify-items: center;
    text-align: center;
  }
  .d-poster {
    width: 132px;
    height: 189px;
  }
  .d-poster-fallback { font-size: 36px; }
  .d-kicker { margin-bottom: 2px; }
  .d-title { font-size: 27px; }
  .d-meta { margin-top: 10px; }
  .d-role { margin-top: 14px; }
  .d-honors { justify-content: center; }
  .d-rate {
    width: 100%;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 22px 0 0;
  }
  .d-score { font-size: 46px; }
  .d-status-sub { max-width: 260px; }
  .d-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin: 40px 0 72px;
  }
  .d-side {
    position: static;
    margin-top: 40px;
  }
  .d-fact { gap: 16px; padding: 12px 0; }
  .d-fact dt { width: 84px; }
  .d-block + .d-block { margin-top: 40px; }
}

/* 移动端评价人数（默认隐藏，手机端移至评分下方） */
.w-votes-mobile { display: none; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
