/* =========================================================
   黑桃短视频创作者内容平台 — 全站样式
   设计语言：极简 UI + 沉浸式竖屏 / 暗黑模式主导
   主色 #000000 / 高亮红 #FE2C55 / 互动青蓝 #25F4EE
   ========================================================= */

:root {
  --hei-bg: #000000;
  --hei-surface: #121214;
  --hei-surface-2: #1b1b1f;
  --hei-surface-3: #26262c;
  --hei-line: #2c2c33;
  --hei-text: #ffffff;
  --hei-text-dim: #b5b5bd;
  --hei-text-mute: #75757e;
  --hei-red: #fe2c55;
  --hei-cyan: #25f4ee;
  --hei-grad: linear-gradient(115deg, #fe2c55 0%, #25f4ee 100%);
  --hei-radius: 14px;
  --hei-radius-lg: 22px;
  --hei-nav-w: 232px;
  --hei-shadow: 0 10px 40px rgba(0, 0, 0, .55);
  --hei-ease: cubic-bezier(.22, .61, .36, 1);
  --hei-ff: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", "Hiragino Sans GB", system-ui, -apple-system, sans-serif;
}

/* 明亮模式覆盖 */
body.hei-light {
  --hei-bg: #ffffff;
  --hei-surface: #f6f6f8;
  --hei-surface-2: #eeeef1;
  --hei-surface-3: #e3e3e8;
  --hei-line: #e2e2e6;
  --hei-text: #161823;
  --hei-text-dim: #4b4d57;
  --hei-text-mute: #8a8c96;
  --hei-shadow: 0 10px 40px rgba(22, 24, 35, .12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--hei-ff);
  background: var(--hei-bg);
  color: var(--hei-text);
  line-height: 1.7;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .35s var(--hei-ease), color .35s var(--hei-ease);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

::selection { background: var(--hei-red); color: #fff; }

/* 滚动条 */
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--hei-surface-3); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--hei-red); }

/* ============ 布局骨架 ============ */
.hei-shell { display: flex; min-height: 100vh; }

/* 左侧固定极简导航 */
.hei-nav {
  width: var(--hei-nav-w);
  flex-shrink: 0;
  background: var(--hei-surface);
  border-right: 1px solid var(--hei-line);
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 20px 14px;
  overflow-y: auto;
  z-index: 60;
}
.hei-brand {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 10px 18px; font-weight: 800; font-size: 20px; letter-spacing: .5px;
}
.hei-brand img { width: 38px; height: 38px; border-radius: 10px; }
.hei-brand b { background: var(--hei-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.hei-navlist { display: flex; flex-direction: column; gap: 4px; }
.hei-navlist a {
  display: flex; align-items: center; gap: 14px;
  padding: 11px 14px; border-radius: 12px; font-weight: 600; color: var(--hei-text-dim);
  transition: background .2s, color .2s;
}
.hei-navlist a .ico { font-size: 20px; width: 24px; text-align: center; }
.hei-navlist a:hover { background: var(--hei-surface-2); color: var(--hei-text); }
.hei-navlist a.active { color: var(--hei-text); background: var(--hei-surface-2); }
.hei-navlist a.active .ico { color: var(--hei-red); }

.hei-postbtn {
  margin: 18px 6px; padding: 12px; border: none; cursor: pointer;
  background: var(--hei-grad); color: #fff; font-weight: 800; font-size: 15px;
  border-radius: 12px; font-family: inherit; text-align: center; display: block;
  transition: transform .18s var(--hei-ease), box-shadow .18s;
}
.hei-postbtn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(254, 44, 85, .4); }

.hei-nav-foot { margin-top: auto; padding: 14px 12px 4px; font-size: 12px; color: var(--hei-text-mute); line-height: 1.9; }
.hei-nav-foot a { color: var(--hei-text-mute); }
.hei-nav-foot a:hover { color: var(--hei-cyan); }

/* 主区域 */
.hei-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }

