.glt { margin: 1.5em 0; }
.glt-status {
  margin: 0 0 .6em;
  padding: .5em .8em;
  border-radius: 6px;
  background: #f1f3f5;
  background: color-mix(in srgb, currentColor 7%, transparent);
  font-weight: 600;
}
.glt-status.glt-live { background: #fff0f0; color: #c92a2a; }
.glt-status.glt-live::before {
  content: "";
  display: inline-block;
  width: .6em;
  height: .6em;
  margin-right: .5em;
  border-radius: 50%;
  background: #e03131;
  animation: glt-pulse 1.4s infinite;
}
.glt-map { width: 100%; border-radius: 8px; z-index: 0; }
.glt-stats[hidden] { display: none !important; }
.glt-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: .6em;
  margin: .8em 0 0;
}
.glt-stats > div {
  padding: .6em .8em;
  border-radius: 8px;
  background: #f1f3f5;
  background: color-mix(in srgb, currentColor 7%, transparent);
  text-align: center;
}
.glt-stats dt { margin: 0; font-size: .8em; opacity: .7; }
.glt-stats dd { margin: .15em 0 0; font-size: 1.15em; font-weight: 700; }
.glt-profile { position: relative; margin: .8em 0 0; padding: .6em .8em .4em; border-radius: 8px; background: #f1f3f5;
  background: color-mix(in srgb, currentColor 7%, transparent); }
.glt-profile[hidden] { display: none; }
.glt-profile figcaption { margin: 0 0 .2em; font-size: .8em; opacity: .7; }
.glt-profile svg { display: block; width: 100%; height: 180px; touch-action: pan-y; cursor: crosshair; }
.glt-tip {
  display: none;
  position: absolute;
  top: 1.6em;
  transform: translateX(-50%);
  padding: .15em .5em;
  border-radius: 4px;
  background: #212529;
  color: #fff;
  font-size: .8em;
  white-space: nowrap;
  pointer-events: none;
}
@keyframes glt-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .25; }
}
@media (prefers-reduced-motion: reduce) {
  .glt-status.glt-live::before { animation: none; }
}

/* ---- Communauté : progression, résumé, messages, abonnement ---- */
.glt { --glt-accent: #d9480f; --glt-tint: #f1f3f5; --glt-card: #fff; }
@supports (background: color-mix(in srgb, red 10%, transparent)) {
  .glt { --glt-tint: color-mix(in srgb, currentColor 7%, transparent); --glt-card: color-mix(in srgb, currentColor 5%, transparent); }
}
.glt h3 { margin: 0 0 .6em; font-size: 1.05rem; line-height: 1.3; color: inherit; }
.glt-progress { margin: 0 0 .7em; }
.glt-progress[hidden], .glt-summary[hidden], .glt-miles[hidden], .glt-actions[hidden], .glt-cheers[hidden] { display: none; }
.glt-bar { height: 10px; border-radius: 999px; background: var(--glt-tint); overflow: hidden; }
.glt-bar span { display: block; height: 100%; width: 0; background: var(--glt-accent); border-radius: 999px; transition: width .6s ease; }
.glt-progress-text { margin: .4em 0 0; font-size: 1rem; font-weight: 600; }

.glt-summary, .glt-cheers, .glt-subscribe {
  margin: 1em 0 0; padding: 1em 1.1em; border-radius: 10px; background: var(--glt-tint); font-size: 1rem;
}
.glt-summary { margin: 0 0 .8em; border-left: 0; border-top: 5px solid var(--glt-accent); }
.glt-sum-date { margin: 0 0 .7em; text-transform: capitalize; opacity: .75; font-size: .95rem; }
.glt-sum-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: .6em; margin: 0 0 .8em; }
.glt-sum-grid > div { text-align: center; padding: .55em .4em; border-radius: 8px; background: var(--glt-card); }
.glt-sum-grid dt { margin: 0; font-size: .8rem; opacity: .7; }
.glt-sum-grid dd { margin: .15em 0 0; font-size: 1.2rem; font-weight: 700; }
.glt-sum-note { margin: 0 0 .8em; font-style: italic; }
.glt-sum-note[hidden] { display: none; }
.glt-share-msg { margin-left: .6em; font-size: .9rem; }

