/* 版式与细节 */
img{max-width:100%;height:auto}
pre,code,kbd,samp{font-family:ui-monospace,SFMono-Regular,Consolas,Monaco,monospace}
code{background:rgba(127,127,127,.15);padding:2px 6px;border-radius:6px}
blockquote{margin:1em 0;padding:0 1em;border-left:3px solid var(--border);color:var(--muted)}

/* 搜索框 */
.nb-search-form{margin:0;position:relative}
.nb-search-wrapper{display:flex;align-items:center;gap:8px;max-width:360px}
.nb-search-field{
  flex:1;
  border:1px solid var(--border);
  background:var(--surface);
  padding:10px 16px;
  border-radius:99px;
  color:var(--text);
  font-size:15px;
  transition:all .2s ease;
  min-width:200px;
}
.nb-search-field:focus{
  outline:none;
  border-color:var(--accent);
  box-shadow:0 0 0 3px rgba(var(--accent-rgb),.15);
}
.nb-search-field::placeholder{
  color:var(--muted);
  opacity:0.8;
}
.nb-search-submit{
  background:var(--accent);
  color:#fff;
  border:0;
  width:42px;
  height:42px;
  border-radius:50%;
  padding:0;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition:all .2s ease;
}
.nb-search-submit:hover{
  background:var(--accent-dark);
  transform:scale(1.05);
}
.nb-search-submit svg{
  width:18px;
  height:18px;
  stroke-width:2.5;
}

.widget{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:16px;margin-bottom:18px}
.widget-title{margin:0 0 10px}

.pagination{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin:32px 0}
.pagination .page-numbers{
  padding:10px 16px;
  border:1px solid var(--border);
  border-radius:12px;
  text-decoration:none;
  color:var(--text);
  transition:all 0.2s ease;
  font-weight:500;
}
.pagination .page-numbers:hover{
  background:rgba(50,185,237,.12);
  border-color:rgba(50,185,237,.3);
  color:#0ea5e9;
  text-decoration:none;
}
.pagination .current{
  background:rgba(50,185,237,.15);
  border-color:rgba(50,185,237,.3);
  color:#0ea5e9;
  font-weight:600;
}