/* ===================================================================
   Win11 Web — 应用内容样式 (apps.css)
   覆盖 apps.js 生成的各应用内部布局
   =================================================================== */

/* ---------- 应用容器 ---------- */
.app { height: 100%; overflow: hidden; position: relative; display: flex; flex-direction: column; background: var(--surface); color: var(--text); }
.app button { font-family: inherit; }

/* 通用小按钮 */
.btn {
  padding: 6px 16px; border: 1px solid var(--divider-strong); border-radius: 4px;
  background: var(--surface-2); color: var(--text); font-size: 12.5px;
}
.btn:hover { background: var(--hover); }
.btn-accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-accent:hover { filter: brightness(1.12); background: var(--accent); }

@keyframes w11-spin { to { transform: rotate(360deg); } }

/* ================= 资源管理器 ================= */
.ex-toolbar {
  flex: none; display: flex; align-items: center; gap: 4px;
  padding: 7px 10px; border-bottom: 1px solid var(--divider);
  background: var(--surface-2);
}
.ex-btn {
  width: 32px; height: 30px; border: 0; border-radius: 4px;
  background: transparent; color: var(--text);
  display: grid; place-items: center;
}
.ex-btn:hover { background: var(--hover); }
.ex-btn:disabled { opacity: .35; pointer-events: none; }
.ex-address {
  flex: 1; height: 30px; display: flex; align-items: center; gap: 2px;
  padding: 0 10px; border: 1px solid var(--divider); border-radius: 4px;
  background: var(--surface); font-size: 12.5px; overflow: hidden; white-space: nowrap;
}
.ex-crumb { display: flex; align-items: center; gap: 2px; overflow: hidden; }
.ex-crumb-item { border: 0; background: transparent; color: var(--text); font-size: 12.5px; padding: 4px 7px; border-radius: 3px; }
.ex-crumb-item:hover { background: var(--hover); }
.ex-crumb-sep { color: var(--text-3); font-size: 11px; }
.ex-search {
  width: 180px; height: 30px; padding: 0 10px;
  border: 1px solid var(--divider); border-radius: 4px;
  background: var(--surface); color: var(--text); font-size: 12.5px; outline: none;
}
.ex-search:focus { border-bottom: 2px solid var(--accent); }
.ex-body { flex: 1; min-height: 0; display: flex; }
.ex-side {
  flex: none; width: 190px; overflow: auto;
  padding: 10px 6px; border-right: 1px solid var(--divider);
  background: color-mix(in srgb, var(--surface-2) 55%, transparent);
  display: flex; flex-direction: column; gap: 2px;
}
.ex-side-head { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--text-2); padding: 4px 8px; }
.ex-side-item {
  display: flex; align-items: center; gap: 9px;
  padding: 7px 9px; border: 0; border-radius: 4px;
  background: transparent; color: var(--text); font-size: 12.5px; text-align: left;
}
.ex-side-item:hover { background: var(--hover); }
.ex-side-item.on { background: color-mix(in srgb, var(--accent) 26%, transparent); }
.ex-main { flex: 1; min-width: 0; overflow: auto; padding: 12px; position: relative; }
.ex-grid { display: grid; grid-template-columns: repeat(auto-fill, 96px); gap: 6px; align-content: start; }
.ex-item {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 10px 4px 8px; border: 1px solid transparent; border-radius: 5px;
  background: transparent; color: var(--text); cursor: default;
}
.ex-item:hover { background: var(--hover-2); }
.ex-item.sel { background: color-mix(in srgb, var(--accent) 24%, transparent); border-color: color-mix(in srgb, var(--accent) 50%, transparent); }
.ex-iwrap { width: 44px; height: 44px; display: grid; place-items: center; }
.ex-iwrap svg { width: 40px; height: 40px; }
.ex-fico { font-size: 34px; line-height: 1; }
.ex-iname { font-size: 12px; line-height: 1.3; text-align: center; max-width: 100%; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; word-break: break-all; }
.ex-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.ex-table th { text-align: left; font-weight: 400; color: var(--text-2); padding: 6px 10px; border-bottom: 1px solid var(--divider); position: sticky; top: 0; background: var(--surface); }
.ex-table td { padding: 7px 10px; border-bottom: 1px solid var(--divider); white-space: nowrap; }
.ex-table tr[data-p] { cursor: default; }
.ex-table tr:hover { background: var(--hover-2); }
.ex-table tr.sel { background: color-mix(in srgb, var(--accent) 24%, transparent); }
.ex-newfolder { margin-bottom: 10px; }
.ex-empty { height: 100%; min-height: 220px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--text-3); font-size: 12.5px; }
.ex-status {
  flex: none; display: flex; align-items: center; gap: 14px;
  height: 28px; padding: 0 12px; font-size: 11.5px; color: var(--text-2);
  border-top: 1px solid var(--divider); background: var(--surface-2);
}

