/* =================================
   全局公共样式表 (Less版本)
   ================================= */
* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  --FontBody: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, "PingFang SC", "Noto Sans", Roboto, "Microsoft Yahei", sans-serif;
  --FontTitle: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, "PingFang SC", "Noto Sans", Roboto, "Microsoft Yahei", sans-serif;
  --Theme: #0088FF;
  --BgPage: #f8f8f8;
  --BgNav: #FFFFFF;
  --BgFooter: #0088FF;
  --TextPrimary: #111111;
  --TextSecondary: #757575;
  --TextTertiary: #979897;
  --Hover: #0066CC;
  --Link: #0088FF;
  --Divider: #E5E5E5;
  --Border: #E5E5E5;
}
html {
  --dir-multiplier: 1;
  --dir-transform: rotateZ(0deg);
  background-color: var(--BgPage);
  overflow-x: hidden;
}
html[dir="rtl"] {
  --dir-multiplier: -1;
  --dir-transform: rotateZ(180deg);
}
body {
  overflow-x: hidden;
}
p {
  font-family: var(--FontBody);
}
h1,
h2,
h3,
h4,
h5,
h6,
div,
a,
dl,
dt,
dd,
ul,
ol,
li,
form,
table,
textarea,
button,
span,
input {
  font-family: var(--FontTitle);
}
ol,
ul,
li {
  list-style: none;
}
img {
  border: none;
  vertical-align: middle;
  object-fit: cover;
}
a {
  text-decoration: none;
  color: inherit;
  outline: none;
  border: none;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
}
a:focus,
a:visited {
  text-decoration: none;
  outline: none;
}
input {
  outline: none;
  border: none;
  box-shadow: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: transparent;
}
input:focus,
input:focus-visible,
input:active {
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  -moz-box-shadow: none !important;
}
button {
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
button:hover,
button:focus,
button:active {
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
}
table,
td,
tr,
th {
  border-collapse: collapse;
}
ul::-webkit-scrollbar {
  width: 0 !important;
}
.app-card-title {
  color: #000000;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.4;
}
.category-card-title {
  color: #111111;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.3;
}
.adTitle {
  text-align: start;
  font-size: 12px;
  line-height: 16px;
  margin: 3px 0 6px 0;
  color: #ccc;
}
.adHeight {
  width: 100%;
  height: 252px;
}
.ad-box {
  width: 100%;
}
.text-left {
  text-align: left;
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.text-start {
  text-align: start;
}
.text-primary {
  color: #0088FF;
}
.text-secondary {
  color: #757575;
}
.text-muted {
  color: #979897;
}
.text-light {
  color: #ccc;
}
.text-ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.text-oneline {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  word-break: break-all;
}
.cover-link {
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  bottom: 0;
  inset-inline-end: 0;
}
.clearfix {
  display: block;
}
.clearfix:before,
.clearfix:after {
  content: "";
  display: table;
}
.clearfix:after {
  clear: both;
}
* html .clearfix {
  height: 1%;
}
* + html .clearfix {
  min-height: 1%;
}
.left {
  float: left;
}
.right {
  float: right;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.fade-in {
  animation: fadeIn 0.3s ease-in;
}
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.slide-in-up {
  animation: slideInUp 0.4s ease-out;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.loading-spinner {
  animation: spin 1s linear infinite;
}
@media only screen and (max-width: 320px) {
  html {
    font-size: 13px;
  }
  .app-card-title {
    font-size: 14px;
  }
  .category-card-title {
    font-size: 16px;
  }
  .adHeight {
    width: 100%;
    height: 200px;
  }
  .ad-box {
    text-align: center;
  }
  .adTitle {
    padding: 0;
    font-size: 11px;
  }
}
@media only screen and (min-width: 321px) and (max-width: 767px) {
  html {
    font-size: 14px;
  }
  .app-card-title {
    font-size: 15px;
  }
  .category-card-title {
    font-size: 17px;
  }
  .adHeight {
    width: 100%;
    height: 252px;
  }
  .ad-box {
    text-align: center;
  }
  .adTitle {
    padding: 0;
  }
}
@media only screen and (min-width: 768px) and (max-width: 900px) {
  html {
    font-size: 15px;
  }
  .app-card-title {
    font-size: 16px;
  }
  .category-card-title {
    font-size: 18px;
  }
  .adHeight {
    width: 100%;
    height: 280px;
  }
  .ad-box {
    text-align: center;
    margin: 20px 0;
  }
}
@media only screen and (min-width: 901px) and (max-width: 1200px) {
  html {
    font-size: 15px;
  }
  .app-card-title {
    font-size: 16px;
  }
  .category-card-title {
    font-size: 18px;
  }
  .adHeight {
    width: 100%;
    height: 280px;
  }
  .ad-box {
    text-align: center;
    margin: 20px 0;
  }
}
@media only screen and (min-width: 1201px) {
  html {
    font-size: 16px;
  }
  .app-card-title {
    font-size: 18px;
  }
  .category-card-title {
    font-size: 20px;
  }
  .adHeight {
    width: 100%;
    height: 280px;
  }
  .ad-box {
    text-align: center;
  }
}
.section-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0 12px;
}
.section-hd-title {
  flex: 1;
  margin: 0;
  color: #0F112F;
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
}
.section-hd-more {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-decoration: none;
  color: #979897;
  font-size: 14px;
  gap: 4px;
  transition: color 0.2s ease;
}
.section-hd-more:hover {
  color: #0088FF;
}
.section-hd-more svg {
  width: 16px;
  height: 16px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  height: 52px;
  max-width: 100%;
  gap: 0;
}
.breadcrumb-link {
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: #0088FF;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
}
.breadcrumb-link svg {
  width: 14px;
  height: 14px;
  fill: #0088FF;
  flex-shrink: 0;
}
.breadcrumb-sep {
  padding: 0 8px;
  color: rgba(0, 0, 0, 0.45);
  font-size: 14px;
  line-height: 22px;
}
.breadcrumb-current {
  color: #666666;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media only screen and (max-width: 767px) {
  .section-hd-title {
    font-size: 18px;
    line-height: 26px;
  }
  .section-hd-more {
    font-size: 13px;
  }
  .section-hd-more svg {
    width: 14px;
    height: 14px;
  }
  .breadcrumb {
    height: 100%;
    padding: 10px 0;
  }
}
.header {
  width: 100%;
  background: #FFFFFF;
  border-bottom: 1px solid #E5E5E5;
  box-sizing: border-box;
}
.header-body {
  width: 98%;
  max-width: 1200px;
  height: 49px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
}
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo-image {
  height: 30px;
  width: auto;
  object-fit: contain;
}
.logo-text {
  font-size: 18px;
  font-weight: 600;
  color: #111111;
}
.search-btn {
  width: 30px;
  height: 30px;
  border-radius: 30px;
  background: #EDEDED;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease;
}
.search-btn:hover {
  background: #DEDEDE;
}
.search-btn svg {
  width: 16px;
  height: 16px;
  color: #666;
}
@media only screen and (min-width: 901px) {
  .header-body {
    padding: 0 24px;
  }
}
.carouselWrap {
  position: relative;
}
.carouselWrap .carousel {
  width: 100%;
  margin: 20px 0;
  overflow-x: hidden;
}
.carouselWrap .carousel .carouselTrack {
  display: flex;
  transition: transform 0.5s ease-in-out;
}
.carouselWrap .carousel .carouselTrack .carouselItem {
  flex: 0 0 50%;
  /* 默认情况下每张图片占 50% */
  box-sizing: border-box;
  padding: 0 8px;
}
.carouselWrap .carousel .carouselTrack .carouselItem .itemLink {
  display: block;
  width: 100%;
  position: relative;
}
.carouselWrap .carousel .carouselTrack .carouselItem .itemLink .itemTop {
  height: -webkit-fill-available;
  aspect-ratio: 16 / 9;
}
.carouselWrap .carousel .carouselTrack .carouselItem .itemLink .itemTop .itemImg {
  width: 100%;
  height: auto;
  border-radius: 12px;
  aspect-ratio: 16 / 9;
}
.carouselWrap .carousel .carouselTrack .carouselItem .itemLink .itemOverlay {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 16px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.57) 0%, rgba(0, 0, 0, 0) 100%);
  border-radius: 0 0 12px 12px;
}
.carouselWrap .carousel .carouselTrack .carouselItem .itemLink .itemOverlay .itemInfo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.carouselWrap .carousel .carouselTrack .carouselItem .itemLink .itemOverlay .itemInfo .itemName {
  width: 100%;
  color: #FFF;
  font-size: 18px;
  font-weight: 600;
  line-height: 135%;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  word-break: break-word;
}
.carouselWrap .carousel .carouselTrack .carouselItem .itemLink .itemOverlay .itemInfo .itemIcon {
  border-radius: 10px;
  border: 1px solid #F2F2F2;
  background: #FFF;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  overflow: hidden;
}
.carouselWrap .carousel .carouselTrack .carouselItem .itemLink .itemOverlay .itemInfo .itemIcon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.carouselWrap .carousel .carouselTrack .carouselItem .itemLink .itemOverlay .itemDl {
  color: #FFF;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 27px;
  background: #1E77FF;
  border-radius: 4px;
  max-height: 30px;
  padding: 0 16px;
}
.carouselWrap .carousel .carouselTrack .carouselItem:hover .itemLink .itemName {
  text-decoration: underline;
}
.carouselWrap .carouselBtn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  cursor: pointer;
  z-index: 2;
  display: flex;
  width: 40px;
  height: 40px;
  padding: 8px;
  justify-content: center;
  align-items: center;
  border-radius: 40px;
  background: rgba(0, 0, 0, 0.4);
}
.carouselWrap .carouselBtn svg {
  width: 24px;
  height: 24px;
  color: #F0F0F0;
}
.carouselWrap .carouselBtn.left {
  left: 10px;
}
.carouselWrap .carouselBtn.right {
  right: 10px;
}
@media only screen and (max-width: 767px) {
  .carouselWrap .carousel {
    width: auto;
    margin: 0 -16px 0 -16px;
  }
  .carouselWrap .carousel .carouselTrack .carouselItem {
    /* 默认情况下每张图片占 90% */
    flex: 0 0 90%;
    padding: 0 4px;
  }
  .carouselWrap .carousel .carouselTrack .carouselItem .itemLink .itemTop .itemImg {
    border-radius: 6px;
  }
  .carouselWrap .carousel .carouselTrack .carouselItem .itemLink .itemOverlay .itemInfo .itemName {
    font-size: 16px;
    padding: 8px;
  }
  .carouselWrap .carouselBtn {
    display: none;
  }
}
/* =================================
   横版应用卡片（Hot Apps / Hot Games）
   PC: 两列；移动端: 单列
   ================================= */
