
/* 自定义字体定义 */
@font-face {
    font-family: 'AliFont';
    src: url('https://at.alicdn.com/wf/webfont/31wM1BKHT2Sg/yX5XHLamZLyC.woff2') format('woff2'),
         url('https://at.alicdn.com/wf/webfont/31wM1BKHT2Sg/q424tliCwOek.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --fs-background-second-color: #ffffff;
    --fs-background-third-color: #262626;
    --fs-text-color: #333;
    --fs-text-six-color: #666;
    --fs-fourth-color: #3b82f6;
    --fs-primary-color: #ffd000;
    --bg-body: #f5f6f8;
    --bg-white: #ffffff;
    --bg-footer: #3d4556;
    --text-main: #334155; 
    --text-sub: #475569;   
    --text-desc: #94a3b8;  
    --color-primary: #3b82f6;
    --color-success: #10b981; 
    --max-width: 1330px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'AliFont', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; outline: none; }

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }

/* 统一容器边距 */
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 16px; }

/* --- 1. 头部导航 --- */
.site-header { 
    position: fixed; 
    top: 0; 
    left: 0; 
    right: 0; 
    z-index: 9999; 
    background: rgba(255, 255, 255, 0.85); 
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px); 
    height: 60px;
}
.header-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; height: 100%; }

.logo-area { display: flex; align-items: center; gap: 10px; order: 1; height: 100%; }
.logo-area img { max-height: 40px; width: auto; object-fit: contain; }

.logo-hint { 
    display: inline-flex; 
    align-items: center; 
    margin-left: 12px; 
    color: #999; 
    font-size: 12px;
}
.logo-hint span { margin-right: 12px; }

.header-nav { display: flex; gap: 16px; align-items: center; order: 2; }
.nav-item { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 4px; 
    background: #f5f6f8; 
    color: #333; 
    padding: 6px 16px; 
    border-radius: 6px; 
    font-size: 14px;
    cursor: pointer;
    position: relative;
}

/* 下拉菜单样式 */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    padding: 8px 0;
    min-width: 120px;
    display: none;
    z-index: 10000;
    animation: slideDown 0.2s ease;
}

.dropdown-menu.show {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    color: #333;
    transition: background 0.2s;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: #f5f6f8;
}

/* --- 2. 公告栏样式 --- */
.announcement-container { margin-top: 85px; margin-bottom: 20px; }
#announcement-content::-webkit-scrollbar { display: none; }
#announcement > div { display: flex; align-items: center; flex: 1; min-width: 0; }
#announcement-content {
    font-size: 13px; 
    font-weight: 500; 
    color: #475569; 
    white-space: nowrap; 
    overflow-x: auto; 
    -webkit-overflow-scrolling: touch; 
    scrollbar-width: none; 
    -ms-overflow-style: none;
}

#announcement {
    background: white; 
    border-radius: 8px; 
    padding: 12px 16px; 
    box-shadow: 0 1px 3px rgba(0,0,0,0.03); 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    transition: 0.2s; 
    gap: 12px;
}

#announcement .announcement-title {
    font-size: 13px; 
    font-weight: 700; 
    color: #000; 
    flex-shrink: 0;
}

#close-announcement {
    background: none; 
    border: none; 
    font-size: 18px; 
    cursor: pointer; 
    color: #94a3b8; 
    padding: 0 4px; 
    line-height: 1; 
    transition: 0.2s; 
    flex-shrink: 0;
}

#close-announcement:hover { color: #333; }