/* 顶部频道切换 */
.hei-topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 20px;
  padding: 14px 28px; background: color-mix(in srgb, var(--hei-bg) 82%, transparent);
  backdrop-filter: blur(14px); border-bottom: 1px solid var(--hei-line);
}
.hei-tabs { display: flex; gap: 26px; }
.hei-tabs a {
  font-weight: 700; font-size: 17px; color: var(--hei-text-mute); position: relative; padding: 4px 0;
  transition: color .2s;
}
.hei-tabs a.active, .hei-tabs a:hover { color: var(--hei-text); }
.hei-tabs a.active::after {
  content: ""; position: absolute; bottom: -4px; left: 50%; transform: translateX(-50%);
  width: 22px; height: 3px; background: var(--hei-red); border-radius: 3px;
}
.hei-topbar-spacer { flex: 1; }
.hei-search-mini {
  display: flex; align-items: center; gap: 8px; background: var(--hei-surface-2);
  border: 1px solid var(--hei-line); border-radius: 20px; padding: 8px 16px; min-width: 220px;
  color: var(--hei-text-mute); font-size: 14px;
}
.hei-search-mini:hover { border-color: var(--hei-cyan); color: var(--hei-text); }
.hei-theme-toggle {
  background: var(--hei-surface-2); border: 1px solid var(--hei-line); color: var(--hei-text);
  width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 17px;
  display: flex; align-items: center; justify-content: center; transition: .2s;
}
.hei-theme-toggle:hover { border-color: var(--hei-red); transform: rotate(20deg); }

/* 内容区容器 */
.hei-content { padding: 28px; max-width: 1180px; width: 100%; margin: 0 auto; }
.hei-content.narrow { max-width: 860px; }

/* ============ 竖屏播放器（首页 Hero） ============ */
.hei-feed { display: flex; flex-direction: column; align-items: center; gap: 70px; padding: 18px 0 60px; }
.hei-player {
  position: relative; display: flex; gap: 18px; align-items: flex-end;
  width: 100%; max-width: 720px;
}
.hei-player-frame {
  position: relative; flex: 1; aspect-ratio: 9 / 16; max-height: 78vh;
  background: #000; border-radius: var(--hei-radius-lg); overflow: hidden;
  box-shadow: var(--hei-shadow); border: 1px solid var(--hei-line);
}
.hei-player-frame img { width: 100%; height: 100%; object-fit: cover; }
.hei-player-overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, .18); opacity: 0; transition: opacity .25s; cursor: pointer;
}
.hei-player-frame:hover .hei-player-overlay { opacity: 1; }
.hei-play-ico {
  width: 70px; height: 70px; border-radius: 50%; background: rgba(0, 0, 0, .45);
  display: flex; align-items: center; justify-content: center; font-size: 30px; color: #fff;
  backdrop-filter: blur(4px);
}
.hei-progress {
  position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .25);
}
.hei-progress i { display: block; height: 100%; width: 42%; background: var(--hei-red); }
.hei-mute-btn {
  position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(0, 0, 0, .45); color: #fff; border: none; cursor: pointer; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
}

/* 底部视频信息区 */
.hei-vinfo {
  position: absolute; left: 0; right: 60px; bottom: 18px; padding: 0 18px; color: #fff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .6);
}
.hei-vinfo .author { font-weight: 800; font-size: 16px; margin-bottom: 6px; }
.hei-vinfo .desc { font-size: 14px; line-height: 1.6; margin-bottom: 8px; }
.hei-vinfo .tags a { color: var(--hei-cyan); font-weight: 700; margin-right: 8px; }
.hei-vinfo .bgm { display: flex; align-items: center; gap: 8px; font-size: 13px; margin-top: 8px; }
.hei-vinfo .bgm .disc {
  width: 22px; height: 22px; border-radius: 50%; background: var(--hei-grad);
  animation: hei-spin 4s linear infinite; flex-shrink: 0;
}
.hei-vinfo .bgm marquee, .hei-vinfo .bgm .bgm-text { color: #fff; }
@keyframes hei-spin { to { transform: rotate(360deg); } }

/* 右侧浮动互动操作栏 */
.hei-actions { display: flex; flex-direction: column; align-items: center; gap: 18px; padding-bottom: 26px; }
.hei-actions .avatar {
  width: 50px; height: 50px; border-radius: 50%; border: 2px solid #fff; overflow: hidden;
  position: relative; margin-bottom: 8px;
}
.hei-actions .avatar img { width: 100%; height: 100%; object-fit: cover; }
.hei-actions .avatar .plus {
  position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%);
  width: 20px; height: 20px; background: var(--hei-red); color: #fff; border-radius: 50%;
  font-size: 13px; display: flex; align-items: center; justify-content: center; font-weight: 800;
}
.hei-act {
  display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer;
  color: var(--hei-text); background: none; border: none; font-family: inherit;
}
.hei-act .bubble {
  width: 48px; height: 48px; border-radius: 50%; background: var(--hei-surface-2);
  display: flex; align-items: center; justify-content: center; font-size: 22px; transition: transform .18s;
}
.hei-act:hover .bubble { transform: scale(1.12); }
.hei-act.liked .bubble { color: var(--hei-red); }
.hei-act span { font-size: 12px; color: var(--hei-text-dim); font-weight: 600; }

