/* 路线列表页（/trips）——对应 src/pages/trips-page.js */
.trips-hero { position: relative; height: 208px; overflow: hidden; color: white; }
.trips-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.trips-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,37,45,.05), rgba(18,37,45,.48)); }
.trips-hero-copy { position: absolute; z-index: 2; left: 23px; bottom: 23px; }
.trips-hero-copy h1 { font: 800 34px/1 var(--font-body); }
.trips-hero-copy p { margin-top: 8px; font-size: 14px; }
.trips-screen { background: #fff8ef; }
.trips-hero { height: 252px; border-radius: 0 0 28px 28px; }
.trips-header-actions { position: absolute; z-index: 2; top: 47px; left: 17px; right: 17px; display: flex; justify-content: space-between; }
.trips-header-actions h1 { color: var(--orange-dark); font: 800 25px/1 var(--font-serif); }
.trips-header-actions button { padding: 7px 11px; border-radius: 16px; background: rgba(255,255,255,.9); color: var(--muted); font-size: 10px; }
.trip-list { padding: 14px; display: grid; gap: 12px; }
.route-section-title { padding: 16px 16px 0; display: flex; justify-content: space-between; align-items: center; }
.route-section-title h2 { font: 700 18px/1.2 var(--font-serif); }
.route-section-title button { color: var(--muted); font-size: 10px; }
.new-route-button { margin: 3px 14px 0; width: calc(100% - 28px); height: 48px; border-radius: 24px; background: linear-gradient(90deg, var(--orange), #ffb32d); color: white; font-weight: 700; }
.recommend-grid { padding: 11px 14px 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.recommend-grid button { overflow: hidden; border-radius: 13px; background: white; box-shadow: var(--shadow-soft); text-align: left; }
.recommend-grid img { width: 100%; height: 62px; object-fit: cover; }
.recommend-grid span { padding: 7px; display: block; font-size: 10px; font-weight: 700; }

.trips-header-tools { display: flex; gap: 8px; align-items: center; }
.trips-header-tools > button { min-width: 150px; height: 34px; padding: 0 12px; border-radius: 18px; background: rgba(255,255,255,.92); color: #554b43; box-shadow: var(--shadow-soft); font-size: 10px; }
.saved-route-filter { padding: 7px 10px; border-radius: 16px; background: white; box-shadow: var(--shadow-soft); }
.saved-route-filter.is-active { background: var(--orange-soft); color: var(--orange-dark); }
.trip-list xc-trip-card { display: block; }
.trip-card { min-height: 150px; color: white; }
.trip-card-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.trip-card-wash { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(242, 92, 25, .95) 0 41%, rgba(242, 92, 25, .12) 65%, transparent); }
.trip-card--jade .trip-card-wash { background: linear-gradient(90deg, rgba(38, 165, 146, .95) 0 41%, rgba(38, 165, 146, .12) 65%, transparent); }
.trip-card--blue .trip-card-wash { background: linear-gradient(90deg, rgba(48, 153, 225, .95) 0 41%, rgba(48, 153, 225, .12) 65%, transparent); }
.trip-card-copy { position: relative; z-index: 2; width: 55%; padding: 19px; }
.trip-card-copy h3 { margin: 0; font-size: 23px; line-height: 1.15; }
.trip-card-copy p { margin-top: 5px; font-size: 11px; }
.trip-card-icons { margin-top: 8px; display: flex; gap: 4px; }
.trip-card-icons img { width: 27px; height: 24px; object-fit: contain; }
.trip-card-copy b { margin-top: 4px; font-size: 10px; }
.trip-card-arrow { position: absolute; z-index: 2; right: 14px; bottom: 13px; width: 34px; height: 34px; display: grid; place-items: center; border: 3px solid white; border-radius: 50%; background: var(--orange); color: white; font-size: 24px; }
.trip-card--jade .trip-card-arrow { background: var(--jade); }
.trip-card--blue .trip-card-arrow { background: var(--blue); }
.route-recommend-title { padding-top: 13px; }
.recommend-grid { grid-template-columns: repeat(4, 1fr); }
.recommend-grid img { height: 54px; }
.recommend-grid span, .recommend-grid strong, .recommend-grid small { display: block; }
.recommend-grid span { padding: 6px; }
.recommend-grid strong { font-size: 9px; }
.recommend-grid small { margin-top: 2px; color: var(--muted); font-size: 7px; }
.route-search-submit { width: 100%; margin-top: 10px; }

@media (max-width: 380px) {
  .trips-header-tools > button { min-width: 112px; }
}
