    :root {
      --bg-image: url('https://opengameart.org/sites/default/files/arcade-bg.png');
      --bg-color: #e3e3e3;
      --primary-color: #007bff;
      --hover-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
      --button-bg: #ff9500;
      --button-hover: #e68a00;
      --detail-style-font-size: 14px;
      --detail-style-color: #666;
      --detail-style-margin-right: 10px;
    }
    body {
      margin: 0;
      background: var(--bg-image), var(--bg-color);
      background-size: cover;
      color: #000;
      font-family: 'Poppins', sans-serif;
      overflow-y: auto;
      min-height: 100vh;
      max-width: 100vw;
      overflow-x: hidden;
      line-height: 1.5;
    }
    .banner-carousel {
      width: 100%;
      height: 180px;
      z-index: 1;
    }
    .banner-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: opacity 0.5s;
    }
    .swiper-slide-active .banner-img {
      opacity: 1;
    }
    .swiper-pagination-bullet {
      background: #fff;
    }
    .nav-bar, .nav-bar2 {
      display: flex;
      justify-content: space-around;
      padding: 10px;
      background: #fff;
      position: relative;
      top: -25px;
      z-index: 2;
      border-radius: 15px 15px 0 0;
    }
    .nav-bar2 {
      border-radius: 0 0 15px 15px;
    }
    .nav-item {
      flex: 1;
      text-align: center;
      cursor: pointer;
      transition: transform 0.2s;
      max-width: 100px;
    }
    .nav-item:hover {
      transform: scale(1.1) rotate(2deg);
    }
    .nav-img {
      width: 60px;
      height: 60px;
      object-fit: contain;
    }
    .nav-item-text {
      font-size: 14px;
      margin-top: 5px;
      color: #333;
      font-weight: 600;
    }
    .search-bar {
      display: flex;
      justify-content: center;
      padding: 10px;
      background: #fff;
      margin: -25px 0 0;
    }
    .search-input {
      padding: 10px 10px;
      font-size: 14px;
      border: 2px solid #000000;
      border-radius: 5px 0 0 5px;
      outline: none;
      flex: 0.9;
      max-width: 200px;
    }
    .search-button {
      background-color: #000000;
      color: white;
      border: none;
      padding: 5px 15px;
      border-radius: 0 5px 5px 0;
      cursor: pointer;
      font-size: 14px;
      transition: background-color 0.3s;
    }
    .search-button:hover {
      background-color: var(--button-hover);
    }
    .game-list {
      list-style: none;
      padding: 10px;
      margin: 0;
    }
    .game-item {
      display: flex;
      align-items: center;
      background: #ffffff99;
      border-radius: 10px;
      margin-bottom: 5px;
      padding: 8px;
      box-shadow: var(--hover-shadow);
      transition: transform 0.2s;
      cursor: pointer;
    }
    .game-item:hover {
      transform: translateY(-2px);
    }
    .game-number {
      font-size: 8px;
      font-weight: 600;
      color: #ffffff;
      background-color: #ff0000;
      border-radius: 5px;
      margin-right: 5px;
      padding: 2px 5px;
      display: inline-block;
    }
    .game-logo {
      width: 40px;
      height: 40px;
      object-fit: cover;
      border-radius: 8px;
      margin-right: 10px;
      loading: lazy;
    }
    .game-info {
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
    .game-title {
      font-size: 13px;
      font-weight: 600;
      margin: 0 0 0px;
      color: #333;
    }
    .game-details {
      display: flex;
      justify-content: flex-start;
      align-items: center;
      margin-top: 5px;
      max-width: 100%;
      min-height: 20px;
      font-size: var(--detail-style-font-size);
      color: var(--detail-style-color);
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      border: 1px solid #000000;
      border-radius: 4px;
      padding: 2px 8px;
    }
    .game-detail-item {
      margin-right: var(--detail-style-margin-right);
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .game-detail-item:last-child {
      margin-right: 0;
    }
    .game-actions {
      display: flex;
      gap: 10px;
      margin-left: 10px;
    }
    .game-button {
      background-color: var(--button-bg);
      color: white;
      border: none;
      padding: 3px 15px;
      border-radius: 5px;
      cursor: pointer;
      font-size: 13px;
      font-weight: 600;
      transition: background-color 0.3s;
    }
    .game-button:hover {
      background-color: var(--button-hover);
    }
    .loading, .no-more {
      text-align: center;
      padding: 20px;
      font-size: 16px;
      color: #888;
      display: none;
    }
    .loading-spinner {
      border: 4px solid #f3f3f3;
      border-top: 4px solid #ff9500;
      border-radius: 50%;
      width: 24px;
      height: 24px;
      animation: spin 1s linear infinite;
      display: inline-block;
      margin-right: 10px;
    }
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 新增抖动动画 */
@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-2px); }
  50% { transform: translateX(2px); }
  75% { transform: translateX(-2px); }
  100% { transform: translateX(0); }
}
    @media (min-width: 768px) {
      .banner-carousel { height: 300px; }
      .nav-img { width: 80px; height: 80px; }
      .game-logo { width: 80px; height: 80px; }
      .game-title { font-size: 20px; }
      .game-button { padding: 10px 15px; font-size: 16px; }
      :root {
        --detail-style-font-size: 16px;
        --detail-style-margin-right: 15px;
      }
      .game-details {
        max-width: 76%;
        min-height: 18px;
      }
      .search-input { max-width: 300px; font-size: 16px; }
      .search-button { font-size: 16px; padding: 6px 20px; }
    }
    @media (max-width: 767px) {
      :root {
        --detail-style-font-size: 12px;
        --detail-style-margin-right: 8px;
      }
      .game-details {
        max-width: 80%;
        min-height: 18px;
      }
      .search-input { max-width: 90%; font-size: 17px; }
      .search-button { font-size: 15px; padding: 5px 23px; }
    }
    .video-modal {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.7);
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 1000;
    }
    .modal-content {
      position: relative;
      border-radius: 10px;
      padding: 20px;
      max-width: 75%;
      max-height: 80%;
      width: auto;
      box-shadow: var(--hover-shadow);
    }
    .video-container {
      position: relative;
      width: 100%;
      max-width: 800px;
      aspect-ratio: 9 / 16;
      overflow: hidden;
      border-radius: 8px;
    }
    .video-player {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      border: none;
      border-radius: 8px;
      object-fit: cover;
    }
    .close-button {
      position: absolute;
      top: -10px;
      right: -10px;
      background: #000000;
      color: white;
      font-size: 30px;
      width: 40px;
      height: 40px;
      line-height: 40px;
      text-align: center;
      border-radius: 50%;
      cursor: pointer;
      transition: background-color 0.3s;
      z-index: 10;
    }
    .close-button:hover {
      background: var(--button-hover);
    }
    @media (max-width: 767px) {
      .modal-content {
        width: 90%;
        padding: 15px;
      }
      .video-container {
        max-width: 100%;
      }
    }
    /* 底部免责声明：居中、灰色、小字体、间距优化 */
