/* 下载页共用样式：配色与字体照软件界面（apps/desktop-ui/styles/ui.css），深色。各方案自己的样式写在页面里，类名带方案前缀。 */
:root {
  --bg-sunken: #141518;
  --bg: #1b1b1f;
  --panel: #1f1f24;
  --panel-2: #232329;
  --card: #262631;
  --line: #2c2c34;
  --line-2: #34343e;
  --text: #e9e9ee;
  --text-2: #b9b9c3;
  --muted: #8a8a96;
  --primary: #3b82f6;
  --primary-hover: #5294ff;
  --p-light: #76a8f9;
  --p-bg: #23375c;
  --p-bg-2: #1f2a40;
  --success: #4ade80;
  --warning: #e1952e;
  --wrap: 1080px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Microsoft YaHei UI", "PingFang SC", "Segoe UI", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

/* 页头：软件图标 + 名称，右边几个文字链接 */
.site-head {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.site-head .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 60px;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.site-brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.site-nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
  color: var(--text-2);
  font-size: 14px;
}

.site-nav a:hover {
  color: var(--text);
}

/* 页脚 */
.site-foot {
  margin-top: 80px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.site-foot .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-top: 24px;
  padding-bottom: 32px;
}

.site-foot .foot-right {
  margin-left: auto;
}

/* 按钮：一屏只用一个实心按钮，其余描边 */
.btn-solid,
.btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s;
}

.btn-solid {
  height: 48px;
  padding: 0 28px;
  border: 0;
  background: var(--primary);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

.btn-solid:hover {
  background: var(--primary-hover);
}

.btn-solid i {
  font-size: 18px;
}

.btn-line {
  height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--text);
  font-size: 14px;
}

.btn-line:hover {
  border-color: var(--muted);
}

.text-link {
  color: var(--p-light);
}

.text-link:hover {
  text-decoration: underline;
}

/* 手机上打开时的提示（电脑软件装不了） */
.mobile-note {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--p-bg-2);
  color: var(--text-2);
  font-size: 13px;
}

.mobile-note[hidden] {
  display: none;
}

.mobile-note i {
  color: var(--p-light);
  font-size: 16px;
}

.mobile-note span {
  flex: 1;
  min-width: 0;
}

.mobile-note .btn-line {
  height: 30px;
  padding: 0 12px;
  font-size: 13px;
}

@media (max-width: 560px) {
  .wrap {
    padding: 0 16px;
  }

  .site-nav {
    gap: 16px;
    font-size: 13px;
  }

  .site-foot .foot-right {
    margin-left: 0;
  }
}
