.custom-swiper-wrapper {
  position: relative;
  width: 100%;
  min-width: 1200px;
  margin: 0;
  padding: 0;
  background: #fff;
  overflow: hidden;
}
.custom-swiper {
  width: 100%;
  height: auto;
  box-sizing: border-box;
  padding: 0;
  position: relative;
}
.custom-swiper .swiper-wrapper {
  align-items: flex-start;
}
.custom-swiper .swiper-slide {
  width: 1200px;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background: #fff;
  margin: 0;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  transition: none;
  filter: none;
  transform: none;
}
.custom-swiper .swiper-slide.swiper-slide-active {
  z-index: 2;
}
.custom-swiper .swiper-slide img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 0;
  display: block;
  margin: 0;
  padding: 0;
}
.custom-swiper-mask {
  display: none !important;
}
.custom-swiper .swiper-button-prev,
.custom-swiper .swiper-button-next {
  color: #fff;
  width: 46px;
  height: 79px;
  background: rgb(22 22 22 / 55%);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
  border: none;
  transition: background 0.2s, box-shadow 0.2s;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  font-weight: bold;
  z-index: 20;
}
.custom-swiper .swiper-button-prev {
  left: 50%;
  margin-left: -658px; /* 1200/2+16 */
}
.custom-swiper .swiper-button-next {
  right: 50%;
  margin-right: -658px;
}
.custom-swiper .swiper-button-prev:after,
.custom-swiper .swiper-button-next:after {
  font-size: 26px;
  font-weight: bold;
}
.custom-swiper .swiper-button-prev:hover,
.custom-swiper .swiper-button-next:hover {
  background: rgba(51,51,51,0.85);
  color: #fff;
  box-shadow: 0 6px 24px rgba(0,0,0,0.22);
}
.custom-swiper .swiper-pagination {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 24px !important;
  z-index: 11;
  width: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: auto;
  background: rgba(51,51,51,0.55);
  border-radius: 16px;
  padding: 6px 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
.custom-swiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #fff;
  opacity: 0.7;
  border: none;
  margin: 0 5px !important;
  transition: all 0.2s;
  box-shadow: none;
}
.custom-swiper .swiper-pagination-bullet-active {
  background: #00a0e9;
  opacity: 1;
}
.swiper-mask{
  position: absolute;
  top: 0;
  width: 1200px;
  height: 100%;
  background: rgba(255, 255, 255, 0.6);
  z-index: 10;
  left: 50%;
  margin: 0 0 0 600px;
}
.swiper-mask.mask-left{
  left: 50%;
  margin: 0 0 0 -1800px;
}



.down-main {
  display: flex;
  gap: 20px;
}

.down-main-left {
  flex: 1;
  gap: 20px;
  display: flex;
  flex-direction: column;
}