/* ================= 记事本 ================= */
.np-menu {
  flex: none; display: flex; align-items: center; gap: 2px;
  padding: 5px 8px; border-bottom: 1px solid var(--divider); background: var(--surface-2);
}
.np-m {
  padding: 5px 11px; border: 0; border-radius: 4px;
  background: transparent; color: var(--text); font-size: 12.5px;
}
.np-m:hover { background: var(--hover); }
.np-spacer { flex: 1; }
.np-namebar {
  flex: none; display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-bottom: 1px solid var(--divider);
  background: color-mix(in srgb, var(--accent) 8%, var(--surface));
}
.np-namebar input {
  flex: 1; height: 28px; padding: 0 9px;
  border: 1px solid var(--divider-strong); border-radius: 4px;
  background: var(--surface); color: var(--text); font-size: 12.5px; outline: none;
}
.np-namebar input:focus { border-bottom: 2px solid var(--accent); }
.np-editor {
  flex: 1; min-height: 0; width: 100%;
  border: 0; outline: none; resize: none;
  padding: 12px 14px;
  background: var(--surface); color: var(--text);
  font-family: var(--mono); font-size: 13.5px; line-height: 1.65;
  caret-color: var(--accent);
}
.np-status {
  flex: none; display: flex; align-items: center; gap: 16px;
  height: 26px; padding: 0 12px; font-size: 11.5px; color: var(--text-2);
  border-top: 1px solid var(--divider); background: var(--surface-2);
}
.np-pos { min-width: 90px; }

/* ================= 计算器 ================= */
.app-calc { user-select: none; }
.calc-top { flex: none; padding: 18px 16px 10px; text-align: right; }
.calc-expr { min-height: 18px; font-size: 13px; color: var(--text-2); overflow: hidden; white-space: nowrap; }
.calc-result { font-size: 42px; font-weight: 600; line-height: 1.15; overflow: hidden; white-space: nowrap; }
.calc-mem { flex: none; display: flex; gap: 2px; padding: 0 10px 6px; }
.calc-mkey { flex: 1; padding: 5px 0; border: 0; border-radius: 4px; background: transparent; color: var(--text-2); font-size: 11.5px; }
.calc-mkey:hover { background: var(--hover); }
.calc-pad {
  flex: 1; min-height: 0; display: grid;
  grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr;
  gap: 3px; padding: 8px 10px 12px;
}
.calc-key {
  border: 1px solid var(--divider); border-radius: 5px;
  background: var(--surface-2); color: var(--text);
  font-size: 15px; transition: background .1s, transform .05s;
}
.calc-key:hover { background: var(--hover); }
.calc-key:active { transform: scale(.96); }
.calc-key.fn { font-size: 13px; color: var(--text-2); background: transparent; }
.calc-key.op { background: color-mix(in srgb, var(--accent) 14%, var(--surface-2)); }
.calc-key.eq { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }
.calc-key.eq:hover { filter: brightness(1.12); background: var(--accent); }

