
/* ==========================================================================
   精选区右侧小卡「水车轮换」（构建 v23）：卡池扩到 6 张，只动 #featured 右列。
   桌面（≥1024px，JS 加 .feat-wheel）：右侧露 4 个可见位（v029 站长点定），错落几何按「位」
   定义（缩进 38/0/16/30、图幅 118/88/104/96、高 96/92/98/100，总高 422 不变），卡流过
   哪位就套哪位的几何；每 3s 整组平滑上移一格（v26 站长定版，原 4.5s），顶位卡上移出框、新卡自底
   部补入（位移过渡，非淡入淡出）。悬停暂停。
   竖屏（<1024px，JS 加 .feat-strip）：小卡在头条下方横排成一条，轨道横滑；
   自动慢滚时 JS 克隆一份实现无缝循环，手指可滑、按住暂停、松手后续滚。
   prefers-reduced-motion：JS 不启用轮换——桌面 6 张按原静态列全部陈列，
   竖屏保持横条静止但可手滑。
   未加 JS 时 .feat-track 退回普通纵列（原三卡的 nth-child 错落照旧生效）。
   ========================================================================== */
#view-home #featured .feat-track { display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 1024px) {
  #view-home #featured .feat-side.feat-wheel {
    position: relative; display: block; height: 422px; overflow: hidden;
  }
  #view-home #featured .feat-wheel .feat-track {
    position: absolute; inset: 0; display: block;
  }
  #view-home #featured .feat-wheel .feat-small {
    position: absolute; display: flex; width: auto; margin: 0; min-height: 0;
    transition: top .88s cubic-bezier(.46,.04,.24,1), height .88s cubic-bezier(.46,.04,.24,1),
      left .88s cubic-bezier(.46,.04,.24,1), right .88s cubic-bezier(.46,.04,.24,1),
      visibility 0s;
  }
  #view-home #featured .feat-wheel .feat-small .feat-img {
    flex: none; height: auto; min-height: 0; align-self: stretch; object-fit: cover;
    transition: width .88s cubic-bezier(.46,.04,.24,1);
  }
  #view-home #featured .feat-wheel .feat-small-body { flex: 1 1 auto; min-width: 0; }
  /* 四个可见位（v029 站长点定：可见位 3 -> 4，池子仍 6 张；总高 422 不变，
     每张变矮，错落缩进节奏保留：缩进 38/0/16/30、图幅 118/88/104/96；
     描述在水车位内收一行省略，避免文字挤压难读） */
  #view-home #featured .feat-wheel .fs-0 { top: 0; height: 96px; left: 38px; right: 0; visibility: visible; }
  #view-home #featured .feat-wheel .fs-0 .feat-img { width: 118px; }
  #view-home #featured .feat-wheel .fs-1 { top: 108px; height: 92px; left: 0; right: 30px; visibility: visible; }
  #view-home #featured .feat-wheel .fs-1 .feat-img { width: 88px; }
  #view-home #featured .feat-wheel .fs-2 { top: 212px; height: 98px; left: 16px; right: 0; visibility: visible; }
  #view-home #featured .feat-wheel .fs-2 .feat-img { width: 104px; }
  #view-home #featured .feat-wheel .fs-3 { top: 322px; height: 100px; left: 30px; right: 12px; visibility: visible; }
  #view-home #featured .feat-wheel .fs-3 .feat-img { width: 96px; }
  #view-home #featured .feat-wheel .feat-small-body { padding: 10px 14px; }
  #view-home #featured .feat-wheel .feat-title {
    display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
  }
  #view-home #featured .feat-wheel .feat-desc {
    display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
  }
  /* 顶位卡出框位：保持第 1 位几何、整体上移出框 */
  #view-home #featured .feat-wheel .fs-out { top: -108px; height: 96px; left: 38px; right: 0; visibility: visible; }
  #view-home #featured .feat-wheel .fs-out .feat-img { width: 118px; }
  /* 底部待命位：藏在框外下缘，轮到时上移补入第 4 位 */
  #view-home #featured .feat-wheel .fs-park {
    top: 434px; height: 100px; left: 30px; right: 12px; visibility: hidden;
    transition: top .88s cubic-bezier(.46,.04,.24,1), height .88s cubic-bezier(.46,.04,.24,1),
      left .88s cubic-bezier(.46,.04,.24,1), right .88s cubic-bezier(.46,.04,.24,1),
      visibility 0s linear .88s;
  }
  #view-home #featured .feat-wheel .fs-park .feat-img { width: 96px; }
  /* 拖动中：禁文字选择、抓手光标（JS 加 .feat-dragging） */
  #view-home #featured .feat-side.feat-wheel { touch-action: none; }
  #view-home #featured .feat-side.feat-dragging { cursor: grabbing; user-select: none; }
  #view-home #featured .feat-side.feat-dragging .feat-small { pointer-events: none; }
  #view-home #featured .feat-wheel .fs-noanim,
  #view-home #featured .feat-wheel .fs-noanim .feat-img { transition: none !important; }
}
/* v26 真机修复：卡面与卡图禁原生拖拽（-webkit-user-drag）与文字选择，
   杜绝真机鼠标按住拖动时浏览器拖出图片幽灵、偷走 pointer 手势 */
#view-home #featured .feat-wheel .feat-small,
#view-home #featured .feat-strip .feat-small {
  -webkit-user-drag: none; user-select: none; -webkit-user-select: none;
}
#view-home #featured .feat-wheel .feat-img,
#view-home #featured .feat-strip .feat-img { -webkit-user-drag: none; }
@media (max-width: 1023px) {
  #view-home #featured .feat-side.feat-strip {
    display: block; overflow-x: auto; overflow-y: hidden;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  #view-home #featured .feat-strip::-webkit-scrollbar { display: none; }
  #view-home #featured .feat-strip .feat-track {
    flex-direction: row; gap: 12px; width: max-content; padding: 2px 2px 4px;
  }
  /* v31 回退（站长否决 v29 版式）：横条恢复 v28 形态——整齐白卡、图左文右：
     统一卡宽 252、图幅 92，其余回到 .feat-small 基线（--bg-surface 白卡面、
     细线边、内距 14/16、标题 16.5、描述 13 自然断行）。轨道 gap 与
     滚动/吸附逻辑一律未动。 */
  #view-home #featured .feat-strip .feat-small {
    flex: none; width: 252px; margin: 0;
    grid-template-columns: 92px minmax(0, 1fr);
  }
}