.down-main-right {
  width: 340px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.router-section {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding-bottom: 20px;
}

.section-title-main {
  padding: 17px 0;
  margin: 0 25px;
  border-bottom: 1px solid #eee;
}
.section-title-main span {
  display: block;
  font-size: 26px;
  font-weight: 900;
  color: #23262b;
  letter-spacing: 1px;
  line-height: normal;
}
.section-title-main small {
  display: block;
  font-size: 14px;
  color: #b0b4bb;
  margin-top: 6px;
  margin-left: 2px;
  font-family: 'Arial', 'Helvetica Neue', Arial, sans-serif;
  line-height: normal;
}
.router-list {
  padding: 0;
}
.side-section {
  background: #fff;
  border-radius: 8px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 15px 20px;
}

.down-container {
  width: 1200px;
  margin: 20px auto 0;
  padding: 0;
  background: none;
  /* min-height: 100vh; */
}
/* 统一自适应，仅兼容768及以下，合并优化 */
@media (max-width: 768px) {
  html, body {
    font-size: 15px;
    background: #f7f8fa;
    -webkit-tap-highlight-color: transparent;
    overflow-x: hidden;
  }
  .custom-swiper-wrapper,
  .down-container {
    min-width: 0;
    width: 100%;
    padding: 0 12px;
    box-sizing: border-box;
  }
  .custom-swiper .swiper-slide {
    width: 100vw;
    min-width: 0;
    box-sizing: border-box;
  }
  .custom-swiper .swiper-button-prev,
  .custom-swiper .swiper-button-next {
    display: none;
  }
  .custom-swiper .swiper-pagination {
    bottom: 8px !important;
    padding: 2px 10px;
    font-size: 13px;
  }
  .down-main {
    flex-direction: column;
    gap: 0;
  }
  .down-main-right {
    width: 100%;
    margin-top: 18px;
    gap: 0;
  }
  
  .side-section {
    padding: 10px 6px;
    margin-bottom: 12px;
  }
  .category-list {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 6px;
  }
  .category-item {
    min-width: 60px;
    font-size: 13px;
    height: 32px;
  }
  .section-title-main {
    padding: 10px 0;
    margin: 0 12px;
  }
  .section-title-main span {
    font-size: 20px;
  }
  .game-card {
    margin-bottom: 12px;
    border-radius: 10px;
  }
  .game-cover {
    height: 140px;
  }
  .game-info {
    padding: 10px;
  }
  .game-title {
    font-size: 16px;
    -webkit-line-clamp: 2;
  }
  .game-desc {
    font-size: 13px;
    -webkit-line-clamp: 2;
    margin-bottom: 10px;
  }
  .game-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .game-resources {
    padding: 4px 6px;
    gap: 4px;
  }
  .resource-item {
    min-width: 24px;
  }
  .resource-value {
    font-size: 10px;
  }
  .resource-icon {
    font-size: 13px;
  }
  .firmware-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 10px 0 0 0;
  }
  .firmware-info {
    padding: 10px 6px 10px 6px;
  }
  .firmware-title {
    font-size: 14px;
    min-height: 28px;
  }
  .firmware-btn {
    font-size: 15px;
    padding: 10px 0;
  }
  .firmware-tabs {
    gap: 6px;
    padding: 6px 0 0 0;
  }
  .firmware-tab {
    font-size: 13px;
    padding: 0 6px 8px 6px;
  }

  /* 隐藏桌面端专用元素 */
  .pc-only { display: none !important; }
  /* 移动端常用按钮优化 */
  button, input[type="button"], input[type="submit"] {
    font-size: 16px;
    border-radius: 12px;
    padding: 10px 0;
    width: 100%;
    box-sizing: border-box;
  }
}
/* æ¸¸æˆå¡ç‰‡æ ·å¼ */
.game-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  transition: all 0.3s ease;
  margin-bottom: 24px;
  border: none;
  padding: 0;
}

.game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
  background-color: #fff;
}

.game-cover {
  position: relative;
  width: 100%;
  height: 280px;
  margin-right: 0;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}

.game-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.game-card:hover .game-cover img {
  transform: scale(1.05);
}

.game-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.3) 100%);
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 16px;
}

.game-resources {
  display: flex;
  gap: 8px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  padding: 8px 12px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.resource-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 40px;
}

.resource-value {
  font-size: 12px;
  font-weight: 600;
  color: #333;
  line-height: 1;
}

.resource-icon {
  font-size: 16px;
  line-height: 1;
}

.game-info {
  padding: 24px;
  background: #fff;
}

.game-title {
  font-size: 22px;
  font-weight: 700;
  color: #23262b;
  margin-bottom: 12px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-desc {
  color: #666;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.game-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0;
}

.game-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff !important;
  padding: 12px 40px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(102, 126, 138, 0.4);
  border: none;
  display: inline-block;
  text-align: center;
  min-width: 120px;
}

.game-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(102, 126, 138, 0.6);
  color: #fff !important;
  text-decoration: none;
}

.game-card .release-date {
  color: #999;
  font-size: 14px;
  font-weight: 500;
}

@media (max-width: 768px) {
  .game-card {
    margin-bottom: 16px;
  }
  .game-cover {
    height: 200px;
  }
  .game-info {
    padding: 16px;
  }
  .game-title {
    font-size: 18px;
    -webkit-line-clamp: 2;
  }
  .game-desc {
    font-size: 14px;
    -webkit-line-clamp: 2;
  }
  .game-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .game-btn {
    width: 100%;
    padding: 14px;
    font-size: 16px;
  }
  .game-resources {
    padding: 6px 8px;
    gap: 6px;
  }
  .resource-item {
    min-width: 32px;
  }
  .resource-value {
    font-size: 10px;
  }
  .resource-icon {
    font-size: 14px;
  }
}

