:root {
  --ink: #14201c;
  --ink-soft: #3d4f48;
  --muted: #6b7c74;
  --line: rgba(20, 32, 28, 0.1);
  --accent: #0f7a6b;
  --accent-soft: rgba(15, 122, 107, 0.12);
  --warn: #c45c2a;
  --paper: #ffffff;
  --paper-soft: rgba(255, 255, 255, 0.72);
  --shadow: 0 10px 30px rgba(20, 32, 28, 0.08);
  --shadow-sm: 0 4px 14px rgba(20, 32, 28, 0.08);
  --display: "Outfit", "Noto Sans SC", sans-serif;
  --body: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { min-height: 100%; }

body {
  font-family: var(--body);
  color: var(--ink);
  line-height: 1.45;
  background: #d9e4df;
}

.wallpaper {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(900px 520px at 12% 8%, rgba(255, 255, 255, 0.7), transparent 55%),
    radial-gradient(800px 480px at 88% 18%, rgba(15, 122, 107, 0.14), transparent 50%),
    radial-gradient(700px 500px at 70% 100%, rgba(196, 92, 42, 0.08), transparent 45%),
    linear-gradient(165deg, #e7efeb 0%, #d5e2dc 48%, #c8d7d0 100%);
}

.wallpaper::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(20, 32, 28, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 32, 28, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
  pointer-events: none;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.desktop {
  position: relative;
  z-index: 1;
  width: min(1100px, calc(100% - 36px));
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 18px 0 22px;
}

/* —— Menubar —— */
.menubar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  margin-bottom: 16px;
  background: var(--paper-soft);
  border: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  animation: rise 0.45s var(--ease) both;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.04em;
  flex-shrink: 0;
}

.brand-mark {
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 3px;
  transform: rotate(12deg);
}

.nav {
  display: flex;
  gap: 4px;
  flex: 1;
}

.nav-item {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 7px 12px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  border-radius: 10px;
  transition: 0.18s var(--ease);
}

.nav-item:hover {
  color: var(--ink);
  background: rgba(20, 32, 28, 0.05);
}

.nav-item.active {
  color: #fff;
  background: var(--ink);
  font-weight: 600;
}

.search-mini { margin-left: auto; }

.search-mini input {
  width: 150px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 10px;
  outline: none;
  font-size: 13px;
  transition: width 0.2s var(--ease), border-color 0.2s var(--ease);
}

.search-mini input::placeholder { color: #9aaba3; }
.search-mini input:focus {
  border-color: rgba(15, 122, 107, 0.45);
  width: 200px;
}

.desktop-body { flex: 1; }

.pane { display: none; }
.pane.active {
  display: block;
  animation: rise 0.35s var(--ease) both;
}

.cats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-bottom: 6px;
}

.filter-btn,
.scene-tab,
.util-tab {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 5px 0;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
}

.filter-btn:hover,
.scene-tab:hover,
.util-tab:hover { color: var(--ink); }

.filter-btn.active,
.scene-tab.active,
.util-tab.active {
  color: var(--accent);
  font-weight: 700;
}

.switch-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 14px;
}

.switch-chip,
.share-btn {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink-soft);
  padding: 7px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  transition: 0.15s var(--ease);
}

.switch-chip:hover,
.share-btn:hover {
  border-color: rgba(15, 122, 107, 0.35);
  color: var(--accent);
}

.switch-chip.active {
  background: var(--accent-soft);
  border-color: rgba(15, 122, 107, 0.35);
  color: var(--accent);
}

.share-btn {
  background: var(--ink);
  color: #f4f8f6;
  border-color: transparent;
  flex-shrink: 0;
}

.share-btn:hover {
  background: var(--accent);
  color: #fff;
}

.mine-shelf {
  margin-bottom: 14px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(15, 122, 107, 0.2);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.mine-shelf.hidden { display: none; }

/* —— 梯队分区 —— */
.tier-board {
  display: grid;
  gap: 14px;
  padding: 2px 0 8px;
}

.tier-block {
  padding: 14px 14px 10px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

.tier-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  padding: 0 4px 8px;
  border-bottom: 1px solid var(--line);
}

.tier-head h3 {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.tier-head span {
  color: var(--muted);
  font-size: 12px;
}

.tier-block[data-tier-block="1"] {
  background: linear-gradient(180deg, rgba(15, 122, 107, 0.08), rgba(255, 255, 255, 0.62));
  border-color: rgba(15, 122, 107, 0.18);
}

.tier-block[data-tier-block="2"] {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.5));
}

.tier-block[data-tier-block="3"] {
  background: rgba(255, 255, 255, 0.42);
}

/* —— 桌面图标 —— */
.icon-grid,
.list,
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 8px 4px;
  padding: 8px 0 6px;
}

.tool {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 6px 8px;
  border-radius: 14px;
  text-align: center;
  transition: background 0.18s var(--ease), transform 0.18s var(--ease);
}

.tool-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.tool:hover {
  background: rgba(255, 255, 255, 0.55);
  transform: translateY(-2px);
}

.tool:active { transform: scale(0.97); }

