/* 移民最远区服计算器 */
#fm-app { max-width: 720px; }
#fm-app * { box-sizing: border-box; }
.fm-hint { color: #8a6d00; background: #fff7e6; border: 1px solid #ffe1a8; border-radius: 8px; padding: 8px 12px; font-size: 13px; margin-bottom: 12px; line-height: 1.6; }
.fm-row { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.fm-row label { width: 112px; font-size: 14px; color: #333; flex-shrink: 0; }
.fm-row input { flex: 1; min-width: 0; max-width: 220px; padding: 9px 12px; border: 1px solid #d0d7de; border-radius: 8px; font-size: 14px; background: #fff; }
.fm-row input:focus { outline: none; border-color: #3a7afe; }
.fm-unit { color: #667; font-size: 13px; }
.fm-btn { background: #0276ff; color: #fff; border: 0; border-radius: 10px; padding: 12px 0; width: 100%; font-size: 16px; font-weight: 700; cursor: pointer; }
.fm-btn:active { background: #0160d4; }
.fm-card { background: #fff; border: 1px solid #e6ebf2; border-radius: 10px; padding: 14px 16px; margin-top: 14px; }
.fm-line { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid #f1f4f9; font-size: 14px; color: #333; }
.fm-line:last-child { border-bottom: 0; }
.fm-line b { color: #045dca; font-size: 17px; white-space: nowrap; }
.fm-sub { color: #7b8794; font-size: 12.5px; margin-top: 8px; line-height: 1.7; }
.fm-title { font-weight: 700; color: #0a2d5c; font-size: 15px; margin: 16px 0 8px; }
.fm-hop { padding: 9px 0; border-bottom: 1px solid #f1f4f9; font-size: 13.5px; line-height: 1.7; color: #333; }
.fm-hop:last-child { border-bottom: 0; }
.fm-hop-d { color: #7b8794; font-size: 12.5px; }
.fm-dest { color: #045dca; font-weight: 700; }
.fm-dest.over { color: #c0392b; }
.fm-arrive { color: #1a7f37; font-weight: 700; }
.fm-tail { font-size: 13.5px; color: #8a6d00; background: #fff7e6; border-radius: 8px; padding: 9px 12px; margin-top: 10px; line-height: 1.7; }
.fm-muted { color: #7b8794; font-size: 13.5px; line-height: 1.7; }
.fm-warn { color: #c0392b; font-size: 13.5px; line-height: 1.7; }
.fm-count { font-size: 15px; color: #0a2d5c; margin: 14px 0 0; font-weight: 700; }
.fm-count b { color: #e2574c; font-size: 20px; }
.fm-foot { color: #9aa4b2; font-size: 12px; margin-top: 12px; }
@media (max-width: 560px) {
  .fm-row label { width: 100%; }
  .fm-row input { max-width: 100%; }
  .fm-line { font-size: 13px; }
  .fm-line b { font-size: 16px; }
}
