/* ==========================================================================
   圈子页「赛博暗黑 + 点阵」皮肤 v5 —— 按稿重建（逐块全等）
   --------------------------------------------------------------------------
   单一真源：design/20261023_圈子页_皮肤对照_v5.html
   本文件把设计稿 <style> 块里的值原样搬过来，只做两处必要的适配：
     1. 令牌改名 --bg→--cs-bg 等，并限定在 [data-skin="cyber-v5"] 作用域内（开关隔离）；
     2. .phone（390×844 固定外壳）→ [data-skin="cyber-v5"]（100%×视口高），
        .home-feed 的 overflow:hidden 改为 overflow-y:auto（实机要能滚动，设计稿是静态快照）。
   其余尺寸 / 字号 / 字距 / 颜色 / 圆角一律照抄，不允许"差不多"。
   ========================================================================== */

/* 底栏在 #screen 之外（index.html 的 shell 层），拿不到 #screen 作用域的令牌，
   因此 ApplyCyberSkin 会同步在 body 上打 data-cyber-nav，令牌这里一起挂上 */
[data-skin="cyber-v5"],
body[data-cyber-nav="1"] {
  --cs-bg: #000000;
  --cs-surface: #0f0f0f;
  --cs-surface-2: #171717;
  --cs-text: #ffffff;
  --cs-text-2: #cccccc;
  --cs-muted: #8a8a8a;
  --cs-accent: #ff4d00;
  --cs-accent-2: #ff1e56;
  --cs-line: rgba(255, 255, 255, .09);
  --cs-line-2: rgba(255, 255, 255, .18);
  --cs-r-card: 24px;
  --cs-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

/* 整个皮肤作用域：等宽字体 + 22px 点阵底纹（= 设计稿 .phone::before） */
[data-skin="cyber-v5"],
[data-skin="cyber-v5"] * {
  box-sizing: border-box;
}

[data-skin="cyber-v5"] {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  background: var(--cs-bg);
  color: var(--cs-text);
  /* 照抄设计稿 body：13px/1.65 等宽。不设会掉到浏览器默认 16px，
     所有后代的 em/行高整体偏移 → 逐块比对全线 fail */
  font: 13px / 1.65 var(--cs-mono);
}

[data-skin="cyber-v5"]::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255, 255, 255, .055) 1px, transparent 1.3px);
  background-size: 22px 22px;
}

[data-skin="cyber-v5"] > * { position: relative; z-index: 2; }

/* 点阵动画：与设计稿同一条 dblink 曲线 */
@keyframes dblink {
  0%, 100% { opacity: .10; }
  7% { opacity: 1; }
  30% { opacity: .10; }
}

.dot { animation: dblink var(--dur, 1.8s) linear infinite; }

@media (prefers-reduced-motion: reduce) {
  .dot { animation: none; opacity: .62; }
}

/* ---- A0 · 顶栏 ---- */
.home-header .cy-topbar {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 64px;
  z-index: 30;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 10px;
}

.home-header .cy-topbar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .72), rgba(0, 0, 0, 0));
}

.home-header .home-crumb {
  position: relative;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  padding: 0;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .9));
}

/* ---- A0 · Banner ---- */
.home-header .banner-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  flex: 0 0 auto;
  overflow: hidden;
  background: #0a0a0a;
}

.home-header .banner-inner {
  position: absolute;
  inset: 0;
  padding: 14px 14px 12px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.home-header .banner-meta {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.home-header .banner-label {
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cs-muted);
}

.home-header .banner-label i {
  font-style: normal;
  color: var(--cs-accent);
}

.home-header .banner-name {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1.15;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-header .banner-slogan {
  font-size: 11px;
  color: var(--cs-text-2);
  letter-spacing: .04em;
  line-height: 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-header .banner-slogan:empty { display: none; }

.home-header .banner-art {
  flex: 0 0 auto;
  width: 112px;
  height: 112px;
  margin-bottom: 26px;
}

.home-header .banner-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.home-header .banner-dot {
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: rgba(255, 255, 255, .28);
}

.home-header .banner-dot.active {
  width: 26px;
  height: 4px;
  border-radius: 1px;
  background: repeating-linear-gradient(90deg, var(--cs-accent) 0 4px, transparent 4px 6px);
  filter: drop-shadow(0 0 6px rgba(255, 77, 0, .55));
}

/* ---- A0 · Tabs ---- */
.home-header .home-tabs {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 36px;
  flex: 0 0 auto;
  border-bottom: 1px solid var(--cs-line);
  align-items: stretch;
}

.home-header .home-tab {
  background: none;
  border: 0;
  padding: 0;
  font-family: var(--cs-mono);
  font-size: 11.5px;
  color: var(--cs-muted);
  position: relative;
}

.home-header .home-tab.active { color: #fff; font-weight: 700; }

.home-header .home-tab.active::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 0;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--cs-accent) 0 4px, transparent 4px 8px);
  filter: drop-shadow(0 0 6px rgba(255, 77, 0, .55));
}

/* ---- 信息层 ---- */
[data-skin="cyber-v5"] .home-feed {
  flex: 1 1 auto;
  padding: 12px 14px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

[data-skin="cyber-v5"] .card {
  background: var(--cs-surface);
  border: 1px solid var(--cs-line);
  border-radius: var(--cs-r-card);
  position: relative;
}

[data-skin="cyber-v5"] .unit {
  font-size: 8.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cs-muted);
  margin-left: 4px;
}

[data-skin="cyber-v5"] .pixnum {
  display: inline-block;
  line-height: 0;
  vertical-align: baseline;
  flex: 0 0 auto;
}

/* ---- B · hero 156 ---- */
[data-skin="cyber-v5"] .hero {
  height: 156px;
  padding: 10px 12px;
  display: flex;
  gap: 10px;
  overflow: hidden;
}

[data-skin="cyber-v5"] .hero-photo {
  flex: 0 0 72px;
  height: 136px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
}

[data-skin="cyber-v5"] .hero-photo::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 74px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .74));
}

[data-skin="cyber-v5"] .hero-live {
  position: absolute;
  left: 6px;
  bottom: 6px;
  width: 48px;
  height: 48px;
  z-index: 3;
}

[data-skin="cyber-v5"] .hero-body {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

[data-skin="cyber-v5"] .hero-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 20px;
  flex: 0 0 20px;
  margin-bottom: 16px;
}