.pin-btn {
  position: absolute;
  top: 4px;
  right: 8px;
  z-index: 2;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: #b7c2bc;
  cursor: pointer;
  font-size: 13px;
  line-height: 1;
  opacity: 0;
  transition: 0.15s var(--ease);
}

.tool:hover .pin-btn,
.pin-btn.on {
  opacity: 1;
}

.pin-btn.on { color: #d4a017; }

.tool-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 800;
  font-size: 13px;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    var(--shadow-sm);
}

.tool-icon img {
  width: 68%;
  height: 68%;
  object-fit: contain;
  display: block;
}

.tool-fallback { font-size: 13px; }

.tool h3 {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink-soft);
  max-width: 86px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.tool p,
.tool-foot,
.tool-badges,
.tool-top { display: none; }

.count {
  color: var(--muted);
  font-size: 12px;
  margin-top: 8px;
}

.empty {
  display: none;
  padding: 48px 0;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

.empty.show { display: block; }

.lead {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 12px;
}

.scene-panel,
.panel,
.util-panel {
  margin-top: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

.scene-panel { display: grid; gap: 20px; }

.scene-main h3,
.util-panel h3 {
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.scene-main .desc,
.util-panel .hint,
.scene-intro {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 14px;
}

.scene-main h4,
.scene-side h4 {
  font-size: 12px;
  color: var(--muted);
  margin: 14px 0 6px;
  font-weight: 600;
}

.scene-steps {
  list-style: none;
  display: grid;
  gap: 8px;
}

.scene-steps li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 8px;
  font-size: 13px;
}

.scene-steps .n {
  color: var(--accent);
  font-weight: 700;
}

.rec-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.rec-tools a,
.rec-tools .linkish {
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.linkish {
  border: 0;
  background: transparent;
  color: var(--accent);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  padding: 0;
  text-align: left;
}

.linkish:hover { text-decoration: underline; }

.prompt-box {
  background: #f3f7f5;
  border: 1px solid var(--line);
  padding: 12px;
  font-size: 12px;
  line-height: 1.65;
  white-space: pre-wrap;
  min-height: 100px;
  border-radius: 12px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.btn {
  border: 0;
  background: var(--ink);
  color: #f4f8f6;
  padding: 9px 14px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
  border-radius: 10px;
  transition: background 0.18s var(--ease), transform 0.18s var(--ease);
}

.btn:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

.btn.secondary {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}

.util-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.util-field label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}

.util-field textarea,
.util-field input,
.util-field select {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  padding: 10px 12px;
  outline: none;
  border-radius: 10px;
  color: var(--ink);
}

.util-field textarea {
  min-height: 140px;
  resize: vertical;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
}

.util-field textarea:focus,
.util-field input:focus,
.util-field select:focus {
  border-color: rgba(15, 122, 107, 0.45);
}

.diff-out {
  min-height: 160px;
  max-height: 320px;
  overflow: auto;
  background: #f3f7f5;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  white-space: pre-wrap;
}

.diff-out .add { background: rgba(15, 122, 107, 0.12); color: #0b5c51; }
.diff-out .del { background: rgba(196, 92, 42, 0.12); color: #8f3f1a; }
.diff-out .same { color: var(--muted); }

.util-stats {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

/* —— 选型 —— */
.flow-panel {
  margin-top: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.flow-hero h3 {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.flow-hero p {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 18px;
}

.pick-grid {
  display: grid;
  gap: 12px;
}

.pick-card {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  padding: 14px;
  background: #f3f7f5;
  border-radius: 14px;
}

.pick-rank {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--display);
  font-weight: 800;
}

.pick-top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}

.pick-top strong {
  font-size: 15px;
}

.pick-badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 2px 8px;
  border-radius: 6px;
}

.pick-meta {
  color: var(--muted);
  font-size: 12px;
}

.pick-why {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 10px;
  line-height: 1.45;
}

.flow-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.flow-skip {
  color: var(--muted);
  font-size: 12px;
}

/* —— Skills 仓库 —— */
.skills-layout {
  display: grid;
  grid-template-columns: minmax(220px, 300px) 1fr;
  gap: 14px;
  margin-top: 8px;
  align-items: start;
}

.skills-list {
  display: grid;
  gap: 8px;
  max-height: min(70vh, 720px);
  overflow: auto;
  padding-right: 4px;
}

.skill-card {
  text-align: left;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.skill-card strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}

.skill-card .skill-id {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 6px;
}

.skill-card p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.skill-card.active {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 1px var(--accent-soft);
}

.skills-detail {
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  min-height: 280px;
}

.skill-hero h3 {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.skill-meta {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 8px;
}

.skill-meta code,
.skill-tip code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  background: #eef3f0;
  padding: 1px 6px;
  border-radius: 4px;
}

.skill-tip {
  color: var(--muted);
  font-size: 12px;
  margin: 10px 0 12px;
  line-height: 1.45;
}

.skill-body {
  margin: 0;
  padding: 14px;
  border-radius: 12px;
  background: #0f1a16;
  color: #d7ebe2;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: min(52vh, 560px);
  overflow: auto;
}

@media (max-width: 860px) {
  .skills-layout {
    grid-template-columns: 1fr;
  }
  .skills-list {
    max-height: none;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .skills-list {
    grid-template-columns: 1fr;
  }
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 40;
  background: var(--ink);
  color: #f4f8f6;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  box-shadow: var(--shadow);
}

.share-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(20, 32, 28, 0.45);
  display: grid;
  place-items: center;
  padding: 20px;
}

.share-modal[hidden] { display: none; }

.share-card {
  width: min(760px, 100%);
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow);
}

.share-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.share-card canvas {
  width: 100%;
  height: auto;
  border-radius: 12px;
  background: #e7efeb;
  display: block;
}

.dock,
.footer {
  margin-top: 16px;
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  background: var(--paper-soft);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 14px;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.hidden { display: none !important; }

@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  .desktop { width: calc(100% - 24px); padding-top: 12px; }
  .icon-grid { grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); }
  .search-mini input { width: 96px; }
  .search-mini input:focus { width: 130px; }
  .util-grid-2 { grid-template-columns: 1fr; }
  .menubar { flex-wrap: wrap; gap: 8px; }
  .nav { order: 3; width: 100%; justify-content: stretch; }
  .nav-item { flex: 1; text-align: center; padding: 8px 6px; }
  .share-btn { padding: 7px 10px; font-size: 11px; }
  .pin-btn { opacity: 1; }
}

/* —— 选型填空 / 详情 / 我的 —— */
.job-fill {
  margin-bottom: 16px;
  padding: 14px;
  background: #f3f7f5;
  border-radius: 14px;
}

.job-fill h4,
.job-skills h4,
.tool-detail-h {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
}

.job-fields {
  display: grid;
  gap: 10px;
}

.job-fields .util-field {
  display: grid;
  gap: 6px;
}

.job-fields .util-field > span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

.pick-preview {
  margin: 0 0 10px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 140px;
  overflow: auto;
  color: var(--ink-soft);
}

.job-skills {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.tool-detail-card,
.mine-card {
  width: min(560px, 100%);
}

.tool-detail-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: #f3f7f5;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  overflow: hidden;
}

.tool-detail-icon img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.tool-detail-desc {
  font-size: 14px;
  margin-bottom: 12px;
  color: var(--ink-soft);
}

.tool-detail-meta {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 13px;
}

.tool-detail-meta li span {
  display: inline-block;
  min-width: 48px;
  color: var(--muted);
  font-size: 12px;
  margin-right: 8px;
}

.mine-tabs {
  display: flex;
  gap: 14px;
  margin-bottom: 12px;
}

.mine-list {
  display: grid;
  gap: 10px;
  max-height: min(60vh, 480px);
  overflow: auto;
}

.mine-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  background: #f3f7f5;
  border-radius: 12px;
}

.mine-row.stack {
  flex-direction: column;
  align-items: stretch;
}

.mine-row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.muted-line {
  color: var(--muted);
  font-size: 13px;
  padding: 12px 0;
}

/* —— 本周推荐 —— */
.weekly-strip {
  margin-bottom: 14px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 122, 107, 0.2);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.weekly-strip[hidden] { display: none; }

.weekly-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.weekly-head strong {
  font-family: var(--display);
  font-size: 15px;
}

.weekly-head span {
  color: var(--muted);
  font-size: 12px;
}

.weekly-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.weekly-card {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 10px;
  align-items: center;
  text-align: left;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f7faf8;
  cursor: pointer;
}

.weekly-card:hover {
  border-color: rgba(15, 122, 107, 0.35);
  background: #fff;
}

.weekly-card img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
}

.weekly-card strong {
  display: block;
  font-size: 13px;
  margin-bottom: 2px;
}

.weekly-card p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* —— Skills 场景包 / 安装 —— */
.skill-packs {
  margin-bottom: 12px;
}

.packs-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 8px;
}