/* ================= 设置 ================= */
.app-settings { flex-direction: row; display: flex; }
.st-nav {
  flex: none; width: 230px; overflow: auto;
  padding: 16px 8px; border-right: 1px solid var(--divider);
  background: color-mix(in srgb, var(--surface-2) 50%, transparent);
  display: flex; flex-direction: column; gap: 3px;
}
.st-user { display: flex; align-items: center; gap: 11px; padding: 8px 10px 16px; }
.st-av {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: grid; place-items: center; font-size: 16px; font-weight: 600;
}
.st-user-name { font-size: 13px; font-weight: 600; }
.st-user-mail { font-size: 11px; color: var(--text-2); }
.st-item {
  display: flex; align-items: center; gap: 11px;
  padding: 9px 12px; border: 0; border-radius: 5px;
  background: transparent; color: var(--text); font-size: 13px; text-align: left;
  position: relative;
}
.st-item:hover { background: var(--hover-2); }
.st-item.on { background: var(--hover); font-weight: 600; }
.st-item.on::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 3px; height: 16px; border-radius: 2px; background: var(--accent);
}
.st-ic { display: grid; place-items: center; color: var(--accent); }
.st-content { flex: 1; min-width: 0; overflow: auto; padding: 22px 28px 30px; }
.st-h { font-size: 21px; font-weight: 600; margin: 0 0 6px; }
.st-sub { font-size: 12.5px; color: var(--text-2); margin: 0 0 18px; }
.st-card {
  background: var(--surface-2); border: 1px solid var(--divider);
  border-radius: 7px; padding: 14px 18px; margin-bottom: 14px;
}
.st-card-title { font-size: 13.5px; font-weight: 600; margin-bottom: 10px; }
.st-rows { display: flex; flex-direction: column; gap: 2px; }
.st-row {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 8px 0; font-size: 12.5px; border-bottom: 1px solid var(--divider);
}
.st-row:last-child { border-bottom: 0; }
.st-l { color: var(--text-2); flex: none; }
.st-v { text-align: right; overflow: hidden; text-overflow: ellipsis; }
.st-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; background: #888; }
.st-dot.ok { background: #4cc94c; }
.st-dot.bad { background: #e81123; }
.st-toggle {
  width: 40px; height: 20px; border-radius: 99px; border: 1px solid var(--divider-strong);
  background: transparent; position: relative; transition: background .15s, border-color .15s;
}
.st-toggle i {
  position: absolute; left: 3px; top: 50%; transform: translateY(-50%);
  width: 12px; height: 12px; border-radius: 50%; background: var(--text);
  transition: left .15s, background .15s;
}
.st-toggle.on { background: var(--accent); border-color: var(--accent); }
.st-toggle.on i { left: 23px; background: #fff; }
.st-clock-big { font-size: 40px; font-weight: 250; letter-spacing: 1px; margin: 6px 0; }
.st-radio-row { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-card {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 10px; border: 1px solid var(--divider-strong); border-radius: 6px;
  background: var(--surface); color: var(--text); font-size: 12.5px;
}
.radio-card:hover { background: var(--hover-2); }
.radio-card.sel { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.rc-prev { width: 56px; height: 36px; border-radius: 4px; position: relative; overflow: hidden; }
.rc-prev i { position: absolute; left: 8px; top: 8px; width: 18px; height: 12px; border-radius: 2px; opacity: .9; }
.swatch-row { display: flex; gap: 8px; flex-wrap: wrap; }
.swatch { width: 34px; height: 34px; border-radius: 5px; border: 2px solid transparent; padding: 0; }
.swatch:hover { transform: scale(1.06); }
.swatch.sel { border-color: var(--text); box-shadow: inset 0 0 0 2px var(--surface); }
.wp-grid { display: grid; grid-template-columns: repeat(auto-fill, 130px); gap: 10px; }
.wp-thumb {
  height: 78px; border-radius: 6px; border: 2px solid transparent;
  padding: 0; position: relative; overflow: hidden;
}
.wp-thumb span {
  position: absolute; left: 6px; bottom: 5px;
  font-size: 10.5px; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .8);
}
.wp-thumb:hover { filter: brightness(1.1); }
.wp-thumb.sel { border-color: var(--accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 40%, transparent); }
.st-wifi-bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.st-wifi-bars i { width: 4px; border-radius: 1px; background: var(--text-3); }
.st-wifi-bars i.on { background: var(--accent); }
.st-chart svg { display: block; max-width: 100%; }

/* ================= 终端 ================= */
.app-terminal { background: #0c0c0c; color: #cccccc; font-family: var(--mono); font-size: 13px; padding: 8px 12px; cursor: text; }
.tm-out { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; white-space: pre-wrap; word-break: break-all; outline: none; }
.tm-line { line-height: 1.5; min-height: 1em; }
.tm-line.c-ok { color: #6cc06c; }
.tm-line.c-err { color: #f4506a; }
.tm-line.c-dir { color: #4cc2ff; }
.tm-line.muted { color: #7a7a7a; }
.tm-inputline { flex: none; display: flex; gap: 0; line-height: 1.6; padding: 2px 0; }
.tm-prompt { color: #4cc2ff; white-space: pre; }
.tm-input { flex: 1; min-width: 40px; outline: none; caret-color: #cccccc; white-space: pre-wrap; word-break: break-all; }
.tm-input:empty::before { content: ''; display: inline-block; }

/* ================= 画图 ================= */
.app-paint { flex-direction: row; display: flex; }
.pt-tools {
  flex: none; width: 64px; padding: 10px 8px;
  border-right: 1px solid var(--divider);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  overflow: auto;
}
.pt-tool {
  width: 44px; height: 40px; border: 0; border-radius: 5px;
  background: transparent; color: var(--text);
  display: grid; place-items: center;
}
.pt-tool:hover { background: var(--hover); }
.pt-tool.on { background: color-mix(in srgb, var(--accent) 26%, transparent); color: var(--accent); }
.pt-sizes { display: flex; flex-direction: column; gap: 5px; margin-top: 8px; width: 100%; align-items: center; }
.pt-size {
  width: 40px; height: 26px; border: 0; border-radius: 4px; background: transparent;
  display: grid; place-items: center;
}
.pt-size:hover { background: var(--hover); }
.pt-size.on { background: color-mix(in srgb, var(--accent) 22%, transparent); }
.pt-size i { display: block; border-radius: 99px; background: var(--text); }
.pt-swatches {
  flex: none; display: grid; grid-template-columns: repeat(8, 20px); gap: 5px;
  padding: 10px; border-bottom: 1px solid var(--divider);
  align-content: center; justify-content: center;
}
.pt-sw { width: 20px; height: 20px; border-radius: 4px; border: 2px solid transparent; padding: 0; }
.pt-sw.on { border-color: var(--text); }
.pt-toolbar {
  flex: none; display: flex; align-items: center; gap: 8px;
  padding: 7px 12px; border-bottom: 1px solid var(--divider); background: var(--surface-2);
}
.pt-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border: 1px solid var(--divider); border-radius: 4px;
  background: var(--surface); color: var(--text); font-size: 12px;
}
.pt-btn:hover { background: var(--hover); }
.pt-hint { font-size: 11.5px; color: var(--text-3); margin-left: auto; }
.pt-stage { flex: 1; min-width: 0; min-height: 0; overflow: hidden; background: #9a9a9a; display: grid; place-items: stretch; }
.pt-canvas { width: 100%; height: 100%; display: block; background: #fff; cursor: crosshair; touch-action: none; }
.pt-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }

/* ================= 照片 ================= */
.ph-body { flex: 1; min-height: 0; overflow: auto; position: relative; }
.ph-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px; padding: 14px;
}
.ph-cell {
  margin: 0; border-radius: 7px; overflow: hidden; cursor: pointer;
  background: var(--surface-2); border: 1px solid var(--divider);
  transition: transform .12s, box-shadow .12s;
}
.ph-cell:hover { transform: scale(1.02); box-shadow: 0 6px 18px rgba(0, 0, 0, .3); }
.ph-cell img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.ph-cell figcaption { font-size: 11.5px; color: var(--text-2); padding: 7px 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-view { position: absolute; inset: 0; background: #101010; display: grid; place-items: center; }
.ph-img { max-width: calc(100% - 120px); max-height: calc(100% - 80px); object-fit: contain; user-select: none; }
.ph-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .1); color: #fff;
  display: grid; place-items: center;
}
.ph-nav:hover { background: rgba(255, 255, 255, .22); }
.ph-prev { left: 16px; }
.ph-next { right: 16px; }
.ph-bar {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; background: rgba(0, 0, 0, .45); color: #fff;
  font-size: 12.5px; backdrop-filter: blur(20px);
}
.ph-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ph-btn {
  border: 0; border-radius: 4px; padding: 6px 10px;
  background: rgba(255, 255, 255, .12); color: #fff; font-size: 12px;
  display: inline-flex; align-items: center; gap: 6px;
}
.ph-btn:hover { background: rgba(255, 255, 255, .24); }

/* ================= 时钟 ================= */
.ck-tabs {
  flex: none; display: flex; gap: 4px; padding: 10px 14px 0;
  border-bottom: 1px solid var(--divider);
}
.ck-tab {
  padding: 8px 18px 10px; border: 0; border-bottom: 2.5px solid transparent;
  background: transparent; color: var(--text-2); font-size: 13px;
}
.ck-tab:hover { color: var(--text); }
.ck-tab.on { color: var(--text); font-weight: 600; border-bottom-color: var(--accent); }
.ck-body { flex: 1; min-height: 0; overflow: auto; padding: 20px; }
.ck-world { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.ck-local { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ck-dial { color: var(--text); }
.ck-digital { font-size: 26px; font-weight: 300; letter-spacing: 1px; font-variant-numeric: tabular-nums; }
.ck-cities { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.ck-city {
  min-width: 130px; padding: 12px 16px; border-radius: 7px;
  background: var(--surface-2); border: 1px solid var(--divider); text-align: center;
}
.ck-city-n { font-size: 12.5px; color: var(--text-2); }
.ck-city-t { font-size: 20px; font-weight: 600; margin-top: 4px; font-variant-numeric: tabular-nums; }
.ck-timer { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.ck-ring { color: var(--accent); }
.ck-ttxt { font-size: 42px; font-weight: 250; font-variant-numeric: tabular-nums; }
.ck-tin { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-2); }
.ck-tin input {
  width: 58px; height: 30px; text-align: center;
  border: 1px solid var(--divider-strong); border-radius: 4px;
  background: var(--surface); color: var(--text); font-size: 13px; outline: none;
}
.ck-tbtns { display: flex; gap: 10px; }
.ck-tbtns .btn { min-width: 76px; }
.ck-alarms { display: flex; flex-direction: column; gap: 8px; max-width: 420px; margin: 0 auto; }
.ck-noalarm { text-align: center; color: var(--text-3); font-size: 12.5px; padding: 26px 0; }
.ck-alarm {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 7px;
  background: var(--surface-2); border: 1px solid var(--divider);
}
.ck-ah { font-size: 22px; font-weight: 300; font-variant-numeric: tabular-nums; }
.ck-ah.off { opacity: .4; }
.ck-del {
  margin-left: auto; border: 0; border-radius: 4px; padding: 6px 8px;
  background: transparent; color: var(--text-2);
}
.ck-del:hover { background: rgba(232, 17, 35, .15); color: #e81123; }
.ck-addalarm { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; }
.ck-aadd {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 16px; border: 1px dashed var(--divider-strong); border-radius: 5px;
  background: transparent; color: var(--text); font-size: 12.5px;
}
.ck-aadd:hover { background: var(--hover-2); }
.ck-ain {
  width: 64px; height: 32px; text-align: center;
  border: 1px solid var(--divider-strong); border-radius: 4px;
  background: var(--surface); color: var(--text); font-size: 14px; outline: none;
}
.ck-done { animation: ckblink .5s steps(2) infinite; }
@keyframes ckblink { 50% { opacity: .35; } }

/* ================= 商店 ================= */
.app-store { overflow: auto; }
.so-banner { position: relative; height: 190px; margin: 14px; border-radius: 9px; overflow: hidden; }
.so-bcard {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 20px 24px; color: #fff; opacity: 0; transition: opacity .5s;
}
.so-bcard.on { opacity: 1; }
.so-bt { font-size: 21px; font-weight: 700; text-shadow: 0 1px 6px rgba(0, 0, 0, .4); }
.so-bs { font-size: 12.5px; opacity: .9; margin-top: 4px; }
.so-dots { position: absolute; right: 16px; bottom: 12px; display: flex; gap: 6px; }
.so-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .45); }
.so-dots i.on { background: #fff; }
.so-tabs { display: flex; gap: 4px; padding: 0 18px 10px; }
.so-tab {
  padding: 7px 16px; border: 0; border-radius: 99px;
  background: transparent; color: var(--text-2); font-size: 12.5px;
}
.so-tab:hover { background: var(--hover-2); }
.so-tab.on { background: var(--accent); color: #fff; font-weight: 600; }
.so-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 12px; padding: 4px 18px 22px;
}
.so-card {
  display: flex; flex-direction: column; gap: 9px;
  padding: 14px; border-radius: 8px;
  background: var(--surface-2); border: 1px solid var(--divider);
}
.so-ico { width: 52px; height: 52px; }
.so-ico svg { width: 52px; height: 52px; display: block; }
.so-letter {
  width: 48px; height: 48px; border-radius: 10px;
  display: grid; place-items: center;
  color: #fff; font-size: 21px; font-weight: 700;
}
.so-name { font-size: 13.5px; font-weight: 600; }
.so-meta { font-size: 11.5px; color: var(--text-2); }
.so-rate { display: flex; align-items: center; gap: 4px; font-size: 11.5px; color: var(--text-2); }
.so-star { color: #ffb900; }
.so-dl { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 4px; }
.so-btn {
  padding: 6px 18px; border: 0; border-radius: 99px;
  background: var(--accent); color: #fff; font-size: 12px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
}
.so-btn:hover { filter: brightness(1.12); }
.so-btn:disabled { opacity: .7; pointer-events: none; }

/* ================= 关于 ================= */
.app-about { overflow: auto; display: block; }
.ab-card {
  max-width: 420px; margin: 26px auto; padding: 30px 30px 22px;
  border-radius: 10px; background: var(--surface-2); border: 1px solid var(--divider);
  text-align: center;
}
.ab-logo { margin-bottom: 14px; }
.ab-name { font-size: 22px; font-weight: 650; }
.ab-ver { font-size: 12px; color: var(--text-2); margin-top: 4px; }
.ab-desc { font-size: 12.5px; color: var(--text-2); line-height: 1.7; margin: 14px 0 18px; text-align: left; }
.ab-list { text-align: left; display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.ab-row { display: flex; align-items: center; gap: 9px; font-size: 12.5px; }
.ab-dot { color: var(--accent); display: grid; place-items: center; }
.ab-author { font-size: 11.5px; color: var(--text-3); border-top: 1px solid var(--divider); padding-top: 13px; }

/* ================= 对话框 / 浮层补充 ================= */
.dlg-mask {
  position: absolute; inset: 0; z-index: 50;
  background: rgba(0, 0, 0, .4);
  display: grid; place-items: center;
  animation: fadein .15s;
}
.dialog {
  width: min(400px, calc(100% - 40px));
  background: var(--panel-solid); border: 1px solid var(--divider-strong);
  border-radius: 8px; box-shadow: var(--shadow-fly);
  padding: 18px 20px;
  animation: flyin .16s ease-out;
}
.dlg-title { font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.dlg-msg { font-size: 12.5px; color: var(--text-2); line-height: 1.6; margin-bottom: 14px; }
.dlg-input {
  width: 100%; height: 32px; padding: 0 10px;
  border: 1px solid var(--divider-strong); border-bottom: 2px solid var(--accent);
  border-radius: 4px; background: var(--surface); color: var(--text);
  font-size: 13px; outline: none; margin-bottom: 16px;
}
.dlg-btns { display: flex; justify-content: flex-end; gap: 8px; }

/* 应用内右键菜单（.menu.flyout 由 style.css 提供基础样式） */
.app-menu { position: absolute; z-index: 60; }