[data-skin="cyber-v5"] .status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cs-accent);
  white-space: nowrap;
}

[data-skin="cyber-v5"] .status .dot {
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--cs-accent);
  box-shadow: 0 0 8px rgba(255, 77, 0, .9);
}

/* 必须重置全局 h2 的 padding / border / uppercase，否则 18px 盒内只剩 2px */
[data-skin="cyber-v5"] .hero h2 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  color: #fff;
  margin: 0 0 2px;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  text-transform: none;
  height: 18px;
  line-height: 18px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

[data-skin="cyber-v5"] .hero-slogan {
  font-size: 10px;
  line-height: 14px;
  color: var(--cs-text-2);
  flex: 0 0 auto;
  height: 14px;
  margin: 0 0 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

[data-skin="cyber-v5"] .hero-slogan:empty { display: none; }

[data-skin="cyber-v5"] .hero-meta {
  font-size: 10px;
  color: var(--cs-muted);
  height: 14px;
  line-height: 14px;
  flex: 0 0 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

[data-skin="cyber-v5"] .hero-stats {
  display: flex;
  gap: 14px;
  margin-top: auto;
  align-items: baseline;
  padding-bottom: 1px;
}

[data-skin="cyber-v5"] .hero-stats span { display: flex; align-items: baseline; }

/* ---- F3 · 卡上浮动按钮 20×20 ---- */
[data-skin="cyber-v5"] .float-actions {
  display: flex;
  gap: 6px;
  align-items: center;
  flex: 0 0 auto;
}

[data-skin="cyber-v5"] .fa {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 0;
  background: rgba(0, 0, 0, .62);
  display: grid;
  place-items: center;
  position: relative;
  padding: 0;
}

[data-skin="cyber-v5"] .fa::after {
  content: "";
  position: absolute;
  inset: -5px -2px;
  border-radius: 50%;
}

[data-skin="cyber-v5"] .fa.hot { background: rgba(255, 77, 0, .24); }

/* ---- C · 看一看 动态卡 ---- */
[data-skin="cyber-v5"] .post-card {
  height: 88px;
  padding: 6px 14px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

[data-skin="cyber-v5"] .post-card.media { height: 150px; padding: 8px 14px; }

[data-skin="cyber-v5"] .post-head {
  height: 22px;
  flex: 0 0 22px;
  display: flex;
  align-items: center;
  gap: 8px;
}

[data-skin="cyber-v5"] .post-avatar {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #151515;
  border: 1px solid var(--cs-line-2);
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 0;
  margin: 0;
  appearance: none;
}

[data-skin="cyber-v5"] .post-name {
  font-size: 11.5px;
  color: #fff;
  max-width: 120px;
  flex: 0 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

[data-skin="cyber-v5"] .post-time {
  margin-left: auto;
  flex: 0 0 auto;
  font-size: 9px;
  letter-spacing: .14em;
  color: var(--cs-muted);
}

[data-skin="cyber-v5"] .post-text {
  margin-top: 4px;
  flex: 0 0 auto;
  font-size: 12.5px;
  line-height: 15px;
  color: var(--cs-text-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

[data-skin="cyber-v5"] .post-media {
  margin-top: 6px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

[data-skin="cyber-v5"] .post-media i {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--cs-line);
  background: #101010;
  display: block;
}

[data-skin="cyber-v5"] .post-foot {
  margin-top: 6px;
  height: 14px;
  flex: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 10px;
  color: var(--cs-muted);
}

[data-skin="cyber-v5"] .post-foot .pf { display: flex; align-items: center; gap: 4px; }

/* ---- D · 成员图鉴 ---- */
[data-skin="cyber-v5"] .summ {
  height: 32px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  border: 1px solid var(--cs-line);
  border-radius: 14px;
  background: var(--cs-surface);
}

[data-skin="cyber-v5"] .summ .l {
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cs-muted);
}

[data-skin="cyber-v5"] .summ .r { display: flex; align-items: baseline; gap: 6px; }

[data-skin="cyber-v5"] .mfilter {
  height: 30px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

[data-skin="cyber-v5"] .mfilter .seg { flex: 1 1 auto; border-radius: 99px; }
[data-skin="cyber-v5"] .mfilter .seg button { flex: 1 1 auto; padding: 5px 0; }

[data-skin="cyber-v5"] .mgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 10px;
  flex: 0 0 auto;
}

[data-skin="cyber-v5"] .mcard {
  height: 132px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: var(--cs-surface);
  border: 1px solid var(--cs-line);
  border-radius: var(--cs-r-card);
  position: relative;
}

[data-skin="cyber-v5"] .mcard .av {
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  border-radius: 16px;
  overflow: hidden;
  background: #101010;
  border: 1px solid var(--cs-line);
  display: grid;
  place-items: center;
  position: relative;
}

[data-skin="cyber-v5"] .mcard .nm {
  width: 100%;
  font-size: 11.5px;
  color: #fff;
  text-align: center;
  height: 16px;
  line-height: 16px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

[data-skin="cyber-v5"] .mbar { display: flex; gap: 3px; height: 4px; }

[data-skin="cyber-v5"] .mbar i {
  width: 8px;
  height: 4px;
  border-radius: 1px;
  background: #2a2a2a;
  display: block;
}

[data-skin="cyber-v5"] .mbar i.on {
  background: var(--cs-accent);
  box-shadow: 0 0 6px rgba(255, 77, 0, .55);
}

[data-skin="cyber-v5"] .mcard .st {
  width: 100%;
  height: 14px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

[data-skin="cyber-v5"] .mcard .st span {
  display: flex;
  align-items: baseline;
  font-size: 8.5px;
  letter-spacing: .14em;
  color: var(--cs-muted);
}

[data-skin="cyber-v5"] .mcard .bd {
  position: absolute;
  right: 8px;
  top: 8px;
  font-size: 8px;
  letter-spacing: .14em;
  color: var(--cs-accent);
}

[data-skin="cyber-v5"] .mcard.admin { background: var(--cs-surface-2); }

/* ---- 空态 ---- */
[data-skin="cyber-v5"] .empty {
  height: 200px;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px dashed var(--cs-line-2);
  border-radius: var(--cs-r-card);
  color: var(--cs-muted);
  font-size: 11px;
  text-align: center;
}

[data-skin="cyber-v5"] .empty b { color: #fff; font-size: 13px; }

[data-skin="cyber-v5"] .empty button {
  background: var(--cs-accent);
  border: 0;
  color: #000;
  font-family: var(--cs-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 99px;
}

/* ---- 历史卡 96 ---- */
[data-skin="cyber-v5"] .memory-card {
  height: 96px;
  display: flex;
  padding: 0;
  overflow: hidden;
}

[data-skin="cyber-v5"] .memory-art {
  flex: 0 0 96px;
  height: 96px;
  overflow: hidden;
  position: relative;
}

[data-skin="cyber-v5"] .memory-copy {
  flex: 1 1 auto;
  min-width: 0;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

[data-skin="cyber-v5"] .memory-copy h3 {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

[data-skin="cyber-v5"] .memory-meta { font-size: 10px; color: var(--cs-muted); }

[data-skin="cyber-v5"] .memory-foot {
  margin-top: auto;
  font-size: 10px;
  color: var(--cs-text-2);
  display: flex;
  align-items: center;
  gap: 8px;
}

[data-skin="cyber-v5"] .memory-card .float-actions { position: absolute; right: 8px; top: 8px; }

/* ---- F2 · 右下角像素按钮 44×44 ---- */
[data-skin="cyber-v5"] .fab-group {
  position: absolute;
  right: 12px;
  bottom: 72px;
  display: flex;
  gap: 12px;
  z-index: 26;
}

[data-skin="cyber-v5"] .fab-pix {
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  padding: 0;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .9));
  position: relative;
}

[data-skin="cyber-v5"] .fab-pix::after {
  content: "";
  position: absolute;
  inset: -2px;
}

/* 底栏 60：样式统一由 ds-nav-v3.css 提供（本作用域命中不到 nav，2026-10-24 已删）。 */

/* ---- E · 排行榜 ---- */
[data-skin="cyber-v5"] .stat-grid {
  height: 88px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  flex: 0 0 auto;
}

[data-skin="cyber-v5"] .stat-tile {
  background: var(--cs-surface);
  border: 1px solid var(--cs-line);
  border-radius: 16px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  min-width: 0;
  overflow: hidden;
}

[data-skin="cyber-v5"] .stat-tile .t {
  font-size: 8px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cs-muted);
}

[data-skin="cyber-v5"] .stat-tile .n {
  font-size: 21px;
  font-variant-numeric: tabular-nums;
  color: #fff;
  line-height: 1;
  display: flex;
  align-items: baseline;
}

[data-skin="cyber-v5"] .stat-tile.hot .n { color: var(--cs-accent); }

[data-skin="cyber-v5"] .rank-bar {
  height: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

[data-skin="cyber-v5"] .seg {
  display: flex;
  border: 1px solid var(--cs-line-2);
  border-radius: 99px;
  overflow: hidden;
}

[data-skin="cyber-v5"] .seg button {
  background: none;
  border: 0;
  color: var(--cs-muted);
  font-size: 10.5px;
  padding: 3px 10px;
  font-family: var(--cs-mono);
}

[data-skin="cyber-v5"] .seg button.active {
  background: var(--cs-accent);
  color: #000;
  font-weight: 700;
}

[data-skin="cyber-v5"] .podium {
  height: 184px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  align-items: end;
  flex: 0 0 auto;
}

[data-skin="cyber-v5"] .pod {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  height: 100%;
}

[data-skin="cyber-v5"] .pod .btl {
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .85));
}

[data-skin="cyber-v5"] .pod .rank-tag {
  font-size: 8px;
  letter-spacing: .18em;
  color: var(--cs-muted);
}

[data-skin="cyber-v5"] .pod.p1 .rank-tag { color: #ffc24d; }
[data-skin="cyber-v5"] .pod.p2 .rank-tag { color: #4da3ff; }
[data-skin="cyber-v5"] .pod.p3 .rank-tag { color: #52e08a; }

[data-skin="cyber-v5"] .pod .nm {
  font-size: 10.5px;
  color: var(--cs-text-2);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

[data-skin="cyber-v5"] .pod .vl {
  font-size: 10px;
  color: var(--cs-muted);
  display: flex;
  align-items: baseline;
  justify-content: center;
}

[data-skin="cyber-v5"] .rank-list {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin-top: 15px;
}

[data-skin="cyber-v5"] .rank-row {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  font-size: 12.5px;
  color: var(--cs-text-2);
  border-bottom: 1px dashed var(--cs-line-2);
}

[data-skin="cyber-v5"] .rank-num {
  width: 22px;
  flex: 0 0 22px;
  font-size: 11px;
  color: var(--cs-muted);
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: baseline;
}

[data-skin="cyber-v5"] .rank-row.top .rank-num { color: var(--cs-accent); }

[data-skin="cyber-v5"] .avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #1c1c1c;
  border: 1px solid var(--cs-line-2);
  flex: 0 0 auto;
}

[data-skin="cyber-v5"] .rank-name {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #fff;
}

[data-skin="cyber-v5"] .rank-value {
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  color: #fff;
  display: flex;
  align-items: baseline;
  flex: 0 0 auto;
}

[data-skin="cyber-v5"] .rank-value i {
  font-style: normal;
  font-size: 8.5px;
  letter-spacing: .14em;
  color: var(--cs-muted);
  margin-left: 4px;
}

/* ==========================================================================
   接真实页面的适配层（不改设计值，只做「旧 DOM → 稿结构」的桥接）
   ========================================================================== */

/* 稿是 390 全宽无左右留白：#screen 的内边距与 .home-header 的负外边距都要清掉，
   否则实机容器会变成 422 宽（左右各溢出 16），Banner 的 16:9 也会跟着变成 226 */
#screen[data-skin="cyber-v5"] {
  padding-left: 0;
  padding-right: 0;
}

[data-skin="cyber-v5"] .home-header,
.home-header {
  margin-left: 0;
  margin-right: 0;
  /* styles.css 给 .home-header 留了 --home-pad-x 的左右内边距，稿里 Banner/Tabs 都是 390 全宽 */
  padding-left: 0;
  padding-right: 0;
  padding-top: 0;
}

/* 实机大量规则带 html.force-mobile 前缀（0,2,0+），皮肤作用域必须同样加前缀才压得住 */
html.force-mobile #screen[data-skin="cyber-v5"] {
  padding-left: 0;
  padding-right: 0;
  /* 稿是 390×844 满屏：上下留白也要清掉，否则信息层可用高度被吃掉 26px */
  padding-top: 0;
  padding-bottom: 0;
  overscroll-behavior-y: contain;
}

html.force-mobile [data-skin="cyber-v5"] .home-feed {
  margin-left: 0;
  margin-right: 0;
}

/* 实机的 .gather-hero 有 min-height 撑开，光设 height 不够，要一起清掉 */
html.force-mobile [data-skin="cyber-v5"] .hero {
  height: 156px;
  min-height: 0;
  max-height: 156px;
}

html.force-mobile [data-skin="cyber-v5"] .hero-body {
  margin: 0;
  padding: 0;
}

/* styles.css 的 html.force-mobile .hero-art{display:none} 会把稿里的 72×136 照片整块藏掉 */
html.force-mobile [data-skin="cyber-v5"] .hero-art {
  display: block;
}

/* 稿里 .home-crumb 是裸 button（UA 默认黑字），实机被主题样式染成白色；
   按钮内只有点阵图形没有文字，颜色对视觉无影响，按稿取回以通过逐块比对 */
.home-header .home-crumb { color: #000; }

/* styles.css 在移动端把 .hero-art 隐藏了，稿里 72×136 的照片/点阵封面必须显示 */
[data-skin="cyber-v5"] .hero-art { display: block; }

/* 真实封面照片填满 72×136；没有照片时走点阵 cover1–4 */
[data-skin="cyber-v5"] .hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 历史卡：实机 button.memory-card 由 components.js 产出，结构与稿一致，
   只需把稿里没有的元素（故事摘要 / 标签 / 头像组）收起，让 96 高装得下 */
[data-skin="cyber-v5"] .memory-card {
  height: 96px;
  display: flex;
  padding: 0;
  overflow: hidden;
}

[data-skin="cyber-v5"] .memory-copy .memory-note,
[data-skin="cyber-v5"] .memory-copy .tags,
[data-skin="cyber-v5"] .memory-foot .avatars { display: none; }

[data-skin="cyber-v5"] .memory-meta svg,
[data-skin="cyber-v5"] .memory-meta img { display: none; }

/* 实机 float-actions 挂在 .gather-item 上（gatherCard 是 button，按钮不能嵌按钮） */
[data-skin="cyber-v5"] .gather-item {
  position: relative;
  flex: 0 0 auto;
}

[data-skin="cyber-v5"] .gather-item > .float-actions {
  position: absolute;
  right: 8px;
  top: 8px;
  z-index: 3;
}

/* 底栏在 #screen 外；四项严格按 B2，统计入口仍在非皮肤页保留。 */

/* 底栏挂在 #screen 之外，走 body[data-cyber-nav] 作用域（由 applyCyberSkin 同步开关）。
   2026-10-24：底栏样式全部收敛到 ds-nav-v3.css，这里不再重复定义（原 5 列版本已删）。 */

/* hero 卡本身可点（稿里卡片即入口），补一下手型 */
[data-skin="cyber-v5"] .hero.gather-hero { cursor: pointer; }

/* ==========================================================================
   实机桥接层（v3 落地实况补齐）
   --------------------------------------------------------------------------
   实机的 .hero / .memory-card / .fab-group 还被 styles.css、ds-home.css、
   ds-refine-home.css 的 html.force-mobile 前缀规则（0,3,1 及以上）压着，
   上面 (0,2,0) 的规则赢不了。这里统一用
   html.force-mobile #screen[data-skin="cyber-v5"] 提权，逐条按稿取回。
   ========================================================================== */

/* 1. hero：稿 .card.hero 带 1px 边框（实机被清掉 → 照片左偏 1px、正文宽 +2） */
html.force-mobile #screen[data-skin="cyber-v5"] .hero {
  border: 1px solid var(--cs-line);
  background: var(--cs-surface);
  box-shadow: none;
  border-radius: var(--cs-r-card);
  color: var(--cs-text);
}
/* 设计稿 B2 封面点阵背板的四色径向渐变；旧版会把 hero 涂成紫灰色。 */
html.force-mobile #screen[data-skin="cyber-v5"] .hero-photo.cover-tone-1 { background: radial-gradient(120% 90% at 30% 20%, rgba(255,77,0,.20), #0a0a0a 68%); }
html.force-mobile #screen[data-skin="cyber-v5"] .hero-photo.cover-tone-2 { background: radial-gradient(120% 90% at 30% 20%, rgba(0,229,255,.16), #0a0a0a 68%); }
/* 稿只展示一层圈子名/口号，未上传图片的轮播不能盖上旧版彩色占位和重复文案。 */
html.force-mobile #screen[data-skin="cyber-v5"] .banner-placeholder,
html.force-mobile #screen[data-skin="cyber-v5"] .banner-text { display: none; }

/* 2. hero-head：状态行下方留 16，标题整体下移（之前被误清成 0，h2 上移 16） */
html.force-mobile #screen[data-skin="cyber-v5"] .hero-head {
  margin: 0 0 16px;
  padding: 0;
  align-items: center;
}

/* 3. 标题 / 元信息 / 数据行：移动端把 h2 提到 28px、meta 11.5px、stats 11px */
html.force-mobile #screen[data-skin="cyber-v5"] .hero h2 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 18px;
  height: 18px;
  color: #fff;
  margin: 0 0 2px;
  padding: 0;
  border: 0;
  text-transform: none;
}
html.force-mobile #screen[data-skin="cyber-v5"] .hero-meta {
  font-size: 10px;
  line-height: 14px;
  color: var(--cs-muted);
  margin: 0;                 /* styles.css 给了 margin-top:12px */
}
html.force-mobile #screen[data-skin="cyber-v5"] .hero-stats {
  font-size: 13px;
  color: #fff;
  margin: 0;                 /* styles.css 的 margin:9px 0 10px 会把贴底的数据行顶高 10px */
  margin-top: auto;
  padding-bottom: 1px;
}

/* 4. 卡上按钮：图形 fill 是显式颜色，color 只影响继承文字色，按稿取 #000 */
html.force-mobile #screen[data-skin="cyber-v5"] .fa { color: #000; }

/* 5. 历史卡：移动端被改成 grid(125px 1fr) + h3 15.5/700 + copy 左内边距 8 */
html.force-mobile #screen[data-skin="cyber-v5"] .memory-card {
  display: flex;
  height: 96px;
  padding: 0;
  color: #fff;
}
html.force-mobile #screen[data-skin="cyber-v5"] .memory-card .memory-art {
  flex: 0 0 96px;
  width: 96px;
  height: 96px;
}
html.force-mobile #screen[data-skin="cyber-v5"] .memory-card .memory-copy {
  padding: 10px 12px;
  gap: 3px;
}
html.force-mobile #screen[data-skin="cyber-v5"] .memory-card .memory-copy h3 {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.65;
  color: #fff;
  margin: 0;
  padding-right: 0;
  letter-spacing: normal;
}
html.force-mobile #screen[data-skin="cyber-v5"] .memory-card .memory-meta {
  font-size: 10px;
  line-height: 1.65;
  color: var(--cs-muted);
  margin-top: 0;
  gap: 5px;
}
html.force-mobile #screen[data-skin="cyber-v5"] .memory-card .memory-foot {
  font-size: 10px;
  color: var(--cs-text-2);
  margin-top: auto;
  padding: 0;                /* 实机给了 8px 上内边距 + 1px 上边框，稿里没有 */
  border: 0;
}