/* --- 3. 分类与卡片网格 --- */
.main-content { flex-grow: 1; padding-top: 0; padding-bottom: 20px; }
.category-section { margin-bottom: 24px; }
.category-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 12px; padding: 0 4px; }
.category-title { font-size: 14.5px; font-weight: 600; color: #4b5563; line-height: 1; letter-spacing: 0.3px; }
.category-desc { font-size: 11px; color: var(--text-desc); margin-bottom: 1px; letter-spacing: 0.2px; }

.app-grid { display: grid; gap: 8px; grid-template-columns: repeat(3, 1fr); }

.app-card {
    display: flex; align-items: center; gap: 8px; background: var(--bg-white); 
    border-radius: 8px; padding: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.03); 
    border: none; transition: 0.2s; cursor: pointer;
    min-width: 0; 
}
.app-card:hover { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,0.08); }
.app-card-icon { width: 20px; height: 20px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.app-card-icon img { width: 100%; height: 100%; object-fit: contain; border-radius: 4px; }
.app-card-icon span { font-size: 13px; font-weight: 600; color: var(--color-primary); }

.app-card-name { 
    flex: 1; 
    min-width: 0; 
    display: block;
    font-size: 15px; font-weight: 500; color: #000; 
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: clip; 
    letter-spacing: 0.3px; 
}

/* 查看更多卡片样式 */
.app-card-more {
    display: flex; align-items: center; justify-content: flex-start; gap: 6px;
    background: var(--bg-white); border-radius: 8px; padding: 8px; 
    box-shadow: 0 1px 3px rgba(0,0,0,0.03); transition: 0.2s; 
    cursor: pointer; text-decoration: none; min-width: 0;
}
.app-card-more:hover {
    transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,0.08); 
}
.app-card-more .app-card-icon i { font-size: 14px; color: #8ba4c7; transition: 0.2s; }
.app-card-more .more-text { font-size: 13px; font-weight: 500; color: #8ba4c7; transition: 0.2s; }
.app-card-more .more-arrow { font-size: 11.5px; color: #8ba4c7; transition: 0.2s; margin-top: 1px; }

.app-card-more:hover .app-card-icon i,
.app-card-more:hover .more-text,
.app-card-more:hover .more-arrow { color: var(--color-primary); }

/* 友情链接大卡片样式 */
.friend-links-card {
  background: var(--bg-white);
  border-radius: 10px;
  padding: 12px 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.friend-links-content {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
}

.friend-link {
  font-size: 12px;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  transition: color 0.2s;
}

.friend-link:hover {
  color: var(--color-primary);
}

/* --- 4. 页脚 --- */
.site-footer { background: var(--bg-footer); padding: 16px 0 24px 0; color: #a0aec0; font-size: 11.5px; position: relative; }
.site-footer a { color: #a0aec0; }

.footer-meta { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 10px; 
    line-height: 1.6; 
    color: #9ca3af; 
    letter-spacing: 0.5px;
    width: 100%;
}
.footer-links { text-align: center; }
.footer-copyright { text-align: center; }
.footer-meta a { margin: 0 4px; transition: color 0.2s; }
.footer-meta a:hover { color: #fff; text-decoration: underline; }

/* --- 5. 关于模态框样式 --- */
.about-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.about-modal-overlay.active { display: flex; }

.about-modal-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.about-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    line-height: 1;
    transition: color 0.2s;
}

.about-modal-close:hover { color: #333; }

.about-modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
    padding-right: 30px;
}

.about-modal-content {
    font-size: 14px;
    line-height: 1.8;
    color: #475569;
}

.about-modal-content p { margin-bottom: 16px; }
.about-modal-content p:last-child { margin-bottom: 0; }
.about-modal-highlight { font-weight: 600; color: #1e293b; }

/* --- 6. 搜索页样式 (Simple Search) --- */
.search-page { height: 100%; display: flex; flex-direction: column; }
.search-page #main { flex: 1; display: flex; flex-direction: column; padding-top: 80px; }

:root {
    --simple-color: #000;
    --simple-hover: #333;
    --simple-grey-color: #616a76;
    --simple-body-bg-color: #f5f5f5;
    --simple-card-bg-color: #ffffff;
}

.d-flex { display: flex; }
.d-block { display: block; }
.d-grid { display: grid; }
.d-none { display: none; }
.d-initial { display: initial; }

.p-relative { position: relative; }
.p-absolute { position: absolute; }

.align-items-center { align-items: center; }
.flex-direction-column { flex-direction: column; }
.justify-content-center { justify-content: center; }
.overflow-auto { overflow: auto; }

/* 搜索图标样式 */
.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    pointer-events: none;
}
.search-icon svg { width: 100%; height: 100%; fill: #616a76; }
.search-btn-icon { width: 20px; height: 20px; fill: #fff; }

/* 搜索框样式 */
.simple-search {
    width: 100%;
    max-width: 1200px;
    margin: 30px auto 80px;
}

.bookmark .simple-search {
    padding: 100px 20px;
    background: unset;
}

.search-wrap {
    max-width: 800px;
    margin: 0 auto;
    flex: 1;
}

.simple-search-menu { color: var(--simple-grey-color); }
.simple-search-menu ul { white-space: nowrap; margin-bottom: 5px; }

.simple-search-menu li {
    padding: 0px 10px 10px;
    cursor: pointer;
    white-space: nowrap;
    display: inline-block;
    font-weight: 700;
    font-size: 18px;
}

.active-search-menu { color: var(--simple-color); }
.active-search-menu:after {
    content: '';
    position: absolute;
    width: 15px;
    height: 3px;
    left: 50%;
    bottom: 4px;
    transform: translateX(-50%);
    z-index: 1;
    border-radius: 2px;
    background-color: var(--simple-color);
}

.simple-search form {
    position: relative;
    box-shadow: 0 6px 6px 0px rgba(0, 0, 0, .05);
    border-radius: 14px;
}

.simple-search input {
    height: 50px;
    width: 100%;
    padding: 5px 45px;
    border-radius: 14px;
    background-color: var(--simple-card-bg-color);
    border: 2px solid var(--simple-color);
    font-size: 16px;
}

.simple-search input::placeholder { color: var(--simple-grey-color); }

.simple-search input:focus {
    border-color: #000;
    outline: none;
}

.simple-search button {
    position: absolute;
    height: 42px;
    width: 42px;
    top: 50%;
    right: 4px;
    color: #FFF;
    background-color: var(--simple-color);
    transform: translate(0, -50%);
    border-radius: 12px;
}

.search-group { display: none; }
.search-group li {
    padding: 10px 10px 0;
    color: var(--simple-grey-color);
    cursor: pointer;
    white-space: nowrap;
    display: inline-block;
}

.active-search-item {
    position: relative;
    color: var(--simple-color);
    font-weight: 600;
}

.active-search-item:before {
    content: '';
    border-width: 8px 8px 0px 8px;
    border-style: solid;
    border-color: var(--simple-color) transparent transparent;
    position: absolute;
    left: 50%;
    top: 0;
    margin-left: -8px;
}

.active-search-group {
    display: flex;
    overflow: auto;
    white-space: nowrap;
}

.active-search-group::-webkit-scrollbar,
.simple-search-menu ul::-webkit-scrollbar { height: 0px; }

/* --- 7. 响应式排版 --- */
@media (min-width: 640px) { 
    .app-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; } 
}

@media (min-width: 768px) {
    .container { padding: 0 24px; }
    .header-inner { flex-wrap: nowrap; }
    .header-nav { order: 3; }
    .app-grid { grid-template-columns: repeat(6, 1fr); }
    .footer-meta { 
        flex-direction: row; 
        justify-content: space-between;
        align-items: center;
    }
    .logo-hint { display: inline-flex; }
}

@media (min-width: 1024px) {
    .app-grid { grid-template-columns: repeat(8, 1fr); }
}

@media (max-width: 768px) { 
    .logo-hint { display: none; }
    .announcement-container { margin-top: 75px; margin-bottom: 10px; }
    .main-content { padding-top: 10px; }
    .app-card-name { font-size: 14px; }
}

/* 右下角悬浮工具栏 - 与参考页面一致 */
.fixedGroup {
  background-color: var(--fs-background-second-color);
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2);
  position: fixed;
  right: 0;
  bottom: 6.5rem;
  width: 34px;
  z-index: 10;
  box-sizing: border-box;
  border-radius: 4px;
}
.fixedGroup .animate-item {
  height: 36px;
  overflow: hidden;
}
.fixedGroup .animate-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fixedGroup .fixedGroup-item {
  position: relative;
  font-size: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 36px;
  height: 36px;
  cursor: pointer;
  color: var(--fs-text-color);
}
.fixedGroup .fixedGroup-item .fixedGroup__cell {
  display: none;
  font-size: 15px;
  position: absolute;
  top: 2px;
  right: 54px;
  padding: 0 12px;
  color: var(--fs-text-six-color);
  font-size: 14px;
  border-radius: 2px;
  background-color: var(--fs-background-third-color);
  min-width: 52px;
  min-height: 32px;
  line-height: 32px;
  animation: fadeInOut 0.2s ease-out 0s forwards;
  transform: all 0.2s;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.fixedGroup .fixedGroup-item .fixedGroup__cell .fixedGroup__triangle {
  position: absolute;
  top: 12px;
  right: -5px;
  width: 10px;
  height: 10px;
  background-color: var(--fs-background-third-color);
  border-top-right-radius: 2px;
  transform: rotate(45deg);
}
.fixedGroup .fixedGroup-item i,
.fixedGroup .fixedGroup-item img {
  display: block;
  box-sizing: border-box;
  width: 30px;
  height: 30px;
  border-radius: 4px;
  font-size: 20px;
  object-fit: contain;
}
.fixedGroup .fixedGroup-item:hover i,
.fixedGroup .fixedGroup-item:hover img {
  background-color: var(--fs-background-second-color);
}
.fixedGroup a.fixedGroup-item:hover i {
  color: var(--fs-fourth-color);
}
.fixedGroup .fixedGroup-item::after {
  content: "";
  position: absolute;
  right: 50%;
  bottom: 0;
  width: 20px;
  height: 1px;
  transform: translateX(50%);
}
.fixedGroup .retop {
  display: none;
}
.fixedGroup a.fixedGroup-item:hover i {
  color: var(--fs-fourth-color);
}
.fixedGroup-separator {
  width: 20px;
  height: 1px;
  background-color: #ddd;
  margin: 1px auto;
}

/* 搜索弹窗样式 */
.search-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.search-overlay.show {
  display: flex;
}

.search-card {
  background-color: #fff;
  border-radius: 12px;
  padding: 24px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  position: relative;
}

@media (max-width: 768px) {
  .search-card {
    padding: 16px;
    width: calc(100% - 20px);
  }
}

.search-tabs {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f0f0;
}

.search-tabs-label {
  color: #999;
  font-size: 14px;
  margin-right: 16px;
}

.search-tab {
  background: none;
  border: none;
  color: #666;
  font-size: 14px;
  padding: 6px 12px;
  margin-right: 8px;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s;
}

.search-tab:hover {
  background-color: #f5f5f5;
}

.search-tab.active {
  color: #333;
  background-color: #f0f0f0;
}

.search-input-group {
  display: flex;
  margin-bottom: 16px;
}

.search-input {
  flex: 1;
  height: 44px;
  padding: 0 16px;
  border: 1px solid #e0e0e0;
  border-radius: 8px 0 0 8px;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}

.search-input:focus {
  border-color: #999;
}

.search-input::placeholder {
  color: #999;
}

.search-submit-btn {
  width: 56px;
  height: 44px;
  background-color: #333;
  border: none;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.2s;
}

.search-submit-btn:hover {
  background-color: #555;
}

.search-icon-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.search-icon {
  font-size: 18px;
}

.search-hot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.search-hot-label {
  font-size: 14px;
  color: #666;
  margin-right: 12px;
}

.search-hot-tags {
  display: flex;
  gap: 8px;
}

.search-hot-tag {
  background-color: #f5f5f5;
  color: #666;
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.2s;
}

.search-hot-tag:hover {
  background-color: #e0e0e0;
  color: #333;
}

.search-close-btn {
  position: absolute;
  bottom: -70px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  font-size: 20px;
  color: #666;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.2s;
}

.search-close-btn:hover {
  background-color: #fff;
  color: #333;
}

.search-icon-btn {
  display: block;
  box-sizing: border-box;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  font-size: 16px;
  background-color: var(--fs-background-second-color);
  border-radius: 50%;
}

.fixedGroup .search-btn:hover .search-icon-btn {
  background-color: var(--fs-background-second-color);
}

/* isax图标样式 */
.isax {
  display: inline-block;
  width: 20px;
  height: 20px;
  vertical-align: middle;
}

.isax.isax-message {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpolyline points='22,6 12,13 2,6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.isax.isax-mobile {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='2' width='14' height='20' rx='2' ry='2'/%3E%3Cline x1='12' y1='18' x2='12.01' y2='18'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.fixedGroup a.fixedGroup-item:hover .isax.isax-mobile {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%233b82f6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='2' width='14' height='20' rx='2' ry='2'/%3E%3Cline x1='12' y1='18' x2='12.01' y2='18'/%3E%3C/svg%3E");
}

.isax.isax-arrow-up-2 {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5M5 12l7-7 7 7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.isax:hover {
  filter: brightness(0.7);
}

.fixedGroup a.fixedGroup-item:hover .isax.isax-message,
.fixedGroup div.fixedGroup-item:hover .isax.isax-message {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%233b82f6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpolyline points='22,6 12,13 2,6'/%3E%3C/svg%3E");
}

@keyframes fadeInOut {
  from {
    opacity: 0;
    transform: translateX(10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* 手机端底部下载APP弹窗 */
.mobile-download-popup {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 99;
  width: 100%;
  height: 6rem;
  background-color: var(--fs-background-third-color);
  box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.25);
}
.mobile-download-popup .close-btn {
  position: absolute;
  top: 0.25rem;
  right: 0.25rem;
  width: 1.5rem;
  height: 1.5rem;
  line-height: 1.5rem;
  text-align: center;
  color: #222;
  cursor: pointer;
}
.mobile-download-popup .close-btn:before {
  position: absolute;
  content: "";
  width: 0.25rem;
  height: 1rem;
  background: #fff;
  transform: rotate(45deg);
  top: calc(50% - 0.5rem);
  left: calc(50% - 0.125rem);
}
.mobile-download-popup .close-btn:after {
  content: "";
  position: absolute;
  width: 0.25rem;
  height: 1rem;
  background: #fff;
  transform: rotate(-45deg);
  top: calc(50% - 0.5rem);
  left: calc(50% - 0.125rem);
}
.mobile-download-popup .mobile-popup-inner {
  margin: 1rem 1rem 0;
  display: flex;
  gap: 1rem;
  height: calc(100% - 1rem);
}
.mobile-download-popup .mobile-popup-inner .side {
  width: 33%;
}
.mobile-download-popup .mobile-popup-inner .side .app-image-box {
  background-color: antiquewhite;
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
  overflow: hidden;
  height: calc(100% + 2rem);
  margin-top: -2rem;
  box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.25);
}
.mobile-download-popup .mobile-popup-inner .side .app-image-box img {
  width: 100%;
}
.mobile-download-popup .mobile-popup-inner .main {
  flex: 1;
}
.mobile-download-popup .mobile-popup-inner .main .label {
  font-size: 0.875rem;
  color: var(--fs-text-six-color);
  margin-bottom: 0.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.mobile-download-popup .mobile-popup-inner .main .download-app-btn {
  display: block;
  border: none;
  outline-color: none;
  background-color: var(--fs-primary-color);
  border-radius: 0.25rem;
  width: 100%;
  height: 2rem;
  line-height: 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--fs-text-color);
  text-decoration: none;
}

@media (min-width: 768px) {
  .mobile-download-popup {
    display: none !important;
  }
}

/* 页脚链接样式覆盖 */
.site-footer a {
  color: #000 !important;
}