.firmware-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px;
  margin: 22px 24px 5px 24px;
  padding-bottom: 20px;
}
.firmware-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  transition: box-shadow 0.2s, transform 0.2s;
}
.firmware-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.16);
  transform: translateY(-4px) scale(1.02);
}
.firmware-img-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.firmware-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.firmware-card:hover .firmware-img-wrap img {
  transform: scale(1.05);
}
.firmware-info {
  padding: 9px 18px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
}
.firmware-title {
  font-size: 15px;
  font-weight: normal;
  color: #333;
  margin-bottom: 10px;
  line-height: 25px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 46px;
  width: 100%;
  transition: color 0.3s ease;
}
.firmware-btn {
  background: linear-gradient(90deg, #00d084 60%, #00c3ff 100%);
  color: #fff !important;
  border-radius: 20px;
  padding: 8px 0px;
  width: 100%;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
  border: none;
  outline: none;
  transition: all 0.3s ease;
  margin-top: auto;
  text-decoration: none;
  letter-spacing: 1px;
}
.firmware-btn:hover {
  background: linear-gradient(90deg, #00c3ff 60%, #00d084 100%);
  box-shadow: 0 4px 16px rgba(0,195,255,0.18);
  color: #fff !important;
}

.firmware-tabs {
  display: flex;
  gap: 18px;
  padding: 18px 24px 0 24px;
  border-bottom: 1px solid #eee;
}
.firmware-tab {
  font-size: 18px;
  color: #23262b;
  font-weight: 600;
  padding: 3px 22px 16px 22px;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
  border-radius: 8px 8px 0 0;
  transition: color 0.2s, background 0.2s;
  position: relative;
}
.firmware-tab.f-hover {
  color: #00b98b;
  background: #fff;
}
.firmware-tab.f-hover::after {
  content: '';
  display: block;
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: -1px;
  height: 3px;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(90deg, #00d084 60%, #00c3ff 100%);
}
@media (max-width: 700px) {
  .firmware-tabs {
    gap: 8px;
    padding: 10px 0 0 0;
    white-space: nowrap;
    overflow: hidden;
    overflow-x: auto;
  }
  .firmware-tab {
    font-size: 16px;
    padding: 5px 18px 15px;
  }
  .main-right{
    margin-top: 20px;
  }
}
.firmware-date {
  font-size: 13px;
  color: #b0b4bb;
  margin-bottom: 4px;
  margin-top: 2px;
  letter-spacing: 1px;
  text-align: left;
}

@media (max-width: 768px) {
  .firmware-date {
    font-size: 12px;
    margin-bottom: 2px;
    margin-top: 1px;
  }
  .router-section{
    
margin-bottom: 0;
    
padding-bottom: 6px;
  }
  .firmware-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0px 0 0;
    padding: 0 2px;
  }
  .firmware-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    border-radius: 12px;
    background: #fff;
    padding: 12px 12px;
    margin: 0;
    min-width: 0;
    overflow: hidden;
    height: auto;
    box-shadow: none;
    border-bottom: 1px dashed #eee;
  }
  .firmware-img-wrap {
    width: 142px;
    height: auto;
    aspect-ratio: 16/9;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
    margin: 0 12px 0 0;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .firmware-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    min-width: 0;
  }
  .firmware-date {
    font-size: 12px;
    color: #b0b4bb;
    margin-bottom: 5px;
    margin-top: 0;
    letter-spacing: 1px;
    line-height: normal;
    text-align: left;
    width: 100%;
  }
  .firmware-title {
    font-size: 15px;
    font-weight: normal;
    color: #23262b;
    margin-bottom: 0;
    margin-top: 0;
    width: 100%;
    text-align: left;
    line-height: 22px;
    word-break: break-all;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 22px;
    min-height: auto;
  }
  .firmware-btn {
    /* display: none; */
    width: auto;
    padding: 6px 13px;
    font-size: 15px;
    border-radius: 6px;
    margin-top: auto;
    margin-bottom: 0;
    box-shadow: 0 2px 8px rgba(0,195,255,0.10);
    letter-spacing: 1px;
    margin-top: 7px;
  }
}
