/* ==========================================================================
   华新视界 · 视频中心（抖音频道）
   依赖 pro.css 的 hx- 变量体系；仅本频道使用，不影响其他页面
   ========================================================================== */

/* ---------- Hero ---------- */
.hx-vhero {
  position: relative;
  /* header 内的 logo/menu 使用 float，且 header 未创建 BFC，浮动会溢出到本节。
     本节点有 overflow:hidden（BFC），若不清除浮动会被左右两个浮动块夹成窄条。 */
  clear: both;
  background:
    radial-gradient(900px 520px at 82% 8%, rgba(31, 194, 255, .18), transparent 62%),
    radial-gradient(700px 480px at 8% 92%, rgba(11, 127, 191, .22), transparent 60%),
    linear-gradient(155deg, #05131f 0%, #082131 46%, #0a2c47 100%);
  color: #fff;
  overflow: hidden;
  padding: 68px 0 72px;
}
.hx-vhero-glow {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 40%, #000 20%, transparent 76%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 20%, transparent 76%);
  pointer-events: none;
}
.hx-vhero-in {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 316px;
  gap: 64px;
  align-items: center;
}

.hx-vhero-txt .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--hx-brand);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hx-vhero-txt .eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--hx-brand);
  opacity: .7;
}
.hx-vhero-txt h1 {
  font-size: 46px;
  line-height: 1.24;
  font-weight: 700;
  margin: 0 0 22px;
  letter-spacing: -.5px;
  color: #fff;
}
.hx-vhero-txt h1 span {
  color: var(--hx-brand);
  position: relative;
}
.hx-vhero-txt h1 span::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 8px;
  background: rgba(31, 194, 255, .18);
  border-radius: 2px;
  z-index: -1;
}
.hx-vhero-txt .lead {
  font-size: 15.5px;
  line-height: 1.85;
  color: rgba(255, 255, 255, .72);
  max-width: 540px;
  margin: 0 0 30px;
}
.hx-vhero .hx-btn.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, .28);
  background: transparent;
}
.hx-vhero .hx-btn.ghost:hover {
  border-color: var(--hx-brand);
  color: var(--hx-brand);
}

/* ---------- 账号卡 ---------- */
.hx-vid {
  position: relative;
  border-radius: 14px;
  padding: 28px 26px 24px;
  background: linear-gradient(168deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .035));
  border: 1px solid rgba(255, 255, 255, .13);
  box-shadow: 0 24px 54px rgba(0, 0, 0, .34);
  backdrop-filter: blur(8px);
  text-align: center;
}
.hx-vid .ava {
  width: 78px;
  height: 78px;
  margin: 0 auto 14px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(31, 194, 255, .55);
  box-shadow: 0 0 0 5px rgba(31, 194, 255, .1);
}
.hx-vid .ava img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hx-vid .meta h2 {
  font-size: 21px;
  font-weight: 600;
  margin: 0 0 6px;
  color: #fff;
  letter-spacing: .3px;
}
.hx-vid .uid {
  font-size: 12.5px;
  color: rgba(255, 255, 255, .55);
  letter-spacing: .3px;
}
.hx-vid .uid b {
  color: rgba(255, 255, 255, .86);
  font-weight: 500;
}

.hx-vid .nums {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin: 20px 0 18px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, .09);
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}
.hx-vid .nums div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.hx-vid .nums .sep {
  width: 1px;
  height: 26px;
  background: rgba(255, 255, 255, .12);
}
.hx-vid .nums b {
  font-size: 22px;
  font-weight: 700;
  color: var(--hx-brand);
  line-height: 1;
  letter-spacing: .5px;
}
.hx-vid .nums span {
  font-size: 11.5px;
  color: rgba(255, 255, 255, .5);
  letter-spacing: .6px;
}

.hx-vid .qrbox {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
}
.hx-vid .qrbox img {
  width: 78px;
  height: 78px;
  border-radius: 6px;
  background: #fff;
  padding: 5px;
  display: block;
  flex: 0 0 auto;
}
.hx-vid .qrhint {
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .52);
}

