/* Layout app utente (mobile-first) — RanaAgileGO. */

/* ── TOPBAR (solo pagine auth) ─────────────────────────────────────────── */
.user-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
  background: rgba(247, 248, 243, 0.92);
  border-bottom: 1px solid var(--border);
}
.user-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0;
  gap: 1rem;
}
.auth-card__logo {
  display: flex;
  justify-content: center;
  margin: 0 0 1.35rem;
}
.auth-card__logo img {
  width: min(168px, 48vw);
  height: auto;
  display: block;
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.user-brand {
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.04em;
  color: var(--charcoal-brown);
}

/* Link “Registrati” sulla pagina login (evidenziato rispetto al testo attenuato) */
.auth-card .auth-register-link {
  font-weight: 800;
  color: #2d4a24;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}
.auth-card .auth-register-link:hover,
.auth-card .auth-register-link:focus-visible {
  color: var(--charcoal-brown);
}

/* Riga “Powered by” in fondo al contenuto della pagina (sopra la tabbar in scroll) */
.user-credit-bar {
  text-align: center;
  font-size: 0.64rem;
  line-height: 1.2;
  color: #5a7260;
  margin: 0;
  letter-spacing: 0.02em;
}
.user-credit-bar--page-footer {
  margin-top: 1.25rem;
  padding: 0.75rem 0.25rem 0;
  border-top: 1px solid var(--border);
}
.user-credit-bar__label {
  font-weight: 500;
  margin-right: 0.2rem;
  color: #5a7260;
}
.user-credit-bar__link {
  color: #2d4a24;
  font-weight: 800;
  text-decoration: none;
}
.user-credit-bar__link:hover,
.user-credit-bar__link:focus-visible {
  color: #1e3318;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Chip admin flottante (solo utenti admin nelle pagine utente) */
.user-admin-chip {
  position: fixed;
  top: max(0.65rem, env(safe-area-inset-top));
  right: max(0.85rem, env(safe-area-inset-right));
  z-index: 50;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--charcoal-brown);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(63, 71, 57, 0.1);
}

/* Le pagine utente gestiscono il loro hero: container senza padding top */
.user-main--home {
  padding-top: 0;
}
.page-shell.user-main {
  padding-top: 0.25rem;
  padding-bottom: 3rem;
}
.page-shell.user-main--home {
  padding-top: 0;
}

/* Presentazione / crediti (Roberto Libanora) */
.user-main--roberto {
  padding-top: 0;
}
.roberto-hero {
  position: relative;
  margin: 0 -1rem 0;
  width: calc(100% + 2rem);
  padding: calc(0.75rem + env(safe-area-inset-top, 0px)) 1.25rem 1.1rem;
  background: linear-gradient(135deg, rgba(241, 191, 152, 0.5) 0%, rgba(225, 244, 203, 0.88) 100%);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(63, 71, 57, 0.07);
  overflow: hidden;
}
.roberto-hero__texture {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  pointer-events: none;
  background-image: radial-gradient(circle at 1.5px 1.5px, var(--dry-sage) 1px, transparent 0);
  background-size: 16px 16px;
}
.roberto-back {
  position: relative;
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--charcoal-brown);
  margin-bottom: 0.65rem;
  opacity: 0.9;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.roberto-hero__title {
  position: relative;
  font-size: clamp(1.35rem, 4.2vw, 1.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 0 0 0.25rem 0;
  line-height: 1.1;
  color: var(--charcoal-brown);
}
.roberto-hero__sub {
  position: relative;
  margin: 0;
  font-size: 0.88rem;
}
.roberto-bio {
  padding-top: 0.5rem;
}
.roberto-bio__card {
  padding: 1.1rem 1rem;
  margin-top: 0.25rem;
}
.roberto-bio__header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1rem;
  text-align: left;
}
.roberto-avatar {
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(225, 244, 203, 0.95) 0%, rgba(241, 191, 152, 0.55) 100%);
  border: 2px solid var(--border);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--charcoal-brown);
  box-shadow: var(--shadow);
}
.roberto-avatar--photo {
  padding: 0;
  overflow: hidden;
  background: var(--card);
}
.roberto-avatar--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.roberto-bio__name {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--charcoal-brown);
  margin: 0 0 0.2rem 0;
}
.roberto-bio__tagline {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.35;
}
.roberto-bio__text p {
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0 0 0.9rem 0;
  color: var(--charcoal-brown);
}
.roberto-bio__text p strong {
  color: #2d4a24;
  font-weight: 700;
}
.roberto-bio__list {
  list-style: none;
  margin: 0 0 1rem 0;
  padding: 0 0 0 0.1rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--charcoal-brown);
}
.roberto-bio__list li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.45rem;
}
.roberto-bio__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.32rem;
  height: 0.32rem;
  border-radius: 50%;
  background: var(--dry-sage);
}
.roberto-bio__cta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
  padding: 1rem;
}
.roberto-bio__cta-text {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin: 0 0 0.1rem 0;
}
.roberto-bio__mail {
  text-align: center;
  font-size: 0.86rem;
  word-break: break-all;
}
.roberto-bio__footer {
  text-align: center;
  font-size: 0.75rem;
  line-height: 1.5;
  margin: 0.5rem 0 0 0;
  padding-bottom: 0.5rem;
}
.roberto-bio__footer strong {
  color: var(--charcoal-brown);
  font-weight: 700;
}
@media (min-width: 600px) {
  .roberto-bio__header {
    gap: 1.15rem;
  }
  .roberto-avatar {
    width: 4.25rem;
    height: 4.25rem;
    font-size: 1.05rem;
  }
  .roberto-avatar--photo {
    width: 4.5rem;
    height: 4.5rem;
  }
}

