/* 搜索页顶部热门游戏轮播 hero */
.kauiu-hero-slider {
  position: relative;
  margin: 0 0 18px;
  border-radius: 14px;
  overflow: hidden;
  background: #11151c;
  box-shadow: 0 8px 30px rgba(0,0,0,.35);
  --ks-accent: #2fa14f;
}
.kauiu-hero-slider * { box-sizing: border-box; }
.ks-track {
  display: flex;
  transition: transform .55s cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}
.ks-slide {
  position: relative;
  flex: 0 0 100%;
  min-height: 200px;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  color: #fff;
  background-size: cover;
  background-position: center;
  background-color: #1a1f29;
}
.ks-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,12,16,.05) 0%, rgba(10,12,16,.15) 45%, rgba(10,12,16,.85) 100%);
}
.ks-meta {
  position: relative;
  z-index: 2;
  padding: 18px 22px 24px;
  width: 100%;
}
.ks-cat {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .04em;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--ks-accent);
  color: #fff;
  font-weight: 600;
  margin-bottom: 8px;
}
.ks-title {
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
  margin: 0 0 6px;
  text-shadow: 0 2px 12px rgba(0,0,0,.6);
}
.ks-cta {
  font-size: 13px;
  color: rgba(255,255,255,.82);
  font-weight: 600;
}
.ks-cta::after { content: " →"; }
/* 箭头 */
.ks-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,.4);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, transform .2s;
  backdrop-filter: blur(4px);
}
.ks-arrow:hover { background: rgba(0,0,0,.65); }
.ks-arrow:active { transform: translateY(-50%) scale(.92); }
.ks-prev { left: 12px; }
.ks-next { right: 12px; }
/* 圆点 */
.ks-dots {
  position: absolute;
  z-index: 3;
  bottom: 12px;
  right: 16px;
  display: flex;
  gap: 7px;
}
.ks-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.4);
  cursor: pointer;
  padding: 0;
  transition: background .2s, width .2s;
}
.ks-dot.is-active { background: #fff; width: 20px; border-radius: 4px; }
/* 移动端 */
@media (max-width: 640px) {
  .ks-slide { min-height: 150px; }
  .ks-title { font-size: 17px; }
  .ks-meta { padding: 14px 16px 18px; }
  .ks-arrow { width: 32px; height: 32px; font-size: 16px; }
}
/* 尊重减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
  .ks-track { transition: none; }
}
