/* ============================================================
   /win 页面专属样式：Win11（Fluent）风格
   ------------------------------------------------------------
   这一页只在 /win 加载，不进别处——站点其他页面仍是一体化的液态玻璃风，
   只有这一页刻意换一副长相：因为讲的就是那枚桌面程序，长得像它才好讲话。

   Win11 的几个要点，照着来：
   · 云母（Mica）底：半透明 + 大半径模糊，透出底色但不糊
   · 圆角 8px（控件 4px），描边极浅，靠层次而不是阴影分块
   · Segoe UI Variable 字体，字号偏小、行距偏紧
   · 强调色走系统蓝，悬停亮一档
   · 设置页那种「图标 + 标题 + 说明」的行，比卡片墙更像 Windows
   ============================================================ */

.win11 {
  --w-accent: #0067c0;
  --w-accent-hover: #1a75c9;
  --w-accent-soft: #eaf3fb;
  --w-accent-line: #cfe4f6;
  --w-card: #fdfdfd;
  --w-layer: rgba(255, 255, 255, .68);
  --w-stroke: rgba(0, 0, 0, .0578);
  --w-stroke-strong: rgba(0, 0, 0, .0957);
  --w-text: #1b1b1b;
  --w-text-2: #5c5c5c;
  --w-text-3: #8a8a8a;
  --w-radius: 8px;
  --w-radius-sm: 4px;
  --w-segoe: "Segoe UI Variable Text", "Segoe UI Variable", "Segoe UI",
    -apple-system, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --w-segoe-display: "Segoe UI Variable Display", "Segoe UI Variable", "Segoe UI",
    -apple-system, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;

  font-family: var(--w-segoe);
  color: var(--w-text);
  padding: 26px 0 72px;
}