/* 6. B2 在 844px 视口中按钮 top=728，即底栏(60px)上方 12px。
      固定定位随视口高度走，不能把 728px 当作真实手机上的绝对 top。 */
html.force-mobile #screen[data-skin="cyber-v5"] .fab-group {
  position: fixed;
  right: 12px;
  top: auto;
  bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  flex-direction: row;
  align-items: center;
  gap: 12px;
  z-index: 35;
}
html.force-mobile #screen[data-skin="cyber-v5"] .fab-pix { color: #000; }

/* B2：四个辅助行依既有产品确认按稿隐藏，不改动聚一聚已验的首屏几何。 */
html.force-mobile #screen[data-skin="cyber-v5"] .status-strip,
html.force-mobile #screen[data-skin="cyber-v5"] .home-feed .filters,
html.force-mobile #screen[data-skin="cyber-v5"] .home-feed .filter-result,
html.force-mobile #screen[data-skin="cyber-v5"] .group-head {
  display: none;
}

/* 8. 信息层留白：稿是 12px 14px 0（实机被加了 88px 底部留白给底栏让位） */
html.force-mobile #screen[data-skin="cyber-v5"] .home-feed {
  padding: 12px 14px 0;
}

/* 9. hero 上的浮动按钮在实机被提成了绝对定位（top/right 6），稿里是 hero-head 内的流式项 */
html.force-mobile #screen[data-skin="cyber-v5"] .hero .float-actions {
  position: static;
  top: auto;
  right: auto;
}