.hot-section {
  display: flex;
  flex-direction: column;
}
.hot-section-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.app-card {
  width: calc(50% - 8px);
  padding: 16px;
  background: white;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid #EEE;
  text-decoration: none;
}
.app-card:hover {
  border: 1px solid #EEE;
  background: #F2F2F2;
}
.app-card-icon {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}
.app-card-icon img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
  display: block;
}
.app-card-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.app-card-name {
  margin: 0;
  color: #101828;
  font-size: 16px;
  font-family: Poppins, -apple-system, sans-serif;
  font-weight: 500;
  line-height: 24px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.app-card-category {
  margin: 0;
  color: #666666;
  font-size: 14px;
  font-family: Poppins, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 22px;
}
.app-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 20px;
}
.app-card-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #666666;
  font-size: 14px;
  font-family: Poppins, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 20px;
}
.app-card-rating svg {
  width: 16px;
  height: 16px;
  fill: #FDC700;
  flex-shrink: 0;
}
.app-card-btn {
  flex-shrink: 0;
  padding: 6px 24px;
  background: #0088FF;
  border-radius: 10px;
  color: white;
  font-size: 16px;
  font-family: Poppins, -apple-system, sans-serif;
  font-weight: 500;
  line-height: 24px;
  white-space: nowrap;
  transition: background 0.2s ease;
}
.app-card-btn:hover {
  background: #0072d6;
}
@media only screen and (max-width: 767px) {
  .app-card {
    width: 100%;
    padding: 12px;
  }
  .app-card-icon {
    border-radius: 10px;
  }
  .app-card-category {
    font-size: 12px;
    line-height: 18px;
  }
  .app-card-meta {
    gap: 12px;
  }
  .app-card-btn {
    padding: 5px 16px;
    font-size: 14px;
    border-radius: 8px;
  }
}
@media only screen and (min-width: 768px) and (max-width: 1199px) {
  .app-card-btn {
    padding: 4px 12px;
    font-size: 14px;
  }
  .app-card-icon {
    border-radius: 10px;
  }
  .app-card-category {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
  }
}
/* =================================
   应用图标行（Latest Update Apps/Games）
   PC: 8 个一行；移动端: 横向滚动
   全局可用
   ================================= */
