/* ============================================================
 * study-v2-search.css —— 搜索框 / 全表列表 / 详情页补充样式
 * ============================================================ */

/* 搜索框 */
:root:root body #study-root .sv-searchbar { margin: 0 0 12px !important; }
:root:root body #study-root .sv-searchbar input {
  width: 100% !important; min-height: 46px !important; border-radius: 14px !important;
  border: 1px solid rgba(107,87,64,.14) !important; background: #fff !important;
  padding: 0 14px !important; font-size: 14px !important; color: #3f3730 !important;
  box-shadow: 0 2px 0 rgba(107,87,64,.06) !important;
  -webkit-appearance: none; appearance: none;
}
:root:root body #study-root .sv-searchbar input::placeholder { color: #b3a89b !important; font-size: 13px !important; }

/* 列表行：单词 / 语法 */
:root:root body #study-root .sv-row {
  display: flex !important; flex-wrap: wrap !important; align-items: baseline !important; gap: 6px !important;
  width: 100% !important; text-align: left !important; min-height: 52px !important;
  padding: 11px 14px !important; margin: 0 0 8px !important; border-radius: 14px !important;
  border: 1px solid rgba(107,87,64,.10) !important; background: #fff !important;
  box-shadow: 0 1px 0 rgba(107,87,64,.06) !important; color: #3f3730 !important;
}
:root:root body #study-root .sv-row b {
  font-size: 15.5px !important; ; color: #3f3730 !important;
}
:root:root body #study-root .sv-row i {
  font-size: 12.5px !important; color: #8a8073 !important; font-style: normal !important;
}
:root:root body #study-root .sv-row em {
  font-size: 12.5px !important; color: #6f6cc0 !important; font-style: normal !important;
  width: 100% !important; margin-top: 2px !important; line-height: 1.4 !important;
}
:root:root body #study-root .sv-row:active { transform: translateY(1px); }

/* 详情页里的相关语法标题 */
:root:root body #study-root .sv-section-title { margin-top: 16px !important; }

/* 深色适配 */
@media (prefers-color-scheme: dark) {
  :root:root body #study-root .sv-searchbar input { background: #2a2622 !important; color: #ece7df !important; border-color: rgba(255,255,255,.10) !important; }
  :root:root body #study-root .sv-row { background: #2a2622 !important; border-color: rgba(255,255,255,.08) !important; }
  :root:root body #study-root .sv-row b { color: #ece7df !important; }
  :root:root body #study-root .sv-row i { color: #b8ae9f !important; }
  :root:root body #study-root .sv-row em { color: #a9a3e8 !important; }
}