.glt-miles { list-style: none; margin: .8em 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4em; }
.glt-miles li { margin: 0; padding: .25em .7em; border-radius: 999px; background: #fff4e6; color: #a63f0a; font-size: .85rem; font-weight: 600; }

.glt-actions { margin: .9em 0 0; }
.glt-btn {
  display: inline-block; width: auto; margin: 0; padding: .55em 1.2em; border: 0; border-radius: 999px;
  background: var(--glt-accent); color: #fff; font: inherit; font-size: 1rem; font-weight: 600; line-height: 1.3; cursor: pointer;
  box-shadow: none; text-transform: none; letter-spacing: 0;
}
.glt-btn:hover { filter: brightness(1.08); }
.glt-btn:disabled { opacity: .6; cursor: default; }
.glt-pop { transform: scale(1.12); transition: transform .15s; }
.glt-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .45em; }
.glt-react-label { font-size: .9em; opacity: .75; margin-right: .2em; }
.glt-react { font-size: 1.05em; }
.glt-cheer-list li.glt-new { animation: glt-newmsg 2.4s ease-out 1; }
@keyframes glt-newmsg { 0% { background: rgba(255, 107, 26, .35); transform: translateY(-6px); } 100% { background: var(--glt-card); transform: none; } }
.glt-toast { position: fixed; left: 50%; bottom: 18px; transform: translate(-50%, 30px); z-index: 99999; max-width: min(92vw, 420px);
  background: #212529; color: #fff; padding: .6em 1em; border-radius: 10px; font-size: .92rem; box-shadow: 0 6px 20px rgba(0,0,0,.3);
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; overflow-wrap: anywhere; }
.glt-toast--on { opacity: 1; transform: translate(-50%, 0); }

