/* ===== Windows 11 shell ===== */
#desktop-icons { position: absolute; left: 4px; top: 6px; bottom: 4px; display: flex; flex-direction: column; flex-wrap: wrap; align-content: flex-start; gap: 2px; z-index: 1; }
.sh-dicon { width: 78px; padding: 4px 2px 6px; display: flex; flex-direction: column; align-items: center; gap: 3px; border: 1px solid transparent; border-radius: 3px; cursor: default; outline: none; }
.sh-dicon:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.28); }
.sh-dicon.sel { background: rgba(255,255,255,.32); border-color: rgba(255,255,255,.5); }
.sh-dicon-img { filter: drop-shadow(0 1px 2px rgba(0,0,0,.35)); }
.sh-dicon-label { color: #fff; font-size: 12px; text-align: center; line-height: 1.25; text-shadow: 0 1px 2px rgba(0,0,0,.85), 0 0 1px rgba(0,0,0,.9); word-break: break-word; }

#taskbar {
  position: absolute; left: 0; right: 0; bottom: 0; height: var(--taskbar-h); z-index: 90000;
  background: rgba(238,242,248,.88); backdrop-filter: blur(30px) saturate(1.4); -webkit-backdrop-filter: blur(30px) saturate(1.4);
  border-top: 1px solid rgba(0,0,0,.08); display: flex; align-items: center;
}
.sh-tb-left { flex: 1; }
.sh-tb-center { display: flex; align-items: center; gap: 4px; }
.sh-tb-btn { position: relative; width: 40px; height: 40px; border: none; border-radius: 4px; background: transparent; display: flex; align-items: center; justify-content: center; cursor: default; transition: background .1s; }
.sh-tb-btn:hover { background: rgba(255,255,255,.65); }
.sh-tb-btn:active .ico { transform: scale(.88); }
.sh-tb-btn.running { background: transparent; }
.sh-tb-btn.active { background: rgba(255,255,255,.75); }
.sh-tb-ind { position: absolute; bottom: 2px; left: 50%; width: 6px; height: 3px; margin-left: -3px; border-radius: 2px; background: transparent; transition: width .15s, margin .15s; }
.sh-tb-btn.running .sh-tb-ind { background: #8a8a8a; }
.sh-tb-btn.active .sh-tb-ind { background: var(--accent); width: 16px; margin-left: -8px; }
.sh-start-btn.open { background: rgba(255,255,255,.75); }
.sh-tb-search { height: 32px; width: 220px; margin: 0 4px; border-radius: 16px; background: rgba(255,255,255,.8); border: 1px solid rgba(0,0,0,.08); display: flex; align-items: center; gap: 10px; padding: 0 14px; color: #555; font-size: 13px; cursor: text; }
.sh-tb-search:hover { background: #fff; }
.sh-tb-tray { flex: 1; display: flex; justify-content: flex-end; align-items: center; gap: 2px; padding-right: 0; height: 100%; }
.sh-tray-btn { height: 40px; min-width: 32px; border: none; background: transparent; border-radius: 4px; display: flex; align-items: center; gap: 10px; padding: 0 8px; color: #1a1a1a; }
.sh-tray-btn:hover { background: rgba(255,255,255,.65); }
.sh-clock { height: 40px; padding: 0 8px; border-radius: 4px; display: flex; flex-direction: column; align-items: flex-end; justify-content: center; font-size: 12px; line-height: 16px; cursor: default; }
.sh-clock:hover { background: rgba(255,255,255,.65); }
.sh-showdesk { width: 8px; height: 100%; border-left: 1px solid rgba(0,0,0,.12); margin-left: 4px; }

/* Start menu */
.sh-start {
  position: absolute; left: 50%; bottom: calc(var(--taskbar-h) + 12px); width: 642px; height: min(726px, calc(100% - var(--taskbar-h) - 24px)); margin-left: -321px; z-index: 95000;
  background: rgba(238,241,246,.94); backdrop-filter: blur(40px) saturate(1.5); -webkit-backdrop-filter: blur(40px) saturate(1.5);
  border: 1px solid rgba(0,0,0,.12); border-radius: 8px; box-shadow: 0 24px 64px rgba(0,0,0,.28); display: flex; flex-direction: column;
  animation: startin .22s cubic-bezier(.1,.9,.2,1);
}
@keyframes startin { from { transform: translateY(40px); opacity: 0; } }
.sh-start-searchwrap { margin: 32px 32px 18px; height: 36px; border-radius: 18px; background: #fff; border: 1px solid rgba(0,0,0,.08); border-bottom: 2px solid var(--accent); display: flex; align-items: center; gap: 12px; padding: 0 16px; color: #555; }
.sh-start-search { flex: 1; border: none; outline: none; background: transparent; font-size: 14px; }
.sh-start-body { flex: 1; overflow: auto; padding: 0 32px; }
.sh-start-head { display: flex; align-items: center; justify-content: space-between; margin: 6px 4px 10px; font-weight: 600; font-size: 14px; }
.sh-start-allbtn { border: 1px solid rgba(0,0,0,.06); background: rgba(255,255,255,.7); border-radius: 4px; height: 24px; padding: 0 8px; font-size: 12px; display: inline-flex; align-items: center; gap: 6px; }
.sh-start-allbtn:hover { background: #fff; }
.sh-pin-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px 0; margin-bottom: 18px; }
.sh-pin { height: 84px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border-radius: 4px; cursor: default; font-size: 12px; text-align: center; padding: 0 4px; }
.sh-pin:hover { background: rgba(255,255,255,.7); }
.sh-pin-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 92px; }
.sh-rec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; }
.sh-rec { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 4px; cursor: default; font-size: 12px; }
.sh-rec:hover { background: rgba(255,255,255,.7); }
.sh-rec-n { font-weight: 400; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 210px; }
.sh-rec-t { color: #666; }
.sh-all-list { display: flex; flex-direction: column; padding-bottom: 12px; }
.sh-all-letter { font-size: 13px; font-weight: 600; padding: 10px 8px 4px; }
.sh-allapp { display: flex; align-items: center; gap: 14px; height: 40px; padding: 0 12px; border-radius: 4px; font-size: 13px; cursor: default; }
.sh-allapp:hover { background: rgba(255,255,255,.7); }
.sh-start-foot { height: 64px; flex: none; border-top: 1px solid rgba(0,0,0,.08); background: rgba(0,0,0,.025); border-radius: 0 0 8px 8px; display: flex; align-items: center; justify-content: space-between; padding: 0 52px; }
.sh-user { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 12px; border-radius: 4px; font-size: 12px; }
.sh-user:hover { background: rgba(255,255,255,.7); }
.sh-power { width: 40px; height: 40px; border: none; border-radius: 4px; background: transparent; display: flex; align-items: center; justify-content: center; color: #1a1a1a; }
.sh-power:hover { background: rgba(255,255,255,.7); }

/* Search */
.sh-search {
  position: absolute; left: 50%; bottom: calc(var(--taskbar-h) + 12px); width: 780px; height: min(700px, calc(100% - var(--taskbar-h) - 24px)); margin-left: -390px; z-index: 95000;
  background: rgba(238,241,246,.96); backdrop-filter: blur(40px) saturate(1.5); -webkit-backdrop-filter: blur(40px) saturate(1.5);
  border: 1px solid rgba(0,0,0,.12); border-radius: 8px; box-shadow: 0 24px 64px rgba(0,0,0,.28); display: flex; flex-direction: column; animation: startin .2s cubic-bezier(.1,.9,.2,1);
}
.sh-search-top { margin: 22px 24px 10px; height: 36px; border-radius: 18px; background: #fff; border: 1px solid rgba(0,0,0,.08); border-bottom: 2px solid var(--accent); display: flex; align-items: center; gap: 12px; padding: 0 16px; }
.sh-search-input { flex: 1; border: none; outline: none; background: transparent; font-size: 14px; }
.sh-search-chips { display: flex; gap: 4px; padding: 0 24px 10px; font-size: 13px; }
.sh-chip { padding: 4px 10px; border-radius: 14px; color: #333; }
.sh-chip.sel { background: rgba(0,103,192,.12); color: var(--accent); font-weight: 600; }
.sh-search-main { flex: 1; display: flex; gap: 12px; padding: 0 24px 24px; min-height: 0; }
.sh-search-left { flex: 1.1; overflow: auto; }
.sh-search-right { flex: 1; background: rgba(255,255,255,.7); border-radius: 8px; padding: 24px 0 12px; overflow: auto; }
.sh-sr-sec { font-size: 13px; font-weight: 600; margin: 12px 8px 6px; }
.sh-sr-best { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 6px; cursor: default; }
.sh-sr-best.sel, .sh-sr-best:hover { background: rgba(255,255,255,.85); }
.sh-sr-n { font-size: 14px; font-weight: 600; }
.sh-sr-k { font-size: 12px; color: #555; }
.sh-sr-row { display: flex; align-items: center; gap: 12px; height: 36px; padding: 0 12px; border-radius: 4px; cursor: default; font-size: 13px; }
.sh-sr-row:hover { background: rgba(255,255,255,.75); }
.sh-sr-arrow { margin-left: auto; color: #666; font-size: 16px; }
.sh-sr-dim { color: #666; }
.sh-top-apps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.sh-top-app { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px; border-radius: 6px; font-size: 12px; text-align: center; cursor: default; }
.sh-top-app:hover { background: rgba(255,255,255,.75); }
.sh-sd-head { display: flex; flex-direction: column; align-items: center; gap: 8px; padding-bottom: 18px; border-bottom: 1px solid rgba(0,0,0,.08); margin: 0 20px; }
.sh-sd-name { font-size: 18px; font-weight: 600; text-align: center; }
.sh-sd-kind { font-size: 13px; color: #555; }
.sh-sd-actions { padding: 8px 20px; }
.sh-sd-act { display: flex; align-items: center; gap: 12px; height: 36px; padding: 0 12px; border-radius: 4px; font-size: 13px; cursor: default; color: var(--accent); }
.sh-sd-act:hover { background: rgba(0,0,0,.04); }
.sh-sd-act.disabled { color: #999; }
.sh-sd-empty { display: flex; flex-direction: column; align-items: center; gap: 16px; padding-top: 80px; color: #555; }

/* Run */
.sh-run .win-body { padding: 0; font-size: 12px; background: #fff; }
.sh-run-top { display: flex; gap: 14px; padding: 14px 16px 8px; align-items: flex-start; line-height: 1.45; }
.sh-run-row { display: flex; align-items: center; gap: 10px; padding: 6px 16px 14px; }
.sh-run-row label { width: 40px; }
.sh-run-row input { flex: 1; }
.sh-run-btns { display: flex; justify-content: flex-end; gap: 8px; padding: 11px 12px; background: #f0f0f0; border-top: 1px solid #e3e3e3; margin-top: auto; }

/* Windows Tools */
.sh-wintools .win-body { background: #fff; }
.sh-wt-bar { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-bottom: 1px solid #eee; font-size: 12px; background: #f9f9f9; }
.sh-wt-chev { color: #888; }
.sh-wt-grid { flex: 1; overflow: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); align-content: start; gap: 2px; padding: 12px; }
.sh-wt-item { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 4px; border: 1px solid transparent; font-size: 12px; cursor: default; outline: none; }
.sh-wt-item:hover { background: #e5f3ff; }
.sh-wt-item.sel { background: #cce8ff; border-color: #99d1ff; }
