/* === 用户故事卡片展示区 === */

/* ---- 模块容器 ---- */
.stories-wrapper { position: relative; }
.stories-wrapper .bgmask {
  position: absolute; inset: 0; background: rgba(0,0,0,0.65); pointer-events: none;
}
.stories-wrapper .module_container {
  position: relative; z-index: 2; max-width: 1600px; margin: 0 auto; padding: 80px 24px 60px;
}
.stories-wrapper .container_content { padding-top: 60px; }

/* ---- 卡片走马灯 ---- */
.stories-slider-wrap {
  position: relative; display: flex; align-items: center; gap: 16px;
}
.stories-track-wrap { overflow: hidden; flex: 1; }
.stories-track {
  display: flex; gap: 20px; transition: transform 0.4s ease;
}
.stories-track .item_block {
  flex: 0 0 calc((100% - 40px) / 3); position: relative; overflow: hidden; cursor: pointer;
}
.stories-track .item_block .item_index {
  position: absolute; top: 16px; left: 16px; z-index: 5;
  color: rgba(255,255,255,0.3); font-size: 14px; font-family: monospace;
}
.stories-track .item_img {
  position: relative; overflow: hidden; aspect-ratio: 3/4;
}
.stories-track .item_img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.stories-track .item_block:hover .item_img img { transform: scale(1.1); }

/* hover 播放按钮 */
.stories-track .item_img::before {
  content: ""; position: absolute; z-index: 10; top: 50%; left: 50%;
  width: 80px; height: 80px; border: 2px solid rgba(255,255,255,0.05);
  border-radius: 50%; transform: translate(-50%,-50%); opacity: 0;
  transition: all 0.4s ease 0.05s;
}
.stories-track .item_img::after {
  content: ""; position: absolute; z-index: 10; top: 50%; left: 50%;
  width: 66px; height: 66px; border: 2px solid rgba(255,255,255,0.5);
  border-radius: 50%; transform: translate(-50%,-50%);
  transition: all 0.5s ease;
}
.stories-track .item_block:hover .item_img::before {
  width: 136px; height: 136px; opacity: 1; border-color: rgba(255,255,255,0.25);
}
.stories-track .item_block:hover .item_img::after {
  width: 106px; height: 106px; border-color: rgba(255,255,255,0.8);
}

/* ---- 卡片信息 ---- */
.stories-track .item_wrapper { padding: 20px 16px; }
.stories-track .item_info .title {
  color: #fff; font-size: 18px; font-weight: 600; margin: 0;
  text-align: center;
}

/* ---- 箭头 ---- */
.stories-arrow {
  flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.08);
  color: #fff; font-size: 28px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
  line-height: 1; user-select: none; padding: 0;
}
.stories-arrow:hover {
  background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.4);
}

/* ---- 响应式 ---- */
@media (max-width: 768px) {
  .stories-wrapper .module_container { padding: 60px 16px 40px; }
  .stories-track .item_block { flex: 0 0 calc((100% - 20px) / 2); }
  .stories-track { gap: 10px; }
  .stories-arrow { flex: 0 0 36px; width: 36px; height: 36px; font-size: 22px; }
}