/* ── HERO HOME ─────────────────────────────────────────────────────────── */
/* position relative (niente sticky): lo sticky sui blocchi header + WebKit potevano “spezzare” lo scroll. */
.user-hero {
  position: relative;
  z-index: 1;
  margin: 0 -1rem 0;
  width: calc(100% + 2rem);
  padding: calc(1.15rem + env(safe-area-inset-top)) 1.25rem 1.35rem;
  background: linear-gradient(135deg, rgba(241, 191, 152, 0.55) 0%, rgba(225, 244, 203, 0.9) 100%);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 14px rgba(63, 71, 57, 0.08);
  overflow: hidden;
}
.user-hero__texture {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  pointer-events: none;
  background-image: radial-gradient(circle at 1.5px 1.5px, var(--dry-sage) 1px, transparent 0);
  background-size: 18px 18px;
}
.user-hero__row {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
}
.user-hero__eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--charcoal-brown);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 0.35rem;
  opacity: 0.85;
}
.user-hero h1 {
  font-size: clamp(1.45rem, 5.5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin: 0 0 0.35rem;
}
.user-hero__sub {
  font-size: 0.88rem;
  color: var(--dim-grey);
  margin: 0;
  line-height: 1.4;
}
.user-avatar {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  flex-shrink: 0;
  margin-top: 0.15rem;
  background: var(--charcoal-brown);
  border: 2.5px solid rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--frosted-mint);
  letter-spacing: 0.03em;
}
.user-avatar--emoji {
  background: var(--u-av-bg, var(--dry-sage)) !important;
  color: inherit;
  font-weight: 500;
  letter-spacing: 0;
}
.user-avatar--emoji span {
  line-height: 1;
  font-size: 1.22rem;
}
.user-avatar--lg.user-avatar--emoji span {
  font-size: 1.45rem;
}

/* ── BANNER SESSIONE ATTIVA ───────────────────────────────────────────── */
.user-active-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: var(--charcoal-brown);
  color: #fff;
  box-shadow: 0 4px 22px rgba(63, 71, 57, 0.22);
}
.user-active-banner__eyebrow {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dry-sage);
  margin-bottom: 0.25rem;
}
.user-active-banner h2 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 0.2rem;
  line-height: 1.2;
}
.user-active-banner .muted {
  color: rgba(225, 244, 203, 0.65);
  font-size: 0.8rem;
  margin: 0;
}
.user-active-banner .muted strong {
  color: rgba(225, 244, 203, 0.92);
}
.user-active-banner .btn {
  background: var(--frosted-mint);
  color: var(--charcoal-brown);
  border: none;
  font-size: 0.82rem;
  padding: 0.55rem 0.95rem;
  border-radius: 10px;
  white-space: nowrap;
}

