/* ============================================================
   KitBox — 黑白高级感设计系统
   ============================================================ */
:root {
  --bg: #ffffff;
  --bg-soft: #fafafa;
  --surface: #ffffff;
  --text: #0a0a0a;
  --text-soft: #555555;
  --text-mute: #999999;
  --line: #e8e8e8;
  --line-strong: #0a0a0a;
  --accent: #0a0a0a;
  --accent-contrast: #ffffff;
  --hover: #f4f4f4;
  --shadow: 0 1px 3px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.05);
  --radius: 14px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "SF Mono", "JetBrains Mono", "Fira Code", ui-monospace, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.22,.61,.36,1);
}
html.dark {
  --bg: #0a0a0a;
  --bg-soft: #101010;
  --surface: #111111;
  --text: #ffffff;
  --text-soft: #b0b0b0;
  --text-mute: #6f6f6f;
  --line: #262626;
  --line-strong: #ffffff;
  --accent: #ffffff;
  --accent-contrast: #0a0a0a;
  --hover: #1a1a1a;
  --shadow: 0 1px 3px rgba(0,0,0,.5), 0 8px 24px rgba(0,0,0,.4);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  transition: background .3s var(--ease), color .3s var(--ease);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; color: inherit; }

/* ---------- 顶栏 ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 10px;
  height: 60px; padding: 0 20px; padding-top: env(safe-area-inset-top, 0px);
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.brand-thin { font-weight: 300; }
.topbar-spacer { flex: 1; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border: 1px solid transparent; border-radius: 10px;
  background: transparent; color: var(--text);
  transition: background .2s, border-color .2s;
}
.icon-btn:hover { background: var(--hover); border-color: var(--line); }
.lang-btn { font-size: 14px; font-weight: 600; width: auto; padding: 0 12px; }
.auth-btn { padding: 7px 15px; font-size: 13.5px; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.auth-btn.is-user { font-weight: 600; }

/* ---------- 侧栏 ---------- */
.sidebar {
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 60;
  width: 280px; max-width: 86vw;
  background: var(--bg);
  border-right: 1px solid var(--line);
  padding: 20px 0;
  transform: translateX(-102%);
  transition: transform .32s var(--ease);
  display: flex; flex-direction: column;
  overflow-y: auto;
}
.sidebar.open { transform: translateX(0); }
.sidebar-overlay {
  position: fixed; inset: 0; z-index: 55;
  background: rgba(0,0,0,.35);
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease);
}
.sidebar-overlay.show { opacity: 1; pointer-events: auto; }
.sidebar-nav { padding: 8px 14px 24px; flex: 1; }
.nav-item {
  display: flex; align-items: center; gap: 11px;
  padding: 9px 12px; border-radius: 9px;
  color: var(--text-soft); font-size: 14.5px;
  transition: background .15s, color .15s;
}
.nav-item:hover { background: var(--hover); color: var(--text); }
.nav-item.active { background: var(--accent); color: var(--accent-contrast); }
.nav-home { margin-bottom: 18px; font-weight: 600; }
.nav-cat-label { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-mute); margin: 18px 12px 6px; }
.nav-item .cat-count { margin-left: auto; font-size: 11px; color: var(--text-mute); }
.nav-item.active .cat-count { color: inherit; opacity: .6; }
.sidebar-footer { padding: 16px 26px 6px; font-size: 12px; color: var(--text-mute); border-top: 1px solid var(--line); }
.sidebar-footer b { color: var(--text); font-weight: 600; }
.footer-links { margin-top: 8px; display: flex; gap: 12px; flex-wrap: wrap; }
.footer-links a { color: var(--text-mute); font-size: 12px; text-decoration: none; }
.footer-links a:hover { color: var(--text); }

/* ---------- 主区域 ---------- */
#app { padding: 0 24px 90px; }

