/* Quarry 全站检索(/quarry,2026-10-17):极简黑白,字号、灰度、间距沿用 Console / Pulse / Corner。
   搜索框只有一条细黑线;结果:标题 15.5px 黑、摘要 13.5px 灰(最多 2 行,手机 3 行)、类型 · 日期 13px 浅灰;命中的词用浅灰荧光笔衬底。
   整条结果都能点;按钮、翻页的可点区域都不小于 44px;手机上输入框 17px(≥16px,iOS 不会自动放大)。 */
.georges-quarry {
  max-width: 560px;
  color: #0a0a0a;
  font-family: quattrocento, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Noto Sans SC, Noto Sans CJK SC, Source Han Sans SC, sans-serif;
}
.georges-quarry .gq-form {
  display: flex;
  align-items: center;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid #0a0a0a !important;
  background: none !important;
}
.georges-quarry .gq-input {
  flex: 1;
  min-width: 0;
  height: 46px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  color: #0a0a0a !important;
  font-family: inherit !important;
  font-size: 18px !important;
  line-height: 46px !important;
  letter-spacing: .02em;
  -webkit-appearance: none;
  appearance: none;
}
.georges-quarry .gq-input::placeholder { color: #b5b5b5; opacity: 1; letter-spacing: .06em; }
.georges-quarry .gq-input::-webkit-search-cancel-button,
.georges-quarry .gq-input::-webkit-search-decoration { -webkit-appearance: none; display: none; }
.georges-quarry .gq-btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px !important;
  height: 44px !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  color: #9a9a9a !important;
  cursor: pointer;
  transition: color .2s ease !important; /* 主题给按钮的 transition: all 会让清空按钮慢半拍才消失 */
  -webkit-tap-highlight-color: transparent;
}
.georges-quarry .gq-btn:hover,
.georges-quarry .gq-btn:focus-visible { color: #0a0a0a !important; }
.georges-quarry .gq-btn svg { display: block; width: 19px; height: 19px; }
.georges-quarry .gq-clear svg { width: 17px; height: 17px; }
.georges-quarry .gq-go { margin-right: -12px !important; } /* 放大镜贴着细线右端 */
.georges-quarry .gq-clear { visibility: hidden; }
.georges-quarry.gq-has-text .gq-clear { visibility: visible; }

.georges-quarry .gq-count,
.georges-quarry .gq-note { margin: 16px 0 24px !important; padding: 0 !important; font-size: 13px; line-height: 1.6; color: #999; }

.georges-quarry ol.gq-list { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.georges-quarry .gq-list > li { position: relative; list-style: none !important; margin: 0 0 22px !important; padding: 0 !important; }
.georges-quarry .gq-list > li::marker { content: none; }
.georges-quarry a.gq-title {
  display: block;
  font-size: 15.5px;
  line-height: 1.5;
  color: #0a0a0a !important;
  text-decoration: none !important;
  overflow-wrap: anywhere;
}
.georges-quarry a.gq-title::after { content: ""; position: absolute; inset: 0; } /* 整条都能点 */
.georges-quarry .gq-list > li:hover a.gq-title { color: #777 !important; }
.georges-quarry .gq-snip {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin: 4px 0 0 !important;
  padding: 0 !important;
  font-size: 13.5px;
  line-height: 1.7;
  color: #777;
  overflow-wrap: anywhere;
}
.georges-quarry .gq-meta { margin-top: 4px; font-size: 13px; line-height: 1.6; color: #999; }
.georges-quarry .gq-sep { margin: 0 6px; color: #ccc; }
.georges-quarry mark {
  padding: 0 !important;
  border-radius: 0;
  background: none !important;
  color: inherit !important;
  box-shadow: inset 0 -.42em 0 #e6e6e6;
}
.georges-quarry .gq-snip mark { color: #0a0a0a !important; }

.georges-quarry .gq-pages { display: flex; align-items: center; flex-wrap: wrap; margin-top: 30px; font-size: 13px; line-height: 1.6; color: #999; }
.georges-quarry .gq-pages a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  color: #555 !important;
  text-decoration: none !important;
}
.georges-quarry .gq-pages a:first-child { padding-left: 0; }
.georges-quarry .gq-pages a:hover { color: #0a0a0a !important; }
.georges-quarry .gq-pos { padding: 0 12px; font-variant-numeric: tabular-nums; }
.georges-quarry .gq-pages .gq-pos:first-child { padding-left: 0; }

/* 电脑端:搜索框那一行和左侧菜单的 Journal 对齐(同 Console) */
@media (min-width: 1024px) {
  .georges-quarry { margin-top: 58px; }
}
@media (max-width: 1023px) {
  .georges-quarry .gq-input { font-size: 17px !important; }
  .georges-quarry .gq-snip { -webkit-line-clamp: 3; }
  .georges-quarry .gq-list > li { margin-bottom: 20px !important; }
}
