/* ===== Base ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  color: #333;
  background: #fff;
}

a {
  text-decoration: none;
}

/* ===== Header (360 sd.360.cn style) ===== */
.header {
  height: 72px;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  background: #00031f;
}

.header__content {
  width: 1200px;
  max-width: 100%;
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
}

/* 图标在左，右侧上下两行：产品名 WinArk / 域名 virtualcc.cn（参考 sd.360.cn） */
.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 100%;
}

.header__logo-icon {
  width: 36px;
  height: 36px;
  display: block;
}

.header__logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.header__logo-name {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  letter-spacing: 1px;
}

.header__logo-domain {
  margin-top: 2px;
  font-size: 11px;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 2px;
}

.header__nav {
  display: flex;
  align-items: center;
  height: 100%;
  list-style: none;
  margin-left: 60px; /* logo 与菜单之间的间距 */
}

.header__nav__item:first-child {
  margin-left: 0;
}

.header__nav__item {
  margin-left: 40px;
  font-size: 14px;
  font-weight: 400;
  height: 100%;
  line-height: 72px;
  cursor: pointer;
}

.header__nav__item a {
  display: inline-block;
  width: 100%;
  height: 100%;
  color: #fff;
  transition: color 0.2s;
}

.header__nav__item.active a,
.header__nav__item a:hover {
  color: #2de654;
}

/* ===== Page spacing so content isn't hidden under fixed header ===== */
.page {
  margin-top: 72px;
}

/* 覆盖火绒为其自身固定导航预留的 120px 顶部间距 */
.page .ys_main {
  margin-top: 0;
}

/* 火绒用 WOW.js 触发入场动画（元素初始 visibility:hidden）。
   本站未引入 WOW.js，直接让这些元素全部显示，否则内容看不见。 */
.wow {
  visibility: visible !important;
}

/* ARM 版暂未提供：置灰不可点 + “敬请期待”徽标 */
.arm-soon {
  cursor: default;
  opacity: 0.65;
}
.soon-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  font-size: 12px;
  font-style: normal;
  line-height: 1.5;
  color: #ff8a00;
  border: 1px solid #ffcf99;
  border-radius: 4px;
  vertical-align: middle;
}

/* 版权 / 备案分两行（行距学自 sclth.com） */
.mod_foot_bt_le p {
  line-height: 1.9;
}
.fb-beian {
  margin-top: 6px; /* 版权行 与 备案行 之间 */
}
.fb-gongan {
  margin-left: 2rem; /* 蜀ICP 与 川公网安备 之间 */
}
.fb-privacy {
  margin-left: 2rem; /* 川公网安备 与 隐私政策 之间 */
}

/* 右侧“隐私政策”相对左侧两行块垂直居中，避免看起来歪 */
.mod_foot_bt .ys_cont1400 {
  align-items: center;
}
.mod_foot_bt_ri p {
  margin: 0;
}
/* 隐私政策是右侧唯一链接，去掉火绒用于分隔多链接的 padding-left，
   否则 hover 下划线会连这段 padding 一起延伸，左边多出一截 */
.mod_foot_bt_ri a {
  padding-left: 0;
}

/* 公安联网备案：警徽图标与备案号对齐 */
.police-icon {
  width: 16px;
  height: 16px;
  margin-right: 4px;
  vertical-align: middle;
}

/* 备案号 hover 动态下划线（抄自 sclth.com：从中间向两侧展开） */
.mod_foot_bt a {
  position: relative;
  display: inline-block;
  text-decoration: none !important;
}
.mod_foot_bt a::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 0;
  height: 1px;
  background: currentColor;
  transform: translateX(-50%);
  transition: width 0.2s;
}
.mod_foot_bt a:hover::before {
  width: 100%;
}

/* ===== WinArk 运行截图轮播 ===== */
/* 覆盖火绒 personal_function 的 276px 顶部留白 */
.personal_function {
  padding-top: 80px !important;
}
.ws-title {
  text-align: center;
  font-size: 32px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 36px;
}

.ws-carousel {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}
.wsc-viewport {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 44px rgba(0, 0, 0, 0.4);
}
.wsc-track {
  display: flex;
  transition: transform 0.45s ease;
}
.wsc-slide {
  position: relative;
  flex: 0 0 100%;
  margin: 0;
}
.wsc-slide img {
  display: block;
  width: 100%;
  height: 620px;
  object-fit: contain;
  background: #f4f5f7;
}
.wsc-slide figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 16px 22px;
  font-size: 16px;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
}

/* 左右箭头 */
.wsc-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 3;
}
.wsc-arrow:hover {
  background: rgba(0, 0, 0, 0.78);
}
.wsc-prev { left: 16px; }
.wsc-next { right: 16px; }

.wsc-counter {
  position: absolute;
  top: 14px;
  right: 18px;
  padding: 4px 12px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 13px;
  z-index: 3;
}