/* 页面转场 */
.page { max-width: 1180px; margin: 0 auto; animation: pageIn .4s var(--ease) both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Hero ---------- */
.hero {
  padding: 96px 0 40px;
  text-align: center;
}
.hero-eyebrow {
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--text-mute); margin-bottom: 22px;
  animation: rise .7s var(--ease) both;
}
.hero-title {
  font-size: clamp(42px, 7vw, 84px);
  font-weight: 700; letter-spacing: -.03em; line-height: 1.04;
  animation: rise .7s var(--ease) .06s both;
}
.hero-title .dot {
  color: #949494;
  text-shadow:
    -1px -1px 1px rgba(255, 255, 255, 0.7),
    1px 1px 2px rgba(0, 0, 0, 0.38);
}
html.dark .hero-title .dot {
  color: #b6b6b6;
  text-shadow:
    -1px -1px 1px rgba(255, 255, 255, 0.22),
    1px 1px 2px rgba(0, 0, 0, 0.8);
}
.hero-sub {
  max-width: 560px; margin: 26px auto 0;
  font-size: 17px; color: var(--text-soft);
  animation: rise .7s var(--ease) .12s both;
}
.hero-actions { margin-top: 22px; display: flex; gap: 12px; justify-content: center; animation: rise .7s var(--ease) .18s both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- 搜索 ---------- */
.search-wrap { position: relative; max-width: 560px; margin: 24px auto 0; animation: rise .7s var(--ease) .15s both; }
.search-input {
  width: 100%; padding: 14px 20px;
  border: 1px solid var(--line); border-radius: 100px;
  background: var(--surface); color: var(--text);
  font-size: 15px; outline: none; transition: border-color .2s;
}
.search-input:focus { border-color: var(--line-strong); }
.search-results {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 30;
  background: var(--bg); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); overflow: hidden; max-height: 420px; overflow-y: auto;
  display: none;
}
.search-results.show { display: block; }
.search-item { display: flex; align-items: center; gap: 10px; padding: 11px 16px; font-size: 14px; color: var(--text); text-decoration: none; }
.search-item:hover { background: var(--hover); }
.search-item-ico { display: flex; color: var(--text-mute); }
.search-item-name { flex: 1; }
.search-item-cat { font-size: 12px; color: var(--text-mute); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: 100px;
  font-size: 14.5px; font-weight: 600;
  border: 1px solid var(--line);
  background: transparent; color: var(--text);
  transition: transform .15s, background .2s, border-color .2s;
}
.btn:hover { border-color: var(--line-strong); }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--accent); color: var(--accent-contrast); border-color: var(--accent); }
.btn-primary:hover { opacity: .88; }

/* ---------- 区块标题 ---------- */
.section { margin: 44px 0 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 20px; }
.section-title { font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.section-more { font-size: 13.5px; color: var(--text-mute); }
.section-more:hover { color: var(--text); }

/* ---------- 工具网格 / 卡片 ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.card {
  position: relative; display: flex; flex-direction: column;
  padding: 20px 20px 18px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface);
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
  overflow: hidden;
}
.card:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.card-ico {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border-radius: 10px; border: 1px solid var(--line); margin-bottom: 16px;
  color: var(--text);
}
.card-ico svg { width: 20px; height: 20px; }
.card-name { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.card-desc { font-size: 12.5px; color: var(--text-mute); margin-top: 6px; line-height: 1.5; }
.card.cat { flex-direction: row; align-items: center; gap: 14px; padding: 18px; }
.card.cat .card-name { font-size: 16px; }
.card.cat .card-desc { margin-top: 2px; }
.card-todo { opacity: .5; pointer-events: none; }
.card-todo .todo-tag { position: absolute; top: 12px; right: 12px; font-size: 10px; letter-spacing: .05em; color: var(--text-mute); }
.card-fav {
  position: absolute; top: 10px; right: 10px;
  width: 26px; height: 26px; border: none; border-radius: 50%;
  background: transparent; color: var(--text-mute);
  font-size: 15px; line-height: 1; cursor: pointer; opacity: 0;
  transition: opacity .15s, color .15s;
}
.card:hover .card-fav { opacity: 1; }
.card-fav:hover { color: #e5484d; }
.card-fav.active { opacity: 1; color: #e5484d; }

/* ---------- 横向滚动的常用工具 ---------- */
.scroll-row { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.scroll-row .card { min-width: 220px; scroll-snap-align: start; }
.scroll-row::-webkit-scrollbar { display: none; }

/* ---------- 工具页面 ---------- */
.tool-head { padding: 40px 0 8px; }
.tool-crumb { font-size: 13px; color: var(--text-mute); margin-bottom: 12px; }
.tool-crumb a:hover { color: var(--text); }
.tool-title-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.tool-title { font-size: 30px; font-weight: 700; letter-spacing: -.02em; }
.tool-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border: 1px solid var(--line); border-radius: 100px;
  font-size: 12.5px; font-weight: 600; color: var(--text-soft);
}
.tool-badge svg { width: 13px; height: 13px; }
.tool-desc { color: var(--text-soft); margin-top: 10px; max-width: 640px; font-size: 14.5px; }

.tool-window {
  margin-top: 28px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); overflow: hidden;
  box-shadow: var(--shadow);
}
.window-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.window-dots { display: flex; gap: 6px; }
.window-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); display: block; }
.window-title { font-family: var(--mono); font-size: 12px; color: var(--text-soft); }
.window-tag { margin-left: auto; font-family: var(--mono); font-size: 11px; letter-spacing: .05em; color: var(--text-mute); text-transform: uppercase; }
.tool-body { padding: 26px; }

