/* =================================
   全局公共样式表 (Less版本)
   ================================= */
:root {
  /* ===== App711 设计令牌 ===== */
  --c-primary: #1E77FF;
  --c-primary-d: #155CD6;
  --c-accent: #ff9500;
  --c-text: #282828;
  --c-text2: #3a3a3a;
  --c-text3: #4d4d4d;
  --c-line: #eeeeee;
  --c-bg: #ffffff;
  --c-card: #ffffff;
  --c-footer: #0F2557;
  --radius-card: 12px;
  --radius-icon: 10px;
  --radius-btn: 16px;
  --shadow-card: 0 0 12px 0 rgba(14, 9, 62, .08);
  --container: 1200px;
  --gap: 60px;
  --font: "PingFang SC", -apple-system, "Helvetica Neue", Arial, sans-serif;

  /* ===== 兼容旧变量名（映射到绿色体系） ===== */
  --FontBody: var(--font);
  --FontTitle: var(--font);
  --Theme: var(--c-primary);
  --BgPage: var(--c-bg);
  --IndexTopBg: linear-gradient(142deg, #3D8BFF 2.96%, var(--c-primary) 68.67%, var(--c-primary-d) 100.55%);
  --BgNav: #FFFFFF;
  --TextNav: var(--c-text3);
  --BgFooter: var(--c-footer);
  --TextFooter: #ffffff;
  --TextPrimary: var(--c-text);
  --TextSecondary: var(--c-text3);
  --TextTertiary: #999999;
  --Hover: var(--c-primary-d);
  --Link: var(--c-primary);
  --Divider: var(--c-line);
  --Border: var(--c-line);
}
* {
  /* 消除边距 */
  margin: 0;
  padding: 0;
  /*盒模型默认使用内边框*/
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
/* GOTCHAS 防御：禁止横向溢出 */
html,
body {
  overflow-x: hidden;
  max-width: 100vw;
}
body {
  font-family: var(--font);
  color: var(--c-text);
  background: var(--c-bg);
}
html {
  --dir-multiplier: 1;
  --dir-transform: rotateZ(0deg);
}
html[dir="rtl"] {
  --dir-multiplier: -1;
  --dir-transform: rotateZ(180deg);
}
/*全局设置*/
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在盒子中有下边距*/
img {
  /*IE7*/
  border: none;
  vertical-align: middle;
  object-fit: cover;
  max-width: 100%;
}
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: #101828;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.4;
}
.category-card-title {
  color: #101828;
  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: var(--c-primary);
}
.text-secondary {
  color: #666;
}
.text-muted {
  color: #999;
}
.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: 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: 1200px) {
  html {
    font-size: 16px;
  }
  .app-card-title {
    font-size: 18px;
  }
  .category-card-title {
    font-size: 20px;
  }
  .adHeight {
    width: 100%;
    height: 320px;
  }
  .ad-box {
    text-align: center;
  }
}
.section-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}
.section-hd-title {
  flex: 1;
  margin: 0;
  color: #333333;
  font-size: 22px;
  font-weight: 600;
  line-height: 30px;
}
.section-hd-more {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  flex-shrink: 0;
  text-decoration: none;
  transition: background 0.2s ease;
}
.section-hd-more:hover {
  background: #ffffff;
}
.section-hd-more svg {
  width: 24px;
  height: 24px;
  fill: #5C5E5E;
}
.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: var(--c-primary);
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
}
.breadcrumb-link svg {
  width: 14px;
  height: 14px;
  fill: var(--c-primary);
  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: 20px;
    line-height: 28px;
  }
  .section-hd-more {
    width: 32px;
    height: 32px;
  }
  .section-hd-more svg {
    width: 20px;
    height: 20px;
  }
  .breadcrumb {
    height: 100%;
    padding: 10px 0;
  }
}