.footer-disclaimer {
  text-align: center;
  padding: 15px 10px;
  font-size: 14px;
  color: #888;
  /*background-color: rgba(255, 255, 255, 0.8); !* 略透明背景，提高可读性 *!*/
  border-top: 1px solid #ddd; /* 上边框线，分隔内容 */
  margin-top: 20px; /* 与上方内容间距 */
  width: 100%;
  box-sizing: border-box;
}

/* 响应式：手机端字体调整 */
@media (max-width: 767px) {
  .footer-disclaimer {
    font-size: 12px;
    padding: 10px;
  }
}
    /* 优化清空span的样式：放大、黑底白字、抖动 */
.clear-span {
  background-color: #000000;
  color: white;
  padding: 4px 8px;
  border-radius: 13px;
  font-size: 20px; /* 放大字体 */
  display: inline-block; /* 独立显示，确保放大不挤压 */
  animation: shake 0.7s infinite; /* 调整抖动频率 */
  vertical-align: middle; /* 垂直居中对齐 */
  transition: font-size 0.3s; /* 平滑放大过渡 */
}

/* 响应式调整：手机端字体稍小 */
@media (max-width: 767px) {
  .clear-span {
    font-size: 18px;
    padding: 3px 6px;
  }
}

.game-title-container {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.domain-tag {
  color: #ff0000;
  font-size: 12px;
  font-weight: 600;
  background-color: rgba(255, 0, 0, 0.1);
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid #ffcccc;
  white-space: nowrap;
  flex-shrink: 0;
}

/* 响应式：大屏加大字体 */
@media (min-width: 768px) {
  .domain-tag {
    font-size: 14px;
    padding: 2px 8px;
  }
}
    /* 黄底黑框 “无广告” */
.ad-free-tag {
  background-color: #ff9200;
  color: #ffffff;
  font-weight: 400;
  font-size: 9px;
  padding: 2px 6px;
  /*border: 2px solid #000;*/
  border-radius: 6px;
  margin-right: 8px;
  white-space: nowrap;
  display: inline-block;
}

/* 域名标签（详情行内） */
.domain-tag-inline {
  color: #ff0000;
  font-size: 12px;
  font-weight: 600;
  background-color: rgba(255, 0, 0, 0.1);
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid #ffcccc;
  white-space: nowrap;
  margin-right: 8px;
}

/* 更新时间 */
.update-time {
  color: #666;
  font-size: var(--detail-style-font-size);
  white-space: nowrap;
}

/* 标题右侧域名标签 */
.domain-tag {
  color: #ff0000;
  font-size: 11px;
  font-weight: 600;
  background-color: rgba(255, 0, 0, 0.1);
  padding: 0px 15px;
  border-radius: 5px;
  border: 1px solid #ffcccc;
  white-space: nowrap;
  flex-shrink: 0;
}

/* 响应式 */
@media (min-width: 768px) {
  .ad-free-tag {
    font-size: 13px;
    padding: 3px 8px;
  }
  .domain-tag, .domain-tag-inline {
    font-size: 14px;
    padding: 2px 8px;
  }
}
    /* 右上角悬浮按钮 */
#poster-float-btn {
  position: fixed !important;
  top: 60%;
  right: 20px;
  z-index: 500;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50px;
  padding: 12px;
  /*box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);*/
  backdrop-filter: blur(10px);
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  max-width: 80px;
  font-family: 'Poppins', sans-serif;
}

#poster-float-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  background: #fff;
}

#poster-float-btn .nav-img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  margin-bottom: -5px;
}

#poster-float-btn .nav-item-text {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  display: block;
}