/* 爱心爆炸特效 */
.hei-heart-pop {
  position: absolute; font-size: 30px; color: var(--hei-red); pointer-events: none;
  animation: hei-heart 0.9s var(--hei-ease) forwards; z-index: 30;
}
@keyframes hei-heart {
  0% { transform: scale(.3) translateY(0); opacity: 0; }
  20% { transform: scale(1.3) translateY(-6px); opacity: 1; }
  100% { transform: scale(1) translateY(-90px); opacity: 0; }
}

/* ============ 通用区块 ============ */
.hei-section { margin: 56px 0; }
.hei-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; gap: 16px; flex-wrap: wrap; }
.hei-section-head h2 { font-size: 25px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.hei-section-head h2::before { content: ""; width: 6px; height: 24px; background: var(--hei-grad); border-radius: 4px; }
.hei-section-head .more { color: var(--hei-cyan); font-weight: 700; font-size: 14px; }
.hei-lead { color: var(--hei-text-dim); font-size: 16px; max-width: 760px; line-height: 1.9; }

/* 内容瀑布流网格 */
.hei-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px;
}
.hei-card {
  background: var(--hei-surface); border-radius: var(--hei-radius); overflow: hidden;
  border: 1px solid var(--hei-line); transition: transform .22s var(--hei-ease), border-color .22s;
  position: relative;
}
.hei-card:hover { transform: translateY(-5px); border-color: var(--hei-red); }
.hei-card-thumb { position: relative; aspect-ratio: 9 / 14; overflow: hidden; }
.hei-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--hei-ease); }
.hei-card:hover .hei-card-thumb img { transform: scale(1.06); }
.hei-card-thumb .play-count {
  position: absolute; left: 10px; bottom: 10px; color: #fff; font-size: 13px; font-weight: 700;
  display: flex; align-items: center; gap: 4px; text-shadow: 0 1px 4px rgba(0, 0, 0, .7);
}
.hei-card-thumb .dur {
  position: absolute; right: 10px; bottom: 10px; background: rgba(0, 0, 0, .6); color: #fff;
  font-size: 11px; padding: 2px 7px; border-radius: 6px;
}
.hei-card-body { padding: 11px 13px 14px; }
.hei-card-body .title { font-weight: 700; font-size: 14px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hei-card-body .meta { display: flex; align-items: center; gap: 7px; margin-top: 9px; color: var(--hei-text-mute); font-size: 12px; }
.hei-card-body .meta .a-avatar { width: 22px; height: 22px; border-radius: 50%; background: var(--hei-grad); flex-shrink: 0; }

/* 频道筛选小药丸 */
.hei-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.hei-pills a {
  padding: 7px 16px; border-radius: 20px; background: var(--hei-surface-2); border: 1px solid var(--hei-line);
  font-size: 14px; font-weight: 600; color: var(--hei-text-dim); transition: .2s;
}
.hei-pills a:hover, .hei-pills a.active { background: var(--hei-text); color: var(--hei-bg); border-color: var(--hei-text); }

/* 热榜列表 */
.hei-rank { display: flex; flex-direction: column; gap: 4px; }
.hei-rank li { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 12px; transition: background .2s; }
.hei-rank li:hover { background: var(--hei-surface-2); }
.hei-rank .no { font-size: 19px; font-weight: 800; font-style: italic; width: 26px; color: var(--hei-text-mute); }
.hei-rank li:nth-child(1) .no, .hei-rank li:nth-child(2) .no, .hei-rank li:nth-child(3) .no { color: var(--hei-red); }
.hei-rank .rk-title { flex: 1; font-weight: 600; }
.hei-rank .rk-hot { color: var(--hei-cyan); font-size: 13px; font-weight: 700; }
.hei-rank .rk-tag { font-size: 11px; padding: 1px 8px; border-radius: 6px; background: var(--hei-surface-3); color: var(--hei-text-dim); margin-left: 8px; }

/* ============ 文本内容（内页） ============ */
.hei-prose { max-width: 820px; }
.hei-prose h2 { font-size: 23px; font-weight: 800; margin: 38px 0 14px; padding-left: 14px; border-left: 5px solid var(--hei-red); }
.hei-prose h3 { font-size: 18px; font-weight: 700; margin: 26px 0 10px; color: var(--hei-text); }
.hei-prose p { color: var(--hei-text-dim); margin-bottom: 14px; line-height: 1.95; }
.hei-prose strong { color: var(--hei-text); }
.hei-prose ul.dot { margin: 14px 0; padding-left: 4px; }
.hei-prose ul.dot li { color: var(--hei-text-dim); padding-left: 22px; position: relative; margin-bottom: 10px; line-height: 1.85; }
.hei-prose ul.dot li::before { content: "▸"; position: absolute; left: 0; color: var(--hei-cyan); font-weight: 800; }
.hei-prose blockquote {
  border-left: 4px solid var(--hei-cyan); background: var(--hei-surface); padding: 14px 20px;
  border-radius: 0 12px 12px 0; margin: 20px 0; color: var(--hei-text-dim); font-style: italic;
}

/* 面包屑 */
.hei-crumb { font-size: 13px; color: var(--hei-text-mute); margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.hei-crumb a:hover { color: var(--hei-cyan); }
.hei-crumb span.sep { color: var(--hei-text-mute); }

/* 页面 hero 横幅 */
.hei-pagehero {
  position: relative; border-radius: var(--hei-radius-lg); overflow: hidden; margin-bottom: 34px;
  min-height: 260px; display: flex; align-items: flex-end; border: 1px solid var(--hei-line);
}
.hei-pagehero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hei-pagehero .mask { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.2) 0%, rgba(0,0,0,.82) 100%); }
.hei-pagehero .inner { position: relative; padding: 30px 34px; color: #fff; }
.hei-pagehero .badge { display: inline-block; background: var(--hei-red); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 20px; margin-bottom: 12px; }
.hei-pagehero h1 { font-size: 31px; font-weight: 800; margin-bottom: 10px; line-height: 1.25; }
.hei-pagehero p { color: #e6e6ea; max-width: 620px; font-size: 15px; }

/* 统计数字卡 */
.hei-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; margin: 26px 0; }
.hei-stat { background: var(--hei-surface); border: 1px solid var(--hei-line); border-radius: var(--hei-radius); padding: 22px 20px; text-align: center; }
.hei-stat .num { font-size: 30px; font-weight: 800; background: var(--hei-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hei-stat .lbl { color: var(--hei-text-mute); font-size: 13px; margin-top: 6px; }

/* 特性卡 */
.hei-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin: 26px 0; }
.hei-feature { background: var(--hei-surface); border: 1px solid var(--hei-line); border-radius: var(--hei-radius); padding: 24px; transition: border-color .2s, transform .2s; }
.hei-feature:hover { border-color: var(--hei-cyan); transform: translateY(-4px); }
.hei-feature .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--hei-surface-2); display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 14px; }
.hei-feature h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.hei-feature p { color: var(--hei-text-dim); font-size: 14px; line-height: 1.8; }