/* ── CTA SOFT ─────────────────────────────────────────────────────────── */
.user-cta-soft {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(241, 191, 152, 0.2), rgba(225, 244, 203, 0.62));
  border: 1.5px solid rgba(186, 203, 169, 0.38);
}
.user-cta-soft h2 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 0.2rem;
}
.user-cta-soft .muted {
  font-size: 0.8rem;
  margin: 0;
}
.user-cta-soft .btn-primary {
  font-size: 0.82rem;
  padding: 0.55rem 0.95rem;
  border-radius: 10px;
}

/* ── SEZIONI ──────────────────────────────────────────────────────────── */
.user-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}
.user-section-head h2 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.02em;
}
.user-link-subtle {
  background: none;
  border: none;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  color: #5a6b4a;
  cursor: pointer;
  text-decoration: none;
  padding: 0.25rem 0;
}

/* ── SCROLL ORIZZONTALE CONSIGLIATI ───────────────────────────────────── */
.user-suggest-scroll {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  padding: 0.15rem 0 0.4rem;
  margin: 0 -0.15rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.user-suggest-scroll::-webkit-scrollbar {
  display: none;
}
.user-suggest-card {
  flex: 0 0 11.5rem;
  scroll-snap-align: start;
  background: var(--card);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 2px 14px rgba(63, 71, 57, 0.07);
  color: inherit;
  text-decoration: none;
  display: block;
}
.user-suggest-card__img {
  height: 5.5rem;
  width: 100%;
  object-fit: cover;
  display: block;
}
.user-suggest-card__body {
  padding: 0.55rem 0.7rem 0.65rem;
}
.user-suggest-card__body h3 {
  font-size: 0.78rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.02em;
}
.user-suggest-card__meta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.7rem;
}

/* ── TILE NOLEGGIO ────────────────────────────────────────────────────── */
.user-noleggio-tile {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 0.9rem;
  border-radius: 16px;
  background: var(--card);
  border: 1.5px solid var(--border);
  box-shadow: 0 2px 14px rgba(63, 71, 57, 0.07);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.user-noleggio-tile:hover {
  box-shadow: 0 4px 18px rgba(63, 71, 57, 0.1);
  border-color: rgba(186, 203, 169, 0.55);
}
.user-noleggio-tile__icon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 11px;
  background: rgba(225, 244, 203, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--charcoal-brown);
}
.user-noleggio-tile__icon svg {
  width: 1.15rem;
  height: 1.15rem;
}
.user-noleggio-tile__text {
  flex: 1;
  min-width: 0;
  display: block;
}
.user-noleggio-tile__text strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}
.user-noleggio-tile__text span {
  font-size: 0.72rem;
  color: var(--dim-grey);
}
.user-noleggio-tile__chev {
  color: #a8b29a;
  flex-shrink: 0;
}

/* ── STORICO PERCORSI ─────────────────────────────────────────────────── */
.user-history-block {
  background: var(--card);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 2px 14px rgba(63, 71, 57, 0.07);
}
.user-history-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.8rem;
  color: inherit;
  text-decoration: none;
}
.user-history-row + .user-history-row {
  border-top: 1px solid var(--border);
}
.user-history-thumb {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}
.user-history-row__text {
  flex: 1;
  min-width: 0;
}
.user-history-row__text strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.user-history-row__text .muted {
  font-size: 0.7rem;
  margin: 0.1rem 0 0;
}
.user-stars {
  color: #c9a227;
  font-size: 0.75rem;
  letter-spacing: -0.12em;
  flex-shrink: 0;
}
.user-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.user-page-pad {
  padding: 0.9rem 0 0.25rem;
}

/* ── BADGE DIFFICOLTÀ ─────────────────────────────────────────────────── */
.diff-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  margin-left: auto;
}
.diff-badge--facile {
  background: rgba(186, 203, 169, 0.35);
  color: #2d3d28;
}
.diff-badge--media {
  background: rgba(241, 191, 152, 0.45);
  color: #5c3d20;
}
.diff-badge--difficile {
  background: rgba(255, 200, 190, 0.45);
  color: #6b2a1e;
}