/* ---------- 表单控件 ---------- */
.field { margin-bottom: 16px; }
.field-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; color: var(--text-soft); }
.input, .textarea, .select {
  width: 100%; padding: 11px 14px;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--bg); color: var(--text);
  font-size: 14.5px; outline: none;
  transition: border-color .2s;
}
.input:focus, .textarea:focus, .select:focus { border-color: var(--line-strong); }
.textarea { min-height: 120px; resize: vertical; font-family: var(--mono); }
.result-box {
  position: relative;
  margin-top: 8px; padding: 14px;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--bg-soft); font-family: var(--mono); font-size: 13.5px;
  white-space: pre-wrap; word-break: break-all; min-height: 44px;
}
.copy-btn {
  position: absolute; top: 6px; right: 6px;
  width: 26px; height: 26px; border: none; border-radius: 6px;
  background: var(--surface); color: var(--text-mute);
  font-size: 14px; cursor: pointer; display: none; align-items: center; justify-content: center;
  box-shadow: 0 1px 4px rgba(0,0,0,.12);
}
.result-box:hover .copy-btn { display: flex; }
.copy-btn:hover { color: var(--text); }
.row { display: flex; gap: 10px; flex-wrap: wrap; }
.grow { flex: 1; }

/* ---------- 语言菜单 ---------- */
.lang-menu {
  position: fixed; z-index: 300;
  display: flex; flex-direction: column; gap: 2px;
  min-width: 160px; padding: 6px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transform: translateY(-6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease);
}
.lang-menu.show { opacity: 1; pointer-events: auto; transform: none; }
.lang-option {
  display: block; width: 100%; text-align: left; padding: 9px 12px;
  border: none; border-radius: 8px; background: transparent;
  color: var(--text); font-size: 14px;
}
.lang-option:hover { background: var(--hover); }
.lang-option.active { background: var(--accent); color: var(--accent-contrast); font-weight: 600; }

/* ---------- 弹窗 ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.45);
  padding: 20px; animation: fadeIn .18s var(--ease);
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-box {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  max-width: 560px; max-height: 80vh; overflow-y: auto;
  padding: 24px; width: 100%;
  box-shadow: var(--shadow);
  animation: modalIn .25s var(--ease);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- 桌面 ---------- */
body.desktop-mode .topbar, body.desktop-mode .sidebar, body.desktop-mode .sidebar-overlay { display: none; }
body.desktop-mode #app { margin-left: 0 !important; max-width: none !important; padding: 0 !important; }
body.desktop-mode #app > .page { animation: none; max-width: none; margin: 0; transform: none; }