/* FAQ 折叠 */
.hei-faq { margin: 20px 0; }
.hei-faq details { background: var(--hei-surface); border: 1px solid var(--hei-line); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.hei-faq summary { padding: 16px 20px; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.hei-faq summary::-webkit-details-marker { display: none; }
.hei-faq summary::after { content: "+"; font-size: 22px; color: var(--hei-cyan); transition: transform .25s; }
.hei-faq details[open] summary::after { transform: rotate(45deg); }
.hei-faq .ans { padding: 0 20px 18px; color: var(--hei-text-dim); line-height: 1.9; }

/* 相关链接卡 */
.hei-related { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 22px 0; }
.hei-related a { background: var(--hei-surface); border: 1px solid var(--hei-line); border-radius: 12px; padding: 16px 18px; transition: .2s; display: block; }
.hei-related a:hover { border-color: var(--hei-red); background: var(--hei-surface-2); }
.hei-related a .rt { font-weight: 700; margin-bottom: 4px; display: flex; align-items: center; gap: 8px; }
.hei-related a .rd { font-size: 13px; color: var(--hei-text-mute); }

/* 按钮 */
.hei-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 26px; border-radius: 12px; font-weight: 700; cursor: pointer; border: none; font-family: inherit; font-size: 15px; transition: transform .18s, box-shadow .18s; }
.hei-btn.primary { background: var(--hei-grad); color: #fff; }
.hei-btn.primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(254, 44, 85, .4); }
.hei-btn.ghost { background: var(--hei-surface-2); color: var(--hei-text); border: 1px solid var(--hei-line); }
.hei-btn.ghost:hover { border-color: var(--hei-cyan); }
.hei-btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin: 22px 0; }