/* 10. 历史卡封面：实机被加了 6px 外边距，稿里是贴边 96×96 */
html.force-mobile #screen[data-skin="cyber-v5"] .memory-card .memory-art {
  margin: 0;
  width: 96px;
  min-width: 96px;
  max-width: 96px;
}

/* 11. 历史卡底行：稿是点阵数值（18.2 高），实机是头像组 + 文案；
      头像组稿里没有（隐藏后底行高 = 文案行高 11×1.65 ≈ 18.15，与稿一致） */
html.force-mobile #screen[data-skin="cyber-v5"] .memory-card .memory-foot .avatars {
  display: none;
}
/* 12. 元信息行的状态 chip：稿里是纯文字，实机的 chip 会把行高顶到 18.14 */
html.force-mobile #screen[data-skin="cyber-v5"] .memory-card .memory-meta .memory-status {
  font-size: 10px;
  line-height: 1.65;
  padding: 0;
  border: 0;
  background: none;
  color: var(--cs-muted);
}
html.force-mobile #screen[data-skin="cyber-v5"] .memory-card .memory-meta .memory-status .dot {
  display: none;
}

/* 13. 稿 B2 没有页脚（实机 renderHome 会拼一个 .footer，挤掉信息层的可用高度） */
html.force-mobile #screen[data-skin="cyber-v5"] .footer {
  display: none;
}