.glt-cheers form, .glt-subscribe form { margin: 0; }
.glt-cheer-form { display: grid; gap: .55em; }
.glt-sub-form { display: flex; flex-wrap: wrap; align-items: center; gap: .55em .6em; }
.glt-cheer-form input[type=text], .glt-cheer-form textarea, .glt-sub-form input[type=email] {
  box-sizing: border-box; width: 100%; margin: 0; padding: .6em .8em; border: 1px solid #ced4da; border-radius: 8px;
  background: #fff; color: #212529; font: inherit; font-size: 1rem; line-height: 1.4; box-shadow: none;
}
.glt-cheer-form input[type=text] { max-width: 280px; }
.glt-cheer-form textarea { min-height: 4.5em; resize: vertical; }
.glt-sub-form input[type=email] { order: 1; flex: 1 1 240px; width: auto; }
.glt-sub-form .glt-btn { order: 2; }
.glt-sub-form .glt-check { order: 3; flex: 0 0 100%; }
.glt-sub-form .glt-form-msg { order: 4; flex: 0 0 100%; }
.glt-cheer-form .glt-btn { justify-self: start; }
.glt-check { display: flex; align-items: center; gap: .5em; margin: 0; font-size: .92rem; }
.glt-check input { margin: 0; }
.glt-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.glt-form-msg { margin: 0; font-size: .92rem; }
.glt-form-msg:empty, .glt-cheer-list:empty { display: none; }
.glt-cheers { display: flex; flex-direction: column; gap: 1rem; }
.glt-cheers .glt-cheer-form { margin: 0; }
.glt-cheer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .55em; }
.glt-cheer-list li { margin: 0; padding: .55em .8em; border-radius: 8px; background: var(--glt-card); display: flex; gap: .6em; justify-content: space-between; align-items: flex-start; }
.glt-cheer-text { min-width: 0; overflow-wrap: anywhere; }
.glt-cheer-list li.glt-pending { outline: 2px dashed rgba(217, 72, 15, .55); outline-offset: -2px; }
.glt-pending-tag { font-size: .85em; opacity: .75; }
.glt-cheer-actions { display: flex; gap: .35em; flex: none; }
.glt-cheer-btn {
  margin: 0; padding: .2em .65em; border: 1px solid rgba(127,127,127,.5); border-radius: 999px;
  background: transparent; color: inherit; font: inherit; font-size: .82rem; line-height: 1.4; cursor: pointer;
}
.glt-cheer-btn:hover { background: rgba(127,127,127,.15); }
.glt-cheer-del { color: #c92a2a; border-color: rgba(201, 42, 42, .55); }
.glt-cheer-ok { color: #2b8a3e; border-color: rgba(43, 138, 62, .55); }
.glt-cheer-btn:disabled { opacity: .5; cursor: default; }

/* Bouton plein écran et plein écran de secours (iPhone) */
.glt-fs {
  width: 34px; height: 34px; margin: 0; border: 2px solid rgba(0,0,0,.25); border-radius: 4px;
  background: #fff; color: #212529; font-size: 18px; line-height: 1; cursor: pointer; padding: 0;
}
html.glt-noscroll { overflow: hidden; }
.glt-follow {
  width: 34px; height: 34px; margin: 0; border: 2px solid rgba(0,0,0,.25); border-radius: 4px;
  background: #fff; color: #868e96; font-size: 20px; line-height: 1; cursor: pointer; padding: 0;
}
.glt-follow--on { color: #d9480f; }

/* Scène : carte, chiffres et profil — espacement géré ici, quelles que soient les marges du thème */
.glt-stage { display: flex; flex-direction: column; gap: .8rem; }
.glt-stage > .glt-map, .glt-stage > .glt-stats, .glt-stage > .glt-profile { margin: 0 !important; }
.glt-stage > .glt-stats { flex: none; }
.glt-stage > .glt-profile { flex: none; }

/* Plein écran (natif ou de secours) : la scène entière, profil d'altitude compris */
.glt-stage.glt-is-fs, .glt-stage.glt-fake-fs {
  box-sizing: border-box; width: 100%; height: 100%; padding: .75rem; gap: .6rem;
  background: #fff; color: #212529; overflow: auto;
}
.glt-stage.glt-fake-fs { position: fixed; inset: 0; z-index: 99999; height: 100dvh; }
.glt-stage.glt-is-fs > .glt-map { flex: 1 1 0; min-height: 0; height: auto !important; }
.glt-stage.glt-is-fs .glt-stats { grid-template-columns: repeat(7, 1fr); gap: .4rem; }
.glt-stage.glt-is-fs .glt-stats > div { padding: .4em .5em; }
.glt-stage.glt-is-fs .glt-stats dd { font-size: 1.05em; white-space: nowrap; }
.glt-stage.glt-is-fs .glt-profile { padding: .4em .7em .3em; }
.glt-stage.glt-is-fs .glt-profile svg { height: 150px; }
@media (max-width: 640px) {
  .glt-stage.glt-is-fs .glt-stats { grid-template-columns: repeat(3, 1fr); }
  .glt-stage.glt-is-fs .glt-profile svg { height: 120px; }
}

/* Vue mobile épurée */
.glt--mobile .glt-map { height: 62vh !important; min-height: 320px; }
.glt--mobile .glt-stage.glt-is-fs > .glt-map { height: auto !important; min-height: 0; }
.glt--mobile .glt-profile { display: none; }
.glt--mobile .glt-stats { grid-template-columns: repeat(3, 1fr); }
.glt--mobile .glt-stats > div:nth-child(n+4) { display: none; }
.glt--mobile .glt-stats dd { font-size: 1.1em; white-space: nowrap; }
.glt--mobile .glt-status { font-size: 1.05em; }
.glt--mobile .glt-actions { text-align: center; }
.glt--mobile .glt-btn { font-size: 1.05rem; padding: .7em 1.4em; }


/* ---- Identité graphique inspirée de Strava Sorties Map ---- */
.glt {
  --glt-accent: #FF6B1A;
  --glt-accent-hover: #E85A0C;
  --glt-border: #dddddd;
  --glt-radius: 10px;
  font-family: 'Poppins', sans-serif;
}
.glt, .glt * { box-sizing: border-box; }
.glt h2, .glt h3, .glt dt, .glt dd, .glt button, .glt input, .glt textarea {
  font-family: 'Poppins', sans-serif;
}
.glt h3 { font-weight: 600; }
.glt-map {
  border: 1px solid var(--glt-border);
  border-radius: var(--glt-radius);
  overflow: hidden;
}
.glt-status {
  border: 1px solid var(--glt-border);
  border-radius: var(--glt-radius);
  background: #fff;
  font-size: .92rem;
}
.glt-status.glt-live {
  color: #c74712;
  background: #fff4ed;
  border-color: #ffd2b8;
}
.glt-stats > div {
  border: 1px solid var(--glt-border);
  border-radius: var(--glt-radius);
  background: #fff;
  padding: .75em .85em;
}
.glt-stats dt { font-size: .78rem; font-weight: 500; }
.glt-stats dd { color: var(--glt-accent); font-size: 1.2rem; font-weight: 700; }
.glt-profile, .glt-summary, .glt-cheers, .glt-subscribe {
  border: 1px solid var(--glt-border);
  border-radius: var(--glt-radius);
  background: #fff;
}
.glt-summary { border-left: 1px solid var(--glt-border); border-top: 4px solid var(--glt-accent); background: #fff; }
.glt-bar { background: #eee; }
.glt-bar span { background: var(--glt-accent); }
.glt-btn {
  border-radius: 0;
  background: var(--glt-accent);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  transition: background .15s, transform .15s;
}
.glt-btn:hover { background: var(--glt-accent-hover); filter: none; }
.glt-fs, .glt-follow {
  border: 1px solid var(--glt-border);
  border-radius: 0;
}
.glt-follow--on { color: var(--glt-accent); }
.glt-cheer-list li {
  border: 1px solid var(--glt-border);
  border-radius: var(--glt-radius);
  background: #fff;
}
.glt-cheer-btn { border-radius: 0; }
.glt-miles li {
  border-radius: 0;
  background: #fff1e8;
  color: #b84b0d;
}
.glt-cheer-form input[type=text],
.glt-cheer-form textarea,
.glt-sub-form input[type=email] {
  border-color: var(--glt-border);
  border-radius: 0;
  font-family: 'Poppins', sans-serif;
}
.glt-stage.glt-is-fs, .glt-stage.glt-fake-fs {
  font-family: 'Poppins', sans-serif;
}
.glt-stage.glt-is-fs .glt-map {
  border-radius: 0;
}
@media (prefers-color-scheme: dark) {
  .glt-stage.glt-is-fs, .glt-stage.glt-fake-fs {
    background: #fff;
    color: #212529;
  }
}

/* Marqueur de position : logo identique à Strava Sorties Map */
.glt-live-marker-wrap { background: transparent; border: 0; }
.glt-live-marker { display: block; width: 40px; height: 40px; object-fit: contain; pointer-events: none; filter: drop-shadow(0 2px 3px rgba(0,0,0,.55)); }

/* Contrôle et légende de l'itinéraire planifié */
.glt-course-toggle {
  width: 34px; height: 34px; margin: 0; border: 1px solid var(--glt-border, #ddd); border-radius: 0;
  background: #fff; color: #868e96; font-size: 18px; font-weight: 700; line-height: 1; cursor: pointer; padding: 0;
}
.glt-course-toggle--on { color: #1c7ed6; }
.glt-arrow-wrap { background: transparent; border: 0; pointer-events: none; }
.glt-arrow { display: block; width: 20px; height: 20px; fill: #1c7ed6; stroke: #fff; stroke-width: .9; opacity: .9; }
.glt-legend {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--glt-border, #ddd);
  padding: 6px 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  line-height: 1.5;
  color: #212529;
  box-shadow: 0 1px 4px rgba(0,0,0,.12);
}
.glt-legend-item { display: flex; align-items: center; gap: 7px; }
.glt-legend-line { display: inline-block; width: 22px; height: 0; }
.glt-legend-live { border-top: 4px solid #FF6B1A; }
.glt-legend-planned { border-top: 3px dashed #1c7ed6; }

.glt-btn--ghost { background: transparent !important; color: var(--glt-accent) !important; border: 1px solid var(--glt-accent) !important; text-decoration: none; display: inline-block; }
.glt-btn--ghost:hover { background: var(--glt-accent) !important; color: #fff !important; filter: none; }
.glt-history { margin-left: .4em; }

/* Photos de la sortie */
.glt-photo-pin { background: transparent; border: 0; }
.glt-photo-pin img { display: block; width: 46px; height: 46px; object-fit: cover; border: 3px solid #fff; border-radius: 8px; box-shadow: 0 2px 6px rgba(0,0,0,.45); cursor: pointer; }
.glt-photostrip { display: flex; gap: .5em; overflow-x: auto; padding: .5em 0; margin: 0 0 .8em; }
.glt-photostrip[hidden] { display: none; }
.glt-photostrip-item { flex: 0 0 auto; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 8px; overflow: hidden; }
.glt-photostrip-item img { display: block; height: 84px; width: auto; border-radius: 8px; }
.glt-lb { position: fixed; inset: 0; z-index: 100000; background: rgba(0,0,0,.88); display: flex; align-items: center; justify-content: center; padding: 16px; }
.glt-lb[hidden] { display: none; }
.glt-lb figure { margin: 0; max-width: 100%; text-align: center; color: #fff; }
.glt-lb img { max-width: 100%; max-height: 78vh; border-radius: 6px; }
.glt-lb figcaption { margin-top: .6em; font-size: .9rem; }
.glt-lb figcaption a { color: #ffb48a; margin-left: .5em; }
.glt-lb button { box-sizing: border-box; flex: 0 0 46px; aspect-ratio: 1 / 1; min-width: 46px; max-width: 46px; padding: 0; display: inline-flex; align-items: center; justify-content: center; position: absolute; background: rgba(255,255,255,.15); color: #fff; border: 0; font-size: 2rem; line-height: 1; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; }
.glt-lb-x { top: 14px; right: 14px; }
.glt-lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.glt-lb-next { right: 10px; top: 50%; transform: translateY(-50%); }

/* Réactions façon « j'aime » */
.glt-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.1em; }
.glt-react { position: relative; display: inline-flex; align-items: center; gap: .4em; background: none !important; border: 0 !important; padding: .2em .1em; margin: 0;
  font: inherit; font-weight: 600; font-size: 1rem; color: var(--glt-text, #212529); cursor: pointer; box-shadow: none !important; }
.glt-react-ic { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; font-size: 24px; line-height: 1;
  filter: grayscale(1); opacity: .6; transition: filter .15s, opacity .15s, transform .15s; }
.glt-react-ic svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.glt-react:hover .glt-react-ic { opacity: 1; }
.glt-react.glt-on .glt-react-ic { filter: none; opacity: 1; }
.glt-react--heart.glt-on .glt-react-ic svg { fill: #ed4956; stroke: #ed4956; }
.glt-react.glt-pop .glt-react-ic { transform: scale(1.3); }
.glt-react-n { min-width: 1ch; font-size: .95rem; }
.glt-float { position: absolute; left: 4px; top: 0; font-size: 22px; pointer-events: none; animation: glt-floatup .9s ease-out forwards; }
@keyframes glt-floatup { 0% { opacity: 1; transform: translateY(0) scale(.8); } 100% { opacity: 0; transform: translateY(-44px) scale(1.4); } }
.glt-bigheart { position: absolute; left: 50%; top: 50%; width: 110px; height: 110px; margin: -55px 0 0 -55px; pointer-events: none; animation: glt-bigheart .9s ease-out forwards; }
.glt-bigheart svg { width: 100%; height: 100%; fill: #ed4956; filter: drop-shadow(0 4px 12px rgba(0,0,0,.4)); }
@keyframes glt-bigheart { 0% { opacity: 0; transform: scale(.3); } 25% { opacity: 1; transform: scale(1.15); } 60% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.1) translateY(-20px); } }
.glt-react.glt-pop { transform: none; }

/* Le thème du site peut imposer un style au survol/focus des boutons (texte blanc, fond, opacité…) :
   on fige ici l'apparence de tous les états pour que icônes et chiffres restent visibles. */
.glt .glt-react,
.glt .glt-react:hover,
.glt .glt-react:focus,
.glt .glt-react:focus-visible,
.glt .glt-react:active {
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  text-decoration: none !important;
  color: inherit !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  filter: none !important;
  outline: none;
  text-indent: 0 !important;
  font-size: 1rem !important;
  line-height: 1.2 !important;
  min-width: 0; height: auto; width: auto;
}
.glt .glt-react:focus-visible .glt-react-ic { outline: 2px solid var(--glt-accent, #FF6B1A); outline-offset: 3px; border-radius: 6px; }
.glt .glt-react .glt-react-n,
.glt .glt-react:hover .glt-react-n { color: inherit !important; opacity: 1 !important; visibility: visible !important; display: inline !important; }
.glt .glt-react:hover .glt-react-ic,
.glt .glt-react:focus .glt-react-ic { opacity: 1 !important; visibility: visible !important; }
.glt .glt-react:not(.glt-on):hover .glt-react-ic { filter: grayscale(.4); transform: scale(1.12); }
.glt .glt-react--heart:not(.glt-on) .glt-react-ic svg,
.glt .glt-react--heart:not(.glt-on):hover .glt-react-ic svg { stroke: currentColor !important; fill: none !important; }
.glt .glt-react--heart.glt-on .glt-react-ic svg,
.glt .glt-react--heart.glt-on:hover .glt-react-ic svg { fill: #ed4956 !important; stroke: #ed4956 !important; }
.glt .glt-react .glt-react-ic { display: inline-flex !important; }

/* Version 0.8.7 : photos légendées, météo et boutons circulaires */
.glt-lb button { width: 46px !important; height: 46px !important; border-radius: 50% !important; line-height: 1 !important; }
.glt-lb figure { max-width: min(100%, 1100px); }
.glt-lb figcaption { max-width: 90vw; white-space: pre-line; overflow-wrap: anywhere; }
.glt-photostrip-item { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 5px; max-width: 180px; vertical-align: top; }
.glt-photo-caption { display: block; max-width: 170px; font-size: .78rem; line-height: 1.3; white-space: normal; text-align: left; }
.glt-weather { display: flex; flex-wrap: wrap; gap: .35em .8em; align-items: center; margin-top: .7em; padding: .7em .9em; border-radius: 8px; background: color-mix(in srgb, currentColor 7%, transparent); font-size: .92rem; }
.glt-weather[hidden] { display: none !important; }
.glt-stats [hidden] { display: none !important; }

/* Marqueur de vent : nuage au vent du cycliste, flèche qui souffle vers lui */
.glt-wind-wrap { background: transparent; border: 0; pointer-events: none; }
.glt-wind { position: relative; }
.glt-wind-arrow { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 1px 2px rgba(255,255,255,.9)); }
.glt-wind-cloud { position: absolute; left: 50%; top: 50%; width: 38px; height: 27px; margin: -14px 0 0 -19px; filter: drop-shadow(0 1px 3px rgba(0,0,0,.35)); }
.glt-wind-n { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -38%); font: 700 11px/1 system-ui, sans-serif; color: #1c7ed6; }

/* Graphique météo de fin de sortie */
.glt-wchart { margin: 1em 0 0; padding: 1.1em 1.1em .8em; border-radius: 22px; background: #26272e; color: #b9bcc6; }
.glt-wchart[hidden] { display: none !important; }
.glt-wchart h3 { margin: 0 0 .6em; font-size: 1.05rem; color: #f1f2f5; font-weight: 600; }
.glt-wc-legend { display: flex; flex-wrap: wrap; gap: .4em 1.3em; list-style: none; margin: 0 0 .5em; padding: 0; font-size: .92rem; color: #d3d5dc; }
.glt-wc-legend li { display: inline-flex; align-items: center; gap: .5em; margin: 0; padding: 0; }
.glt-wc-legend i { display: inline-block; width: 20px; height: 20px; border-radius: 6px; }
.glt-wc-legend .glt-wc-temp { background: #ffbe6e; }
.glt-wc-legend .glt-wc-gust { background: #ff66d1; }
.glt-wc-legend .glt-wc-rain { background: #5b8cff; }
.glt-wchart svg { display: block; width: 100%; height: auto; overflow: visible; }
.glt-wc-grid { stroke: #3a3c46; stroke-width: 1; }
.glt-wc-axis { stroke: #4a4d59; stroke-width: 1.2; }
.glt-wc-tick, .glt-wc-x, .glt-wc-val { fill: #aeb1bd; font: 400 14px system-ui, -apple-system, 'Segoe UI', sans-serif; }
.glt-wc-val { font-size: 14px; }
.glt-wc-x { font-size: 13px; }
.glt-wc-title { fill: #aeb1bd; font: 700 14px system-ui, -apple-system, 'Segoe UI', sans-serif; }
.glt-wc-bar { fill: #5b8cff; }
.glt-wc-line { fill: none; stroke-width: 4; stroke-linecap: round; }
.glt-wc-line.glt-wc-temp { stroke: #ffbe6e; }
.glt-wc-line.glt-wc-gust { stroke: #ff66d1; }
.glt-wc-dot { stroke: #1d1e24; stroke-width: 2.5; }
.glt-wc-dot.glt-wc-temp { fill: #ffbe6e; }
.glt-wc-dot.glt-wc-gust { fill: #ff66d1; }
.glt-wc-src { margin: .4em 0 0; font-size: .75rem; color: #878a96; }
.glt-wc-src a { color: #9fb8ff; }

/* Navigation entre les sorties, dans le cadre du statut */
.glt-status.glt-has-nav { display: flex; align-items: center; justify-content: space-between; gap: .6em; }
.glt-status .glt-status-text { flex: 1 1 auto; text-align: center; }
.glt-status.glt-loading .glt-status-text { opacity: .55; }
.glt .glt-nav-btn, .glt .glt-nav-btn:hover, .glt .glt-nav-btn:focus, .glt .glt-nav-btn:active {
  box-sizing: border-box !important; flex: 0 0 34px; width: 34px !important; height: 34px !important; min-width: 34px !important; padding: 0 !important; margin: 0 !important;
  border-radius: 50% !important; display: inline-flex !important; align-items: center; justify-content: center; line-height: 1 !important; font-size: 24px !important;
  background: transparent !important; color: inherit !important; border: 1.5px solid currentColor !important; box-shadow: none !important; cursor: pointer; opacity: .8; transform: none !important;
}
.glt .glt-nav-btn:hover:not(:disabled) { opacity: 1; background: rgba(128,128,128,.15) !important; }
.glt .glt-nav-btn:disabled { opacity: .25; cursor: default; }
.glt-nav-btn { padding-bottom: 3px !important; }

/* Sortie passée : pas de réactions ni de nouveau message */
.glt--archived .glt-actions, .glt--archived .glt-cheer-form { display: none !important; }

/* Mobile en plein écran : carte et profil seulement, sans la météo */
@media (max-width: 820px), (max-height: 500px) {
  .glt-stage.glt-is-fs .glt-weather, .glt-stage.glt-is-fs .glt-wchart { display: none !important; }
}
.glt-sub-hint { margin: .6em 0 0; font-size: .85rem; opacity: .8; line-height: 1.4; }