/* 页脚 */
.hei-footer { border-top: 1px solid var(--hei-line); background: var(--hei-surface); padding: 44px 28px 30px; margin-top: 40px; }
.hei-footer-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 30px; }
.hei-footer h4 { font-size: 15px; font-weight: 700; margin-bottom: 14px; }
.hei-footer ul li { margin-bottom: 9px; }
.hei-footer ul li a { color: var(--hei-text-dim); font-size: 14px; transition: color .2s; }
.hei-footer ul li a:hover { color: var(--hei-cyan); }
.hei-footer .f-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; margin-bottom: 12px; }
.hei-footer .f-brand img { width: 34px; height: 34px; border-radius: 9px; }
.hei-footer .f-desc { color: var(--hei-text-mute); font-size: 13px; line-height: 1.9; max-width: 320px; }
.hei-footer-bottom { max-width: 1180px; margin: 30px auto 0; padding-top: 22px; border-top: 1px solid var(--hei-line); color: var(--hei-text-mute); font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.hei-footer-bottom a { color: var(--hei-text-mute); }
.hei-footer-bottom a:hover { color: var(--hei-cyan); }

/* 移动端底部 Tab Bar（默认隐藏） */
.hei-tabbar { display: none; }

/* 搜索页 */
.hei-searchbox { display: flex; gap: 10px; margin-bottom: 24px; }
.hei-searchbox input { flex: 1; background: var(--hei-surface-2); border: 1px solid var(--hei-line); border-radius: 12px; padding: 14px 18px; color: var(--hei-text); font-size: 16px; font-family: inherit; }
.hei-searchbox input:focus { outline: none; border-color: var(--hei-cyan); }
.hei-search-result { display: flex; flex-direction: column; gap: 10px; }
.hei-search-result a { display: flex; gap: 14px; padding: 14px; background: var(--hei-surface); border: 1px solid var(--hei-line); border-radius: 12px; transition: .2s; }
.hei-search-result a:hover { border-color: var(--hei-red); }
.hei-search-result .st { font-weight: 700; margin-bottom: 4px; }
.hei-search-result .sd { font-size: 13px; color: var(--hei-text-mute); }
.hei-search-result .su { font-size: 12px; color: var(--hei-cyan); margin-top: 6px; }

/* 404 */
.hei-404 { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px; }
.hei-404 .big { font-size: 96px; font-weight: 800; background: var(--hei-grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }

/* 表单（上传页模拟） */
.hei-dropzone { border: 2px dashed var(--hei-line); border-radius: var(--hei-radius-lg); padding: 50px 30px; text-align: center; background: var(--hei-surface); transition: border-color .2s, background .2s; cursor: pointer; }
.hei-dropzone:hover { border-color: var(--hei-cyan); background: var(--hei-surface-2); }
.hei-dropzone .dz-ico { font-size: 54px; margin-bottom: 14px; }
.hei-field { margin-bottom: 18px; }
.hei-field label { display: block; font-weight: 700; margin-bottom: 8px; font-size: 14px; }
.hei-field input, .hei-field textarea { width: 100%; background: var(--hei-surface-2); border: 1px solid var(--hei-line); border-radius: 10px; padding: 12px 14px; color: var(--hei-text); font-family: inherit; font-size: 15px; }
.hei-field input:focus, .hei-field textarea:focus { outline: none; border-color: var(--hei-cyan); }
.hei-two-col { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: start; }

/* 详情页视频主体 */
.hei-detail-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.hei-comment { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--hei-line); }
.hei-comment .c-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--hei-grad); flex-shrink: 0; }
.hei-comment .c-name { font-weight: 700; font-size: 13px; color: var(--hei-text-dim); margin-bottom: 3px; }
.hei-comment .c-text { font-size: 14px; }
.hei-comment .c-meta { font-size: 12px; color: var(--hei-text-mute); margin-top: 6px; display: flex; gap: 16px; }