/* ---------- 作品墙 ---------- */
.hx-vwall {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px 22px;
}
.hx-vitem {
  min-width: 0;
}
.hx-vitem .thumb {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--hx-line);
  border-radius: 12px;
  overflow: hidden;
  background: #04101b;
  box-shadow: var(--hx-shadow);
  aspect-ratio: 3 / 4;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: box-shadow .3s var(--hx-ease), transform .3s var(--hx-ease), border-color .3s var(--hx-ease);
}
.hx-vitem .thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--hx-ease);
}
.hx-vitem .thumb .shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 12, 22, .74), rgba(2, 12, 22, .04) 48%, rgba(2, 12, 22, .16));
}
.hx-vitem .thumb .ply {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 54px;
  height: 54px;
  margin: -27px 0 0 -27px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(3, 22, 38, .3);
  opacity: 0;
  transform: scale(.8);
  transition: opacity .3s var(--hx-ease), transform .3s var(--hx-ease);
}
.hx-vitem .thumb .ply i {
  width: 0;
  height: 0;
  border-left: 15px solid #0b6fa8;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  margin-left: 4px;
}
.hx-vitem .thumb .dur {
  position: absolute;
  right: 9px;
  bottom: 9px;
  padding: 1px 7px;
  border-radius: 5px;
  background: rgba(4, 16, 27, .7);
  color: #fff;
  font-size: 11.5px;
  line-height: 1.7;
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
}
.hx-vitem:hover .thumb {
  transform: translateY(-3px);
  box-shadow: var(--hx-shadow-h);
  border-color: #cbe2f3;
}
.hx-vitem:hover .thumb img {
  transform: scale(1.045);
}
.hx-vitem:hover .thumb .ply {
  opacity: 1;
  transform: scale(1);
}
.hx-vitem .txt {
  padding: 13px 2px 0;
}
.hx-vitem .txt h3 a {
  color: inherit;
  text-decoration: none;
}
.hx-vitem .txt h3 a:hover {
  color: var(--hx-brand-d);
}
.hx-vitem .txt h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--hx-ink);
  margin: 0 0 7px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hx-vitem .txt p {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--hx-muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hx-vitem .meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 12px;
  color: #a2b4c2;
}
.hx-vitem .meta .lk i {
  font-style: normal;
  color: #f2707c;
  margin-right: 3px;
}
.hx-vitem .meta .lk b {
  font-weight: 600;
  color: #7e91a2;
}

/* ---------- 播放弹窗 ---------- */
.hx-vmodal {
  position: fixed;
  inset: 0;
  /* 老模板 header 的 z-index 是 2147483647，弹窗必须同值且 DOM 在其后，才能盖住 */
  z-index: 2147483647;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
}
.hx-vmodal[hidden] {
  display: none;
}
.hx-vmask {
  position: absolute;
  inset: 0;
  background: rgba(3, 11, 19, .84);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.hx-vdialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 288px;
  gap: 30px;
  align-items: center;
  justify-content: center;
}
.hx-vplayer {
  position: relative;
  height: min(84vh, 780px);
  aspect-ratio: 9 / 16;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 32px 80px rgba(0, 0, 0, .6);
}
.hx-vplayer iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.hx-vside {
  color: #fff;
  max-width: 288px;
}
.hx-vside-t .tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .14em;
  color: #6fd0f5;
  margin-bottom: 12px;
}
.hx-vside-t b {
  display: block;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.55;
  margin-bottom: 12px;
}
.hx-vside-t span#vdesc {
  display: block;
  font-size: 13.5px;
  line-height: 1.85;
  color: rgba(255, 255, 255, .62);
  margin-bottom: 22px;
}
.hx-vside .hx-btn.sm {
  display: inline-block;
  font-size: 13.5px;
  padding: 10px 18px;
  margin-bottom: 16px;
}
.hx-vside-hint {
  font-size: 12px;
  line-height: 1.8;
  color: rgba(255, 255, 255, .38);
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 14px;
}
.hx-vclose {
  position: absolute;
  right: -6px;
  top: -44px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s, border-color .25s;
}
.hx-vclose:hover {
  background: rgba(255, 255, 255, .18);
  border-color: rgba(255, 255, 255, .5);
}