/* ── PERCORSI: HEADER + PILLOLE TAG ───────────────────────────────────── */
.user-percorsi-head {
  position: relative;
  z-index: 1;
  background: var(--card);
  margin: 0 -1rem 0.75rem;
  width: calc(100% + 2rem);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 14px rgba(63, 71, 57, 0.08);
  padding: calc(0.35rem + env(safe-area-inset-top)) 0 0.15rem;
}
.user-percorsi-head__inner {
  padding: 0.5rem 1rem 0.35rem;
}
.user-percorsi-head__eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dim-grey);
  margin-bottom: 0.2rem;
}
.user-percorsi-head h1 {
  font-size: clamp(1.35rem, 5vw, 1.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 0;
}
.user-tag-scroll {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding: 0.6rem 1rem 0.85rem;
  -webkit-overflow-scrolling: touch;
}
.user-tag-scroll::-webkit-scrollbar {
  display: none;
}
.user-tag-pill {
  display: inline-flex;
  padding: 0.38rem 0.8rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  color: var(--dim-grey);
  background: var(--card);
  box-shadow: 0 0 0 1.5px var(--border);
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}
.user-tag-pill:hover {
  color: var(--charcoal-brown);
}
.user-tag-pill.is-active {
  background: var(--charcoal-brown);
  color: #fff;
  box-shadow: none;
}
.user-percorsi-count {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--dim-grey);
  margin: 0.15rem 0 0.1rem;
}

/* ── CARD PERCORSO (lista) ────────────────────────────────────────────── */
.route-card-v2 {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 2px 14px rgba(63, 71, 57, 0.07);
  transition: box-shadow 0.18s ease, border-color 0.18s ease;
  display: block;
  color: inherit;
  text-decoration: none;
}
.route-card-v2:hover {
  box-shadow: 0 6px 24px rgba(63, 71, 57, 0.12);
}
.route-card-v2--pick {
  border-color: rgba(186, 203, 169, 0.55);
  box-shadow: 0 4px 20px rgba(63, 71, 57, 0.1);
}
.route-card-v2__media {
  position: relative;
  height: 8rem;
  overflow: hidden;
}
.route-card-v2__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.route-card-v2__shade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3.5rem;
  background: linear-gradient(to top, rgba(30, 38, 26, 0.62), transparent);
  pointer-events: none;
}
.route-card-v2__pick {
  position: absolute;
  top: 0.5rem;
  left: 0.55rem;
  background: var(--charcoal-brown);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  z-index: 1;
}
.route-card-v2__tags {
  position: absolute;
  bottom: 0.45rem;
  left: 0.55rem;
  right: 0.55rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  z-index: 1;
}
.route-card-v2__tags span {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 600;
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
}
.route-card-v2__body {
  padding: 0.75rem 0.9rem 0.9rem;
}
.route-card-v2__body h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.route-card-v2__body > .muted {
  font-size: 0.78rem;
  line-height: 1.45;
  margin: 0 0 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.route-card-v2__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
}
.route-card-v2__meta .muted {
  font-size: 0.75rem;
  font-weight: 500;
}

