/* 视频项目页 · 从 public/exact/projects.html 内联 <style> 忠实移植,整段 scope 进 .projects-page。
   tabs/chip/toolbar/search-inline/result-meta 走全局 design-restraint(restraint 版);此处只覆盖 proj-* / view-toggle 等页面专属。 */
.projects-page {
  /* ─── List view ─── */
  .proj-name-cell { display: flex; align-items: center; gap: 12px; }
  .proj-thumb { width: 40px; height: 52px; flex-shrink: 0; border-radius: var(--r-md); }
  .proj-name { font-weight: 600; color: var(--accent-black); font-size: 13.5px; }
  .proj-sub { font-size: 11.5px; color: var(--black-alpha-48); margin-top: 3px; font-family: var(--font-mono); letter-spacing: .02em; }
  .row-action { display: flex; gap: 4px; visibility: hidden; }
  table.t tbody tr:hover .row-action { visibility: visible; }
  .row-action a { width: 28px; height: 28px; display: grid; place-items: center; color: var(--black-alpha-56); border-radius: var(--r-md); }
  .row-action a:hover { background: var(--surface); color: var(--heat); border: 1px solid var(--border-faint); }

  /* ─── View toggle ─── */
  .view-toggle { display: inline-flex; border: 1px solid var(--border-faint); border-radius: var(--r-md); overflow: hidden; }
  .view-toggle button { padding: 0 14px; background: var(--surface); color: var(--black-alpha-56); font-size: 13px; border-right: 1px solid var(--border-faint); border-radius: 0; height: 36px; cursor: pointer; font-family: inherit; display: flex; align-items: center; gap: 6px; transition: background var(--t-base), color var(--t-base); }
  .view-toggle button:last-child { border-right: 0; }
  .view-toggle button:hover { background: var(--background-lighter); color: var(--accent-black); }
  .view-toggle button.active { background: var(--heat-12); color: var(--heat); font-weight: 600; }
  .view-toggle button svg { width: 13px; height: 13px; }

  /* ─── Grid view ─── */
  .proj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
  .proj-card { background: var(--surface); border: 1px solid var(--border-faint); border-radius: var(--r-md); cursor: pointer; transition: background .15s; display: flex; flex-direction: column; position: relative; }
  .proj-card:hover { background: var(--background-lighter); border-color: var(--black-alpha-48); }
  .proj-card .card-thumb { aspect-ratio: 9/16; max-height: 280px; border-radius: var(--r-md) var(--r-md) 0 0; }
  .row-more { position: relative; display: inline-flex; cursor: pointer; align-items: center; color: var(--black-alpha-56); padding: 4px; }
  .row-more:hover { color: var(--accent-black); }
  .row-more-tip { position: absolute; top: calc(100% + 6px); right: 0; background: var(--surface); border: 1px solid var(--border-faint); border-radius: var(--r-md); box-shadow: 0 4px 16px rgba(0,0,0,.08); padding: 4px; min-width: 110px; opacity: 0; pointer-events: none; transform: translateY(-2px); transition: opacity .15s, transform .15s; z-index: 12; }
  .row-more-tip::before { content: ''; position: absolute; top: -8px; left: 0; right: 0; height: 8px; }
  .row-more:hover .row-more-tip, .row-more-tip:hover { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .row-more-tip .mi { display: flex; align-items: center; gap: 6px; width: 100%; padding: 6px 10px; background: transparent; border: 0; border-radius: var(--r-sm); cursor: pointer; font-size: 12.5px; color: var(--accent-black); font-family: inherit; text-align: left; transition: background var(--t-base), color var(--t-base); }
  .row-more-tip .mi:hover { background: var(--crimson-bg, #fdebea); color: var(--accent-crimson, #c43d3d); }
  .row-more-tip .mi svg { width: 13px; height: 13px; }
  .btn.active { background: var(--accent-black); color: var(--accent-white); border-color: var(--accent-black); }
  .proj-card .card-body { padding: 14px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
  .proj-card .card-name { font-size: 13.5px; font-weight: 600; color: var(--accent-black); line-height: 1.4; }
  .proj-card .card-sub { font-size: 11.5px; color: var(--black-alpha-48); font-family: var(--font-mono); letter-spacing: .02em; }
  .proj-card .card-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 10px; border-top: 1px solid var(--border-faint); margin-top: auto; }
  .proj-card .card-time { font-family: var(--font-mono); font-size: 10.5px; color: var(--black-alpha-48); letter-spacing: .02em; }

  /* chip 下拉容器(默认收起)· chip 本体/caret 走全局 restraint .chip */
  .chip-wrap { position: relative; }
}
