/* Randozia 0.9.1 — adaptation ordinateur uniquement.
 * Les règles 0.9.0 restent intactes pour les mobiles / tablettes étroites.
 * La coque Android (rz9-native-shell) est exclue, même en fenêtre large.
 * DOM et fonctions métier conservés : aucune injection de données.
 */@media screen and (min-width: 1100px) {
html:not(.rz9-native-shell) .rz9-page {
    max-width: 1520px;
    margin-inline: auto;
    padding: 32px 32px 56px;
    font-size: 15px;
  }
html:not(.rz9-native-shell) .rz9-page > * { min-width: 0; }
html:not(.rz9-native-shell) .rz9-page .rz9-section { margin: 0; }
html:not(.rz9-native-shell) .rz9-page .rz9-section-title { margin-bottom: 16px; }
html:not(.rz9-native-shell) .rz9-page .rz9-section-title h2 { font-size: 21px; line-height: 1.3; }
html:not(.rz9-native-shell) .rz9-page .rz9-section-title > a { font-size: 13px; }
html:not(.rz9-native-shell) .rz9-page .rz9-btn { min-height: 44px; padding: 11px 18px; border-radius: 12px; }
html:not(.rz9-native-shell) .rz9-page button.rz9-btn { border-radius: 12px !important; }
html:not(.rz9-native-shell) .rz9-page .rz9-empty { padding: 28px 22px; border-radius: 16px; }
html:not(.rz9-native-shell) .rz9-page .rz9-caption { font-size: 12px; }
html:not(.rz9-native-shell) .rz9-page .rz9-account { margin: 0; border-radius: 16px; }
html:not(.rz9-native-shell) .rz9-page .rz9-account > summary { font-size: 14px; padding: 15px 18px; }
/* Tableau de bord : parcours à gauche, indicateurs et activité à droite. */html:not(.rz9-native-shell) .rz9-profile {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 316px;
    grid-template-areas:
      "welcome welcome"
      "shortcuts shortcuts"
      "routes stats"
      "favorites activity"
      "account account";
    gap: 26px 30px;
    align-items: start;
  }
html:not(.rz9-native-shell) .rz9-profile > .rz9-profile-hero { grid-area: welcome; }
html:not(.rz9-native-shell) .rz9-profile > .rz9-quick-grid { grid-area: shortcuts; }
/* Ordre des <section> de compte.php 0.9.0 : accueil, parcours, activité,
     favoris, statistiques, commentaires éventuels. */html:not(.rz9-native-shell) .rz9-profile > section:nth-of-type(2) { grid-area: routes; }
html:not(.rz9-native-shell) .rz9-profile > section:nth-of-type(3) { grid-area: activity; }
html:not(.rz9-native-shell) .rz9-profile > section:nth-of-type(4) { grid-area: favorites; }
html:not(.rz9-native-shell) .rz9-profile > #mes-statistiques { grid-area: stats; }
html:not(.rz9-native-shell) .rz9-profile > #mon-compte { grid-area: account; }
html:not(.rz9-native-shell) .rz9-profile > section:nth-of-type(n/**/+6),
html:not(.rz9-native-shell) .rz9-profile > .rz9-caption { grid-column: 1 / -1; }
html:not(.rz9-native-shell) .rz9-profile-hero {
    min-height: 164px;
    padding: 28px 30px;
    border-radius: 20px;
    gap: 20px;
    background-position: center 47%;
  }
html:not(.rz9-native-shell) .rz9-profile-hero h1 { font-size: 34px; letter-spacing: -.75px; }
html:not(.rz9-native-shell) .rz9-profile-hero p { font-size: 14px; }
html:not(.rz9-native-shell) .rz9-avatar-lg { width: 78px; height: 78px; flex-basis: 78px; font-size: 32px; }
html:not(.rz9-native-shell) .rz9-quick-grid { margin: 0; gap: 16px; }
html:not(.rz9-native-shell) .rz9-quick-grid a {
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
    gap: 14px;
    min-height: 66px;
    padding: 14px 20px;
    border-radius: 14px;
    border: 1px solid #dce8d7;
    font-size: 14px;
  }
html:not(.rz9-native-shell) .rz9-quick-grid a span { display: block; line-height: 1.25; }
html:not(.rz9-native-shell) .rz9-quick-grid a br { display: initial; }
html:not(.rz9-native-shell) .rz9-quick-grid .rz9-icon { width: 26px; height: 26px; flex-basis: 26px; }
html:not(.rz9-native-shell) .rz9-cards-row,
html:not(.rz9-native-shell) .rz9-favorites-row {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    overflow: visible;
    scroll-snap-type: none;
    padding: 0;
  }
html:not(.rz9-native-shell) .rz9-route-card { border-radius: 16px; box-shadow: 0 5px 16px #143b280b; }
html:not(.rz9-native-shell) .rz9-route-image,
html:not(.rz9-native-shell) .rz9-route-small .rz9-route-image { aspect-ratio: 1.65; min-height: 0; }
html:not(.rz9-native-shell) .rz9-route-copy,
html:not(.rz9-native-shell) .rz9-route-small .rz9-route-copy { left: 15px; right: 15px; bottom: 14px; }
html:not(.rz9-native-shell) .rz9-route-copy > strong,
html:not(.rz9-native-shell) .rz9-route-small .rz9-route-copy > strong { font-size: 17px; line-height: 1.3; }
html:not(.rz9-native-shell) .rz9-route-copy > span { font-size: 12px; gap: 6px; margin-top: 7px; }
html:not(.rz9-native-shell) .rz9-route-small .rz9-card-action { width: 36px; height: 36px; top: 9px; right: 9px; }
html:not(.rz9-native-shell) .rz9-route-small .rz9-photo-note { font-size: 9px; top: 10px; left: 9px; }
html:not(.rz9-native-shell) .rz9-profile > #mes-statistiques,
html:not(.rz9-native-shell) .rz9-profile > section:nth-of-type(3) {
    padding: 20px;
    border: 1px solid var(--rz9-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 4px 18px #163b2405;
  }
html:not(.rz9-native-shell) .rz9-profile > #mes-statistiques .rz9-section-title h2,
html:not(.rz9-native-shell) .rz9-profile > section:nth-of-type(3) .rz9-section-title h2 { font-size: 18px; }
html:not(.rz9-native-shell) .rz9-profile > section:nth-of-type(3) .rz9-section-title { flex-wrap: wrap; gap: 4px; }
html:not(.rz9-native-shell) .rz9-profile > section:nth-of-type(3) .rz9-section-title > a { min-height: 28px; }
html:not(.rz9-native-shell) .rz9-stat-grid { grid-template-columns: 1fr; gap: 10px; }
html:not(.rz9-native-shell) .rz9-stat-grid > div {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 3px 12px;
    border-radius: 12px;
    padding: 12px 14px;
  }
html:not(.rz9-native-shell) .rz9-stat-grid .rz9-icon { grid-column: 1; grid-row: 1 / 3; align-self: center; margin: 0; }
html:not(.rz9-native-shell) .rz9-stat-grid strong { grid-column: 2; font-size: 23px; line-height: 1.15; }
html:not(.rz9-native-shell) .rz9-stat-grid span { grid-column: 2; margin: 0; font-size: 12px; }
html:not(.rz9-native-shell) .rz9-profile #mes-statistiques .rz9-caption { margin-bottom: 0; }
html:not(.rz9-native-shell) .rz9-activity { gap: 10px; border-radius: 12px; padding: 11px; box-shadow: none; }
html:not(.rz9-native-shell) .rz9-activity strong { font-size: 14px; }
html:not(.rz9-native-shell) .rz9-activity small { font-size: 11px; }
html:not(.rz9-native-shell) .rz9-activity-icon { width: 34px; height: 34px; flex-basis: 34px; }
html:not(.rz9-native-shell) .rz9-profile #mon-compte .rz9-account-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
html:not(.rz9-native-shell) .rz9-profile > section:nth-of-type(n/**/+6) { max-width: 100%; }
/* Communauté : fil en grille et découverte des membres en colonne latérale. */html:not(.rz9-native-shell) .rz9-community {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 316px;
    gap: 16px 30px;
    align-items: start;
  }
html:not(.rz9-native-shell) .rz9-community > * { grid-column: 1; margin: 0; }
html:not(.rz9-native-shell) .rz9-community > .rz9-page-title { grid-column: 1 / -1; grid-row: 1; margin-bottom: 5px; font-size: 32px; }
html:not(.rz9-native-shell) .rz9-community > .rz9-tabs { grid-row: 2; }
html:not(.rz9-native-shell) .rz9-community > .rz9-search { grid-row: 3; }
html:not(.rz9-native-shell) .rz9-community > .rz9-chips { grid-row: 4; }
html:not(.rz9-native-shell) .rz9-community > .rz9-composer { grid-row: 5; }
html:not(.rz9-native-shell) .rz9-community > .rz9-feed-count,
html:not(.rz9-native-shell) .rz9-community > .rz9-notice { grid-row: 6; }
html:not(.rz9-native-shell) .rz9-community > .rz9-feed { grid-row: 7; }
html:not(.rz9-native-shell) .rz9-community > .rz9-pagination { grid-row: 8; }
html:not(.rz9-native-shell) .rz9-community > .rz9-community-callout { grid-column: 2; grid-row: 2 / 5; }
html:not(.rz9-native-shell) .rz9-community > #randonneurs { grid-column: 2; grid-row: 5 / 7; }
html:not(.rz9-native-shell) .rz9-community > .rz9-links { grid-column: 2; grid-row: 7; }
html:not(.rz9-native-shell) .rz9-community .rz9-tabs { display: flex; width: max-content; max-width: 100%; padding: 5px; border-radius: 13px; }
html:not(.rz9-native-shell) .rz9-community .rz9-tabs a { flex: 0 1 auto; padding: 11px 18px; border-radius: 10px; font-size: 14px; }
html:not(.rz9-native-shell) .rz9-community .rz9-search { max-width: 100%; min-height: 52px; border-radius: 14px; }
html:not(.rz9-native-shell) .rz9-community .rz9-chips { flex-wrap: wrap; overflow: visible; }
html:not(.rz9-native-shell) .rz9-community .rz9-chips a { border-radius: 10px; font-size: 13px; padding: 8px 14px; }
html:not(.rz9-native-shell) .rz9-community .rz9-feed { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
html:not(.rz9-native-shell) .rz9-community .rz9-feed > * { min-width: 0; margin: 0; }
html:not(.rz9-native-shell) .rz9-community .rz9-feed > .rz9-empty { grid-column: 1 / -1; }
html:not(.rz9-native-shell) .rz9-community .rz9-post { border-radius: 16px; box-shadow: 0 4px 18px #113b2409; }
html:not(.rz9-native-shell) .rz9-community .rz9-post-head { padding: 14px 12px; }
html:not(.rz9-native-shell) .rz9-community .rz9-post-head strong { font-size: 14px; }
html:not(.rz9-native-shell) .rz9-community .rz9-post-head small { font-size: 11px; }
html:not(.rz9-native-shell) .rz9-community .rz9-post-photo > a:first-child { aspect-ratio: 1.65; }
html:not(.rz9-native-shell) .rz9-community .rz9-post-overlay > strong { font-size: 19px; line-height: 1.3; }
html:not(.rz9-native-shell) .rz9-community .rz9-post-overlay > span { font-size: 12px; gap: 5px; flex-wrap: wrap; }
html:not(.rz9-native-shell) .rz9-community .rz9-post-caption { font-size: 14px; line-height: 1.55; }
html:not(.rz9-native-shell) .rz9-community .rz9-social-actions { flex-wrap: wrap; gap: 8px 12px; }
html:not(.rz9-native-shell) .rz9-community .rz9-social-actions .rz9-read-route { font-size: 12px; }
html:not(.rz9-native-shell) .rz9-community .rz9-community-callout { display: flex; flex-wrap: wrap; gap: 12px; padding: 22px; border-radius: 18px; }
html:not(.rz9-native-shell) .rz9-community .rz9-community-callout > span { flex: 1; min-width: 0; }
html:not(.rz9-native-shell) .rz9-community .rz9-community-callout strong { font-size: 18px; line-height: 1.3; }
html:not(.rz9-native-shell) .rz9-community .rz9-community-callout small { font-size: 13px; line-height: 1.5; }
html:not(.rz9-native-shell) .rz9-community .rz9-community-callout > b { min-width: 70px; font-size: 23px; padding-top: 6px; text-align: left; }
html:not(.rz9-native-shell) .rz9-community .rz9-links { display: grid; gap: 0; padding: 10px 18px; background: #fff; border: 1px solid var(--rz9-line); border-radius: 16px; }
html:not(.rz9-native-shell) .rz9-community .rz9-links a { font-size: 14px; padding: 9px 0; text-decoration: none; border-bottom: 1px solid #edf1ea; }
html:not(.rz9-native-shell) .rz9-community .rz9-links a:last-child { border-bottom: 0; }
html:not(.rz9-native-shell) .rz9-community .rz9-member { flex-wrap: wrap; }
html:not(.rz9-native-shell) .rz9-community .rz9-member form { margin-left: 0; }
/* Vigilance : catalogue large, puis carte et liste de signalements côte à côte. */html:not(.rz9-native-shell) .rz9-vigilance:not([data-route-id]) > .rz9-search { max-width: 660px; }
html:not(.rz9-native-shell) .rz9-vigilance:not([data-route-id]) .rz9-selector-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 24px 0; }
html:not(.rz9-native-shell) .rz9-vigilance .rz9-selector { border-radius: 14px; padding: 14px; }
html:not(.rz9-native-shell) .rz9-vigilance .rz9-selector strong { font-size: 16px; }
html:not(.rz9-native-shell) .rz9-vigilance[data-route-id] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 18px 28px;
    align-items: start;
  }
html:not(.rz9-native-shell) .rz9-vigilance[data-route-id] > .rz9-route-heading { grid-column: 1 / -1; grid-row: 1; margin: 0; }
html:not(.rz9-native-shell) .rz9-vigilance[data-route-id] > .rz9-tabs { grid-column: 1; grid-row: 2; width: max-content; min-width: 360px; margin: 0; }
html:not(.rz9-native-shell) .rz9-vigilance[data-route-id] > .rz9-map-wrap { grid-column: 1; grid-row: 3 / 7; }
html:not(.rz9-native-shell) .rz9-vigilance[data-route-id] .rz9-vigilance-map { height: clamp(440px, 61vh, 700px); min-height: 440px; max-height: none; }
html:not(.rz9-native-shell) .rz9-vigilance[data-route-id] > .rz9-vigilance-summary { grid-column: 2; grid-row: 2 / 4; padding: 18px; background: #fff; border: 1px solid var(--rz9-line); border-radius: 16px; }
html:not(.rz9-native-shell) .rz9-vigilance[data-route-id] > .rz9-safety-note { grid-column: 2; grid-row: 4; margin: 0; font-size: 13px; }
html:not(.rz9-native-shell) .rz9-vigilance[data-route-id] > .rz9-section { grid-column: 2; grid-row: 5; padding: 18px; background: #fff; border: 1px solid var(--rz9-line); border-radius: 16px; }
html:not(.rz9-native-shell) .rz9-vigilance[data-route-id] > .rz9-section .rz9-section-title h2 { font-size: 18px; }
html:not(.rz9-native-shell) .rz9-vigilance[data-route-id] > .rz9-section .rz9-section-title { flex-wrap: wrap; gap: 4px; }
html:not(.rz9-native-shell) .rz9-vigilance[data-route-id] .rz9-hazard-list { max-height: 380px; overflow-y: auto; overscroll-behavior: contain; padding: 2px; margin-bottom: 16px; }
html:not(.rz9-native-shell) .rz9-vigilance[data-route-id] .rz9-hazard { gap: 9px; padding: 11px; border-radius: 12px; }
html:not(.rz9-native-shell) .rz9-vigilance[data-route-id] .rz9-hazard-mark { width: 36px; height: 36px; flex-basis: 36px; }
html:not(.rz9-native-shell) .rz9-vigilance[data-route-id] > .rz9-btn-wide { grid-column: 2; grid-row: 6; }
html:not(.rz9-native-shell) .rz9-vigilance[data-route-id] > .rz9-links { grid-column: 1 / -1; grid-row: 7; margin: 0; }
html:not(.rz9-native-shell) .rz9-vigilance[data-route-id] .rz9-route-heading h1 { font-size: 28px; }
html:not(.rz9-native-shell) .rz9-vigilance[data-route-id] .rz9-route-heading p { font-size: 14px; }
}
@media screen and (min-width: 1360px) {
html:not(.rz9-native-shell) .rz9-profile .rz9-cards-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* Les survols ne sont pas nécessaires pour accéder aux actions. */@media screen and (min-width: 1100px) and (hover: hover) {
html:not(.rz9-native-shell) .rz9-quick-grid a:hover,
html:not(.rz9-native-shell) .rz9-selector:hover { background: #e2efdc; border-color: #bdd4b4; }
html:not(.rz9-native-shell) .rz9-route-image:hover > img { filter: brightness(1.06); }
html:not(.rz9-native-shell) .rz9-community .rz9-links a:hover { color: #075b3e; text-decoration: underline; }
}