.desktop-root {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 5;
  display: flex; flex-direction: column;
  background:
    radial-gradient(1400px 900px at 12% 4%, rgba(150,150,150,0.09), transparent 60%),
    radial-gradient(1100px 800px at 88% 96%, rgba(150,150,150,0.12), transparent 60%),
    var(--bg-soft);
}
.desktop-icons { position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 2; }
.desktop-windows { position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 20; pointer-events: none; }
.desktop-window {
  position: absolute; pointer-events: auto;
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--bg); box-shadow: 0 22px 60px rgba(0,0,0,.28);
  overflow: hidden; min-width: 280px; min-height: 200px;
}
.win-titlebar {
  display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 6px 0 12px;
  background: var(--bg-soft); border-bottom: 1px solid var(--line);
  cursor: move; touch-action: none;
  cursor: grab; user-select: none; -webkit-user-select: none; flex-shrink: 0;
}
.win-titlebar:active { cursor: grabbing; }
.win-title { font-size: 13px; font-weight: 600; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win-close {
  width: 28px; height: 28px; border: none; border-radius: 7px; background: transparent;
  color: var(--text-mute); font-size: 17px; line-height: 1; cursor: pointer;
}
.win-close:hover { background: var(--text); color: var(--bg); }
.win-body { flex: 1; overflow: auto; padding: 16px; display: flex; flex-direction: column; }
.win-resize {
  position: absolute; right: 0; bottom: 0; width: 26px; height: 26px;
  cursor: nwse-resize; z-index: 5;
  background: linear-gradient(135deg, transparent 62%, var(--line) 62%, var(--line) 72%, transparent 72%);
  opacity: .8;
}
.desktop-clock {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -58%);
  text-align: center; pointer-events: none; z-index: 1;
}
.desktop-clock-time { font-size: clamp(64px, 11vw, 132px); font-weight: 200; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.desktop-clock-date { font-size: 19px; color: var(--text-soft); margin-top: 12px; letter-spacing: .06em; }
.desktop-toolbar {
  position: absolute; top: 16px; right: 20px; z-index: 10;
  display: flex; align-items: center; gap: 8px;
}
.desktop-taskbar {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  z-index: 50;
  display: flex; align-items: center; gap: 4px; padding: 6px;
  border-radius: 20px;
  background: rgba(255,255,255,0.42);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.45);
  box-shadow: 0 14px 44px rgba(0,0,0,0.18);
}
html.dark .desktop-taskbar {
  background: rgba(26,26,30,0.55);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 14px 44px rgba(0,0,0,0.6);
}
.taskbar-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; min-width: 54px; padding: 5px 8px;
  border-radius: 12px; border: none;
  background: transparent; color: var(--text); cursor: pointer;
  transition: background .15s, transform .15s;
}
.taskbar-item:hover { background: rgba(255,255,255,0.45); transform: scale(1.06); }
html.dark .taskbar-item:hover { background: rgba(255,255,255,0.12); }
.taskbar-item.active { background: rgba(0,0,0,0.10); }
html.dark .taskbar-item.active { background: rgba(255,255,255,0.18); }
.taskbar-item img { width: 26px; height: 26px; border-radius: 7px; }
.dock-icon { display: flex; align-items: center; justify-content: center; height: 26px; }
.dock-icon svg { width: 22px; height: 22px; }
.dock-label { font-size: 10px; line-height: 1; color: var(--text-soft); white-space: nowrap; max-width: 58px; overflow: hidden; text-overflow: ellipsis; }
.taskbar-sep { width: 1px; height: 26px; background: var(--line); margin: 0 2px; }
.desktop-icon {
  position: absolute; display: flex; flex-direction: column; align-items: center; gap: 8px;
  width: 92px; padding: 10px 4px; border-radius: 12px; text-align: center;
  transition: background .18s; cursor: grab; user-select: none; -webkit-user-select: none;
  touch-action: none;
}
.desktop-icon:hover { background: var(--hover); }
.desktop-icon.dragging { background: var(--hover); cursor: grabbing; opacity: .6; }
.cell-tip {
  position: absolute; z-index: 6; pointer-events: none;
  background: var(--bg); border: 1px solid var(--line); border-radius: 6px;
  padding: 5px 11px; font-size: 12px; color: var(--text); white-space: nowrap;
  opacity: 0; transition: opacity .12s; transform: translate(-50%, -120%);
  box-shadow: var(--shadow);
}
.cell-label {
  position: absolute; z-index: 5; pointer-events: none;
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; color: var(--text-soft); white-space: nowrap; opacity: 0;
}
.cell-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--text); flex-shrink: 0; }

