/* ---------- 路線・駅検索 ---------- */
.line-search {
  position: relative;
  width: min(92vw, 430px);
  margin-bottom: 14px;
}
.line-search input {
  width: 100%;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid #E7E7E2;
  background: #fff;
  font-family: inherit;
  font-size: 13.5px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
/* iOS Safari は16px未満の入力欄にフォーカスすると画面ごと自動ズームし、
   選択後も倍率が戻らない。タッチ端末では16pxにして抑止する */
@media (pointer: coarse) {
  .line-search input { font-size: 16px; }
}
.line-search input::placeholder { color: var(--faint); }
.line-search input:focus {
  border-color: var(--line-color);
  box-shadow: 0 0 0 3px var(--chip-bg, rgba(0,0,0,0.04));
}
/* 検索候補のドロップダウン */
.suggest {
  position: absolute;
  top: calc(100% + 7px);
  left: 0; right: 0;
  background: #fff;
  border: 1px solid #E7E7E2;
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(20, 20, 15, 0.13), 0 2px 8px rgba(20, 20, 15, 0.05);
  max-height: min(46vh, 340px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 6px;
  z-index: 30;
}
.suggest[hidden] { display: none; }
.s-head {
  padding: 8px 12px 3px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--muted);
}
.s-item {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 9px 12px;
  border: none;
  border-radius: 12px;
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.s-item .dot {
  flex: none;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--s-color, #CFCFC8);
}
.s-item .s-sub {
  margin-left: auto;
  padding-left: 10px;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 55%;
}
.s-item.active, .s-item:hover { background: #F3F3EF; }
.s-more {
  padding: 6px 12px 8px;
  font-size: 11px;
  color: var(--faint);
  letter-spacing: 0.08em;
}