/* 缩略图导航 */
.wsc-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
}
.wsc-thumb {
  flex: 0 0 auto;
  width: 120px;
  height: 72px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.2s, border-color 0.2s;
}
.wsc-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  display: block;
}
.wsc-thumb:hover { opacity: 0.85; }
.wsc-thumb.active {
  opacity: 1;
  border-color: #f5a623;
}

@media screen and (max-width: 768px) {
  /* 手机上图片按原比例显示，避免固定高度产生上下大片留白 */
  .wsc-slide img { height: auto; }
  .wsc-slide figcaption { font-size: 14px; padding: 12px 16px; }
  .wsc-arrow { width: 40px; height: 40px; font-size: 24px; }
}

/* ===== WinArk 系统兼容性网格 ===== */
.ws-compat-sec .ws-title {
  margin-bottom: 12px;
}
.ws-subtitle {
  text-align: center;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 40px;
}
.ws-compat {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.wc-item {
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}
.wc-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
}
.wc-item a {
  display: block;
  overflow: hidden;
  background: #f4f5f7;
}
.wc-item img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: top left;
  transition: transform 0.4s;
}
.wc-item:hover img {
  transform: scale(1.04);
}
.wc-cap {
  display: block;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: bold;
  color: #222;
  text-align: center;
  border-top: 1px solid #eee;
}
@media screen and (max-width: 960px) {
  .ws-compat { grid-template-columns: repeat(2, 1fr); }
}
@media screen and (max-width: 560px) {
  .ws-compat { grid-template-columns: 1fr; }
  .wc-item img { height: 200px; }
}

/* ============================================================
   手机端适配（自定义部分：顶部导航 / 页脚备案 / 标题 / 轮播）
   火绒 media.css 已处理 banner、优势卡片、下载区等主体板块
   ============================================================ */
@media screen and (max-width: 768px) {
  /* 顶部导航 */
  .header {
    height: 56px;
  }
  .header__content {
    padding: 0 16px;
  }
  .header__logo {
    gap: 8px;
  }
  .header__logo-icon {
    width: 30px;
    height: 30px;
  }
  .header__logo-name {
    font-size: 16px;
    letter-spacing: 0;
  }
  .header__logo-domain {
    font-size: 10px;
    letter-spacing: 1px;
  }
  .header__nav {
    margin-left: 18px;
  }
  .header__nav__item {
    margin-left: 16px;
    font-size: 13px;
    line-height: 56px;
  }
  /* 固定导航变矮后，内容顶部间距同步 */
  .page {
    margin-top: 56px;
  }

  /* banner 装饰 SVG 插图在手机上会溢出撑宽页面，直接隐藏 */
  .personal_ban_svg {
    display: none !important;
  }
  /* 火绒小屏把 banner 的 padding-bottom 设为 0，导致下载按钮（ARM 换行后）
     紧贴下方卡片框；这里补足底部间距 */
  .personal_ban {
    padding-bottom: 40px;
  }
  /* 架构按钮（64/32/ARM）换行时行间距，避免 ARM 那行紧贴上面的 64/32 行；
     并用 column-gap 替代 | 分隔符（换行后 | 会变成行首多余竖线） */
  .personal_ban_info .personal_ban_info {
    row-gap: 14px;
    column-gap: 22px;
  }
  .no-bg.personal_btn2::before {
    display: none !important; /* 去掉 | 竖线 */
  }
  .no-bg.personal_btn2 {
    padding-left: 0 !important; /* | 原本占的左内边距一并去掉 */
  }
  /* banner 标题/副标题在窄屏正常换行 */
  .personal_ban_tit,
  .personal_ban_subtit {
    white-space: normal;
    word-break: break-word;
  }

  /* 板块标题 */
  .ws-title {
    font-size: 24px;
  }
  .ws-subtitle {
    font-size: 14px;
    padding: 0 20px;
  }

  /* 轮播：缩略图缩小一点 */
  .wsc-thumb {
    width: 96px;
    height: 58px;
  }
  .wsc-counter {
    font-size: 12px;
    padding: 3px 10px;
  }

  /* 页脚备案栏：改为纵向堆叠，避免溢出 */
  .mod_foot_bt {
    padding: 18px 0;
  }
  .mod_foot_bt .ys_cont1400 {
    flex-direction: column;
    align-items: flex-start;
  }
  .mod_foot_bt_le p,
  .mod_foot_bt a {
    font-size: 12px;
    line-height: 1.8;
  }
  /* “版权所有：…”整体换到新的一行 */
  .fb-owner {
    display: block;
  }
  /* 蜀ICP + 川公网安备 保持同一行；隐私政策单独成行
     （用 !important 压过 .mod_foot_bt a 的 inline-block） */
  .fb-privacy {
    display: block !important;
    margin-left: 0;
    margin-top: 4px;
  }
  .mod_foot_bt_ri {
    margin-top: 12px;
  }
}