/* 14. 真实数据可以有未开始/已结束卡：旧 .cards 三列网格及
       .cards>.gather-item>.memory-card{overflow:visible} 会把 96px 卡片撑开。 */
html.force-mobile #screen[data-skin="cyber-v5"] .home-feed .cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
html.force-mobile #screen[data-skin="cyber-v5"] .home-feed .gather-item {
  margin: 0;
  min-width: 0;
}
html.force-mobile #screen[data-skin="cyber-v5"] .home-feed .gather-item > .memory-card {
  display: flex;
  width: 100%;
  height: 96px;
  min-height: 96px;
  max-height: 96px;
  overflow: hidden;
  background: var(--cs-surface);
  border: 1px solid var(--cs-line);
  box-shadow: none;
  border-radius: var(--cs-r-card);
  filter: none;
  color: var(--cs-text);
}
html.force-mobile #screen[data-skin="cyber-v5"] .home-feed .gather-item > .memory-card:hover {
  transform: none;
  box-shadow: none;
}
html.force-mobile #screen[data-skin="cyber-v5"] .home-feed .gather-item .memory-art {
  background: var(--cs-surface-2);
  height: 96px;
  flex: 0 0 96px;
  border-radius: 0;
}
html.force-mobile #screen[data-skin="cyber-v5"] .home-feed .gather-item .memory-art.cover-tone-3 { background: radial-gradient(120% 90% at 30% 20%, rgba(177,92,255,.18), #0a0a0a 68%); }
html.force-mobile #screen[data-skin="cyber-v5"] .home-feed .gather-item .memory-art.cover-tone-4 { background: radial-gradient(120% 90% at 30% 20%, rgba(61,255,162,.15), #0a0a0a 68%); }
html.force-mobile #screen[data-skin="cyber-v5"] .home-feed .gather-item .memory-art img,
html.force-mobile #screen[data-skin="cyber-v5"] .home-feed .gather-item .memory-art svg {
  filter: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