/* 桌面底色：Win11 的浅色云母壁纸感，一层极淡的斜向渐变 */
.win11-wall {
  background:
    radial-gradient(1200px 520px at 78% -10%, rgba(0, 103, 192, .10), transparent 60%),
    radial-gradient(900px 420px at 6% 4%, rgba(120, 160, 220, .10), transparent 58%),
    linear-gradient(160deg, #eef2f7 0%, #e9eef6 46%, #eef1f6 100%);
  border-radius: 16px;
  padding: 22px;
}

/* ---------- 窗口外框：讲的就是那枚程序，那就先摆一扇窗 ---------- */
.win-frame {
  max-width: 1020px;
  margin: 0 auto;
  background: var(--w-layer);
  backdrop-filter: blur(30px) saturate(160%);
  -webkit-backdrop-filter: blur(30px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 12px;
  overflow: hidden;
}

.win-titlebar {
  display: flex; align-items: center; gap: 9px;
  padding: 0 6px 0 14px; height: 42px;
  border-bottom: 1px solid var(--w-stroke);
}
.win-titlebar-ico {
  width: 16px; height: 16px; border-radius: 4px; flex: none;
  background: linear-gradient(140deg, #4a8dff, #06489f);
}
.win-titlebar-name {
  font-family: var(--w-segoe); font-size: 12.5px; color: var(--w-text-2);
}
.win-titlebar-acts { margin-left: auto; display: flex; }
.win-titlebar-acts i {
  display: grid; place-items: center; width: 44px; height: 42px;
  font-style: normal; font-size: 10px; color: var(--w-text-2);
  font-family: var(--w-segoe);
}
.win-titlebar-acts i:last-child:hover { background: #c42b1c; color: #fff; }

.win-body { padding: 26px 30px 30px; }

/* ---------- 头部 ---------- */
.win-head { display: flex; gap: 16px; align-items: flex-start; }
.win-app-ico {
  flex: none; width: 52px; height: 52px; border-radius: 10px;
  display: grid; place-items: center; font-size: 26px; line-height: 1;
  background: linear-gradient(140deg, #4a8dff, #06489f); color: #fff;
}
.win-head h1 {
  margin: 2px 0 6px; font-family: var(--w-segoe-display);
  font-size: 27px; font-weight: 600; letter-spacing: -.2px; line-height: 1.25;
}
.win-head p { margin: 0; font-size: 13.5px; line-height: 1.75; color: var(--w-text-2); max-width: 660px; }
.win-head .ver-tag { font-size: 11.5px !important; padding: 2px 8px !important; }

/* ---------- 信息条（Win11 InfoBar） ---------- */
.win-bar {
  display: flex; gap: 12px; align-items: flex-start;
  margin: 20px 0 24px; padding: 12px 16px;
  background: var(--w-accent-soft);
  border: 1px solid var(--w-accent-line);
  border-radius: var(--w-radius);
}
.win-bar .ico { color: var(--w-accent); margin-top: 2px; }
.win-bar b { font-weight: 600; }
.win-bar p { margin: 0; font-size: 13px; line-height: 1.7; color: #16436f; }

/* ---------- 按钮（Win11：圆角 4px） ---------- */
.win-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.win-btn, .win-btn-2 {
  display: inline-flex; align-items: center; gap: 8px;
  font: inherit; font-size: 13.5px; font-weight: 500;
  padding: 7px 18px; border-radius: var(--w-radius-sm);
  cursor: pointer; white-space: nowrap; text-decoration: none;
  transition: background .1s, border-color .1s, color .1s;
}
.win-btn { background: var(--w-accent); color: #fff; border: 1px solid transparent; }
.win-btn:hover { background: var(--w-accent-hover); color: #fff; }
.win-btn-2 { background: #fff; color: var(--w-text); border: 1px solid var(--w-stroke-strong); }
.win-btn-2:hover { background: #f5f5f5; color: var(--w-text); }

/* ---------- 设置页那种「行」 ---------- */
.win-sec-title {
  margin: 34px 0 10px; font-size: 15px; font-weight: 600;
  font-family: var(--w-segoe-display); color: var(--w-text);
}
.win-sec-sub { margin: -6px 0 12px; font-size: 12.5px; color: var(--w-text-3); }

.win-rows {
  background: var(--w-card); border: 1px solid var(--w-stroke);
  border-radius: var(--w-radius); overflow: hidden;
}
.win-row {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 13px 16px; border-bottom: 1px solid var(--w-stroke);
}
.win-row:last-child { border-bottom: 0; }
.win-row-ico {
  flex: none; width: 30px; height: 30px; border-radius: 6px;
  display: grid; place-items: center; font-size: 15px;
  color: var(--w-accent); background: var(--w-accent-soft);
  border: 1px solid var(--w-accent-line);
}
.win-row-main { min-width: 0; }
.win-row-main h3 { margin: 2px 0 3px; font-size: 13.5px; font-weight: 600; }
.win-row-main p { margin: 0; font-size: 12.5px; line-height: 1.7; color: var(--w-text-2); }
.win-row code {
  font-family: var(--mono); font-size: 11.8px; background: #f1f4f8;
  border: 1px solid var(--w-stroke); border-radius: 4px; padding: 1px 5px; color: #35506e;
}

/* ---------- 搬进搬出：清单 ---------- */
.win-list { background: var(--w-card); border: 1px solid var(--w-stroke); border-radius: var(--w-radius); overflow: hidden; }
.win-list-head, .win-list-row {
  display: grid; grid-template-columns: 150px 150px minmax(0, 1fr) 74px;
  gap: 12px; padding: 11px 16px; align-items: start;
}
.win-list-head {
  font-size: 12px; font-weight: 600; color: var(--w-text-2);
  background: #f6f8fb; border-bottom: 1px solid var(--w-stroke);
}
.win-list-row { border-bottom: 1px solid var(--w-stroke); font-size: 12.8px; }
.win-list-row:last-child { border-bottom: 0; }
.win-list-row > span:first-child { font-weight: 600; }
.win-list-row .fmt { font-family: var(--mono); font-size: 11.8px; color: var(--w-text-2); }
.win-list-row .desc { color: var(--w-text-2); line-height: 1.7; }
.win-list-row .state { font-weight: 600; white-space: nowrap; }
.win-list-row .state.doing { color: #9a5b00; }
.win-list-row .state.done { color: #0f7b3f; }

.win-note { margin: 12px 2px 0; font-size: 12.3px; line-height: 1.8; color: var(--w-text-3); }

/* ---------- 收尾 ---------- */
.win-quote {
  margin: 34px 0 0; padding: 18px 20px; text-align: center;
  background: var(--w-card); border: 1px solid var(--w-stroke);
  border-radius: var(--w-radius);
}
.win-quote p { margin: 0 0 8px; font-size: 14.5px; line-height: 1.9; color: var(--w-text); font-family: var(--w-segoe-display); }
.win-quote span { font-size: 12px; color: var(--w-text-3); }

@media (max-width: 780px) {
  .win11-wall { padding: 12px; border-radius: 12px; }
  .win-body { padding: 20px 18px 24px; }
  .win-head { flex-direction: column; gap: 12px; }
  .win-head h1 { font-size: 23px; }
  .win-list-head { display: none; }
  .win-list-row { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 12px 14px; }
  /* 控件统一：按钮整行等高，信息条 / 行内边距对齐 */
  .win-btns { flex-direction: column; align-items: stretch; }
  .win-btn, .win-btn-2 { justify-content: center; min-height: 42px; padding: 10px 18px; }
  .win-bar { padding: 12px 14px; }
  .win-row { padding: 12px 14px; }
}
