    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      max-width: 100vw;
      overflow-x: hidden;
    }
*, *::before, *::after {
  box-sizing: border-box;
}
html, body {
  width: 100%;
  overflow-x: hidden;
  position: relative;
}
 body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: black;
    padding: 5px;
	min-height: 100vh;
    height: auto;
	overflow-y: visible;
	margin: 0;
    min-height: 100vh;
    position: relative;
    z-index: 1;
    }

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("/assets/images/bg.gif") no-repeat center center fixed;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: -1;
}
    .app-desktop {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 6px;
      border-radius: 12px;
      padding: 5px;
      background: #ffffffc7;
	   width: calc(100% - 0px);
	   box-sizing: border-box;
    }

    .app-title {
      grid-column: span 5;
      text-align: left;
      font-size: 20px;
      font-weight: 600;
      color: black;
      padding: 4px 8px;
      background: transparent !important;
      box-shadow: none !important;
      cursor: default;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      justify-content: center;
    }

    .app-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      background: #ffffff3d;
      border-radius: 12px;
      padding: 10px 0px;
      list-style: none;
      cursor: pointer;
      text-align: center;
      transition: background 0.2s;
    }

    .app-item:hover {
      background: #edf2ff;
    }

    .app-icon {
      font-size: 24px;
      margin-bottom: 6px;
      color: #4a90e2;
    }

    .app-name {
      font-size: clamp(9px, 3.2vw, 12px);
      color: #333;
	  font-size: 15px;
	  font-weight: 600;
      line-height: 1.2;
      word-break: break-word;
      overflow: hidden;
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
    }
	@media (max-width: 400px) {
      .app-icon { font-size: 20px; }
      .app-name { font-size: 10px; }
    }
.app-icon img{display:block;width:30px;height:30px;padding:0px;background:#fff;border-radius:10px;margin:0 auto}
.app-icon svg{display:block;width:30px;height:30px;padding:0px;background:#fff;border-radius:10px;margin:0 auto}
h3 {
 width:100%;
 font-size: 18px;
  text-align:center;
  color: white;}
h1 {
width:100%;
  margin: 20px 6px;
 font-size: 55px;
  text-align:center;
  color: white;}
.sjb {
display:block;width: 100%;border-radius:10px; background-size: cover;padding:30px;
margin: 10px 0px;}







    .cat-main-title {
      display: block;
      font-size: 20px;
      font-weight: 600;
      color: black;
      line-height: 1.3;
    }
    .cat-sub-title {
      display: block;
      font-size: 13px;
      font-weight: 400;
      color: #555;
      margin-top: 2px;
      line-height: 1.3;
    }

/* 2026-10-14: 第二行标题与 16:9 顶部 Banner */
.app-name {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  min-width: 0;
  overflow: hidden;
  -webkit-line-clamp: unset;
}
.app-name .title-line {
  display: block;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.app-name .title-line1 { font-weight: 600; }
.app-name .title-line2 { font-size: 0.86em; font-weight: 500; opacity: 0.84; }

/* 保留后台的动态 Banner 图片，仅统一为参考站使用的 16:9 容器。 */
.sjb {
  width: min(100%, 960px);
  aspect-ratio: 16 / 9;
  min-height: 0;
  margin: 10px auto;
  padding: 0 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}
.sjb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.26), rgba(0,0,0,0.05), rgba(0,0,0,0.22));
}
.sjb h1, .sjb h3 { position: relative; z-index: 1; margin: 0; text-shadow: 0 2px 12px rgba(0,0,0,0.72); }
.sjb h1 { font-size: clamp(26px, 7vw, 55px); line-height: 1.1; }
.sjb h3 { margin-top: 10px; font-size: clamp(12px, 2.6vw, 18px); line-height: 1.35; }
@media (max-width: 480px) {
  .sjb { margin: 8px auto; padding: 0 12px; border-radius: 10px; }
  .app-name .title-line2 { font-size: 0.82em; }
}


/* 2026-10-14: 桌面端使用手机宽度容器 */
@media screen and (min-width: 768px) and (hover: hover) and (pointer: fine) {
  body {
    width: 430px;
    max-width: calc(100vw - 20px);
    margin-left: auto;
    margin-right: auto;
  }
  .sjb { width: 100%; max-width: none; }
  .share-fab-btn { right: max(14px, calc(50% - 201px)); }
  .share-modal { width: min(calc(100vw - 24px), 410px); }
}


/* 2026-10-14: 触控手机恢复全宽布局 */
@media screen and (hover: none), screen and (pointer: coarse) {
  body {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  .share-fab-btn { right: 18px; }
  .share-modal { width: 90%; }
}

/* 2026-10-14: 电脑版白色留白与内容区分享按钮 */
@media screen and (min-width: 768px) and (hover: hover) and (pointer: fine) {
  html { background: #fff; }
  body { background-color: #000; }
  /* 背景动图只保留在中间手机宽度的内容列，网页两侧为白色。 */
  body::before {
    width: 430px;
    max-width: calc(100vw - 20px);
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
  /* 分享按钮固定在中间内容列的右下角，而非浏览器最右侧。 */
  .share-fab-btn {
    left: calc(50% + 149px);
    right: auto;
    bottom: 20px;
  }
  /* 兼容隐藏主图内部或右缘意外出现的滚动条/滑块。 */
  .sjb, .sjb * { scrollbar-width: none; }
  .sjb::-webkit-scrollbar, .sjb *::-webkit-scrollbar { width: 0; height: 0; display: none; }
}
