:root{
  --bg:#f4f6f9;
  --card:#ffffff;
  --line:#e4eaf1;
  --line-2:#d3e2ee;
  --text:#111c2b;
  --dim:#6b7c8f;
  --soft:#93a3b5;
  --blue:#229ed9;
}
*{box-sizing:border-box}
body{
  margin:0;background:var(--bg);color:var(--text);
  font:15px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}
svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.mark svg{fill:currentColor;stroke:none}

.shell{
  display:grid;grid-template-columns:268px minmax(0,1fr);gap:56px;
  max-width:1080px;margin:0 auto;padding:52px 24px 72px;
}

/* ---------- 左侧 ---------- */
.side{position:sticky;top:52px;align-self:start}
.brand{display:flex;align-items:center;gap:10px}
.mark{
  width:34px;height:34px;flex:0 0 34px;border-radius:10px;padding:8px;color:#fff;
  background:linear-gradient(140deg,#34b3ea,#1687c2);
  box-shadow:0 6px 14px -6px rgba(34,158,217,.75);
}
.brand h1{margin:0;font-size:19px;font-weight:650;letter-spacing:-.2px}
.tip{margin:14px 0 0;color:var(--dim);font-size:13px;line-height:1.7}

.search{position:relative;margin-top:20px}
.search svg{
  position:absolute;left:12px;top:50%;transform:translateY(-50%);
  width:16px;height:16px;color:var(--soft);
}
.search input{
  width:100%;height:40px;padding:0 12px 0 36px;
  background:var(--card);border:1px solid var(--line);border-radius:10px;
  color:var(--text);font-size:14px;font-family:inherit;outline:0;
  transition:border-color .15s,box-shadow .15s;
}
.search input::placeholder{color:var(--soft)}
.search input:focus{
  border-color:var(--blue);
  box-shadow:0 0 0 3px rgba(34,158,217,.13);
}
.meta{margin:16px 0 0;color:var(--soft);font-size:12.5px}
.meta b{color:var(--dim);font-weight:600}

/* ---------- 右侧 ---------- */
main{min-width:0}
section + section{margin-top:40px}
h2{
  margin:0 0 14px;font-size:12px;font-weight:600;letter-spacing:.12em;
  text-transform:uppercase;color:var(--soft);
}

.list{display:grid;grid-template-columns:repeat(auto-fill,minmax(248px,1fr));gap:10px}
.item{
  display:flex;align-items:center;gap:10px;
  padding:11px 12px;border-radius:12px;background:var(--card);
  border:1px solid var(--line);
  box-shadow:0 1px 2px rgba(16,24,40,.04);
  transition:border-color .15s,box-shadow .15s,transform .15s;
}
.item:hover{
  border-color:var(--line-2);
  box-shadow:0 8px 20px -12px rgba(16,24,40,.35);
  transform:translateY(-1px);
}
.txt{flex:1;min-width:0}
.item .name{
  display:block;font-size:14px;font-weight:500;line-height:1.35;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.item .name em{
  font-style:normal;font-weight:400;color:var(--soft);
  font-size:12px;margin-left:6px;
}
.item .sub{
  display:block;font-size:11.5px;color:var(--soft);margin-top:1px;
  font-family:ui-monospace,Menlo,Consolas,monospace;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}

.acts{display:flex;align-items:center;gap:2px;flex-shrink:0}
.btn{
  height:28px;padding:0 9px;border:0;border-radius:7px;background:transparent;
  color:var(--dim);font-size:12.5px;font-family:inherit;cursor:pointer;
  display:inline-flex;align-items:center;
  transition:background .15s,color .15s;
}
.btn.copy:hover{background:#eef4f9;color:var(--text)}
.btn.go{background:var(--blue);color:#fff;font-weight:500}
.btn.go:hover{background:#1b8dc4}

.empty{color:var(--dim);font-size:13.5px;padding:14px 2px;margin:0}

.toast{
  position:fixed;left:50%;bottom:26px;transform:translate(-50%,14px);
  padding:9px 16px;border-radius:9px;background:#111c2b;color:#fff;
  font-size:13px;opacity:0;pointer-events:none;
  transition:opacity .18s,transform .18s;
  box-shadow:0 12px 28px -12px rgba(16,24,40,.5);
}
.toast.show{opacity:1;transform:translate(-50%,0)}

@media (max-width:860px){
  .shell{grid-template-columns:1fr;gap:28px;padding:32px 18px 56px}
  .side{position:static}
  .list{grid-template-columns:1fr}
  section + section{margin-top:32px}
}