/* 骨架屏 */
.hei-skeleton { background: linear-gradient(90deg, var(--hei-surface) 25%, var(--hei-surface-2) 50%, var(--hei-surface) 75%); background-size: 200% 100%; animation: hei-shimmer 1.4s infinite; border-radius: 12px; }
@keyframes hei-shimmer { to { background-position: -200% 0; } }

/* 评论抽屉（从底部滑出） */
.hei-drawer { position: fixed; left: 0; right: 0; bottom: 0; max-height: 70vh; background: var(--hei-surface); border-radius: 22px 22px 0 0; transform: translateY(110%); transition: transform .35s var(--hei-ease); z-index: 200; box-shadow: 0 -10px 40px rgba(0,0,0,.5); padding: 20px; overflow-y: auto; }
.hei-drawer.open { transform: translateY(0); }
.hei-drawer-handle { width: 44px; height: 5px; background: var(--hei-surface-3); border-radius: 4px; margin: 0 auto 16px; }

/* 浮动返回顶部 */
.hei-totop { position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%; background: var(--hei-grad); color: #fff; border: none; cursor: pointer; font-size: 20px; display: none; align-items: center; justify-content: center; z-index: 80; box-shadow: var(--hei-shadow); }
.hei-totop.show { display: flex; }

/* ============ 响应式断点 ============ */
@media (max-width: 1024px) {
  .hei-two-col, .hei-detail-wrap { grid-template-columns: 1fr; }
  .hei-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hei-nav { position: fixed; left: 0; top: 0; transform: translateX(-100%); transition: transform .3s var(--hei-ease); box-shadow: var(--hei-shadow); }
  .hei-nav.open { transform: translateX(0); }
  .hei-nav-backdrop { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 55; }
  .hei-nav-backdrop.show { display: block; }
  .hei-menu-btn { display: flex !important; }
  .hei-content { padding: 18px 16px 90px; }
  .hei-topbar { padding: 12px 16px; }
  .hei-tabs { gap: 18px; }
  .hei-tabs a { font-size: 15px; }
  .hei-search-mini { display: none; }
  .hei-player { flex-direction: row; gap: 8px; max-width: 100%; }
  .hei-player-frame { max-height: 70vh; }
  .hei-actions { gap: 14px; }
  .hei-act .bubble { width: 42px; height: 42px; font-size: 19px; }
  .hei-pagehero h1 { font-size: 24px; }
  .hei-footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .hei-footer-bottom { flex-direction: column; }
  .hei-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
  /* 移动端底部导航 */
  .hei-tabbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--hei-surface); border-top: 1px solid var(--hei-line); justify-content: space-around; padding: 8px 0 calc(8px + env(safe-area-inset-bottom)); }
  .hei-tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; color: var(--hei-text-mute); }
  .hei-tabbar a .ico { font-size: 21px; }
  .hei-tabbar a.active { color: var(--hei-text); }
  .hei-tabbar a.post .ico { background: var(--hei-grad); color: #fff; width: 38px; height: 26px; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
}

.hei-menu-btn { display: none; background: var(--hei-surface-2); border: 1px solid var(--hei-line); color: var(--hei-text); width: 40px; height: 40px; border-radius: 10px; cursor: pointer; font-size: 18px; align-items: center; justify-content: center; }