/* ── PROFILO ──────────────────────────────────────────────────────────── */
.user-profile-hero {
  position: relative;
  z-index: 1;
  margin: 0 -1rem 0.75rem;
  width: calc(100% + 2rem);
  padding: calc(1rem + env(safe-area-inset-top)) 1.1rem 1.1rem;
  background: linear-gradient(135deg, rgba(241, 191, 152, 0.5) 0%, rgba(225, 244, 203, 0.85) 100%);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 14px rgba(63, 71, 57, 0.08);
  overflow: hidden;
}
.user-profile-hero__tex {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  pointer-events: none;
  background-image: radial-gradient(circle at 1.5px 1.5px, var(--dry-sage) 1px, transparent 0);
  background-size: 18px 18px;
}
.user-profile-hero__row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.user-avatar--lg {
  width: 3.2rem;
  height: 3.2rem;
  font-size: 1rem;
  border-width: 3px;
  margin-top: 0;
}
.user-profile-hero h1 {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 0 0.15rem;
  letter-spacing: -0.03em;
}
.user-profile-hero .muted {
  font-size: 0.8rem;
  margin: 0;
}
.user-stats-bar {
  display: flex;
  background: var(--card);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 2px 14px rgba(63, 71, 57, 0.07);
}
.user-stats-bar__cell {
  flex: 1;
  text-align: center;
  padding: 0.75rem 0.35rem;
}
.user-stats-bar__cell + .user-stats-bar__cell {
  border-left: 1px solid var(--border);
}
.user-stats-bar__val {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--charcoal-brown);
  line-height: 1.1;
}
.user-stats-bar__label {
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--dim-grey);
  margin-top: 0.2rem;
}
.user-account-card {
  background: var(--card);
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 14px rgba(63, 71, 57, 0.07);
  overflow: hidden;
}
.user-account-card__head {
  padding: 0.55rem 0.9rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dim-grey);
}
.user-account-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.7rem 0.9rem;
  font-size: 0.85rem;
}
.user-account-row + .user-account-row {
  border-top: 1px solid var(--border);
}
.user-account-row__label {
  color: var(--charcoal-brown);
  font-weight: 500;
}
.user-account-row__link {
  color: #2d4a24;
  font-weight: 700;
  text-decoration: none;
  text-align: right;
}
.user-account-row__link:hover,
.user-account-row__link:focus-visible {
  color: #1e3318;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.user-pref-pill {
  display: inline-flex;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(225, 244, 203, 0.75);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--charcoal-brown);
}

/* ── DETTAGLIO PERCORSO ───────────────────────────────────────────────── */
.user-route-hero {
  position: relative;
  margin: 0 -1rem 0;
  width: calc(100% + 2rem);
  height: 14rem;
  overflow: hidden;
}
.user-route-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.user-route-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20, 30, 18, 0.35) 0%,
    transparent 42%,
    rgba(20, 30, 18, 0.7) 100%
  );
  pointer-events: none;
}
.user-route-hero__back {
  position: absolute;
  top: calc(0.75rem + env(safe-area-inset-top));
  left: 0.9rem;
  z-index: 2;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1;
  padding-bottom: 0.1rem;
}
.user-route-hero__bottom {
  position: absolute;
  bottom: 0.85rem;
  left: 0.9rem;
  right: 0.9rem;
  z-index: 2;
}
.user-route-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.4rem;
}
.user-route-hero__tags span {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
}
.user-route-hero h1 {
  color: #fff;
  font-size: clamp(1.15rem, 4.5vw, 1.45rem);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
  margin: 0;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.user-route-detail-body {
  padding: 0.9rem 0 1.5rem;
}
.user-route-statbar {
  display: flex;
  background: var(--card);
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.user-route-statbar__cell {
  flex: 1;
  text-align: center;
  padding: 0.85rem 0.4rem;
}
.user-route-statbar__cell + .user-route-statbar__cell {
  border-left: 1px solid var(--border);
}
.user-route-statbar__val {
  font-size: 0.95rem;
  font-weight: 700;
}
.user-route-statbar__label {
  font-size: 0.65rem;
  color: var(--dim-grey);
  margin-top: 0.2rem;
}
.user-map-card {
  background: var(--card);
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.user-map-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.9rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--dim-grey);
}
.user-map-card__head span:last-child {
  text-transform: none;
  color: #5a6b4a;
  font-weight: 600;
  letter-spacing: 0;
}
.user-map-card #routePreviewMap {
  width: 100%;
  min-height: 11rem;
  max-height: 14rem;
  border-radius: 0;
  border: none;
}
.user-route-hint {
  text-align: center;
  font-size: 0.75rem;
  margin: 0;
}

