/* Accesso sempre visibile al percorso personale. */
.my-route-panel {
  margin: 18px 4vw 0;
}

.my-route-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  border: 1px solid color-mix(in srgb, var(--coral) 35%, var(--line));
  border-radius: var(--radius-lg);
  background: linear-gradient(115deg, color-mix(in srgb, var(--coral) 10%, var(--paper-2)), var(--white));
  box-shadow: var(--shadow-soft);
}

.my-route-mark {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 18px;
  background: var(--coral);
  color: #fff;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
}

.my-route-copy { min-width: 0; }
.my-route-copy .eyebrow-small { margin: 0 0 4px; color: var(--coral-dark); }
.my-route-copy h2 { margin: 0; color: var(--ink); font-size: clamp(1.35rem, 2.5vw, 1.85rem); }
.my-route-copy p:not(.eyebrow-small) { margin: 5px 0 0; color: var(--muted); font-size: .92rem; line-height: 1.4; }
.my-route-helper { display: block; margin-top: 10px; color: var(--coral-dark); font-size: .78rem; font-weight: 800; }

.my-route-action {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 18px;
  border: 1px solid var(--coral);
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
  font: inherit;
  font-size: .86rem;
  font-weight: 850;
  cursor: pointer;
  transition: transform .18s ease, filter .18s ease;
}
.my-route-action:hover,
.my-route-action:focus-visible { filter: brightness(.94); transform: translateY(-1px); outline: 3px solid color-mix(in srgb, var(--coral) 25%, transparent); outline-offset: 2px; }

.my-route-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.my-route-preview li { display: inline-flex; }
.my-route-stop {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 7px;
  padding: 4px 12px 4px 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: .78rem;
  cursor: pointer;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.my-route-stop:hover,
.my-route-stop:focus-visible {
  border-color: var(--coral);
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
  outline: 3px solid color-mix(in srgb, var(--coral) 25%, transparent);
  outline-offset: 2px;
}
.my-route-stop > span { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; background: color-mix(in srgb, var(--coral) 16%, var(--white)); color: var(--coral-dark); font-size: .72rem; font-weight: 900; }
.my-route-stop strong { font-weight: 800; }
.my-route-stop-go { color: var(--coral-dark); font-size: .82rem; transition: transform .18s ease; }
.my-route-stop:hover .my-route-stop-go,
.my-route-stop:focus-visible .my-route-stop-go { transform: translate(1px, -1px); }
.my-route-stop small { color: var(--muted); font-size: .7rem; }
.my-route-preview .my-route-more { display: inline-flex; min-height: 40px; align-items: center; padding-inline: 10px; color: var(--muted); font-weight: 800; }

@media (max-width: 700px) {
  .my-route-panel { margin-top: 14px; }
  .my-route-card { grid-template-columns: auto minmax(0, 1fr); gap: 14px; padding: 18px 16px; }
  .my-route-mark { width: 46px; height: 46px; border-radius: 15px; font-size: 1.65rem; }
  .my-route-copy h2 { font-size: 1.35rem; }
  .my-route-copy p:not(.eyebrow-small) { font-size: .85rem; }
  .my-route-action { grid-column: 1 / -1; width: 100%; min-height: 48px; }
  .my-route-preview { max-height: 96px; overflow: hidden; }
}
