/* ============================================================
   YY_应用.css —— 开始菜单 / 各应用 / 浏览器与网站
   ============================================================ */

/* ============================================================
   开始菜单：经典（95 / 98 / 2000）
   ============================================================ */
#startmenu.kind-classic {
  display: flex; width: 300px; padding: 2px; background: #c0c0c0;
  border: 2px solid; border-color: #dfdfdf #000 #000 #dfdfdf;
  box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #808080, 2px 2px 4px rgba(0,0,0,.35);
  font-family: var(--font-old); color: #000;
}
.sm-side {
  width: 28px; background: linear-gradient(180deg,#000080,#1084d0);
  color: #fff; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 8px;
}
.sm-side span { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 14px; font-weight: bold; letter-spacing: 1px; white-space: nowrap; }
.sm-list { list-style: none; flex: 1; padding: 2px; }
.sm-item {
  display: flex; align-items: center; gap: 8px; padding: 4px 6px; font-size: 12px;
  position: relative; white-space: nowrap; min-height: 26px;
}
.sm-item:hover, .sm-item.open { background: #000080; color: #fff; }
.sm-item > span { flex: 1; }
.sm-arrow { font-size: 9px; margin-left: auto; }
.sm-sub {
  display: none; position: absolute; left: 100%; top: -3px; margin-left: 1px;
  list-style: none; min-width: 190px; padding: 2px; background: #c0c0c0; color: #000;
  border: 2px solid; border-color: #dfdfdf #000 #000 #dfdfdf;
  box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #808080, 2px 2px 4px rgba(0,0,0,.35);
  z-index: 5;
}
.sm-item:hover > .sm-sub, .sm-item.open > .sm-sub { display: block; }
.sm-sub .sm-item:hover { background: #000080; color: #fff; }
.sm-sep { height: 2px; margin: 3px 2px; border-top: 1px solid #808080; border-bottom: 1px solid #fff; }

/* ============================================================
   开始菜单：Luna（XP）
   ============================================================ */
#startmenu.kind-luna {
  width: 400px; border-radius: 8px 8px 0 0; overflow: hidden;
  border: 1px solid #1b4c8f; box-shadow: 0 10px 30px rgba(0,0,0,.45);
  background: #fff;
}
.kind-luna .sm-head {
  height: 62px; display: flex; align-items: center; gap: 10px; padding: 0 12px;
  background: linear-gradient(180deg,#1868c9,#3f8fdc 60%,#1f6cb8);
  color: #fff; border-bottom: 2px solid #f5a623;
}
.sm-av { width: 44px; height: 44px; border-radius: 5px; overflow: hidden; border: 2px solid rgba(255,255,255,.75); background: #fff; }
.sm-user { font-size: 15px; font-weight: bold; text-shadow: 0 1px 2px rgba(0,0,0,.4); }
.kind-luna .sm-cols { display: flex; }
.kind-luna .sm-left { width: 55%; background: #fff; padding: 4px; border-right: 1px solid #cfe0f0; }
.kind-luna .sm-right { flex: 1; background: #d3e5fa; padding: 4px; }
.kind-luna .sm-item { padding: 5px 6px; border-radius: 2px; font-size: 12px; }
.kind-luna .sm-item:hover { background: #2f71cd; color: #fff; }
.kind-luna .sm-item.big { font-size: 12.5px; padding: 6px; }
.kind-luna .sm-sep { border-color: #c9d9ea; }
.kind-luna .sm-sub {
  background: #fff; border: 1px solid #7f9db9; border-radius: 0; box-shadow: 2px 2px 5px rgba(0,0,0,.3);
}
.kind-luna .sm-sub .sm-item:hover { background: #2f71cd; color: #fff; }
.kind-luna .sm-foot {
  display: flex; gap: 12px; justify-content: flex-end; padding: 6px 12px;
  background: linear-gradient(180deg,#3f8fdc,#1f6cb8); border-top: 1px solid #7fb6e8;
}
.kind-luna .sm-foot button { color: #fff; font-size: 12px; padding: 4px 8px; border-radius: 3px; }
.kind-luna .sm-foot button:hover { background: rgba(255,255,255,.2); }

/* ============================================================
   开始菜单：Aero / Win7
   ============================================================ */
#startmenu.kind-aero, #startmenu.kind-win7 {
  width: 420px; border-radius: 6px 6px 0 0; overflow: hidden;
  background: rgba(240,246,252,.96); border: 1px solid rgba(90,130,170,.75);
  box-shadow: 0 16px 46px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.7);
  backdrop-filter: blur(18px) saturate(1.3);
}
.kind-win7 .sm-head, .kind-aero .sm-head {
  display: flex; align-items: center; gap: 10px; padding: 8px 12px;
  background: linear-gradient(180deg,rgba(210,232,252,.9),rgba(160,200,238,.85));
  border-bottom: 1px solid rgba(120,160,200,.5);
}
.kind-win7 .sm-av, .kind-aero .sm-av { width: 40px; height: 40px; border-radius: 3px; }
.kind-win7 .sm-user, .kind-aero .sm-user { font-size: 14px; color: #16324f; font-weight: 600; }
.kind-win7 .sm-body, .kind-aero .sm-body { display: flex; }
.kind-win7 .sm-left, .kind-aero .sm-left { width: 56%; padding: 6px; background: rgba(255,255,255,.82); }
.kind-win7 .sm-right, .kind-aero .sm-right {
  flex: 1; padding: 6px; background: rgba(222,236,250,.9); border-left: 1px solid rgba(150,180,210,.5);
}
.kind-win7 .sm-item, .kind-aero .sm-item { padding: 5px 8px; border-radius: 3px; font-size: 12px; border: 1px solid transparent; }
.kind-win7 .sm-item:hover, .kind-aero .sm-item:hover { background: linear-gradient(180deg,rgba(200,230,255,.95),rgba(160,205,245,.95)); border-color: rgba(90,150,210,.7); color: #10263c; }
.kind-win7 .sm-right .sm-item:hover, .kind-aero .sm-right .sm-item:hover { background: rgba(190,220,250,.9); }
.kind-win7 .sm-sub, .kind-aero .sm-sub {
  background: rgba(248,252,255,.98); border: 1px solid rgba(110,150,190,.8); border-radius: 4px;
  box-shadow: 0 10px 26px rgba(0,0,0,.28);
}
.kind-win7 .sm-search, .kind-aero .sm-search {
  display: flex; align-items: center; gap: 6px; padding: 6px 10px; border-top: 1px solid rgba(140,175,210,.6);
  background: rgba(255,255,255,.9);
}
.kind-win7 .sm-search input, .kind-aero .sm-search input { flex: 1; padding: 5px 8px; border: 1px solid #7f9db9; border-radius: 3px; outline: none; background: #fff; color: #111; }
.kind-win7 .sm-foot, .kind-aero .sm-foot { display: flex; justify-content: flex-end; gap: 6px; padding: 6px 10px; background: rgba(225,238,250,.95); border-top: 1px solid rgba(150,180,210,.6); }
.kind-win7 .sm-foot button, .kind-aero .sm-foot button { font-size: 12px; padding: 4px 10px; border: 1px solid rgba(90,130,170,.5); border-radius: 3px; background: rgba(255,255,255,.7); color: #17324e; }

/* ============================================================
   开始菜单：Win10
   ============================================================ */
#startmenu.kind-win10 {
  width: 660px; height: 600px; background: #202020; color: #fff;
  border: 1px solid #4a4a4a; box-shadow: 0 20px 50px rgba(0,0,0,.6);
  display: flex; border-radius: 2px; overflow: hidden;
}
.sm10-rail { width: 48px; background: #1a1a1a; display: flex; flex-direction: column; align-items: center; padding: 8px 0; gap: 4px; }
.sm10-rail-btn { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; color: #ddd; border-radius: 2px; }
.sm10-rail-btn:hover { background: rgba(255,255,255,.12); }
.sm10-power { margin-top: auto; }
.sm10-apps { width: 260px; padding: 10px 4px; overflow: auto; border-right: 1px solid #333; }
.sm10-title { font-size: 13px; padding: 6px 14px 10px; color: #ddd; }
.sm10-app { display: flex; align-items: center; gap: 12px; padding: 7px 14px; font-size: 12.5px; color: #eee; border-radius: 2px; }
.sm10-app:hover { background: rgba(255,255,255,.12); }
.sm10-tiles { flex: 1; padding: 14px; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 96px; gap: 6px; align-content: start; overflow: auto; }
.sm10-tile { background: var(--accent); display: flex; flex-direction: column; justify-content: flex-end; padding: 10px; color: #fff; position: relative; overflow: hidden; }
.sm10-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg,rgba(255,255,255,.16),transparent 60%); }
.sm10-tile:hover { outline: 2px solid rgba(255,255,255,.6); outline-offset: -2px; }
.sm10-tile.t1 { background: #2d7d9a; }
.sm10-tile.t2 { background: #7a5ea8; }
.sm10-tile.t3 { background: #b05a3c; }
.sm10-tile-ico { position: absolute; top: 10px; left: 10px; }
.sm10-tile-t { font-size: 11.5px; }

/* ============================================================
   开始菜单：Win11
   ============================================================ */
#startmenu.kind-win11 {
  width: 648px; height: 640px; border-radius: 8px; overflow: hidden;
  background: rgba(243,243,243,.97); color: #1b1b1b;
  border: 1px solid rgba(0,0,0,.12); box-shadow: 0 24px 60px rgba(0,0,0,.4);
  backdrop-filter: blur(30px) saturate(1.6);
  display: flex; flex-direction: column; padding: 26px 32px 0;
  transform: translateX(-50%) translateY(26px) scale(.975);
  transform-origin: 50% 100%;
  transition: opacity .17s cubic-bezier(.2,0,.2,1), transform .32s cubic-bezier(.16,1,.3,1);
  will-change: transform, opacity;
}
#startmenu.kind-win11.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
  transition: opacity .22s cubic-bezier(.2,0,.2,1), transform .38s cubic-bezier(.16,1,.3,1);
}
#startmenu.kind-win11 .sm11-search,
#startmenu.kind-win11 .sm11-row,
#startmenu.kind-win11 .sm11-app,
#startmenu.kind-win11 .sm11-recents button,
#startmenu.kind-win11 .sm11-foot { opacity: 0; }
#startmenu.kind-win11.show .sm11-search { animation: sm11In .34s cubic-bezier(.16,1,.3,1) .03s both; }
#startmenu.kind-win11.show .sm11-row { animation: sm11In .34s cubic-bezier(.16,1,.3,1) .09s both; }
#startmenu.kind-win11.show .sm11-app { animation: sm11In .36s cubic-bezier(.16,1,.3,1) both; animation-delay: calc(.11s + var(--i, 0) * 16ms); }
#startmenu.kind-win11.show .sm11-recents button { animation: sm11In .36s cubic-bezier(.16,1,.3,1) .24s both; }
#startmenu.kind-win11.show .sm11-foot { animation: sm11In .34s cubic-bezier(.16,1,.3,1) .28s both; }
@keyframes sm11In {
  from { opacity: 0; transform: translateY(9px); }
  to { opacity: 1; transform: translateY(0); }
}
.sm11-search { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: 17px; background: #fff; border: 1px solid #d9d9d9; color: #666; }
.sm11-search em { font-style: normal; font-size: 12px; }
.sm11-row { display: flex; align-items: center; justify-content: space-between; margin: 20px 0 10px; font-size: 12.5px; }
.sm11-row b { font-weight: 600; }
.sm11-more { font-size: 11.5px; color: #444; padding: 2px 8px; border-radius: 3px; }
.sm11-more:hover { background: #e5e5e5; }
.sm11-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 2px; }
.sm11-app { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px; border-radius: 4px; font-size: 11px; color: #1b1b1b; }
.sm11-app:hover { background: rgba(0,0,0,.06); }
.sm11-ico { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; }
.sm11-recents { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.sm11-recents button { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 4px; text-align: left; }
.sm11-recents button:hover { background: rgba(0,0,0,.06); }
.sm11-recents b { display: block; font-size: 12px; font-weight: 500; }
.sm11-recents em { font-style: normal; font-size: 10.5px; color: #777; }
.sm11-foot { margin-top: auto; height: 60px; border-top: 1px solid #dedede; display: flex; align-items: center; justify-content: space-between; }
.sm11-user { display: flex; align-items: center; gap: 10px; font-size: 12.5px; padding: 4px 8px; border-radius: 4px; }
.sm11-user:hover { background: rgba(0,0,0,.06); }
.sm11-power { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 4px; }
.sm11-power:hover { background: rgba(0,0,0,.08); }

/* ============================================================
   开始屏幕：Win8 / 8.1
   ============================================================ */
.tiles-top { display: flex; align-items: center; justify-content: space-between; padding: 26px 44px 6px; }
.tiles-user { display: flex; align-items: center; gap: 12px; font-size: 17px; color: #fff; }
.tiles-close { color: #fff; font-size: 22px; padding: 4px 12px; }
.tiles-grid { flex: 1; display: grid; grid-template-columns: repeat(6, 118px); grid-auto-rows: 118px; gap: 8px; padding: 20px 44px; align-content: start; overflow: auto; }
.tile { background: #0078d7; color: #fff; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 6px; padding: 10px; position: relative; overflow: hidden; text-align: left; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(150deg,rgba(255,255,255,.18),transparent 55%); }
.tile:hover { outline: 2px solid rgba(255,255,255,.85); outline-offset: -2px; }
.tile.tc1 { background: #2d7d9a; } .tile.tc2 { background: #7a5ea8; } .tile.tc3 { background: #b05a3c; }
.tile.tc4 { background: #3f7a4a; } .tile.tc5 { background: #8a6a1f; }
.tile-ico { position: absolute; top: 12px; left: 12px; }
.tile-t { font-size: 12px; text-shadow: 0 1px 2px rgba(0,0,0,.3); }
.tile.small { padding: 8px; }
.tiles-bottom { display: flex; align-items: center; justify-content: space-between; padding: 10px 44px 20px; }
.tiles-all { color: #fff; font-size: 12px; border: 1px solid rgba(255,255,255,.6); padding: 5px 12px; }
.tiles-power { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; color: #fff; border: 1px solid rgba(255,255,255,.5); }

/* ============================================================
   记事本
   ============================================================ */
.np { display: flex; flex-direction: column; height: 100%; background: #fff; }
.np-text { flex: 1; width: 100%; border: none; outline: none; resize: none; padding: 6px 8px; font-family: var(--font-mono); font-size: 13px; line-height: 1.5; color: #111; background: #fff; }
.np-text.wrap { white-space: pre-wrap; }
.np-status { height: 22px; display: flex; justify-content: flex-end; gap: 18px; align-items: center; padding: 0 12px; border-top: 1px solid #dcdcdc; font-size: 11px; color: #333; background: #f6f6f6; }

/* ============================================================
   便笺
   ============================================================ */
.sticky-win .win-tb { background: #e8d24a; color: #4a3d00; }
.sticky { height: 100%; background: var(--sc, #fff3a8); display: flex; flex-direction: column; }
.sticky-bar { display: flex; justify-content: flex-end; gap: 2px; padding: 2px 4px; opacity: .6; }
.sticky-bar:hover { opacity: 1; }
.sticky-bar button { width: 22px; height: 20px; font-size: 12px; }
.sticky-text { flex: 1; padding: 8px 10px; outline: none; font-size: 13px; line-height: 1.55; color: #3b3200; overflow: auto; }

/* ============================================================
   画图
   ============================================================ */
.pt { display: flex; flex-direction: column; height: 100%; background: var(--face); }
.pt-tools { display: flex; align-items: center; gap: 2px; padding: 3px 6px; border-bottom: 1px solid var(--sh); flex-wrap: wrap; }
.pt-tool { width: 28px; height: 26px; display: flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 2px; color: var(--text); }
.pt-tool:hover { border-color: var(--accent); background: var(--accent-soft); }
.pt-tool.on { border-color: var(--accent); background: var(--accent-soft); }
.pt-sep { width: 1px; height: 20px; background: var(--sh); margin: 0 4px; }
.pt-size { display: flex; align-items: center; gap: 6px; font-size: 11px; }
.pt-size input { width: 80px; }
.pt-sizeval { font-size: 11px; color: #555; }
.pt-stage { flex: 1; overflow: auto; background: #7f7f7f; padding: 10px; }
.pt-canvas { background: #fff; box-shadow: 2px 2px 6px rgba(0,0,0,.4); cursor: crosshair; max-width: none; }
.pt-palette { display: flex; align-items: center; gap: 10px; padding: 4px 8px; border-top: 1px solid var(--sh); }
.pt-colors { display: grid; grid-template-columns: repeat(10, 18px); gap: 2px; }
.pt-color { width: 18px; height: 16px; border: 1px solid #555; }
.pt-color:hover { outline: 1px solid #000; }
.pt-current { display: flex; align-items: center; gap: 6px; font-size: 10px; }
.pt-current i { width: 26px; height: 20px; border: 1px solid #333; display: block; }
.pt-current b { font-weight: normal; font-family: var(--font-mono); }
.pt-status { height: 22px; display: flex; justify-content: space-between; padding: 0 10px; align-items: center; font-size: 11px; border-top: 1px solid var(--sh); }

/* ============================================================
   计算器
   ============================================================ */
.calc { display: flex; flex-direction: column; height: 100%; background: var(--face); }
.calc-display { margin: 6px; padding: 8px 10px; background: #fff; border: 1px solid var(--sh); text-align: right; min-height: 66px; display: flex; flex-direction: column; justify-content: flex-end; }
.calc-expr { font-size: 11px; color: #6a7683; min-height: 14px; overflow: hidden; white-space: nowrap; }
.calc-result { font-size: 28px; font-family: var(--font); color: #111; overflow: hidden; white-space: nowrap; }
.calc-pad { flex: 1; display: grid; gap: 3px; padding: 0 6px 6px; }
.calc-key { background: var(--face2); border: 1px solid var(--sh); font-size: 13px; color: var(--text); border-radius: 2px; }
.calc-key:hover { background: var(--accent-soft); }
.calc-key.op { color: #1a4c8a; font-weight: 600; }
.calc-key.eq { background: var(--accent); color: #fff; border-color: var(--accent); }
.calc-mem { display: none; }

/* ============================================================
   资源管理器
   ============================================================ */
.ex { display: flex; flex-direction: column; height: 100%; background: var(--win-bg); }
.ex-bar { display: flex; align-items: center; gap: 5px; padding: 4px 6px; background: var(--face); border-bottom: 1px solid var(--line); }
.ex-nav { width: 24px; height: 22px; border: 1px solid var(--sh); background: var(--face2); font-size: 13px; color: var(--text); border-radius: 2px; }
.ex-nav:disabled { opacity: .4; }
.ex-addr { flex: 1; display: flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--sh); padding: 0 6px; height: 24px; }
.ex-addr-ico { width: 14px; height: 14px; background: var(--accent); border-radius: 2px; opacity: .7; }
.ex-addr-in { flex: 1; border: none; outline: none; background: transparent; font-size: 12px; color: #111; }
.ex-search input { width: 150px; height: 24px; padding: 0 8px; border: 1px solid var(--sh); background: #fff; color: #111; font-size: 12px; outline: none; }
.ex-main { flex: 1; display: flex; min-height: 0; }
.ex-tree { width: 190px; background: var(--face); border-right: 1px solid var(--line); overflow: auto; padding: 4px 0; }
.ex-node { display: flex; align-items: center; gap: 6px; padding: 4px 8px; font-size: 12px; white-space: nowrap; }
.ex-node:hover { background: var(--accent-soft); }
.ex-node.sel { background: var(--accent); color: #fff; }
.ex-list { flex: 1; overflow: auto; padding: 10px; display: flex; flex-wrap: wrap; align-content: flex-start; gap: 4px; background: #fff; }
.ex-list.drop-target { background: #eef7ff; outline: 2px dashed var(--accent); outline-offset: -3px; }
.ex-item { width: 96px; padding: 8px 4px; display: flex; flex-direction: column; align-items: center; gap: 5px; border: 1px solid transparent; }
.ex-item:hover { background: #eef6ff; border-color: #cfe4fa; }
.ex-item.sel { background: #cfe6fb; border-color: #99c8f0; }
.ex-item.drop-target { background: #e5f3ff; border-color: var(--accent); outline: 2px dashed var(--accent); outline-offset: -2px; }
.ex-ico { height: 46px; display: flex; align-items: center; }
.ex-nm { font-size: 11.5px; text-align: center; line-height: 1.3; max-width: 88px; word-break: break-all; color: #111; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ex-empty { width: 100%; text-align: center; color: #8a96a3; padding: 50px 0; }
.ex-status { height: 23px; display: flex; justify-content: space-between; align-items: center; padding: 0 10px; font-size: 11px; background: var(--face); border-top: 1px solid var(--line); }

/* 图片查看器 */
.vw { display: flex; flex-direction: column; height: 100%; background: #2b2b2b; }
.vw-bar { display: flex; align-items: center; gap: 8px; padding: 5px 10px; background: #1f1f1f; color: #ddd; font-size: 12px; }
.vw-bar button { padding: 2px 8px; border: 1px solid #555; color: #ddd; font-size: 12px; border-radius: 2px; }
.vw-stage { flex: 1; overflow: auto; display: flex; align-items: center; justify-content: center; padding: 12px; }
.vw-img { max-width: none; transition: transform .12s; box-shadow: 0 6px 24px rgba(0,0,0,.5); }
.vw-status { height: 22px; background: #1f1f1f; color: #bbb; font-size: 11px; display: flex; align-items: center; padding: 0 10px; }

/* ============================================================
   任务管理器
   ============================================================ */
.tm { display: flex; flex-direction: column; height: 100%; background: var(--win-bg); }
.tm-tabs { display: flex; gap: 2px; padding: 4px 6px 0; background: var(--face); border-bottom: 1px solid var(--line); }
.tm-tabs button { padding: 5px 14px; font-size: 12px; border: 1px solid var(--sh); border-bottom: none; background: var(--face2); color: var(--text); border-radius: 3px 3px 0 0; }
.tm-tabs button.on { background: var(--win-bg); position: relative; top: 1px; font-weight: 600; }
.tm-main { flex: 1; overflow: auto; padding: 6px; }
.tm-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.tm-table th { text-align: left; font-weight: normal; background: var(--face); border: 1px solid var(--line); padding: 4px 6px; color: #445; }
.tm-table td { padding: 4px 6px; border-bottom: 1px solid #eef1f4; }
.tm-table tr.sel td { background: var(--accent); color: #fff; }
.tm-ico { display: inline-flex; vertical-align: middle; margin-right: 6px; }
.tm-actions { display: flex; justify-content: flex-end; gap: 8px; padding: 8px; }
.tm-actions button { padding: 5px 14px; font-size: 12px; border: 1px solid var(--sh); background: var(--face2); }
.tm-foot { display: flex; gap: 22px; padding: 4px 10px; border-top: 1px solid var(--line); background: var(--face); font-size: 11px; }
.tm-foot b { font-weight: 600; }
.tm-perf { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tm-graph { background: #0b1a12; border: 1px solid #2f4a3a; padding: 6px; color: #8ef0a8; position: relative; }
.tm-graph canvas { width: 100%; height: 110px; display: block; }
.tm-g-title { font-size: 11px; color: #9fdcb2; margin-bottom: 4px; }
.tm-g-val { position: absolute; right: 10px; top: 6px; font-size: 14px; color: #b9ffcb; }
.tm-info { grid-column: span 2; display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; font-size: 11.5px; color: #445; padding: 6px; background: var(--face); }
.tm-none { text-align: center; color: #8a96a3; padding: 26px; }

/* ============================================================
   控制面板
   ============================================================ */
.cp { display: flex; flex-direction: column; height: 100%; background: var(--win-bg); }
.cp-head { padding: 10px 16px; border-bottom: 1px solid var(--line); background: var(--face); }
.cp-title { font-size: 15px; font-weight: 600; }
.cp-crumb { font-size: 11px; color: #66788a; margin-top: 2px; }
.cp-body { flex: 1; display: flex; min-height: 0; }
.cp-nav { width: 214px; border-right: 1px solid var(--line); background: var(--face2); padding: 6px; overflow: auto; }
.cp-item { display: flex; align-items: center; gap: 9px; padding: 8px 10px; font-size: 12.5px; border-radius: 3px; }
.cp-item:hover { background: var(--accent-soft); }
.cp-item.sel { background: var(--accent); color: #fff; }
.cp-i { width: 24px; height: 24px; display: flex; align-items: center; }
.cp-pane { flex: 1; overflow: auto; padding: 18px 22px; }
.cp-sec h3 { font-size: 17px; font-weight: 500; margin-bottom: 4px; }
.cp-sec h4 { font-size: 13px; margin: 18px 0 8px; }
.cp-desc { font-size: 12px; color: #66788a; line-height: 1.7; margin-bottom: 14px; }
.cp-row { display: flex; gap: 18px; align-items: flex-start; }
.cp-avatar-big { width: 86px; height: 86px; border-radius: 50%; overflow: hidden; border: 2px solid #d5dde6; flex: 0 0 auto; }
.cp-fields { flex: 1; max-width: 380px; display: flex; flex-direction: column; gap: 4px; }
.cp-fields label { font-size: 11.5px; color: #5b6b7b; margin-top: 4px; }
.cp-fields input { padding: 6px 9px; border: 1px solid #c4cfda; border-radius: 3px; background: #fff; color: #111; outline: none; font-size: 12.5px; }
.cp-fields input:focus { border-color: var(--accent); }
.cp-actions { display: flex; gap: 8px; margin-top: 12px; }
.cp-actions button { padding: 6px 16px; border-radius: 3px; border: 1px solid #c4cfda; background: #fbfdff; font-size: 12.5px; }
.cp-actions button.primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.cp-actions button.danger { background: #d9534f; color: #fff; border-color: #b52b27; }
.cp-avatars { display: flex; gap: 8px; flex-wrap: wrap; }
.cp-av { width: 54px; height: 54px; border-radius: 50%; padding: 2px; border: 2px solid transparent; opacity: .75; }
.cp-av.on { border-color: var(--accent); opacity: 1; }
.cp-avatar-tools { display: flex; align-items: center; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.cp-upload { display: inline-flex; align-items: center; padding: 6px 14px; border: 1px dashed #9fb1c2; border-radius: 4px; background: #f8fbfe; color: #2f5f8f; font-size: 12.5px; cursor: pointer; }
.cp-upload:hover { background: #edf6ff; border-color: var(--accent); }
.cp-upload input { display: none; }
.cp-av-clear { padding: 6px 12px; border: 1px solid #c4cfda; border-radius: 4px; background: #fff; font-size: 12.5px; color: #556; }
.cp-av-clear[hidden] { display: none; }
.cp-avatar-hint { font-size: 11.5px; color: #7a8794; }
.cp-vol { display: flex; align-items: center; gap: 12px; margin: 12px 0 6px; font-size: 12.5px; }
.cp-vol input { flex: 1; max-width: 330px; }
.cp-vol b { width: 42px; color: #445; font-weight: 500; }
.cp-walls { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px,1fr)); gap: 10px; }
.cp-wall { border: 2px solid transparent; padding: 3px; border-radius: 4px; text-align: left; }
.cp-wall img { width: 100%; height: 84px; object-fit: cover; display: block; border-radius: 2px; }
.cp-wall span { display: block; font-size: 11px; margin-top: 4px; color: #445; }
.cp-wall.on { border-color: var(--accent); background: var(--accent-soft); }
.cp-accents { display: flex; gap: 8px; flex-wrap: wrap; }
.cp-ac { width: 34px; height: 34px; border-radius: 50%; border: 3px solid transparent; }
.cp-ac.on { border-color: #fff; box-shadow: 0 0 0 2px var(--accent); }
.cp-bigclock { font-size: 46px; font-weight: 200; letter-spacing: 2px; }
.cp-bigdate { font-size: 13px; color: #5b6b7b; margin-bottom: 16px; }
.cp-check { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.cp-syslogo { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.cp-sysname { font-size: 18px; }
.cp-sysver { font-size: 11.5px; color: #66788a; }
.cp-table.apps td { vertical-align: middle; }
.cp-winlogo { margin-bottom: 12px; }
.cp-sec.about h2 { font-size: 24px; font-weight: 300; }
.cp-sec.about p { font-size: 12.5px; color: #5b6b7b; margin: 6px 0 12px; }

/* ============================================================
   命令提示符
   ============================================================ */
.cmd { height: 100%; display: flex; flex-direction: column; background: #0c0c0c; color: #cccccc; font-family: var(--font-mono); font-size: 13px; padding: 4px 0; }
.cmd-out { flex: 1; overflow: auto; padding: 0 8px; white-space: pre-wrap; line-height: 1.45; }
.cmd-row { white-space: pre-wrap; min-height: 17px; }
.cmd-line { display: flex; align-items: center; gap: 0; padding: 0 8px; }
.cmd-prompt { white-space: pre; color: #cccccc; }
.cmd-in { flex: 1; background: transparent; border: none; outline: none; color: #cccccc; font-family: var(--font-mono); font-size: 13px; }

/* ============================================================
   回收站
   ============================================================ */
.rb { display: flex; flex-direction: column; height: 100%; background: #fff; }
.rb-bar { display: flex; gap: 8px; padding: 6px 8px; background: var(--face); border-bottom: 1px solid var(--line); }
.rb-bar button { padding: 4px 12px; font-size: 12px; border: 1px solid var(--sh); background: var(--face2); }
.rb-list { flex: 1; overflow: auto; }
.rb-head, .rb-row { display: grid; grid-template-columns: 2fr 2fr 1.6fr .8fr; gap: 6px; padding: 5px 10px; font-size: 12px; }
.rb-head { background: var(--face); border-bottom: 1px solid var(--line); color: #445; position: sticky; top: 0; }
.rb-row { border-bottom: 1px solid #f0f2f4; }
.rb-row:hover { background: #eef6ff; }
.rb-row.sel { background: #cfe6fb; }
.rb-nm { display: flex; align-items: center; gap: 6px; }
.rb-none { text-align: center; padding: 60px 0; color: #8a96a3; }
.rb-none p { margin-top: 8px; font-size: 13px; }
.rb-status { height: 23px; border-top: 1px solid var(--line); background: var(--face); font-size: 11px; display: flex; align-items: center; padding: 0 10px; }

/* ============================================================
   扫雷
   ============================================================ */
.ms { display: flex; flex-direction: column; height: 100%; background: var(--face); padding: 0 0 4px; }
.ms-frame { margin: 8px; background: #c0c0c0; border: 3px solid; border-color: #fff #808080 #808080 #fff; padding: 6px; align-self: flex-start; }
.ms-head { display: flex; align-items: center; justify-content: space-between; background: #c0c0c0; padding: 3px 4px 6px; }
.ms-led { background: #000; color: #ff2b2b; font-family: var(--font-mono); font-size: 20px; padding: 1px 4px; letter-spacing: 2px; border: 1px solid; border-color: #808080 #fff #fff #808080; }
.ms-face { width: 30px; height: 30px; background: #c0c0c0; border: 2px solid; border-color: #fff #808080 #808080 #fff; display: flex; align-items: center; justify-content: center; }
.ms-face:active { border-color: #808080 #fff #fff #808080; }
.ms-board { display: grid; gap: 0; margin-top: 4px; }
.ms-cell {
  width: 20px; height: 20px; font-size: 12px; font-weight: bold; line-height: 1;
  background: #c0c0c0; border: 1px solid; border-color: #fff #808080 #808080 #fff;
  display: flex; align-items: center; justify-content: center; color: #000;
  padding: 0; font-family: var(--font-old);
}
.ms-cell.open { border: 1px solid #b0b0b0; background: #c0c0c0; }
.ms-cell.flag .ms-flag { color: #d00; font-size: 14px; line-height: 1; }
.ms-cell.mine { background: #d33; }
.ms-cell.wrong { background: #e9a0a0; }
.ms-mine { width: 12px; height: 12px; border-radius: 50%; background: #111; position: relative; }
.ms-mine::before, .ms-mine::after { content: ""; position: absolute; background: #111; }
.ms-mine::before { left: 5px; top: -3px; width: 2px; height: 18px; }
.ms-mine::after { top: 5px; left: -3px; height: 2px; width: 18px; }
.ms-cell.n1 { color: #0000ff; } .ms-cell.n2 { color: #008000; } .ms-cell.n3 { color: #ff0000; }
.ms-cell.n4 { color: #000080; } .ms-cell.n5 { color: #800000; } .ms-cell.n6 { color: #008080; }
.ms-cell.n7 { color: #000000; } .ms-cell.n8 { color: #808080; }
.ms-foot { font-size: 11px; color: #445; padding: 0 10px; }

/* ============================================================
   纸牌
   ============================================================ */
.sol { display: flex; flex-direction: column; height: 100%; background: radial-gradient(circle at 50% 20%, #2f7a4a, #14532d 70%); }
.sol-top { display: flex; gap: 12px; padding: 12px 14px 0; align-items: flex-start; }
.sol-slot { width: 74px; height: 100px; border-radius: 5px; border: 1px dashed rgba(255,255,255,.35); position: relative; flex: 0 0 auto; }
.sol-gap { flex: 1; }
.sol-stock .sol-card { position: absolute; inset: 0; }
.sol-back-num { position: absolute; right: 4px; bottom: 3px; font-size: 10px; color: #fff; background: rgba(0,0,0,.35); padding: 0 4px; border-radius: 6px; }
.sol-empty { color: rgba(255,255,255,.5); font-size: 26px; display: flex; align-items: center; justify-content: center; height: 100%; }
.sol-found-mark { color: rgba(255,255,255,.35); font-size: 30px; display: flex; align-items: center; justify-content: center; height: 100%; }
.sol-tab { flex: 1; display: flex; gap: 12px; padding: 14px; overflow: auto; align-items: flex-start; }
.sol-col { width: 74px; position: relative; min-height: 420px; flex: 0 0 auto; }
.sol-pos { position: absolute; left: 0; width: 74px; }
.sol-card {
  width: 74px; height: 100px; border-radius: 5px; background: #fff; color: #111;
  box-shadow: 0 1px 2px rgba(0,0,0,.45); position: relative; user-select: none;
  font-family: Georgia, "Times New Roman", serif;
}
.sol-card.down { background: repeating-linear-gradient(45deg,#1f4f9c 0 6px,#163c78 6px 12px); border: 2px solid #fff; box-shadow: inset 0 0 0 1px #0d2a56, 0 1px 2px rgba(0,0,0,.4); }
.sol-card.red { color: #c0392b; }
.sol-card .sc-tl { position: absolute; left: 4px; top: 3px; line-height: 1; text-align: center; font-size: 11px; }
.sol-card .sc-tl i { display: block; font-style: normal; font-size: 12px; }
.sol-card .sc-br { position: absolute; right: 4px; bottom: 3px; line-height: 1; text-align: center; font-size: 11px; transform: rotate(180deg); }
.sol-card .sc-br i { display: block; font-style: normal; font-size: 12px; }
.sol-card .sc-big { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 30px; opacity: .9; }
.sol-card .sc-tl b, .sol-card .sc-br b { font-weight: 600; }
.sol-drag { position: fixed; width: 74px; z-index: 9999; pointer-events: none; }
.sol-status { height: 24px; display: flex; gap: 20px; align-items: center; padding: 0 14px; background: rgba(0,0,0,.28); color: #d8f0e0; font-size: 11px; }
.sol-hint { margin-left: auto; opacity: .7; }

/* ============================================================
   媒体播放器
   ============================================================ */
.mp { display: flex; flex-direction: column; height: 100%; background: #101418; color: #dbe6f2; }
.mp-main { flex: 1; display: flex; min-height: 0; }
.mp-stage { flex: 1; position: relative; background: #05080c; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.mp-vis { width: 100%; height: 100%; display: block; }
.mp-overlay { position: absolute; left: 22px; bottom: 18px; text-shadow: 0 2px 8px rgba(0,0,0,.8); }
.mp-title { font-size: 22px; font-weight: 300; }
.mp-artist { font-size: 12px; color: #9fb3c8; }
.mp-playlist { width: 220px; background: #161c22; border-left: 1px solid #26303a; overflow: auto; padding: 8px; }
.mp-pl-head { font-size: 11px; color: #7f93a8; padding: 4px 6px 8px; }
.mp-item { display: grid; grid-template-columns: 18px 1fr; gap: 6px; padding: 6px; border-radius: 3px; font-size: 12px; align-items: center; }
.mp-item:hover { background: rgba(255,255,255,.06); }
.mp-item.on { background: rgba(70,140,220,.22); }
.mp-eq { color: #6fc3ff; font-size: 9px; letter-spacing: -1px; }
.mp-it { grid-column: 2; }
.mp-id { grid-column: 2; font-size: 10px; color: #7f93a8; }
.mp-ctrl { border-top: 1px solid #26303a; background: #161c22; padding: 8px 14px 10px; }
.mp-seek { height: 4px; background: #2a3540; border-radius: 2px; overflow: hidden; }
.mp-seek-bar { height: 100%; width: 0; background: linear-gradient(90deg,#3f8fe0,#8f6fe0); }
.mp-btns { display: flex; align-items: center; gap: 6px; margin-top: 8px; }
.mp-btns button { color: #cfe0f0; font-size: 15px; width: 34px; height: 28px; border-radius: 3px; }
.mp-btns button:hover { background: rgba(255,255,255,.1); }
.mp-play { font-size: 17px !important; }
.mp-time { font-size: 11px; color: #93a6ba; margin-left: 8px; }
.mp-spacer { flex: 1; }
.mp-vol { width: 100px; }

/* ============================================================
   时钟
   ============================================================ */
.clk { display: flex; flex-direction: column; height: 100%; background: var(--win-bg); }
.clk-top { display: flex; align-items: center; gap: 18px; padding: 14px 18px; }
.clk-face { width: 160px; height: 160px; }
.clk-digital { flex: 1; }
.clk-time { font-size: 34px; font-weight: 200; letter-spacing: 1px; }
.clk-date { font-size: 12.5px; color: #5b6b7b; margin-top: 4px; }
.clk-week { font-size: 12px; color: var(--accent); margin-top: 2px; }
.clk-cal { flex: 1; padding: 0 18px 12px; }
.clk-cal-head { display: flex; align-items: center; justify-content: space-between; padding: 6px 0; border-top: 1px solid var(--line); }
.clk-month { font-size: 13px; font-weight: 600; }
.clk-prev, .clk-next { width: 28px; height: 24px; font-size: 16px; color: var(--text); }
.clk-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 2px; text-align: center; font-size: 11.5px; }
.clk-wd { color: #7b8a99; padding: 4px 0; }
.clk-day { padding: 6px 0; border-radius: 3px; }
.clk-day:hover { background: var(--accent-soft); }
.clk-day.today { background: var(--accent); color: #fff; font-weight: 600; }
.clk-foot { padding: 6px 18px; font-size: 10.5px; color: #8a96a3; border-top: 1px solid var(--line); }

/* ============================================================
   浏览器
   ============================================================ */
.br { display: flex; flex-direction: column; height: 100%; background: #fff; }
.br-tabs { display: flex; align-items: flex-end; gap: 2px; padding: 4px 6px 0; background: var(--face); border-bottom: 1px solid var(--line); overflow: hidden; }
.br-tab { display: flex; align-items: center; gap: 6px; max-width: 200px; padding: 6px 8px; font-size: 11.5px; background: var(--face2); border: 1px solid var(--line); border-bottom: none; border-radius: 4px 4px 0 0; color: var(--text); }
.br-tab.on { background: #fff; position: relative; top: 1px; }
.br-tab-t { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.br-tab-x { width: 16px; height: 16px; border-radius: 50%; font-size: 12px; line-height: 14px; }
.br-tab-x:hover { background: rgba(0,0,0,.12); }
.br-newtab { width: 24px; height: 24px; font-size: 14px; color: var(--text); }
.br-bar { display: flex; align-items: center; gap: 4px; padding: 4px 6px; background: var(--face); border-bottom: 1px solid var(--line); }
.br-bar button { width: 26px; height: 24px; font-size: 14px; color: var(--text); border-radius: 3px; }
.br-bar button:hover { background: var(--accent-soft); }
.br-bar button:disabled { opacity: .35; }
.br-addr { flex: 1; display: flex; align-items: center; gap: 6px; height: 25px; background: #fff; border: 1px solid var(--sh); padding: 0 8px; }
.br-proto { width: 8px; height: 8px; background: #4a9e4a; border-radius: 50%; }
.br-url { flex: 1; border: none; outline: none; background: transparent; font-size: 12px; color: #111; }
.br-go { width: 24px !important; }
.br-links { display: flex; gap: 14px; padding: 3px 12px; background: var(--face2); border-bottom: 1px solid var(--line); font-size: 11.5px; }
.br-links a { color: var(--accent); text-decoration: none; }
.br-links a:hover { text-decoration: underline; }
.br-progress { height: 2px; background: transparent; overflow: hidden; }
.br-progress i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .16s; }
.br-progress.on { background: #e6eef7; }
.br-page { flex: 1; overflow: auto; background: #fff; position: relative; }
.br-status { height: 22px; display: flex; justify-content: space-between; align-items: center; padding: 0 10px; border-top: 1px solid var(--line); background: var(--face); font-size: 11px; color: #334; }
.br-st-zone { color: #6b7b8b; }

/* ---------------- 网站通用 ---------------- */
.pg { min-height: 100%; background: #fff; color: #1f2933; font-family: "Segoe UI","Microsoft YaHei",sans-serif; font-size: 13px; line-height: 1.7; }
.pg a { color: #1a6fd4; text-decoration: none; cursor: pointer; }
.pg a:hover { text-decoration: underline; }
.pg h1 { font-size: 26px; line-height: 1.35; font-weight: 600; }
.pg h2 { font-size: 16px; margin: 18px 0 10px; font-weight: 600; }
.pg h3 { font-size: 13px; margin-bottom: 6px; }
.pg-header { display: flex; align-items: center; gap: 24px; padding: 14px 40px; border-bottom: 1px solid #e6ebf0; }
.pg-header.small { padding: 10px 30px; }
.pg-logo { display: flex; align-items: center; gap: 6px; font-size: 18px; font-weight: 700; color: #d33; letter-spacing: 1px; }
.pg-logo span { color: #333; font-weight: 400; font-size: 14px; }
.pg-logo i { width: 18px; height: 18px; border-radius: 4px; background: linear-gradient(135deg,#ff7a59,#d33); display: inline-block; }
.pg-logo.small { font-size: 15px; }
.pg-nav { display: flex; gap: 18px; font-size: 13px; }
.pg-nav a { color: #44525f; }
.pg-search { display: flex; margin-left: auto; }
.pg-search input { width: 200px; padding: 6px 10px; border: 1px solid #cbd5df; border-right: none; outline: none; font-size: 12px; }
.pg-search button { padding: 0 14px; background: #1a6fd4; color: #fff; border: none; font-size: 12px; }
.pg-hero { display: flex; justify-content: space-between; align-items: center; padding: 46px 40px; background: linear-gradient(135deg,#eef5ff,#f7fbff 60%,#eef9f2); }
.pg-hero-txt h1 { font-size: 34px; margin-bottom: 10px; color: #12314f; }
.pg-hero-txt p { color: #5b6b7b; margin-bottom: 18px; }
.pg-btn { display: inline-block; padding: 8px 20px; background: #1a6fd4; color: #fff !important; border-radius: 4px; font-size: 13px; text-decoration: none !important; }
.pg-hero-art { position: relative; width: 260px; height: 150px; }
.pg-hero-art span { position: absolute; border-radius: 6px; background: #1a6fd4; opacity: .85; }
.pg-hero-art span:nth-child(1) { left: 0; top: 10px; width: 110px; height: 70px; }
.pg-hero-art span:nth-child(2) { left: 120px; top: 0; width: 70px; height: 70px; background: #f2994a; }
.pg-hero-art span:nth-child(3) { left: 40px; top: 86px; width: 90px; height: 54px; background: #27ae60; }
.pg-hero-art span:nth-child(4) { left: 140px; top: 80px; width: 100px; height: 60px; background: #9b51e0; opacity: .7; }
.pg-cols { display: flex; gap: 30px; padding: 24px 40px 40px; }
.pg-col-main { flex: 1; }
.pg-col-side { width: 260px; }
.pg-news { display: block; padding: 12px 0; border-bottom: 1px dashed #e2e8ee; }
.pg-news b { display: block; font-size: 14.5px; font-weight: 500; color: #1f2933; }
.pg-news:hover b { color: #1a6fd4; }
.pg-news em { font-style: normal; font-size: 11px; color: #9aa8b6; }
.pg-card { background: #f8fafc; border: 1px solid #e6ebf0; border-radius: 6px; padding: 12px 14px; margin-bottom: 14px; font-size: 12.5px; }
.pg-weather { display: flex; align-items: center; gap: 12px; }
.pg-weather b { font-size: 30px; font-weight: 300; color: #1a6fd4; }
.pg-weather span { font-size: 11px; color: #7b8a99; }
.pg-foot { padding: 20px 40px; border-top: 1px solid #e6ebf0; color: #9aa8b6; font-size: 11px; }
.pg-tag { display: inline-block; padding: 2px 8px; background: #eef5ff; color: #1a6fd4; border-radius: 10px; font-size: 11px; margin: 3px 4px 0 0; }

/* 搜索 */
.pg-search { display: block; text-align: center; padding: 40px 20px; }
.pg-slogo { font-size: 30px; font-weight: 700; color: #1a6fd4; display: flex; align-items: center; justify-content: center; gap: 8px; }
.pg-slogo i { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg,#5aa9ff,#1a6fd4); display: inline-block; }
.pg-bigsearch { display: flex; justify-content: center; margin: 20px 0 12px; }
.pg-bigsearch input { width: 440px; padding: 9px 14px; border: 2px solid #1a6fd4; border-right: none; outline: none; font-size: 14px; }
.pg-bigsearch button { padding: 0 22px; background: #1a6fd4; color: #fff; border: 2px solid #1a6fd4; font-size: 14px; }
.pg-hot { font-size: 12px; color: #7b8a99; }
.pg-hot a { margin-left: 8px; }
.pg-rescount { text-align: left; padding: 0 60px; font-size: 12px; color: #7b8a99; margin-top: 10px; }
.pg-results { text-align: left; padding: 10px 60px 30px; max-width: 760px; margin: 0 auto; }
.pg-res { margin-bottom: 16px; }
.pg-res-t { font-size: 15px; }
.pg-res-u { font-size: 11px; color: #27ae60; }
.pg-res-d { font-size: 12.5px; color: #5b6b7b; }
.pg-nores { text-align: center; color: #7b8a99; padding: 40px; font-size: 13px; line-height: 2; }

/* 新闻 / 文章 */
.pg-art { max-width: 760px; margin: 0 auto; padding: 26px 30px 50px; }
.pg-art-top { margin-bottom: 16px; font-size: 12px; }
.pg-art h1 { font-size: 28px; margin-bottom: 8px; }
.pg-art-meta { font-size: 11.5px; color: #8a96a3; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid #e6ebf0; }
.pg-art-body p { margin-bottom: 14px; font-size: 14px; line-height: 1.9; color: #2b3a48; }
.pg-art-foot { margin-top: 24px; font-size: 11px; color: #9aa8b6; text-align: right; }

/* 视频 */
.pg-vlist { padding-bottom: 30px; }
.pg-vlist h2 { padding: 0 40px; }
.pg-vgrid { display: grid; grid-template-columns: repeat(auto-fill,minmax(220px,1fr)); gap: 18px; padding: 0 40px; }
.pg-vcard { display: block; color: #1f2933; }
.pg-vcard b { display: block; font-size: 13.5px; font-weight: 500; margin-top: 6px; }
.pg-vcard small { color: #8a96a3; font-size: 11px; }
.pg-vthumb { position: relative; height: 124px; border-radius: 6px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 30px; }
.pg-vthumb em { position: absolute; right: 8px; bottom: 6px; font-style: normal; font-size: 10px; background: rgba(0,0,0,.55); padding: 1px 5px; border-radius: 3px; }
.pg-video { max-width: 780px; margin: 0 auto; padding: 20px 26px 40px; }
.pg-player { background: #000; border-radius: 6px; overflow: hidden; position: relative; }
.pg-player canvas { width: 100%; display: block; }
.pg-vctrl { display: flex; align-items: center; gap: 10px; padding: 6px 10px; background: #111; color: #ddd; font-size: 12px; }
.pg-vbar { flex: 1; height: 4px; background: #333; border-radius: 2px; }
.pg-vbar i { display: block; width: 35%; height: 100%; background: #e2483a; border-radius: 2px; }
.pg-video h1 { font-size: 20px; margin: 14px 0 6px; }
.pg-vdesc { font-size: 13px; color: #5b6b7b; }
.pg-note { font-size: 12px; color: #8a96a3; line-height: 1.9; }

/* 论坛 */
.pg-forum, .pg-thread { max-width: 820px; margin: 0 auto; padding: 0 30px 40px; }
.pg-threads { border-top: 1px solid #e6ebf0; margin-bottom: 20px; }
.pg-thread-row { display: block; padding: 12px 4px; border-bottom: 1px solid #eef2f6; }
.pg-thread-row b { display: block; font-size: 14px; font-weight: 500; color: #1f2933; }
.pg-thread-row:hover b { color: #1a6fd4; }
.pg-thread-row span { font-size: 11px; color: #9aa8b6; }
.pg-posts { margin-top: 16px; }
.pg-post { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid #eef2f6; }
.pg-post-u { width: 110px; text-align: center; font-size: 11px; color: #5b6b7b; }
.pg-post-u b { display: block; margin: 4px 0 1px; color: #1f2933; }
.pg-post-u em { font-style: normal; color: #9aa8b6; }
.pg-post-u svg { margin: 0 auto; border-radius: 50%; }
.pg-post-t { flex: 1; font-size: 13.5px; line-height: 1.8; color: #2b3a48; }
.pg-reply { display: flex; gap: 8px; align-items: center; margin-top: 16px; font-size: 11px; color: #9aa8b6; }
.pg-reply input { flex: 1; padding: 7px 10px; border: 1px solid #d5dde6; font-size: 12px; }
.pg-reply button { padding: 7px 16px; background: #1a6fd4; color: #fff; border: none; font-size: 12px; }

/* 百科 */
.pg-wiki { max-width: 860px; margin: 0 auto; padding: 0 30px 50px; }
.pg-wiki-head { display: flex; align-items: center; gap: 20px; padding: 16px 0; border-bottom: 1px solid #e6ebf0; }
.pg-wiki-hero { padding: 34px 0 10px; text-align: center; }
.pg-wiki-hero h1 { font-size: 34px; font-weight: 300; }
.pg-wiki-hero p { color: #8a96a3; font-size: 12px; }
.pg-wikigrid { display: grid; grid-template-columns: repeat(auto-fill,minmax(180px,1fr)); gap: 10px; margin-bottom: 20px; }
.pg-wikigrid a { display: block; padding: 10px 12px; border: 1px solid #e6ebf0; border-radius: 5px; }
.pg-wikigrid a:hover { border-color: #1a6fd4; background: #f7fbff; }
.pg-wikigrid b { display: block; font-size: 13px; color: #1f2933; font-weight: 500; }
.pg-wikigrid span { font-size: 11px; color: #9aa8b6; }
.pg-wiki-crumb { font-size: 11px; color: #9aa8b6; margin: 14px 0 6px; }
.pg-wiki p { font-size: 14px; line-height: 1.95; margin-bottom: 12px; color: #2b3a48; }
.pg-wiki-related { margin-top: 26px; padding-top: 14px; border-top: 1px solid #e6ebf0; }
.pg-wiki-related a { display: inline-block; margin: 0 14px 6px 0; font-size: 12px; }

/* 游戏站 */
.pg-gamelist, .pg-game { max-width: 820px; margin: 0 auto; padding: 0 30px 40px; }
.pg-gcards { display: flex; gap: 16px; }
.pg-gcards a { flex: 1; padding: 18px; border: 1px solid #e6ebf0; border-radius: 8px; text-align: center; }
.pg-gcards a:hover { border-color: #1a6fd4; background: #f7fbff; }
.pg-gico { font-size: 40px; display: block; }
.pg-gcards b { display: block; font-size: 16px; margin: 6px 0 2px; color: #1f2933; }
.pg-gcards small { color: #8a96a3; }
.pg-launch { margin: 18px 0; padding: 10px 22px; background: #1a6fd4; color: #fff; border: none; border-radius: 4px; font-size: 13px; }

/* 404 */
.pg-404 { text-align: center; padding: 60px 30px; }
.pg-404art { font-size: 60px; color: #cbd5df; margin-bottom: 10px; }
.pg-404 h1 { font-size: 22px; font-weight: 500; margin-bottom: 8px; }
.pg-404 p { font-size: 13px; color: #5b6b7b; margin-bottom: 10px; }
.pg-404 .pg-btn { margin-top: 14px; }

/* ============================================================
   经典主题下的应用细节
   ============================================================ */
.os-win95 .menubar, .os-win98 .menubar, .os-win2000 .menubar { height: 20px; background: #c0c0c0; border-bottom: 1px solid #808080; }
.os-win95 .mb-item, .os-win98 .mb-item, .os-win2000 .mb-item { font-family: var(--font-old); font-size: 12px; padding: 2px 7px; border-radius: 0; }
.os-win95 .mb-item:hover, .os-win98 .mb-item:hover, .os-win2000 .mb-item:hover { background: #000080; }
.os-win95 .tb-btn, .os-win98 .tb-btn, .os-win2000 .tb-btn { border: 1px solid transparent; border-radius: 0; }
.os-win95 .tb-btn:hover, .os-win98 .tb-btn:hover, .os-win2000 .tb-btn:hover { border-color: #fff #808080 #808080 #fff; background: #c0c0c0; }
.os-win95 .statusbar, .os-win98 .statusbar, .os-win2000 .statusbar { font-family: var(--font-old); }
.os-win95 .win-status, .os-win98 .win-status, .os-win2000 .win-status { height: 21px; border-top: 1px solid #808080; }
.os-win95 .np-text, .os-win98 .np-text, .os-win2000 .np-text { font-family: "Fixedsys", var(--font-mono); font-size: 13px; }
.os-win95 .np-status, .os-win98 .np-status, .os-win2000 .np-status { height: 20px; }

/* 10 / 11 的圆角应用窗口 */
.os-win11 .win { border-radius: 8px; }
.os-win11 .win-tb { border-radius: 8px 8px 0 0; }
.os-win11 .win-status { background: transparent; }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 900px) {
  .pg-header { padding: 10px 16px; gap: 12px; flex-wrap: wrap; }
  .pg-search input { width: 120px; }
  .pg-cols { flex-direction: column; padding: 16px; }
  .pg-col-side { width: auto; }
  .pg-hero { padding: 26px 20px; }
  .pg-hero-art { display: none; }
  .sm10-tiles { grid-template-columns: repeat(2,1fr); }
  .sm11-grid { grid-template-columns: repeat(4,1fr); }
  #startmenu.kind-win10 { width: 94vw; }
  #startmenu.kind-win11 { width: 94vw; }
  .tiles-grid { grid-template-columns: repeat(4, 96px); }
}

/* 8 / 8.1 / 10 磁贴统一主题色（更接近原版） */
.os-win8 .tile, .os-win81 .tile, .os-win10 .tile { background: color-mix(in srgb, var(--accent) 74%, #000 26%) !important; }
.os-win8 .tile-t, .os-win81 .tile-t { font-size: 12.5px; text-shadow: 0 1px 2px rgba(0,0,0,.45); }
.os-win8 .tile:hover, .os-win81 .tile:hover, .os-win10 .tile:hover { outline: 2px solid rgba(255,255,255,.7); outline-offset: -2px; }

.ex-item.dragging-op { opacity: .45; }
.ex-drag-ghost {
  position: fixed; z-index: 99999; pointer-events: none;
  transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 6px;
  padding: 5px 8px 5px 5px; max-width: 220px;
  background: rgba(255,255,255,.94); border: 1px solid #8ab8e8;
  border-radius: 4px; box-shadow: 0 4px 14px rgba(0,0,0,.28);
  color: #1b1b1b; font-size: 12px;
}
.ex-drag-ghost svg { flex: 0 0 auto; }
.ex-drag-ghost span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.ex-node.drop-target { background: #e5f3ff; outline: 2px dashed var(--accent); outline-offset: -2px; }
#desktop.desktop-drop-target #wall { box-shadow: inset 0 0 0 4px rgba(0,120,215,.9); filter: brightness(1.06); }

/* ============================================================
   甲鱼下载
   ============================================================ */
.pg-dl { padding-bottom: 44px; }
.pg-dl-hero { padding: 30px 40px 22px; background: linear-gradient(135deg,#fff5ef,#fff 55%,#eef7ff); border-bottom: 1px solid #e6ebf0; }
.pg-dl-hero h1 { font-size: 28px; margin-bottom: 6px; color: #17324d; }
.pg-dl-hero p { color: #5b6b7b; font-size: 13px; }
.pg-dl-status { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 7px 12px; border-radius: 5px; background: #fff; border: 1px solid #dbe6f1; font-size: 12px; color: #3d5164; }
.pg-dl-status b { color: #1a6fd4; font-weight: 600; }
.pg-dl-status.warn { border-color: #f1cf9a; background: #fff9ed; color: #8a5a13; }
.pg-dl-status.warn b { color: #b66a00; }
.pg-dl-sec { padding: 24px 40px 0; }
.pg-dl-sec h2 { margin: 0 0 12px; font-size: 17px; }
.pg-dl-card { display: flex; gap: 18px; align-items: center; padding: 18px; border: 1px solid #e1e8f0; border-radius: 8px; background: #fff; box-shadow: 0 3px 12px rgba(30,60,100,.04); }
.pg-dl-cover { width: 82px; height: 106px; flex: 0 0 auto; border-radius: 4px 8px 8px 4px; background: linear-gradient(150deg,#d94b3b,#a92c20); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; box-shadow: 4px 4px 0 #f0d7d2; }
.pg-dl-cover b { font-size: 20px; letter-spacing: 2px; }
.pg-dl-cover span { font-size: 9px; opacity: .9; letter-spacing: 1px; }
.pg-dl-info { flex: 1; min-width: 0; }
.pg-dl-info h3 { font-size: 18px; margin-bottom: 4px; color: #1f2933; }
.pg-dl-info p { font-size: 12.5px; color: #5b6b7b; margin-bottom: 6px; }
.pg-dl-meta { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0 10px; }
.pg-dl-meta span { font-size: 10.5px; padding: 2px 7px; border-radius: 10px; background: #f1f6fb; color: #4b6a85; }
.pg-dl-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pg-dl-btn { display: inline-block; padding: 8px 18px; border: none; border-radius: 4px; background: #1a6fd4; color: #fff; font-size: 13px; cursor: pointer; }
.pg-dl-btn:hover { background: #155bb3; }
.pg-dl-btn.ghost { background: #fff; color: #1a6fd4; border: 1px solid #a9c9e8; }
.pg-dl-btn:disabled { background: #c7d2dc; color: #fff; cursor: not-allowed; }
.pg-dl-tip { font-size: 11px; color: #8a96a3; }
.pg-dl-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(210px,1fr)); gap: 14px; padding: 0 40px; }
.pg-dl-item { position: relative; padding: 15px; border: 1px solid #e6ebf0; border-radius: 7px; background: #fff; }
.pg-dl-item b { display: block; font-size: 14px; color: #1f2933; margin-bottom: 3px; }
.pg-dl-item small { color: #8a96a3; font-size: 11px; }
.pg-dl-soon { display: inline-block; margin-top: 10px; font-size: 10.5px; padding: 2px 8px; border-radius: 10px; background: #f3f4f6; color: #8a96a3; }
.pg-dl-note { padding: 18px 40px 0; font-size: 11.5px; color: #8a96a3; line-height: 1.9; }

/* ============================================================
   WPS Office
   ============================================================ */
.wps { height: 100%; display: flex; flex-direction: column; background: #eef2f6; color: #22303d; font-family: "Segoe UI","Microsoft YaHei",sans-serif; }
.wps-tabs { height: 34px; display: flex; align-items: flex-end; gap: 2px; padding: 0 10px; background: #f7f9fb; border-bottom: 1px solid #dce5ee; flex: 0 0 auto; }
.wps-tab { border: none; background: transparent; padding: 7px 12px 6px; font-size: 12px; color: #526577; border-bottom: 2px solid transparent; }
.wps-tab.on { color: #c0392b; border-bottom-color: #c0392b; font-weight: 600; }
.wps-edition { margin-left: auto; align-self: center; font-size: 11px; color: #8a96a3; }
.wps-ribbon { display: flex; gap: 4px; padding: 6px 8px; background: #fff; border-bottom: 1px solid #dce5ee; overflow-x: auto; flex: 0 0 auto; }
.wps-group { padding: 2px 9px 3px; border-right: 1px solid #edf1f5; }
.wps-group > b { display: block; text-align: center; font-size: 9.5px; color: #9aa8b6; font-weight: 400; margin-top: 3px; }
.wps-row { display: flex; align-items: center; gap: 4px; min-height: 26px; }
.wps-btn, .wps-tool { border: 1px solid transparent; background: #f7f9fb; border-radius: 3px; height: 24px; padding: 0 8px; font-size: 11.5px; color: #31465a; cursor: pointer; }
.wps-btn:hover, .wps-tool:hover { background: #eaf3fc; border-color: #b9d5ef; }
.wps-tool { min-width: 26px; padding: 0 5px; }
.wps-font, .wps-size { height: 24px; border: 1px solid #d6e0e9; background: #fff; font-size: 11px; padding: 0 4px; }
.wps-formats { display: flex; gap: 4px; align-items: center; min-height: 26px; }
.wps-formats span { font-size: 9.5px; color: #4b6a85; background: #f1f6fb; border-radius: 8px; padding: 2px 5px; }
.wps-canvas { flex: 1; overflow: auto; padding: 22px; background: #e5ebf1; }
.wps-page { width: 720px; min-height: 930px; margin: 0 auto; padding: 58px 72px 70px; background: #fff; box-shadow: 0 2px 10px rgba(20,40,70,.14); outline: none; font-family: "宋体","SimSun",serif; font-size: 15px; line-height: 1.95; color: #222; }
.wps-page h1 { font-size: 28px; text-align: center; margin: 4px 0 2px; font-family: "微软雅黑","Microsoft YaHei",sans-serif; letter-spacing: 3px; }
.wps-page .wps-sub { text-align: center; font-size: 13px; color: #7b6a5a; letter-spacing: 2px; margin-bottom: 22px; }
.wps-page h2 { font-size: 18px; margin: 22px 0 8px; font-family: "微软雅黑","Microsoft YaHei",sans-serif; }
.wps-page .wps-author { text-align: center; color: #6b7b8b; font-size: 12px; margin: 0 0 10px; }
.wps-page p { text-indent: 2em; margin: 0 0 10px; }
.wps-page .wps-note { text-indent: 0; color: #8a96a3; font-size: 11px; text-align: center; }
.wps-page .wps-blank { text-indent: 0; }
.wps-page hr { border: none; border-top: 1px solid #c9d6e2; margin: 18px 0; }
.wps-status { height: 23px; flex: 0 0 auto; display: flex; align-items: center; gap: 18px; padding: 0 10px; background: #f7f9fb; border-top: 1px solid #dce5ee; font-size: 10.5px; color: #7b8a99; }
.wps-status .wps-page-info { margin-left: auto; }
.wps-block { align-items: center; justify-content: center; text-align: center; padding: 44px; }
.wps-block h2 { font-size: 22px; margin: 18px 0 8px; }
.wps-block p { font-size: 13px; color: #5b6b7b; line-height: 1.9; margin-bottom: 6px; }
.wps-block-art { opacity: .92; }
.wps-kv { margin-top: 16px; font-size: 11px; color: #8a96a3; }
.wps-slide-stage { min-height: 420px; display: flex; align-items: center; justify-content: center; padding: 20px; }
.wps-slide { width: 760px; min-height: 430px; padding: 48px 54px; background: #fff; box-shadow: 0 2px 10px rgba(20,40,70,.14); display: flex; flex-direction: column; }
.wps-slide-kicker { font-size: 10px; letter-spacing: 2px; color: #c8792c; text-transform: uppercase; }
.wps-slide h1 { font-family: "微软雅黑","Microsoft YaHei",sans-serif; font-size: 34px; margin: 12px 0 18px; color: #17324d; }
.wps-slide p { font-size: 15px; line-height: 1.8; color: #526577; margin-bottom: 8px; }
.wps-slide-foot { margin-top: auto; text-align: right; font-size: 10px; color: #9aa8b6; }
.wps-sheet { min-width: 620px; background: #fff; box-shadow: 0 2px 10px rgba(20,40,70,.14); }
.wps-sheet-tabs { display: flex; gap: 10px; padding: 6px 10px; border-bottom: 1px solid #e1e8f0; font-size: 11px; color: #4b6a85; }
.wps-sheet-tabs b { color: #1a6fd4; border-bottom: 2px solid #1a6fd4; padding-bottom: 3px; }
.wps-sheet table { border-collapse: collapse; width: 100%; font-size: 11px; table-layout: fixed; }
.wps-sheet th, .wps-sheet td { border: 1px solid #e1e8f0; height: 25px; padding: 2px 6px; }
.wps-sheet thead th { background: #f4f8fc; color: #6b7b8b; font-weight: 400; text-align: center; }
.wps-sheet tbody th { background: #f4f8fc; color: #9aa8b6; font-weight: 400; text-align: center; width: 36px; }
.wps-sheet td { outline: none; color: #31465a; }

/* ============================================================
   Windows 10 / 11 窗口打开动画
   ============================================================ */
.os-win10 .win.open { animation: win10Open .24s cubic-bezier(.2,.8,.2,1) both; transform-origin: 50% 40%; }
@keyframes win10Open {
  from { opacity: 0; transform: scale(.92) translateY(10px); filter: blur(.6px); }
  to   { opacity: 1; transform: none; filter: none; }
}
.os-win11 .win.open { animation: win11Open .3s cubic-bezier(.16,1,.3,1) both; transform-origin: 50% 45%; }
@keyframes win11Open {
  from { opacity: 0; transform: scale(.94) translateY(14px); filter: blur(1.2px); }
  to   { opacity: 1; transform: none; filter: none; }
}
@media (prefers-reduced-motion: reduce) {
  .os-win10 .win.open, .os-win11 .win.open { animation: none; }
}