/* ── NOLEGGIO ─────────────────────────────────────────────────────────── */
.user-booking-head {
  position: relative;
  z-index: 1;
  background: var(--card);
  margin: 0 -1rem 0.75rem;
  width: calc(100% + 2rem);
  padding: calc(0.9rem + env(safe-area-inset-top)) 1rem 0.9rem;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 14px rgba(63, 71, 57, 0.08);
}
.user-booking-head h1 {
  font-size: clamp(1.35rem, 5vw, 1.6rem);
  font-weight: 800;
  margin: 0 0 0.35rem;
  letter-spacing: -0.04em;
}
.user-booking-steps {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0.5rem 0 0;
}
.user-booking-steps__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  flex: 1;
  min-width: 0;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--dim-grey);
  text-align: center;
  line-height: 1.2;
}
.user-booking-steps__num {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  background: var(--border);
  color: var(--dim-grey);
}
.user-booking-steps__item.is-active .user-booking-steps__num,
.user-booking-steps__item.is-done .user-booking-steps__num {
  background: var(--charcoal-brown);
  color: #fff;
}
.user-booking-steps__item.is-active {
  color: var(--charcoal-brown);
}
.user-booking-steps__line {
  flex: 0.4;
  height: 2px;
  border-radius: 99px;
  background: var(--border);
  margin-bottom: 1.1rem;
  min-width: 0.4rem;
}
.user-booking-byr {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  color: var(--dim-grey);
  margin-top: 0.65rem;
  padding: 0.45rem 0.65rem;
  background: rgba(225, 244, 203, 0.35);
  border-radius: 12px;
  border: 1px solid rgba(186, 203, 169, 0.35);
  text-align: center;
}
.user-booking-byr a {
  font-weight: 700;
  color: #3d5a30;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.user-booking-widget {
  background: var(--card);
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 14px rgba(63, 71, 57, 0.07);
  padding: 0.9rem 1rem;
  min-height: 280px;
}
.user-booking-widget #ESKbookingBox {
  width: 100%;
}
.user-booking-fallback {
  background: var(--card);
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 14px rgba(63, 71, 57, 0.07);
  padding: 1rem;
  display: grid;
  gap: 0.5rem;
}
.user-booking-fallback h2 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}

/* ── BOTTOM NAV (pill flottante) ──────────────────────────────────────── */
/*
 * Spazio sotto l’ultimo blocco = pill + distanza dal bordo (stessa logica di .bottom-nav).
 * A scroll max l’ultima riga (es. “Powered by”) resta subito sopra la navbar, senza scroll a vuoto sotto.
 */
:root {
  --user-pill-lift: max(0.45rem, env(safe-area-inset-bottom, 0px));
  --user-nav-pill-h: 3.55rem;
  /* Respiro tra la riga credit e la pill (più aria sotto la scritta, sopra la navbar) */
  --user-nav-above-pill: 1.05rem;
  --user-bottom-clearance: calc(
    var(--user-pill-lift) + var(--user-nav-pill-h) + var(--user-nav-above-pill)
  );
}
html:has(.bottom-nav) {
  scroll-padding-bottom: var(--user-bottom-clearance);
}
.page-shell.user-main.page-shell--with-tabbar {
  padding-bottom: var(--user-bottom-clearance);
}
.bottom-nav {
  position: fixed;
  z-index: 40;
  left: max(0.6rem, env(safe-area-inset-left));
  right: max(0.6rem, env(safe-area-inset-right));
  bottom: max(0.45rem, env(safe-area-inset-bottom));
  width: auto;
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  gap: 0.15rem;
  padding: 0.38rem 0.3rem 0.42rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}
.bottom-nav__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.22rem;
  min-width: 0;
  text-align: center;
  padding: 0.42rem 0.18rem;
  border-radius: 16px;
  border: 1px solid transparent;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.bottom-nav__item:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(186, 203, 169, 0.65);
}
.bottom-nav__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  flex-shrink: 0;
  color: var(--dry-sage);
}
.bottom-nav__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.bottom-nav__glyph :is(path, circle, line, polyline) {
  stroke: currentColor;
  stroke-width: 1.3px;
  fill: none;
  vector-effect: non-scaling-stroke;
}
.bottom-nav__label {
  line-height: 1.15;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--dim-grey);
}
.bottom-nav__item.is-active {
  background: rgba(225, 244, 203, 0.72);
  border-color: rgba(186, 203, 169, 0.45);
}
.bottom-nav__item.is-active .bottom-nav__icon {
  color: var(--charcoal-brown);
}
.bottom-nav__item.is-active .bottom-nav__label {
  color: var(--charcoal-brown);
  font-weight: 700;
}