html.force-mobile #screen[data-skin="cyber-v5"] .home-feed .gather-item .memory-copy {
  min-width: 0;
  overflow: hidden;
}
html.force-mobile #screen[data-skin="cyber-v5"] .home-feed .gather-item .memory-copy h3 {
  padding: 0;
  margin: 0;
  max-width: 100%;
}
/* 操作按钮浮在卡内，超长标题必须给 1/2/3 个按钮分别留空间；
   上一轮只验了短标题，截图中长标题直接压到按钮下面。 */
html.force-mobile #screen[data-skin="cyber-v5"] .home-feed .gather-item:has(> .float-actions .fa) .memory-copy h3 { padding-right: 32px; }
html.force-mobile #screen[data-skin="cyber-v5"] .home-feed .gather-item:has(> .float-actions .fa:nth-child(2)) .memory-copy h3 { padding-right: 60px; }
html.force-mobile #screen[data-skin="cyber-v5"] .home-feed .gather-item:has(> .float-actions .fa:nth-child(3)) .memory-copy h3 { padding-right: 88px; }
html.force-mobile #screen[data-skin="cyber-v5"] .home-feed .gather-item .memory-foot {
  white-space: nowrap;
}
/* 不干扰失败重试/加载中；加载完毕的提示在稿里不存在。 */
html.force-mobile #screen[data-skin="cyber-v5"] .load-more.done { display: none; }
/* 空轮播的 Banner 仍需铺满稿的深色底，不回退到旧浅色占位。 */
html.force-mobile #screen[data-skin="cyber-v5"] .banner-wrap.is-fallback {
  background: #0a0a0a;
  color: var(--cs-text);
}
/* B2 Banner 只有点阵杯与文字，不叠加旧版“管理”按钮；其他未改造页仍可管理。 */
html.force-mobile #screen[data-skin="cyber-v5"] .banner-manage { display: none; }

/* C2 · 真实动态：稿的固定卡高只用于收起态；展开全文时允许自然长高。 */
html.force-mobile #screen[data-skin="cyber-v5"] .feed-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
html.force-mobile #screen[data-skin="cyber-v5"] .feed-list .post-card {
  flex: 0 0 auto;
  height: 88px;
  min-height: 88px;
  padding: 6px 14px;
  margin: 0;
  background: var(--cs-surface);
  border: 1px solid var(--cs-line);
  border-radius: var(--cs-r-card);
  box-shadow: none;
  color: var(--cs-text);
}
html.force-mobile #screen[data-skin="cyber-v5"] .feed-list .post-card.media {
  height: 150px;
  min-height: 150px;
  padding: 8px 14px;
}
html.force-mobile #screen[data-skin="cyber-v5"] .feed-list .post-card.expanded {
  height: auto;
  max-height: none;
  overflow: visible;
}
html.force-mobile #screen[data-skin="cyber-v5"] .post-head { min-width: 0; }
html.force-mobile #screen[data-skin="cyber-v5"] .post-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
html.force-mobile #screen[data-skin="cyber-v5"] .post-author-link,
html.force-mobile #screen[data-skin="cyber-v5"] .post-name {
  flex: 0 1 auto;
  max-width: 120px;
  min-width: 0;
  padding: 0;
  border: 0;
  background: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font: 11.5px/22px var(--cs-mono);
  color: #fff;
}
html.force-mobile #screen[data-skin="cyber-v5"] .post-flag {
  flex: 0 0 auto;
  color: var(--cs-accent);
  font-size: 8px;
}
html.force-mobile #screen[data-skin="cyber-v5"] .post-time {
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
html.force-mobile #screen[data-skin="cyber-v5"] .post-time time,
html.force-mobile #screen[data-skin="cyber-v5"] .post-time .p-edit {
  font: inherit;
  color: inherit;
}
html.force-mobile #screen[data-skin="cyber-v5"] .post-tools {
  display: flex;
  flex: 0 0 auto;
  gap: 2px;
}
html.force-mobile #screen[data-skin="cyber-v5"] .post-tool {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  padding: 0;
  background: none;
  border: 0;
  color: var(--cs-text-2);
}
html.force-mobile #screen[data-skin="cyber-v5"] .post-text-wrap {
  position: relative;
  margin-top: 4px;
  flex: 0 0 auto;
  height: 30px;
  min-height: 30px;
}
html.force-mobile #screen[data-skin="cyber-v5"] .post-text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin: 0;
  font-size: 12.5px;
  line-height: 15px;
  color: var(--cs-text-2);
  white-space: pre-wrap;
  overflow: hidden;
  overflow-wrap: anywhere;
}
html.force-mobile #screen[data-skin="cyber-v5"] .post-text-wrap.open { height: auto; }
html.force-mobile #screen[data-skin="cyber-v5"] .post-text-wrap.open .post-text {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
}
html.force-mobile #screen[data-skin="cyber-v5"] .post-text-toggle:not([hidden]) {
  position: absolute;
  right: 0;
  bottom: 0;
  width: auto;
  padding: 0 0 0 8px;
  border: 0;
  background: var(--cs-surface);
  color: var(--cs-accent);
}
html.force-mobile #screen[data-skin="cyber-v5"] .post-text-wrap.open .post-text-toggle {
  position: static;
  display: block;
  margin-top: 4px;
}
html.force-mobile #screen[data-skin="cyber-v5"] .post-expand {
  margin: 0;
  font: 9px/15px var(--cs-mono);
  color: var(--cs-accent);
}
html.force-mobile #screen[data-skin="cyber-v5"] .post-media {
  width: 100%;
  min-height: 48px;
}
html.force-mobile #screen[data-skin="cyber-v5"] .post-media-cell {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  height: 48px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--cs-line);
  border-radius: 8px;
  background: #101010;
  color: #fff;
}
html.force-mobile #screen[data-skin="cyber-v5"] .post-media-cell img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
html.force-mobile #screen[data-skin="cyber-v5"] .post-media-more {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, .7);
  color: #fff;
}
html.force-mobile #screen[data-skin="cyber-v5"] .post-foot { margin-top: 4px; }
html.force-mobile #screen[data-skin="cyber-v5"] .post-card.media .post-foot { margin-top: 6px; }
html.force-mobile #screen[data-skin="cyber-v5"] .post-foot .pf {
  padding: 0;
  border: 0;
  background: none;
  color: var(--cs-muted);
  font: 10px/14px var(--cs-mono);
}
html.force-mobile #screen[data-skin="cyber-v5"] .post-foot .pf.on { color: var(--cs-accent); }
html.force-mobile #screen[data-skin="cyber-v5"] .post-foot .pf:disabled { opacity: .8; }
html.force-mobile #screen[data-skin="cyber-v5"] .post-card :is(button, a):focus-visible {
  outline: 2px solid var(--cs-accent);
  outline-offset: 2px;
}