/* ---------- 空态 ---------- */
.hx-vempty {
  text-align: center;
  padding: 54px 24px 50px;
  border: 1px dashed #cfe0ee;
  border-radius: 12px;
  background: linear-gradient(170deg, #fbfdff, #f3f8fc);
}
.hx-vempty .ico {
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: var(--hx-brand-d);
  box-shadow: 0 6px 18px rgba(11, 127, 191, .12);
}
.hx-vempty h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--hx-ink);
  margin: 0 0 10px;
}
.hx-vempty p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--hx-muted);
  max-width: 520px;
  margin: 0 auto;
}

/* ---------- 账号讲什么 ---------- */
.hx-vfeats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  background: var(--hx-line);
  border: 1px solid var(--hx-line);
  border-radius: 12px;
  overflow: hidden;
}
.hx-vfeats .item {
  background: #fff;
  padding: 34px 32px 30px;
  position: relative;
  transition: background .3s var(--hx-ease);
}
.hx-vfeats .item:hover {
  background: #fbfdff;
}
.hx-vfeats .no {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  color: var(--hx-brand);
  margin-bottom: 14px;
}
.hx-vfeats h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--hx-ink);
  margin: 0 0 12px;
  line-height: 1.45;
}
.hx-vfeats p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--hx-body);
  margin: 0;
}

/* ---------- 尾部提问条 ---------- */
.hx-vask {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 40px 44px;
  border-radius: 14px;
  background: linear-gradient(120deg, #f3f9fe, #eaf4fb);
  border: 1px solid #dcebf7;
}
.hx-vask .txt h2 {
  font-size: 22px;
  font-weight: 600;
  color: var(--hx-ink);
  margin: 0 0 10px;
}
.hx-vask .txt p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--hx-body);
  margin: 0;
  max-width: 620px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1180px) {
  .hx-vhero-in { grid-template-columns: minmax(0, 1fr) 288px; gap: 40px; }
  .hx-vhero-txt h1 { font-size: 38px; }
  .hx-vwall { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 20px; }
  .hx-vdialog { grid-template-columns: auto 250px; gap: 24px; }
  .hx-vside { max-width: 250px; }
}