/* ── BOTTONI DEDICATI ─────────────────────────────────────────────────── */
.btn-logout {
  background: rgba(255, 200, 190, 0.22);
  border: 1.5px solid rgba(255, 200, 190, 0.6);
  color: #7a2a1e;
  font-weight: 700;
}
.btn-finish {
  background: #b43a24;
  border: none;
  color: #fff;
  box-shadow: 0 4px 18px rgba(180, 50, 30, 0.3);
}
.btn-finish[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}
.btn-ghost {
  background: none;
  border: 1.5px solid var(--border);
  color: var(--dim-grey);
}

/* ── ROUTE LIVE ───────────────────────────────────────────────────────── */
main.container.page-shell.route-live-main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 0 1.5rem;
}
.route-live-page {
  display: flex;
  flex-direction: column;
  /* Nessun min-height: 100vh: evita colonne “bloccate” al viewport (PWA / mobile) e consente lo scroll se il contenuto supera l’altezza schermo. */
  min-height: 0;
}
.route-live-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: calc(0.65rem + env(safe-area-inset-top)) 1rem 0.65rem;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 5;
  backdrop-filter: blur(14px);
}
.route-live-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(225, 244, 203, 0.55);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  color: var(--charcoal-brown);
  padding-bottom: 0.1rem;
}
.route-live-bar-text {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}
.route-live-eyebrow {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dim-grey);
  font-weight: 700;
}
.route-live-title {
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.route-live-map-wrap {
  position: relative;
  flex: 1;
  min-height: min(72vh, 640px);
}
.route-live-map#map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  border-radius: 0;
  border: none;
}
.route-live-hud {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  padding: 0.65rem 0.75rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, transparent, rgba(247, 248, 243, 0.97) 28%);
  pointer-events: none;
}
.route-live-hud .route-live-stat {
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.5rem 0.55rem;
  text-align: center;
  box-shadow: var(--shadow);
}
.route-live-hud small {
  display: block;
  color: var(--dim-grey);
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.2rem;
}
.route-live-hud strong {
  font-size: 0.9rem;
  font-weight: 700;
}
.route-live-actions {
  padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom, 0px));
  display: grid;
  gap: 0.5rem;
  justify-items: stretch;
}
.route-live-actions .btn {
  width: 100%;
}
.route-live-hint {
  text-align: center;
  font-size: 0.72rem;
  margin: 0;
}
.route-live-conflict {
  max-width: 560px;
  margin: 2rem auto;
}
@media (max-width: 640px) {
  .route-live-hud {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.leaflet-div-icon.user-live-frog-marker {
  background: transparent;
  border: none;
}
.user-live-frog-emoji {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-size: 2.1rem;
  line-height: 1;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
  user-select: none;
}

.leaflet-tooltip.user-live-self-tooltip {
  border: 1px solid rgba(63, 71, 57, 0.15);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--charcoal-brown);
  font-size: 0.78rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(63, 71, 57, 0.12);
  padding: 0.3rem 0.55rem;
}

.map-avatar-picker {
  border: none;
  margin: 0;
  padding: 0;
  grid-column: 1 / -1;
}
.map-avatar-picker__legend {
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0;
  margin: 0 0 0.35rem;
}
.map-avatar-picker__hint {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
}
.map-avatar-picker__sub {
  margin: 0.85rem 0 0.4rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--dim-grey);
  font-weight: 600;
}
.map-avatar-picker__emoji-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.map-avatar-picker__emoji-opt {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 14px;
  border: 2px solid var(--border);
  background: var(--card);
  cursor: pointer;
  margin: 0;
}
.map-avatar-picker__emoji-opt input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.map-avatar-picker__emoji-opt:has(:checked) {
  border-color: var(--charcoal-brown);
  box-shadow: 0 0 0 2px rgba(63, 71, 57, 0.12);
}
.map-avatar-picker__em {
  font-size: 1.35rem;
  line-height: 1;
  pointer-events: none;
}
.map-avatar-picker__bg-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.map-avatar-picker__bg-opt {
  position: relative;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--picker-bg);
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: inset 0 0 0 1px rgba(63, 71, 57, 0.12);
  cursor: pointer;
  margin: 0;
}
.map-avatar-picker__bg-opt input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.map-avatar-picker__bg-opt:has(:checked) {
  outline: 2px solid var(--charcoal-brown);
  outline-offset: 2px;
}