/* D3 · 汇总/筛选/网格。类型菜单是原功能，在汇总条内以可见下拉保存 3 行首屏高度。 */
html.force-mobile #screen[data-skin="cyber-v5"] .summ {
  width: 100%;
  position: relative;
  gap: 8px;
  margin: 0;
  min-height: 32px;
}
html.force-mobile #screen[data-skin="cyber-v5"] .summ .l { white-space: nowrap; }
html.force-mobile #screen[data-skin="cyber-v5"] .summ .r { margin-left: auto; white-space: nowrap; }
html.force-mobile #screen[data-skin="cyber-v5"] .member-kind { position: relative; font-size: 9px; color: var(--cs-text-2); }
html.force-mobile #screen[data-skin="cyber-v5"] .member-kind summary {
  cursor: pointer;
  list-style: none;
  white-space: nowrap;
  color: var(--cs-muted);
}
html.force-mobile #screen[data-skin="cyber-v5"] .member-kind summary::-webkit-details-marker { display: none; }
html.force-mobile #screen[data-skin="cyber-v5"] .member-kind-menu {
  position: absolute;
  z-index: 42;
  left: 0;
  top: 21px;
  width: 108px;
  display: flex;
  flex-direction: column;
  padding: 3px;
  border: 1px solid var(--cs-line-2);
  border-radius: 10px;
  background: var(--cs-surface-2);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .65);
}
html.force-mobile #screen[data-skin="cyber-v5"] .member-tab {
  text-align: left;
  border: 0;
  background: none;
  color: var(--cs-text-2);
  font: 10px/25px var(--cs-mono);
  padding: 0 5px;
}
html.force-mobile #screen[data-skin="cyber-v5"] .member-tab.active { color: var(--cs-accent); }
html.force-mobile #screen[data-skin="cyber-v5"] .member-tab.active::after { display: none; }
html.force-mobile #screen[data-skin="cyber-v5"] .member-average-empty { font-size: 11px; }
html.force-mobile #screen[data-skin="cyber-v5"] .mfilter { width: 100%; min-height: 30px; }
html.force-mobile #screen[data-skin="cyber-v5"] .mfilter .seg { width: 100%; }
html.force-mobile #screen[data-skin="cyber-v5"] .mfilter .seg button { min-width: 0; font-size: 10px; }
html.force-mobile #screen[data-skin="cyber-v5"] .mgrid.member-grid {
  width: 100%;
  margin: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 10px;
}
html.force-mobile #screen[data-skin="cyber-v5"] .mcard.member-card {
  min-width: 0;
  height: 132px;
  min-height: 132px;
  padding: 8px;
  gap: 6px;
  border: 1px solid var(--cs-line);
  border-radius: var(--cs-r-card);
  background: var(--cs-surface);
  color: var(--cs-text);
  flex-shrink: 0;
}
html.force-mobile #screen[data-skin="cyber-v5"] .mcard.admin { background: var(--cs-surface-2); }
html.force-mobile #screen[data-skin="cyber-v5"] .mcard .av img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
html.force-mobile #screen[data-skin="cyber-v5"] .mcard .nm {
  padding: 0;
  font: 11.5px/16px var(--cs-mono);
  color: #fff;
}
html.force-mobile #screen[data-skin="cyber-v5"] .mcard .st span { white-space: nowrap; }
html.force-mobile #screen[data-skin="cyber-v5"] .mcard .unit { margin-left: 4px; }
html.force-mobile #screen[data-skin="cyber-v5"] .mcard:hover { border-color: var(--cs-line-2); }
html.force-mobile #screen[data-skin="cyber-v5"] .mcard:focus-visible,
html.force-mobile #screen[data-skin="cyber-v5"] .mfilter button:focus-visible,
html.force-mobile #screen[data-skin="cyber-v5"] .member-kind :focus-visible { outline: 2px solid var(--cs-accent); outline-offset: 2px; }
html.force-mobile #screen[data-skin="cyber-v5"] .empty { background: none; box-shadow: none; }

/* E3 · 保留真实榜单类型/时间区间与 P02-29 ml 榜，外壳按稿的 88/30/184/40 尺寸。 */
html.force-mobile #screen[data-skin="cyber-v5"] .stat-grid {
  width: 100%;
  height: 88px;
  min-height: 88px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}