@media (max-width: 991px) {
  .hx-vhero { padding: 48px 0 52px; }
  .hx-vhero-in { grid-template-columns: 1fr; gap: 34px; }
  .hx-vhero-txt h1 { font-size: 32px; }
  .hx-vhero-txt .lead { font-size: 15px; margin-bottom: 24px; }
  .hx-vid { max-width: 340px; }
  .hx-vwall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
  .hx-vfeats { grid-template-columns: 1fr; }
  .hx-vask { padding: 30px 26px; }
  .hx-vask .txt h2 { font-size: 20px; }
  .hx-vitem .txt h3 { font-size: 14px; }
  .hx-vitem .txt p { display: none; }
  /* 弹窗改为竖向堆叠；内容超高时自身滚动 */
  .hx-vmodal { padding: 0; align-items: flex-start; overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .hx-vmask { position: fixed; }
  .hx-vdialog {
    grid-template-columns: 1fr;
    gap: 18px;
    justify-items: center;
    align-content: start;
    padding: 56px 18px 28px;
  }
  .hx-vplayer { width: min(calc(100vw - 76px), 344px); height: auto; aspect-ratio: 9 / 16; }
  .hx-vside { max-width: 344px; width: 100%; text-align: left; }
  .hx-vside-t .tag { margin-bottom: 8px; }
  .hx-vside-t b { font-size: 16px; margin-bottom: 8px; }
  .hx-vside-t span#vdesc, .hx-vside-hint { display: none; }
  .hx-vside .hx-btn.sm { margin-bottom: 0; }
  .hx-vclose { position: fixed; right: 16px; top: 16px; background: rgba(10, 24, 36, .72); z-index: 2; }
}

@media (max-width: 560px) {
  .hx-vhero-txt h1 { font-size: 27px; line-height: 1.32; }
  .hx-vhero .hx-btns { flex-direction: column; align-items: stretch; }
  .hx-vhero .hx-btn { text-align: center; }
  .hx-vid { max-width: none; }
  .hx-vwall { gap: 16px 12px; }
  .hx-vitem .thumb .ply { width: 44px; height: 44px; margin: -22px 0 0 -22px; opacity: 1; transform: none; }
  .hx-vitem .thumb .ply i { border-left-width: 12px; border-top-width: 7px; border-bottom-width: 7px; }
  .hx-vitem .txt { padding-top: 10px; }
  .hx-vitem .txt h3 { font-size: 13px; -webkit-line-clamp: 2; }
  .hx-vitem .meta { font-size: 11px; margin-top: 6px; }
  .hx-vfeats .item { padding: 26px 22px 24px; }
  .hx-vask { flex-direction: column; align-items: stretch; }
}

/* ==========================================================================
   视频详情页（/video/xxx.html）
   ========================================================================== */
.hx-vd { padding: 26px 0 72px; }
.hx-vd-crumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: #9aacbb;
  margin-bottom: 26px;
}
.hx-vd-crumb a { color: #7f92a2; }
.hx-vd-crumb a:hover { color: var(--hx-brand-d); }
.hx-vd-crumb i { font-style: normal; color: #c9d7e2; }
.hx-vd-crumb span { color: #5c7180; }

.hx-vd-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 52px;
  align-items: start;
}
.hx-vd-player {
  position: relative;
  width: min(350px, 36vw);
  aspect-ratio: 9 / 16;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--hx-line);
  box-shadow: 0 22px 60px rgba(6, 28, 46, .16);
}
.hx-vd-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.hx-vd-info { padding-top: 4px; }
.hx-vd-info .tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--hx-brand);
  margin-bottom: 14px;
}
.hx-vd-info h1 {
  font-size: 29px;
  line-height: 1.42;
  font-weight: 600;
  color: var(--hx-ink);
  margin: 0 0 16px;
}
.hx-vd-info .desc {
  font-size: 15px;
  line-height: 1.95;
  color: var(--hx-body);
  margin: 0 0 22px;
  max-width: 620px;
}
.hx-vd-info .meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: #8fa1b0;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.hx-vd-info .meta .lk b { color: #f2707c; font-weight: 600; }
.hx-vd-info .meta .sp { width: 1px; height: 12px; background: #dde8f1; }
.hx-vd-info .acts { display: flex; gap: 12px; margin-bottom: 30px; flex-wrap: wrap; }
.hx-vd-info .raw {
  font-size: 13.5px;
  line-height: 1.95;
  color: #7f92a2;
  border-left: 2px solid #e6f0f7;
  padding-left: 16px;
  margin-bottom: 22px;
  max-width: 620px;
}
.hx-vd-info .note {
  font-size: 12px;
  line-height: 1.85;
  color: #a8b8c4;
  border-top: 1px solid var(--hx-line);
  padding-top: 16px;
  max-width: 620px;
}
.hx-vd-rel {
  margin-top: 68px;
  border-top: 1px solid var(--hx-line);
  padding-top: 42px;
}
.hx-vd-relhd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
}
.hx-vd-relhd h2 { font-size: 20px; font-weight: 600; color: var(--hx-ink); margin: 0; }
.hx-vd-relhd a { font-size: 13px; color: var(--hx-brand-d); }
.hx-vd-rel .hx-vwall { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hx-vd .hx-vitem .thumb { text-decoration: none; }
.hx-vd .hx-vitem .txt h3 a { color: inherit; }
.hx-vd .hx-vitem .txt h3 a:hover { color: var(--hx-brand-d); }

@media (max-width: 1180px) {
  .hx-vd-main { gap: 36px; }
  .hx-vd-player { width: min(320px, 34vw); }
  .hx-vd-rel .hx-vwall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
  .hx-vd { padding: 20px 0 52px; }
  .hx-vd-main { grid-template-columns: 1fr; gap: 26px; justify-items: center; }
  .hx-vd-player { width: min(300px, 78vw); }
  .hx-vd-info { width: 100%; }
  .hx-vd-info h1 { font-size: 23px; }
  .hx-vd-info .desc { font-size: 14px; }
  .hx-vd-rel { margin-top: 44px; padding-top: 30px; }
  .hx-vd-rel .hx-vwall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .hx-vd-info h1 { font-size: 20px; }
  .hx-vd-player { width: min(280px, 82vw); }
  .hx-vd-info .acts .hx-btn { flex: 1 1 auto; text-align: center; }
}