/* ── MODAL FINE PERCORSO (bottom sheet) ───────────────────────────────── */
.finish-sheet {
  position: fixed;
  inset: 0;
  z-index: 10050;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}
.finish-sheet.hidden {
  display: none;
}
.finish-sheet__card {
  width: 100%;
  max-width: 640px;
  background: var(--card);
  border-radius: 22px 22px 0 0;
  padding: 1.1rem 1.25rem calc(1.75rem + env(safe-area-inset-bottom, 0px));
  display: grid;
  gap: 0.85rem;
}
.finish-sheet__grip {
  width: 2.5rem;
  height: 4px;
  border-radius: 99px;
  background: var(--border);
  margin: 0 auto 0.35rem;
}
.finish-sheet__head {
  text-align: center;
}
.finish-sheet__emoji {
  font-size: 2rem;
  margin-bottom: 0.25rem;
}
.finish-sheet__head h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 0.15rem;
  letter-spacing: -0.02em;
}
.finish-sheet__head .muted {
  font-size: 0.82rem;
  margin: 0;
}
.finish-sheet__stars {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin: 0.1rem 0;
}
.finish-star {
  background: none;
  border: none;
  padding: 0;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  color: var(--border);
  transition: color 0.15s ease, transform 0.15s ease;
}
.finish-star.is-on {
  color: #e4a935;
}
.finish-star:active {
  transform: scale(0.92);
}
.finish-sheet__recap {
  display: flex;
  justify-content: space-around;
  background: rgba(225, 244, 203, 0.75);
  border-radius: 14px;
  padding: 0.8rem 0.6rem;
}
.finish-sheet__recap > div {
  text-align: center;
}
.finish-sheet__recap strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--charcoal-brown);
}
.finish-sheet__recap span {
  display: block;
  font-size: 0.65rem;
  color: var(--dim-grey);
  margin-top: 0.1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.finish-sheet__card .btn {
  width: 100%;
}
.finish-sheet__card .btn.btn-primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}
.btn-incomplete-route {
  width: 100%;
  background: transparent;
  color: var(--charcoal-brown);
  border: 1.5px dashed #b8a88f;
  font-weight: 600;
  padding: 0.68rem 1rem;
  border-radius: 14px;
}
.btn-incomplete-route:active {
  transform: scale(0.99);
  background: rgba(63, 71, 57, 0.06);
}
.finish-sheet__incomplete-hint {
  font-size: 0.72rem;
  line-height: 1.35;
  margin: -0.1rem 0 0 0;
  text-align: center;
}

/* Toast risultato salvataggio (sostituisce alert() nativo) */
.track-result-toast {
  position: fixed;
  left: 50%;
  bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 10060;
  min-width: min(100% - 2rem, 22rem);
  max-width: calc(100% - 2rem);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 0.85rem 1.1rem;
  animation: track-toast-in 0.32s ease-out forwards;
  pointer-events: none;
}
.track-result-toast--hidden {
  display: none !important;
}
.track-result-toast__inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.track-result-toast__icon {
  flex-shrink: 0;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.track-result-toast--success .track-result-toast__icon {
  background: linear-gradient(145deg, #2d6a4f, #1b4332);
}
.track-result-toast--incomplete .track-result-toast__icon {
  background: linear-gradient(145deg, #6c757d, #495057);
}
.track-result-toast__copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  text-align: left;
  min-width: 0;
}
.track-result-toast__copy strong {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}
.track-result-toast__copy span {
  font-size: 0.8rem;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.9);
}
.track-result-toast--success {
  background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.track-result-toast--incomplete {
  background: linear-gradient(135deg, #3d4449 0%, #2c3136 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
@keyframes track-toast-in {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

/* ── PAGINA OFFLINE PWA ───────────────────────────────────────────────── */
.offline-card {
  margin-top: 0.5rem;
}
.offline-card__actions {
  margin-top: 1rem;
}
