/* ── Trip bubble strip ── */
.trip-strip-wrap {
  flex-shrink: 0;
  border-bottom: 1px solid #ddd8c4;
  background: #ece8d4;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}
.trip-strip-wrap.visible { max-height: 150px; }

.user-row-avatar {
  width: 26px; height: 26px;
  border-radius: 50%; overflow: hidden;
  border: 1.5px solid #ccc8b2;
}
.user-row-avatar canvas { display: block; width: 100%; height: 100%; }

.user-row-name {
  font-size: 0.78rem;
  font-weight: 600;
  color: #666;
}

.timeline-scroll {
  overflow-x: auto;
  padding: 6px 16px 12px;
  scrollbar-width: none;
}
.timeline-scroll::-webkit-scrollbar { display: none; }

.timeline-inner {
  display: flex;
  align-items: flex-start;
  position: relative;
  min-width: max-content;
}

.timeline-inner::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 22px;
  right: 22px;
  height: 1.5px;
  background: #ccc8b2;
  z-index: 0;
}

.trip-bubble {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 0 14px;
  cursor: pointer;
  z-index: 1;
  -webkit-tap-highlight-color: transparent;
}

.trip-circle {
  width: 44px; height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #ccc8b2;
  transition: transform 0.15s, box-shadow 0.15s;
}
.trip-circle canvas { display: block; width: 100%; height: 100%; }

.trip-bubble:hover .trip-circle { transform: scale(1.1); }
.trip-bubble.newest .trip-circle {
  border-color: #1a1a1a;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.12);
}
.trip-bubble.selected .trip-circle {
  border-color: #1a1a1a;
  box-shadow: 0 0 0 3px rgba(0,0,0,0.18);
  transform: scale(1.08);
}

.trip-name {
  font-size: 0.62rem;
  color: #888;
  white-space: nowrap;
  max-width: 68px;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

.trip-date {
  font-size: 0.58rem;
  color: #aaa;
  text-align: center;
}

/* "+" bubble — create a new trip (own strip only) */
.trip-circle.plus {
  background: #f0ead6;
  border-style: dashed;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #999;
}