.app-row-section {
  display: flex;
  flex-direction: column;
}
.app-row-track {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 16px;
}
.app-row-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
}
.app-row-item-img-wrap {
  height: 91.5px;
  width: 91.5px;
  border-radius: 14px;
  align-self: stretch;
  aspect-ratio: 1/1;
  overflow: hidden;
}
.app-row-item-img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
}
.app-row-item:hover .app-row-item-img {
  transform: scale(1.05);
}
.app-row-item-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.app-row-item-name {
  color: #333333;
  font-size: 16px;
  font-family: Poppins, -apple-system, sans-serif;
  font-weight: 500;
  text-transform: capitalize;
  line-height: 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.app-row-item-rating {
  display: flex;
  align-items: center;
  gap: 2px;
  color: #5C5E5E;
  font-size: 12px;
  font-family: Poppins, -apple-system, sans-serif;
  font-weight: 500;
  line-height: 17px;
}
.app-row-item-rating svg {
  width: 12px;
  height: 12px;
  fill: #FDC700;
  flex-shrink: 0;
}
@media only screen and (min-width: 768px) and (max-width: 1199px) {
  .app-row-track {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 16px;
  }
  .app-row-item-img-wrap {
    width: 60px;
    height: 60px;
  }
  .app-row-item-img {
    width: 60px;
    height: 60px;
  }
  .app-row-item {
    min-width: 0;
  }
}
@media only screen and (max-width: 767px) {
  .app-row-section {
    overflow: visible;
    min-width: 0;
  }
  .app-row-track {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 12px;
    min-width: 0;
    padding-bottom: 4px;
  }
  .app-row-track::-webkit-scrollbar {
    display: none;
  }
  .app-row-item {
    width: 91.5px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
  }
  .app-row-item-img {
    border-radius: 14px;
  }
}
/* =================================
   Popular APK 侧边栏组件
   仅 PC 端显示（移动端在 index.less 隐藏）
   全局可用
   ================================= */
.popular-apk-heading {
  margin: 0;
  padding: 12px 0;
  color: #333333;
  font-size: 22px;
  font-family: Poppins, -apple-system, sans-serif;
  font-weight: 600;
  line-height: 30px;
}
.popular-apk-panel {
  background: white;
  border-radius: 12px;
  overflow: hidden;
}
.popular-apk-tabs {
  display: flex;
  border-bottom: 1px solid #DDDDDD;
  padding: 0 0 0 0;
}
.popular-apk-tab {
  position: relative;
  width: 72px;
  height: 51px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333333;
  font-size: 16px;
  font-family: Poppins, -apple-system, sans-serif;
  font-weight: 500;
  line-height: 30px;
  cursor: pointer;
  user-select: none;
  transition: color 0.2s ease;
}
.popular-apk-tab.is-active {
  color: #0088FF;
}
.popular-apk-tab.is-active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #0088FF;
  border-radius: 2px 2px 0 0;
}
.popular-apk-list {
  padding: 0 0 12px;
}
.popular-apk-list.is-hidden {
  display: none;
}
.popular-apk-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px 12px 0;
  text-decoration: none;
}
.popular-apk-item:last-child {
  border-bottom: none;
}
.popular-apk-item-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  flex: 1;
}
.popular-apk-item-img-wrap {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}
.popular-apk-item-icon {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
}
.popular-apk-item:hover .popular-apk-item-img-wrap .popular-apk-item-icon {
  transform: scale(1.05);
}
.popular-apk-item-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.popular-apk-item-name {
  color: #101828;
  font-size: 16px;
  font-family: Poppins, -apple-system, sans-serif;
  font-weight: 500;
  line-height: 24px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.popular-apk-item-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.popular-apk-item-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #4A5565;
  font-size: 14px;
  font-family: Poppins, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 22px;
}
.popular-apk-item-rating svg {
  width: 14px;
  height: 14px;
  fill: #FFA940;
}
.popular-apk-item-category {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #4A5565;
  font-size: 14px;
  font-family: Poppins, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 20px;
}
.popular-apk-item-dl {
  width: 24px;
  height: 24px;
  fill: #0088FF;
  flex-shrink: 0;
}
/* =================================
   Popular Articles 文章列表组件
   全局可用
   ================================= */
