/* 评论原文列表、评论人档案、评论详情面板 */

/* ── 列表卡 ──────────────────────────────────────────────── */
.rv-list { display: flex; flex-direction: column; gap: 12px; }
.rv {
  background: var(--surface-2); border-radius: 10px; padding: 13px 16px;
  border-left: 3px solid var(--line); flex: none;
}
/* 色条按星级分三档，好评差评都一眼认得出，不是只标差评 */
.rv.s1, .rv.s2 { border-left-color: var(--red); }
.rv.s3 { border-left-color: var(--yellow); }
.rv.s4, .rv.s5 { border-left-color: var(--green); }

.rv .rh { display: flex; gap: 12px; align-items: baseline; }
.rv .rh .st { color: var(--yellow); font-size: 20px; letter-spacing: 1px; flex: none; }
.rv .rh .st i { color: var(--star-off); font-style: normal; }
.rv .rh .ti { font-size: 22px; font-weight: 600; overflow: hidden;
              text-overflow: ellipsis; white-space: nowrap; }
.rv .rh .dt { margin-left: auto; font-size: 18px; color: var(--muted);
              font-family: var(--mono); flex: none; }
.rv .to { font-size: 18px; color: var(--muted); margin-top: 3px; line-height: 1.4;
          overflow-wrap: anywhere; }
.rv .rb {
  font-size: 20px; line-height: 1.5; color: var(--ink-2); margin-top: 7px;
  overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden;
}
/* 英文原句压一级跟在译文下面，中英对照但不抢视线 */
.rv .rb.orig { font-size: 18px; color: var(--muted); margin-top: 5px; -webkit-line-clamp: 3; }
.rv .rf { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 9px; }
.rv .rf .au { font-size: 19px; color: var(--ink-2); }
.rv .rf .chip { font-size: 17px; padding: 2px 10px; }
.rv .rf .lk { font-size: 17px; color: var(--muted); margin-left: auto; }
.rv.clickable:active { background: var(--surface); }

/* 配图缩略：列表里给个存在感，点开看大图 */
.rimgs { display: flex; gap: 8px; margin-top: 10px; align-items: center; }
.rimgs img {
  width: 92px; height: 92px; object-fit: cover; border-radius: 8px;
  border: 1px solid var(--line); background: var(--bg); display: block;
}
.rimgs .more {
  font-size: 18px; color: var(--muted); padding: 0 8px;
  align-self: center;
}

/* ── 详情面板 ────────────────────────────────────────────── */
.rv-detail { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
             gap: 24px; align-items: start; }
.rd-main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.rd-blk .bh {
  font-size: 19px; color: var(--muted); letter-spacing: .06em; font-weight: 600;
  margin-bottom: 7px;
}
.rd-blk .bb { font-size: 23px; line-height: 1.6; overflow-wrap: anywhere; }
.rd-blk .bb.cn { color: var(--ink); }
.rd-blk .bb.en { color: var(--ink-2); font-size: 20px; line-height: 1.55;
                 background: var(--surface-2); border-radius: 10px; padding: 14px 16px; }

.rd-imgs { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.rd-imgs img {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px;
  border: 1px solid var(--line); background: var(--bg); display: block;
}

.rd-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.pf-grp { background: var(--surface-2); border-radius: 10px; padding: 13px 16px; }
.pf-t {
  font-size: 19px; font-weight: 600; letter-spacing: .05em; color: var(--ink-2);
  margin-bottom: 9px; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap;
}
.pf-t span { font-size: 16px; font-weight: 400; color: var(--muted); }
.pf-kv { display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr);
         gap: 7px 16px; font-size: 19px; }
.pf-kv .k { color: var(--muted); white-space: nowrap; }
.pf-kv .v { color: var(--ink); overflow-wrap: anywhere; }
/* 接口拿不到的字段照实标灰，不装作没有这一项 */
.pf-kv .v.na { color: var(--de); font-style: italic; }
.pf-none { font-size: 19px; color: var(--muted); }

/* ── 看原图 ──────────────────────────────────────────────── */
.rd-imgs img.zoomable { cursor: zoom-in; transition: border-color .12s; }
.rd-imgs img.zoomable:active { border-color: var(--accent); }

.lb { position: absolute; inset: 0; z-index: 30;
      display: flex; align-items: center; justify-content: center; }
.lb-mask { position: absolute; inset: 0; background: rgba(4, 7, 10, .92);
           border: 0; padding: 0; cursor: zoom-out; }
.lb > img {
  position: relative; max-width: 82%; max-height: 82%;
  object-fit: contain; border-radius: 10px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .7);
  pointer-events: none;
}
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 78px; height: 120px; border: 0; border-radius: 12px;
  background: rgba(22, 30, 38, .82); color: var(--ink);
  font-size: 56px; line-height: 1; cursor: pointer;
}
.lb-nav.prev { left: 3%; }
.lb-nav.next { right: 3%; }
.lb-nav:active { background: var(--surface-2); }
.lb-bar {
  position: absolute; bottom: 5%; display: flex; gap: 20px; align-items: center;
  background: rgba(22, 30, 38, .86); border-radius: 12px; padding: 10px 18px;
  font-size: 21px; color: var(--ink-2); font-variant-numeric: tabular-nums;
}