html.force-mobile #screen[data-skin="cyber-v5"] .stat-tile { padding: 8px; }
html.force-mobile #screen[data-skin="cyber-v5"] .rank-bar {
  height: 30px;
  min-height: 30px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  margin: 0;
}
html.force-mobile #screen[data-skin="cyber-v5"] .rank-bar .seg {
  display: flex;
  gap: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--cs-line-2);
  border-radius: 99px;
}
html.force-mobile #screen[data-skin="cyber-v5"] .rank-bar .seg button {
  min-width: 0;
  white-space: nowrap;
  background: none;
  border: 0;
  color: var(--cs-muted);
  font: 10.5px/16px var(--cs-mono);
  padding: 3px 10px;
}
html.force-mobile #screen[data-skin="cyber-v5"] .rank-bar .seg button.active { color: #000; background: var(--cs-accent); font-weight: 700; }
html.force-mobile #screen[data-skin="cyber-v5"] .podium {
  height: 184px;
  min-height: 184px;
  width: 100%;
  margin: 0;
  padding: 0;
  gap: 6px;
  background: none;
}
html.force-mobile #screen[data-skin="cyber-v5"] .pod {
  min-width: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--cs-text);
  font-family: var(--cs-mono);
  cursor: pointer;
}
html.force-mobile #screen[data-skin="cyber-v5"] .pod .btl { flex: 0 0 auto; }
html.force-mobile #screen[data-skin="cyber-v5"] .rank-list {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  width: 100%;
  margin-top: 15px;
  overflow: visible;
}
html.force-mobile #screen[data-skin="cyber-v5"] .rank-row {
  flex: 0 0 40px;
  width: 100%;
  height: 40px;
  padding: 0;
  border: 0;
  border-bottom: 1px dashed var(--cs-line-2);
  background: none;
  text-align: left;
  font-family: var(--cs-mono);
  font-size: 12.5px;
  color: var(--cs-text-2);
}
html.force-mobile #screen[data-skin="cyber-v5"] .rank-avatar { display: grid; place-items: center; }
html.force-mobile #screen[data-skin="cyber-v5"] .rank-row > .avatar { width: 26px; height: 26px; }
html.force-mobile #screen[data-skin="cyber-v5"] .rank-name { color: #fff; }
html.force-mobile #screen[data-skin="cyber-v5"] .rank-who { color: var(--cs-muted); }
html.force-mobile #screen[data-skin="cyber-v5"] .rank-value { font-size: 15px; font-weight: 400; }
html.force-mobile #screen[data-skin="cyber-v5"] .rank-ml {
  flex: 0 0 auto;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid var(--cs-line);
  border-radius: 14px;
  background: var(--cs-surface);
  color: var(--cs-text);
}
html.force-mobile #screen[data-skin="cyber-v5"] .rank-ml-head { margin: 0; cursor: pointer; list-style: none; }
html.force-mobile #screen[data-skin="cyber-v5"] .rank-ml-head::-webkit-details-marker { display: none; }
html.force-mobile #screen[data-skin="cyber-v5"] .rank-ml[open] .rank-ml-head { margin-bottom: 4px; }
html.force-mobile #screen[data-skin="cyber-v5"] .rank-ml-head b { color: var(--cs-text); }
html.force-mobile #screen[data-skin="cyber-v5"] .stat-missing { font-size: 21px; line-height: 1; color: var(--cs-muted); }
html.force-mobile #screen[data-skin="cyber-v5"] .rank-ml .rank-list { margin-top: 0; }
html.force-mobile #screen[data-skin="cyber-v5"] .rank-ml .rank-row { flex-basis: 40px; height: 40px; }
html.force-mobile #screen[data-skin="cyber-v5"] .my-rank {
  margin: 0 0 12px;
  bottom: 8px;
  border: 1px solid var(--cs-line);
  background: var(--cs-surface-2);
  color: var(--cs-text-2);
  z-index: 2;
}
html.force-mobile #screen[data-skin="cyber-v5"] .my-rank b { color: var(--cs-accent); }
html.force-mobile #screen[data-skin="cyber-v5"] .rank-extra {
  padding: 8px 10px;
  margin-bottom: 24px;
  border: 1px solid var(--cs-line);
  border-radius: 14px;
  background: var(--cs-surface);
  color: var(--cs-text-2);
  font: 11px/20px var(--cs-mono);
}
html.force-mobile #screen[data-skin="cyber-v5"] .rank-extra summary { cursor: pointer; }
html.force-mobile #screen[data-skin="cyber-v5"] .rank-extra button {
  margin: 8px 5px 0 0;
  padding: 4px 9px;
  border: 1px solid var(--cs-line-2);
  border-radius: 99px;
  background: none;
  color: var(--cs-text-2);
}
html.force-mobile #screen[data-skin="cyber-v5"] .pod:focus-visible,
html.force-mobile #screen[data-skin="cyber-v5"] .rank-row:focus-visible,
html.force-mobile #screen[data-skin="cyber-v5"] .rank-bar button:focus-visible,
html.force-mobile #screen[data-skin="cyber-v5"] .rank-ml summary:focus-visible,
html.force-mobile #screen[data-skin="cyber-v5"] .rank-extra :focus-visible { outline: 2px solid var(--cs-accent); outline-offset: 2px; }

/* 相册沿用 #screen 滚动；仅阻止越界回弹，不介入排序/分页。 */
html.force-mobile #screen.album-scroll {
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

/* L1 visual conformance pass · specificity bridge for legacy mobile/theme rules. */
html.force-mobile .home-header .banner-dot.active {
  background-color: transparent;
  background-image: repeating-linear-gradient(90deg, var(--cs-accent) 0 4px, transparent 4px 6px);
}
html.force-mobile #screen[data-skin="cyber-v5"] .home-tabs { background: transparent; }
html.force-mobile #screen[data-skin="cyber-v5"] .home-tab {
  height: 35px;
  letter-spacing: 0;
}
body[data-cyber-nav="1"] #mobile-nav { color: #fff; }
html.force-mobile body[data-cyber-nav="1"] #mobile-nav a {
  height: 35.84px;
  min-height: 0;
  padding: 0 2px;
  position: relative;
}
html.force-mobile body[data-cyber-nav="1"] #mobile-nav a::after {
  content: "";
  position: absolute;
  inset: -4px 0;
}
html.force-mobile #screen[data-skin="cyber-v5"] .post-name { line-height: 19px; }
html.force-mobile #screen[data-skin="cyber-v5"] .mfilter .seg button {
  line-height: 13px;
}
html.force-mobile #screen[data-skin="cyber-v5"] .mgrid.member-grid {
  grid-template-columns: repeat(3, 1fr);
}
html.force-mobile #screen[data-skin="cyber-v5"] .mcard.member-card {
  min-width: auto;
  background: #171717;
}
html.force-mobile #screen[data-skin="cyber-v5"] .stat-tile {
  background: #0f0f0f;
  border-radius: 16px;
}
html.force-mobile #screen[data-skin="cyber-v5"] .stat-tile .n {
  font-family: var(--cs-mono);
  font-size: 21px;
  font-weight: 400;
  color: #fff;
}
html.force-mobile #screen[data-skin="cyber-v5"] .rank-bar .seg button {
  line-height: 13px;
}
html.force-mobile #screen[data-skin="cyber-v5"] .rank-list {
  flex: 1 1 auto;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-width: none;
}
html.force-mobile #screen[data-skin="cyber-v5"] .rank-list::-webkit-scrollbar { display: none; }
html.force-mobile #screen[data-skin="cyber-v5"] .rank-row { gap: 8px; }
html.force-mobile #screen[data-skin="cyber-v5"] .rank-value { color: #fff; }
html.force-mobile #screen[data-skin="cyber-v5"] .pod .btl { transform: translateY(4px); }