.popular-articles {
  display: flex;
  flex-direction: column;
}
.popular-articles-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.popular-articles-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.popular-articles-item:hover {
  opacity: 0.85;
}
.popular-articles-item-wrap {
  width: 100%;
  border-radius: 8px;
  aspect-ratio: 209 / 111;
  object-fit: cover;
  background: #D9D9D9;
  display: block;
  overflow: hidden;
}
.popular-articles-item-wrap-img {
  width: 100%;
  height: 100%;
  min-height: 110px;
  border-radius: 8px;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
}
.popular-articles-item:hover .popular-articles-item-wrap-img {
  transform: scale(1.05);
}
.popular-articles-item-title {
  margin: 0;
  color: #333333;
  font-size: 16px;
  font-family: Poppins, -apple-system, sans-serif;
  font-weight: 500;
  line-height: 24px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media only screen and (max-width: 767px) {
  .popular-articles-list {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 12px;
  }
  .popular-articles-list::-webkit-scrollbar {
    display: none;
  }
  .popular-articles-item {
    flex-shrink: 0;
    width: 68vw;
    scroll-snap-align: start;
  }
  .popular-articles-item-img {
    aspect-ratio: 16 / 9;
  }
  .popular-articles-item-title {
    font-size: 14px;
    line-height: 22px;
  }
}
.footer {
  width: 100%;
  background: #0088FF;
  margin-top: 20px;
  box-sizing: border-box;
}
.footer-inner {
  width: 98%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 16px 18px;
  box-sizing: border-box;
}
.footer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid #5AB8FF;
}
.footer-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.footer-logo-image {
  height: 24px;
  width: auto;
  object-fit: contain;
}
.footer-logo-text {
  font-size: 16px;
  font-weight: 600;
  color: #FAFEFF;
}
.footer-lang {
  flex-shrink: 0;
}
.footer-lang-select {
  height: 32px;
  padding: 0 12px;
  border-radius: 4px;
  border: none;
  background: #329DFF;
  color: #FAFEFF;
  font-size: 14px;
  cursor: pointer;
  outline: none;
}
.footer-lang-select option {
  color: #333;
}
.back-to-top {
  height: 32px;
  padding: 0 12px;
  background: #0088FF;
  border-radius: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  text-decoration: none;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  transition: all 0.3s ease;
}
.back-to-top:hover {
  background: #0066CC;
  transform: translateY(-2px);
}
.back-to-top:focus {
  outline: 2px solid #0088FF;
  outline-offset: 2px;
}
.back-to-top-icon {
  width: 20px;
  height: 20px;
  overflow: hidden;
}
.back-to-top-icon svg {
  width: 100%;
  height: 100%;
  stroke: white;
  fill: none;
}
.back-to-top-text {
  color: white;
  font-size: 14px;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  white-space: nowrap;
}
.footer-about {
  display: flex;
  justify-content: space-around;
  margin-top: 12px;
  flex-wrap: wrap;
}
.footer-about a {
  color: #FAFEFF;
  font-size: 14px;
  line-height: 20px;
  transition: opacity 0.2s ease;
}
.footer-about a:hover {
  opacity: 0.8;
}
@media only screen and (max-width: 767px) {
  .footer-about {
    gap: 12px;
  }
  .footer-about a {
    font-size: 13px;
  }
}
.content-body {
  width: 98%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 0;
  box-sizing: border-box;
}
.main {
  display: flex;
  gap: 24px;
}
.main-left {
  flex: 1;
  min-width: 0;
}
.main-right {
  display: none;
}
.cs-card {
  background: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.12);
  margin: 7px 0;
  padding-bottom: 10px;
  transition: 0.3s;
}
.cs-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
}
.cs-card-header h2 {
  font-size: 19px;
  font-weight: 400;
  color: #0F112F;
  margin: 0;
}
.more-link {
  display: flex;
  align-items: center;
  color: #979897;
  text-decoration: none;
  transition: color 0.2s ease;
  flex-shrink: 0;
}
.more-link:hover {
  color: #0088FF;
}
.more-link svg {
  width: 20px;
  height: 20px;
}
.cs-card-list {
  display: flex;
  flex-wrap: wrap;
}
.cs-card-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 10px;
  text-decoration: none;
  box-sizing: border-box;
}
.cs-card-site-logo {
  display: flex;
  align-items: center;
  height: 100%;
}
.cs-card-site-logo img {
  width: 70px;
  height: 70px;
  border-radius: 10px;
  flex-shrink: 0;
}
.cs-card-site-common {
  display: flex;
  flex-direction: column;
  margin-left: 15px;
  justify-content: space-evenly;
  align-self: stretch;
  min-width: 0;
}
.cs-site-name {
  font-size: 18px;
  font-weight: bold;
  color: #000000;
  margin: 0;
  width: 45vw;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cs-site-cate {
  width: 30vw;
  font-size: 14px;
  font-weight: 400;
  color: #757575;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cs-site-Rating {
  font-size: 14px;
  font-weight: bold;
  color: #FFA412;
  display: flex;
  align-items: center;
  gap: 2px;
}
.cs-site-Rating svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.cs-card-to {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: 8px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58.5px;
  height: 27px;
  background: #0088FF;
  color: #FFFFFF;
  border-radius: 23px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.2s ease;
}
.btn:hover {
  background: #0066CC;
}
.featured-section .featured-item {
  width: 50%;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8px 4px;
  border-bottom: none;
  justify-content: center;
  min-width: 0;
}
.featured-section .featured-item .cs-card-site-logo {
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  height: auto;
}
.featured-section .featured-item .cs-card-site-logo img {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  flex-shrink: 0;
}
.featured-section .featured-item .cs-card-site-common {
  align-items: center;
  width: 100%;
  min-width: 0;
  margin-left: 0;
}
.featured-section .featured-item .cs-site-name {
  font-size: 13px;
  width: 100%;
}
.featured-section .featured-item .cs-site-cate {
  width: 100%;
}
.featured-section .featured-item .cs-card-to {
  display: none;
}
.category-section .cate-view {
  display: flex;
  padding: 5px 10px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.category-section .cate-view::after {
  content: '';
  width: 30%;
}
.category-section .cat-item {
  position: relative;
  width: 30%;
  margin-bottom: 8px;
  display: flex;
  font-size: 15px;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
  color: #1c1c1c;
  text-decoration: none;
}
.category-section .cat-img {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 100%;
  border-radius: 10px;
  overflow: hidden;
}
.category-section .cat-img img {
  position: absolute;
  top: 10%;
  left: 10%;
  width: 80%;
  height: 80%;
  object-fit: cover;
  border-radius: 0;
}
.category-section .cat-title {
  width: 100%;
  font-size: 13px;
  font-weight: 400;
  color: #1c1c1c;
  margin-top: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.you-may-like {
  width: 100%;
  background: #FFFFFF;
  border-radius: 21px;
  box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.12);
  padding-bottom: 30px;
  margin: 0 auto 20px auto;
  transition: 0.3s;
}
.you-may-like-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 20px 0px 20px;
}
.you-may-like-header h2 {
  font-size: 23px;
  font-weight: 400;
  color: #0F112F;
  margin: 0;
}
.you-may-like-item {
  display: flex;
  padding: 20px 20px 0px 20px;
  justify-content: space-between;
}
.you-may-like-site-logo {
  display: flex;
  align-items: flex-start;
  text-decoration: none;
  flex: 1;
  min-width: 0;
}
.you-may-like-site-logo img {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  flex-shrink: 0;
}
.you-may-like-site-common {
  display: flex;
  flex-direction: column;
  margin-left: 15px;
  justify-content: space-between;
  min-width: 0;
  height: 100%;
}
.you-may-like-site-common h2 {
  font-size: 14px;
  font-weight: bold;
  color: #000000;
  margin: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.you-may-like-to {
  display: none;
  align-items: center;
  flex-shrink: 0;
}
@media only screen and (min-width: 640px) {
  .category-section .cat-item {
    width: calc(100% / 4);
  }
  .category-section .cate-view::after {
    width: calc(100% / 4);
    margin-right: auto;
  }
}
@media only screen and (min-width: 860px) {
  .category-section .cat-item {
    width: calc(100% / 5);
  }
  .category-section .cate-view::after {
    width: calc(100% / 5);
    margin-right: auto;
  }
}
@media only screen and (min-width: 901px) {
  .cs-card {
    border-radius: 40px;
    padding: 20px;
    margin-bottom: 20px;
  }
  .cs-card-header h2 {
    font-size: 23px;
  }
  .cs-card-item {
    width: 50%;
    padding: 30px 20px 0px 20px;
  }
  .cs-card-site-logo img {
    width: 80px;
    height: 80px;
  }
  .cs-site-name {
    font-size: 20px;
    width: 200px;
  }
  .cs-site-cate {
    font-size: 15px;
    width: 200px;
  }
  .cs-site-Rating {
    font-size: 17px;
  }
  .btn {
    width: 60px;
    height: 28px;
  }
  .featured-section .featured-item {
    width: 25%;
  }
  .featured-section .featured-item .cs-card-site-logo img {
    width: 100px;
    height: 100px;
    border-radius: 14px;
  }
  .featured-section .featured-item .cs-site-name {
    font-size: 14px;
    width: 100%;
  }
}
@media only screen and (min-width: 1201px) {
  .main-right {
    display: block;
    width: 25%;
    flex-shrink: 0;
  }
  .you-may-like-to {
    display: none;
  }
  .featured-section .featured-item .cs-card-site-logo img {
    width: 152px;
    height: 152px;
    border-radius: 10px;
  }
  .featured-section .featured-item .cs-site-name {
    width: 220px;
    padding: 0 15px;
  }
  .category-section .cat-item {
    width: calc(100% / 6);
  }
  .category-section .cate-view::after {
    width: calc(100% / 6);
    margin-right: auto;
  }
}