.packs-head strong {
  font-family: var(--display);
  font-size: 15px;
}

.packs-head span {
  color: var(--muted);
  font-size: 12px;
}

.packs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}

.pack-card {
  padding: 12px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

.pack-card strong {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
}

.pack-card p {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 10px;
  line-height: 1.4;
  min-height: 34px;
}

.skill-install {
  margin-bottom: 14px;
}

.install-card {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
  padding: 14px 16px;
  background: #f3f7f5;
  border-radius: 14px;
}

.install-card h4 {
  font-size: 13px;
  margin-bottom: 8px;
}

.install-steps {
  list-style: none;
  display: grid;
  gap: 6px;
}

.install-steps li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 8px;
  font-size: 12px;
  color: var(--ink-soft);
}

.install-steps .n {
  color: var(--accent);
  font-weight: 700;
}

.changelog {
  list-style: none;
  display: grid;
  gap: 6px;
}

.changelog li {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.4;
}

.changelog li span {
  display: inline-block;
  min-width: 78px;
  color: var(--muted);
  margin-right: 6px;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 900px) {
  .weekly-row { grid-template-columns: 1fr; }
  .packs-grid { grid-template-columns: 1fr 1fr; }
  .install-card { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .packs-grid { grid-template-columns: 1fr; }
}