/* ---------- 赞助 / 法律 ---------- */
.donate-box { max-width: 640px; }
.donate-codes { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.donate-code { text-align: center; }
.donate-code img { width: 160px; height: 160px; object-fit: contain; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.donate-label { margin-top: 8px; font-size: 13px; color: var(--text-soft); }
.donate-wall { text-align: center; padding: 16px; background: var(--surface); border: 1px dashed var(--line); border-radius: 10px; color: var(--text-mute); font-size: 14px; margin-bottom: 16px; }
.donate-note { color: var(--text-mute); font-size: 13px; line-height: 1.7; white-space: pre-line; }
.legal-body { max-width: 820px; line-height: 1.8; font-size: 14.5px; }
.legal-body h1 { font-size: 24px; margin: 8px 0 16px; }
.legal-body h2 { font-size: 18px; margin: 22px 0 10px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.legal-body h3 { font-size: 15px; margin: 16px 0 6px; }
.legal-body h4 { font-size: 14px; margin: 12px 0 4px; color: var(--text); }
.legal-body p { color: var(--text-soft); margin: 6px 0; }
.legal-body p.meta { font-size: 13px; color: var(--text-mute); margin: 3px 0; }
.desktop-icon.is-todo { opacity: .45; }
.desktop-icon-tile {
  width: 52px; height: 52px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 14px; background: var(--surface);
  color: var(--text);
}
.desktop-icon-tile svg { width: 26px; height: 26px; }
.desktop-icon-name { font-size: 12px; color: var(--text-soft); line-height: 1.25; word-break: break-word; }
.desktop-remove {
  position: absolute; top: 2px; right: 2px; width: 20px; height: 20px;
  border: none; border-radius: 50%; background: var(--hover); color: var(--text-mute);
  font-size: 14px; line-height: 1; display: none; align-items: center; justify-content: center;
}
.desktop-icon:hover .desktop-remove { display: flex; }
.desktop-remove:hover { background: var(--text); color: var(--bg); }
.desktop-add .desktop-icon-tile { border-style: dashed; }

.desktop-picker-grid { display: flex; flex-direction: column; gap: 2px; margin-top: 6px; }
.desktop-picker-cat { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-mute); margin: 14px 0 4px; }
.desktop-picker-item {
  display: block; width: 100%; text-align: left; padding: 8px 10px;
  border: 1px solid transparent; border-radius: 8px; background: transparent;
  color: var(--text); font-size: 14px;
}
.desktop-picker-item:hover { background: var(--hover); }
.desktop-picker-item.added { color: var(--text-mute); text-decoration: line-through; }

/* ---------- 响应式 ---------- */
@media (max-width: 720px) {
  #app { padding: 0 16px 80px; }
  .hero { padding: 56px 0 24px; }
  .hero-title { font-size: clamp(32px, 11vw, 52px); }
  .hero-sub { font-size: 15px; margin-top: 18px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .card { padding: 14px; }
  .card-ico { width: 34px; height: 34px; margin-bottom: 12px; }
  .card-name { font-size: 14px; }
  .card-desc { font-size: 11.5px; }
  .tool-head { padding: 28px 0 6px; }
  .tool-title { font-size: 23px; }
  .tool-body { padding: 16px; }
  .field { margin-bottom: 14px; }
  .tool-crumb { font-size: 12px; }
  .section-title { font-size: 17px; }
}

@media (max-width: 480px) {
  .topbar { height: 56px; padding: 0 10px; gap: 6px; }
  .brand { font-size: 17px; }
  .auth-btn { padding: 6px 11px; font-size: 12.5px; max-width: 104px; }
  .icon-btn { width: 42px; height: 42px; }
  .lang-btn { padding: 0 10px; }
  .hero { padding: 44px 0 20px; }
  .hero-eyebrow { font-size: 10.5px; margin-bottom: 16px; }
  .hero-title { font-size: clamp(30px, 12.5vw, 44px); }
  .hero-sub { font-size: 14px; }
  .grid { gap: 8px; }
  .card { padding: 12px; border-radius: 12px; }
  .card-name { font-size: 13px; }
  .card-desc { display: none; }
  .scroll-row { gap: 8px; }
  .modal-overlay { padding: 0; align-items: flex-end; }
  .modal-box { max-width: 100%; max-height: 92vh; border-radius: 20px 20px 0 0; padding: 20px 16px 24px; }
  .donate-code img { width: 138px; height: 138px; }
  .legal-body { font-size: 14px; }
  .desktop-icon { width: 76px; }
  .desktop-icon-tile { width: 44px; height: 44px; }
  .desktop-icon-tile svg { width: 22px; height: 22px; }
  .desktop-icon-name { font-size: 10px; }
  .desktop-clock-time { font-size: clamp(46px, 16vw, 68px); }
  .desktop-clock-date { font-size: 15px; }
  .desktop-taskbar { max-width: 94vw; overflow-x: auto; justify-content: flex-start; padding: 5px; }
  .taskbar-item { min-width: 46px; padding: 4px 6px; }
}

@media (min-width: 900px) {
  .sidebar { transform: translateX(0); }
  #menu-btn { display: none; }
  #overlay { display: none; }
  #app { margin-left: 280px; padding: 0 32px 90px; }
  .sidebar-overlay { display: none; }
}
