/* LA BOTA · ficha de ruta v8
   Maquetación tipo hoja de ruta. Todo queda acotado a .route-v8-page. */
.route-v8-page{background:#efe9dc;color:#20251f}
.route-v8-page .route-detail{max-width:none;padding:0 0 72px;background:linear-gradient(180deg,#efe9dc 0,#f4f0e7 100%)}
.route-v8-page #content{width:100%}
.route-v8-page .route-v8-shell{width:min(1500px,calc(100% - 44px));margin:0 auto;padding-top:18px}
.route-v8-page .route-v8-card,.route-v8-page .route-map-card,.route-v8-page .route-statbar{background:#fffdf7;border:1px solid rgba(23,32,22,.12);box-shadow:0 10px 26px rgba(23,32,22,.06);border-radius:8px}

/* Hero: fotografía real de la ruta; si no existe queda el fondo de Guadarrama ya definido en styles.css. */
.route-v8-page .route-hero.public-panorama-hero{min-height:390px;display:flex;align-items:flex-end;background:#172016}
.route-v8-page .route-hero.public-panorama-hero .route-cover-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 48%;z-index:0;filter:saturate(.88) contrast(.97) brightness(.83)}
.route-v8-page .route-hero.public-panorama-hero .route-hero-overlay{position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(12,24,16,.72) 0%,rgba(12,24,16,.46) 38%,rgba(12,24,16,.16) 65%,rgba(12,24,16,.08) 100%),linear-gradient(180deg,rgba(8,15,10,.08),rgba(8,15,10,.18) 58%,rgba(8,15,10,.58))}
.route-v8-page .route-hero.public-panorama-hero .route-hero-inner{position:relative;z-index:2;width:min(1500px,calc(100% - 88px));margin:0 auto;padding:62px 0 50px;display:flex;flex-direction:column;align-items:flex-start}
.route-v8-page .route-reference-kicker{font-family:var(--font-body);font-size:11px;font-weight:800;letter-spacing:.2em;color:#d8e0be;text-transform:uppercase}
.route-v8-page .route-hero.public-panorama-hero .route-hero-title{max-width:920px;margin:8px 0 12px;color:#fffdf7;font-family:var(--font-display);font-size:clamp(50px,6.1vw,88px);font-weight:700;line-height:.88;letter-spacing:.005em;text-transform:none;text-shadow:0 3px 22px rgba(0,0,0,.42)}
.route-v8-page .route-hero-rule{width:90px;height:3px;background:#b9c78e;margin:5px 0 14px}
.route-v8-page .route-hero-lead{margin:0;color:#f2f3eb;font-size:15px;font-weight:700;letter-spacing:.11em;text-shadow:0 2px 14px rgba(0,0,0,.4)}
.route-v8-page .route-anchor-wrap{position:sticky;top:82px;z-index:50;background:rgba(23,32,22,.97);border-top:1px solid rgba(255,255,255,.08);border-bottom:1px solid rgba(0,0,0,.15);backdrop-filter:blur(8px)}
.route-v8-page .route-anchor-inner{width:min(1500px,calc(100% - 44px));margin:0 auto;display:flex;gap:24px;overflow-x:auto;scrollbar-width:none}
.route-v8-page .route-anchor-inner::-webkit-scrollbar{display:none}
.route-v8-page .route-anchor-inner a{display:block;flex:0 0 auto;padding:11px 0;color:#e9ecdf;text-decoration:none;text-transform:uppercase;font-size:10px;font-weight:800;letter-spacing:.09em;border-bottom:2px solid transparent}
.route-v8-page .route-anchor-inner a:hover{color:#d7e0b8;border-bottom-color:#aebd83}

/* Acciones + banda técnica */
.route-v8-page .route-v8-actions{display:flex;justify-content:flex-end;align-items:center;gap:10px;margin:0 0 12px}
.route-v8-page .route-share-button{border:1px solid #9aa68b;background:#fffdf7;color:#172016;padding:9px 13px;border-radius:4px;font:700 12px var(--font-body);cursor:pointer}
.route-v8-page .route-private-pill{display:inline-flex;align-items:center;min-height:34px;padding:0 12px;border-radius:999px;background:#172016;color:#f7f5ee;font:700 11px var(--font-body);letter-spacing:.04em}
.route-v8-page .route-statbar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));padding:8px 10px;margin-bottom:14px;overflow:hidden}
.route-v8-page .route-stat{min-width:0;display:flex;align-items:center;gap:10px;padding:11px 14px;border-right:1px solid rgba(23,32,22,.10)}
.route-v8-page .route-stat:last-child{border-right:0}
.route-v8-page .route-stat-icon{width:27px;height:27px;display:grid;place-items:center;color:#172016;flex:0 0 27px}
.route-v8-page .route-stat-icon svg,.route-v8-page .route-v8-card-title svg,.route-v8-page .route-meeting-block svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.route-v8-page .route-stat span:not(.route-stat-icon){display:block;color:#767b70;font-size:10px;line-height:1.2}
.route-v8-page .route-stat strong{display:block;margin-top:2px;color:#172016;font:700 17px/1.1 var(--font-display);white-space:normal}
.route-v8-page .route-stat.difficulty strong{color:#a85032}
.route-v8-page .difficulty-dots{display:flex!important;gap:3px;margin-top:5px}
.route-v8-page .difficulty-dots i{width:5px;height:5px;border-radius:50%;background:#d6d2c6}
.route-v8-page .difficulty-dots i.on{background:#a85032}

/* Corazón de la ficha: izquierda info+comentarios / centro mapa / derecha perfil+tiempo+GPX */
.route-v8-page .route-explorer-grid{display:grid;grid-template-columns:minmax(235px,.78fr) minmax(0,2.05fr) minmax(270px,.92fr);gap:14px;align-items:start}
.route-v8-page .route-left-stack,.route-v8-page .route-right-stack{display:grid;gap:14px;min-width:0}
.route-v8-page .route-v8-card{padding:16px;min-width:0;overflow:hidden}
.route-v8-page .route-v8-card-title{display:flex;align-items:center;gap:9px;padding-bottom:10px;margin-bottom:11px;border-bottom:1px solid rgba(23,32,22,.11);color:#172016}
.route-v8-page .route-v8-card-title>span:first-child{font-weight:800}
.route-v8-page .route-v8-card-title h2{margin:0;font:700 22px/1 var(--font-display);letter-spacing:.01em}
.route-v8-page .route-v8-card-title b{margin-left:auto;display:inline-grid;place-items:center;min-width:25px;height:25px;padding:0 7px;border-radius:999px;background:#edf0e5;color:#172016;font-size:11px}
.route-v8-page .route-date-block{padding:0 0 14px}
.route-v8-page .route-date-block span{display:block;text-transform:capitalize;color:#697065;font-size:11px}
.route-v8-page .route-date-block strong{display:block;margin:2px 0;color:#172016;font:700 21px/1.12 var(--font-display)}
.route-v8-page .route-date-block b{display:block;color:#374535;font-size:13px}
.route-v8-page .route-meeting-block{display:flex;gap:10px;padding:13px 0;border-top:1px solid rgba(23,32,22,.09)}
.route-v8-page .route-meeting-block>svg{flex:0 0 20px;color:#59683e}
.route-v8-page .route-meeting-block span{display:block;color:#777d72;font-size:10px;text-transform:uppercase;letter-spacing:.05em}
.route-v8-page .route-meeting-block strong{display:block;color:#172016;font-size:13px;line-height:1.35}
.route-v8-page .route-v8-primary{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:42px;padding:9px 12px;border-radius:5px;background:#405f36;color:#fff;text-decoration:none;font:700 12px var(--font-body);text-align:center;transition:background .15s ease,transform .15s ease}
.route-v8-page .route-v8-primary:hover{background:#4d7041;transform:translateY(-1px)}
.route-v8-page .route-v8-primary svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}

/* Comentarios acotados: nunca desbordan la columna izquierda. */
.route-v8-page .route-comments-compact{height:382px;display:flex;flex-direction:column}
.route-v8-page .route-comments-title{flex:0 0 auto}
.route-v8-page .route-comments-scroll{flex:1 1 auto;min-height:0;max-height:210px;overflow-y:auto;padding-right:5px;scrollbar-width:thin;scrollbar-color:#a9b39a transparent}
.route-v8-page .route-comment-mini{padding:10px 0;border-bottom:1px solid rgba(23,32,22,.09)}
.route-v8-page .route-comment-mini:first-child{padding-top:0}
.route-v8-page .route-comment-mini:last-child{border-bottom:0}
.route-v8-page .route-comment-mini-head{display:flex;gap:8px;justify-content:space-between;align-items:baseline}
.route-v8-page .route-comment-mini-head strong{font-size:12px;color:#172016}
.route-v8-page .route-comment-mini-head time{font-size:9px;color:#8a8f84}
.route-v8-page .route-comment-mini p{margin:5px 0 0;color:#535a51;font-size:12px;line-height:1.42}
.route-v8-page .route-comment-compose{flex:0 0 auto;margin-top:auto;padding-top:9px;border-top:1px solid rgba(23,32,22,.10)}
.route-v8-page .route-comment-compose summary{cursor:pointer;list-style:none;border:1px solid #aeb7a5;border-radius:4px;padding:8px 10px;text-align:center;color:#172016;font-size:11px;font-weight:800}
.route-v8-page .route-comment-compose summary::-webkit-details-marker{display:none}
.route-v8-page .route-comment-compose[open]{flex:0 0 220px;overflow:auto;max-height:220px}
.route-v8-page .route-comment-compose .comment-form{padding-top:10px}
.route-v8-page .route-comment-compose .hint{margin:0 0 8px;font-size:10px;line-height:1.35}
.route-v8-page .route-comment-compose .comment-fields{display:grid;grid-template-columns:1fr;gap:8px}
.route-v8-page .route-comment-compose .form-field label{font-size:10px}
.route-v8-page .route-comment-compose input,.route-v8-page .route-comment-compose textarea{width:100%;border:1px solid #c9cbbf;background:#fffefa;padding:8px;font-size:12px}
.route-v8-page .route-comment-compose textarea{min-height:78px;resize:vertical}
.route-v8-page .route-comment-compose .admin-actions{margin-top:7px}
.route-v8-page .route-comment-compose .app-btn{min-height:34px;padding:7px 10px;font-size:11px}
.route-v8-page .comment-counter{display:block;text-align:right;color:#8a8f84;font-size:9px}
.route-v8-page .comment-form-msg{margin-top:7px;font-size:10px;color:#59683e}
.route-v8-page .comments-empty{margin:2px 0;color:#6f756c;font-size:12px}

/* Mapa central */
.route-v8-page .route-map-card{padding:0;overflow:hidden;min-width:0}
.route-v8-page .route-map-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-bottom:1px solid rgba(23,32,22,.10);background:#fffdf7}
.route-v8-page .route-map-toolbar>strong{font:700 18px var(--font-display);color:#172016}
.route-v8-page .route-map-layers{display:flex;gap:5px;flex-wrap:wrap}
.route-v8-page .route-map-layers button{border:1px solid #c9cfc1;background:#f4f1e8;color:#455244;border-radius:999px;padding:6px 10px;font-size:10px;font-weight:700;cursor:pointer}
.route-v8-page .route-map-layers button.is-active{background:#172016;color:#fff;border-color:#172016}
.route-v8-page .route-map-wrap{position:relative;min-height:625px}
.route-v8-page .route-map{height:625px;min-height:625px;background:#dce2d4}
.route-v8-page .map-fullscreen{position:absolute;right:10px;top:10px;z-index:500;border:1px solid rgba(23,32,22,.25);background:#fffdf7;color:#172016;width:36px;height:36px;border-radius:5px;font-size:18px;cursor:pointer;box-shadow:0 2px 12px rgba(0,0,0,.12)}
.route-v8-page .route-map-wrap:fullscreen{background:#fff}
.route-v8-page .route-map-wrap:fullscreen .route-map{height:100vh;min-height:100vh}
.route-v8-page .route-track-unavailable{min-height:625px;display:grid;place-items:center;padding:30px;color:#697065;background:#edf0e8}
.route-v8-page .leaflet-control-attribution{font-size:9px}

/* Perfil, tiempo, GPX */
.route-v8-page .route-profile-card{min-height:265px}
.route-v8-page .elevation-profile-chart{min-height:135px;display:flex;flex-direction:column;justify-content:center}
.route-v8-page .elevation-profile-chart svg{display:block;width:100%;height:132px;overflow:visible}
.route-v8-page .profile-area{fill:rgba(89,104,62,.20)}
.route-v8-page .profile-line{fill:none;stroke:#59683e;stroke-width:3}
.route-v8-page .profile-axis{display:flex;justify-content:space-between;color:#7b8077;font-size:9px}
.route-v8-page .track-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:10px}
.route-v8-page .track-summary>div{min-width:0;padding:7px 5px;border-top:1px solid rgba(23,32,22,.08)}
.route-v8-page .track-summary svg{display:none}
.route-v8-page .track-summary span{display:block;color:#7b8177;font-size:9px}
.route-v8-page .track-summary strong{display:block;color:#172016;font-size:11px}
.route-v8-page .profile-empty{display:grid;place-items:center;min-height:120px;color:#7a8076;font-size:12px}
.route-v8-page .route-weather-zone{margin:-2px 0 10px;color:#737a70;font-size:11px}
.route-v8-page .weather-compact-head{display:flex;align-items:center;gap:10px}
.route-v8-page .weather-compact-icon{font-size:34px;line-height:1}
.route-v8-page .route-mini-badge{display:block;color:#59683e;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}
.route-v8-page .weather-compact-condition{display:block;color:#172016;font:700 18px/1.05 var(--font-display)}
.route-v8-page .weather-compact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 8px;margin-top:12px}
.route-v8-page .weather-compact-grid>div{padding-top:6px;border-top:1px solid rgba(23,32,22,.08)}
.route-v8-page .weather-compact-grid span{display:block;color:#7b8177;font-size:9px}
.route-v8-page .weather-compact-grid strong{display:block;color:#172016;font-size:11px}
.route-v8-page .route-weather-empty{display:grid;gap:4px;padding:8px 0;color:#555d53;font-size:11px}
.route-v8-page .route-weather-empty strong{color:#172016}
.route-v8-page .route-gpx-card small{display:block;margin-top:8px;color:#777d72;text-align:center;overflow-wrap:anywhere}

/* Información secundaria, descripción y datos técnicos */
.route-v8-page .route-information-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,.72fr);gap:14px;margin-top:14px}
.route-v8-page .route-description-card .rich-public-content{font-size:15px;line-height:1.68;color:#424a41}
.route-v8-page .route-description-card .rich-public-content p:first-child{margin-top:0}
.route-v8-page .route-notes-v8{margin-top:18px;padding:14px 16px;border-left:4px solid #71834e;background:#f2f1e8;color:#465046}
.route-v8-page .route-notes-v8>strong{display:block;margin-bottom:5px;color:#172016;font:700 17px var(--font-display)}
.route-v8-page .route-technical-card table{width:100%;border-collapse:collapse;font-size:12px}
.route-v8-page .route-technical-card tr{border-bottom:1px solid rgba(23,32,22,.09)}
.route-v8-page .route-technical-card tr:last-child{border-bottom:0}
.route-v8-page .route-technical-card th,.route-v8-page .route-technical-card td{padding:7px 0;text-align:left;vertical-align:top}
.route-v8-page .route-technical-card th{width:48%;color:#737a70;font-weight:600}
.route-v8-page .route-technical-card td{color:#172016;font-weight:700}

/* Meteorología completa: se conserva para no perder datos. */
.route-v8-page .route-weather-detail{margin-top:14px}
.route-v8-page .route-weather-detail .route-climate{margin:0;border-radius:8px;box-shadow:0 10px 26px rgba(23,32,22,.05)}
.route-v8-page .route-weather-detail .climate-hours-grid{grid-template-columns:repeat(6,minmax(0,1fr))}

/* Fotos, vídeo y crónica */
.route-v8-page .route-photos-v8,.route-v8-page .route-video-section,.route-v8-page .route-chronicle-v8{margin-top:14px}
.route-v8-page .route-photos-v8 .route-v8-card-title{margin-bottom:13px}
.route-v8-page .photo-nav-group{margin-left:auto;display:flex;gap:5px}
.route-v8-page .photo-nav{width:32px;height:32px;border:1px solid #c7cdbf;background:#f4f1e8;color:#172016;border-radius:4px;cursor:pointer}
.route-v8-page .photo-strip{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(180px,1fr);gap:8px;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:4px}
.route-v8-page .photo-strip img{width:100%;height:170px;object-fit:cover;border-radius:5px;cursor:zoom-in;scroll-snap-align:start}
.route-v8-page .video-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.route-v8-page .route-chronicle-v8 .rich-public-content{max-width:1050px;font-size:16px;line-height:1.74;color:#424a41}

/* Lightbox */
.route-v8-page .route-lightbox{position:fixed;inset:0;z-index:4000;display:none;align-items:center;justify-content:center;padding:50px;background:rgba(4,10,6,.92)}
.route-v8-page .route-lightbox.open{display:flex}
.route-v8-page .route-lightbox img{max-width:min(1200px,88vw);max-height:84vh;object-fit:contain}
.route-v8-page .route-lightbox button{position:absolute;border:0;background:rgba(255,255,255,.12);color:#fff;cursor:pointer}
.route-v8-page .route-lightbox-close{right:24px;top:20px;width:46px;height:46px;font-size:32px}
.route-v8-page .route-lightbox-prev,.route-v8-page .route-lightbox-next{top:50%;transform:translateY(-50%);width:46px;height:64px;font-size:42px}
.route-v8-page .route-lightbox-prev{left:22px}.route-v8-page .route-lightbox-next{right:22px}

/* Estado bloqueado/error */
.route-v8-page .locked{width:min(760px,calc(100% - 44px));margin:50px auto;padding:34px;background:#fffdf7;border:1px solid rgba(23,32,22,.13);text-align:center}

@media(max-width:1180px){
  .route-v8-page .route-statbar{grid-template-columns:repeat(4,minmax(0,1fr))}
  .route-v8-page .route-stat:nth-child(4n){border-right:0}
  .route-v8-page .route-explorer-grid{grid-template-columns:minmax(230px,.78fr) minmax(0,1.65fr)}
  .route-v8-page .route-right-stack{grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr))}
  .route-v8-page .route-map-wrap,.route-v8-page .route-map,.route-v8-page .route-track-unavailable{min-height:560px;height:560px}
  .route-v8-page .route-profile-card{min-height:0}
  .route-v8-page .route-weather-detail .climate-hours-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:900px){
  .route-v8-page .route-hero.public-panorama-hero{min-height:330px}
  .route-v8-page .route-hero.public-panorama-hero .route-hero-inner{width:min(100% - 36px,1500px);padding:46px 0 36px}
  .route-v8-page .route-anchor-wrap{top:68px}
  .route-v8-page .route-v8-shell,.route-v8-page .route-anchor-inner{width:min(100% - 28px,1500px)}
  .route-v8-page .route-statbar{grid-template-columns:repeat(2,minmax(0,1fr))}
  .route-v8-page .route-stat:nth-child(2n){border-right:0}
  .route-v8-page .route-explorer-grid{grid-template-columns:1fr}
  .route-v8-page .route-map-card{grid-row:1}
  .route-v8-page .route-left-stack{grid-row:2;grid-template-columns:repeat(2,minmax(0,1fr))}
  .route-v8-page .route-comments-compact{height:360px}
  .route-v8-page .route-right-stack{grid-column:1;grid-row:3;grid-template-columns:repeat(2,minmax(0,1fr))}
  .route-v8-page .route-gpx-card{grid-column:1/-1}
  .route-v8-page .route-information-grid{grid-template-columns:1fr}
  .route-v8-page .route-weather-detail .climate-hours-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .route-v8-page .video-grid{grid-template-columns:1fr}
}
@media(max-width:620px){
  .route-v8-page .route-hero.public-panorama-hero{min-height:290px}
  .route-v8-page .route-hero.public-panorama-hero .route-hero-inner{width:calc(100% - 28px);padding:38px 0 28px}
  .route-v8-page .route-hero.public-panorama-hero .route-hero-title{font-size:clamp(38px,13vw,58px);max-width:96%}
  .route-v8-page .route-hero-lead{font-size:11px;letter-spacing:.07em}
  .route-v8-page .route-v8-shell,.route-v8-page .route-anchor-inner{width:calc(100% - 18px)}
  .route-v8-page .route-v8-actions{justify-content:space-between;align-items:stretch;flex-direction:column}
  .route-v8-page .route-share-button,.route-v8-page .route-private-pill{justify-content:center;text-align:center}
  .route-v8-page .route-statbar{padding:4px}
  .route-v8-page .route-stat{padding:9px 8px;gap:7px}
  .route-v8-page .route-stat strong{font-size:15px}
  .route-v8-page .route-left-stack,.route-v8-page .route-right-stack{grid-template-columns:1fr}
  .route-v8-page .route-comments-compact{height:390px}
  .route-v8-page .route-map-toolbar{align-items:flex-start;flex-direction:column}
  .route-v8-page .route-map-wrap,.route-v8-page .route-map,.route-v8-page .route-track-unavailable{height:470px;min-height:470px}
  .route-v8-page .route-weather-detail .climate-hours-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .route-v8-page .photo-strip{grid-auto-columns:78%}
  .route-v8-page .photo-strip img{height:190px}
  .route-v8-page .route-lightbox{padding:18px}
}

/* =========================================================
   LA BOTA · ficha de ruta v9
   Afinado visual sobre la referencia aportada por el usuario.
   Solo presentación: no toca datos, API, GPX ni permisos.
   ========================================================= */
.route-v8-page{
  --route-paper:#fbf8ef;
  --route-paper-2:#f3eee2;
  --route-green:#172016;
  --route-green-2:#31452e;
  --route-olive:#879469;
  --route-rust:#bf5a35;
  --route-line:rgba(23,32,22,.13);
  --route-shadow:0 12px 30px rgba(23,32,22,.075);
  background:#ece7dc;
}
.route-v8-page .route-detail{
  background:linear-gradient(180deg,#e9e4d8 0,#f3efe6 170px,#f6f2e9 100%);
  padding-bottom:80px;
}
.route-v8-page .route-v8-shell{width:min(1360px,calc(100% - 52px));padding-top:16px}
.route-v8-page .route-v8-card,
.route-v8-page .route-map-card,
.route-v8-page .route-statbar,
.route-v8-page .route-weather-band{
  background:rgba(255,252,244,.98);
  border:1px solid rgba(23,32,22,.12);
  box-shadow:var(--route-shadow);
  border-radius:14px;
}

/* Hero más bajo y título a la derecha para dejar respirar la fotografía. */
.route-v8-page .route-hero.public-panorama-hero{min-height:320px}
.route-v8-page .route-hero.public-panorama-hero .route-cover-photo{
  object-position:center 46%;
  filter:saturate(.90) contrast(1.01) brightness(.87);
}
.route-v8-page .route-hero.public-panorama-hero .route-hero-overlay{
  background:
    linear-gradient(270deg,rgba(10,20,13,.80) 0%,rgba(10,20,13,.57) 32%,rgba(10,20,13,.22) 61%,rgba(10,20,13,.04) 86%),
    linear-gradient(180deg,rgba(8,15,10,.05),rgba(8,15,10,.08) 52%,rgba(8,15,10,.40));
}
.route-v8-page .route-hero.public-panorama-hero .route-hero-inner{
  width:min(1360px,calc(100% - 72px));
  padding:84px 0 34px;
  align-items:flex-end;
  text-align:right;
}
.route-v8-page .route-reference-kicker{font-size:10px;letter-spacing:.18em;color:#e1e5d3}
.route-v8-page .route-hero.public-panorama-hero .route-hero-title{
  max-width:720px;
  margin:7px 0 8px;
  font-size:clamp(38px,4.2vw,61px);
  line-height:.96;
  letter-spacing:.012em;
  text-wrap:balance;
  text-shadow:0 3px 18px rgba(0,0,0,.48);
}
.route-v8-page .route-hero-rule{width:72px;height:2px;margin:6px 0 10px;background:#c7d39d}
.route-v8-page .route-hero-lead{max-width:620px;font-size:12px;letter-spacing:.09em;color:#f0f1e8}

/* Banda de datos principales, más cercana a la maqueta. */
.route-v8-page .route-v8-actions{margin-bottom:10px}
.route-v8-page .route-statbar{padding:0 8px;margin-bottom:12px;overflow:hidden}
.route-v8-page .route-stat{padding:13px 12px;gap:9px;min-height:72px}
.route-v8-page .route-stat-icon{width:24px;height:24px;flex-basis:24px;color:#263829}
.route-v8-page .route-stat span:not(.route-stat-icon){font-size:9px;text-transform:uppercase;letter-spacing:.045em;color:#777d72}
.route-v8-page .route-stat strong{font-size:16px;line-height:1.15}

/* El tiempo pasa a estar debajo de los datos y encima del mapa. */
.route-v8-page .route-weather-band{
  display:grid;
  grid-template-columns:minmax(190px,.65fr) minmax(0,2fr) auto;
  align-items:center;
  gap:18px;
  padding:12px 16px;
  margin:0 0 12px;
  overflow:hidden;
}
.route-v8-page .route-weather-band-head{display:flex;align-items:center;gap:10px;min-width:0;padding-right:16px;border-right:1px solid var(--route-line)}
.route-v8-page .route-weather-band-head>svg{width:22px;height:22px;flex:0 0 22px;fill:none;stroke:#31452e;stroke-width:1.8}
.route-v8-page .route-weather-band-head span{display:block;color:#7a8177;font-size:9px;font-weight:800;letter-spacing:.11em;text-transform:uppercase}
.route-v8-page .route-weather-band-head strong{display:block;overflow:hidden;text-overflow:ellipsis;color:#172016;font-size:12px;line-height:1.25}
.route-v8-page .route-weather-band-body{min-width:0}
.route-v8-page .route-weather-band .weather-compact-head{display:flex;align-items:center;gap:10px}
.route-v8-page .route-weather-band .weather-compact-icon{font-size:31px}
.route-v8-page .route-weather-band .weather-compact-condition{font-size:17px;line-height:1.05}
.route-v8-page .route-weather-band .weather-compact-grid{display:grid;grid-template-columns:repeat(5,minmax(72px,1fr));gap:8px;margin:0 0 0 14px}
.route-v8-page .route-weather-band .route-weather-empty{padding:0}
.route-v8-page .route-weather-band-body>.weather-compact-head + .weather-compact-grid{margin-top:8px}
.route-v8-page .route-weather-band-link{white-space:nowrap;color:#405f36;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;text-decoration:none}
.route-v8-page .route-weather-band-link:hover{text-decoration:underline}

/* Núcleo: fecha/comentarios | mapa | perfil/GPX. */
.route-v8-page .route-explorer-grid{
  grid-template-columns:285px minmax(0,1fr) 330px;
  gap:12px;
  align-items:stretch;
}
.route-v8-page .route-left-stack,
.route-v8-page .route-right-stack{height:560px;gap:12px;min-width:0}
.route-v8-page .route-left-stack{display:grid;grid-template-rows:auto minmax(0,1fr)}
.route-v8-page .route-right-stack{display:grid;grid-template-rows:minmax(0,1fr) auto}
.route-v8-page .route-v8-card{padding:15px}
.route-v8-page .route-v8-card-title{gap:8px;padding-bottom:9px;margin-bottom:10px}
.route-v8-page .route-v8-card-title h2{font-size:19px;line-height:1.05}
.route-v8-page .route-when-card{background:linear-gradient(155deg,#172016 0,#233321 100%);color:#fffdf7;border-color:rgba(255,255,255,.08)}
.route-v8-page .route-when-card .route-v8-card-title{color:#fff;border-bottom-color:rgba(255,255,255,.15)}
.route-v8-page .route-when-card .route-date-block span,.route-v8-page .route-when-card .route-meeting-block span{color:#bcc5b4}
.route-v8-page .route-when-card .route-date-block strong,.route-v8-page .route-when-card .route-date-block b,.route-v8-page .route-when-card .route-meeting-block strong{color:#fffdf7}
.route-v8-page .route-when-card .route-meeting-block{border-top-color:rgba(255,255,255,.13)}
.route-v8-page .route-when-card .route-meeting-block>svg{color:#d1dab7}
.route-v8-page .route-when-card .route-v8-primary{background:#587650;border:1px solid rgba(255,255,255,.12)}

/* Comentarios siempre confinados dentro de su propia caja. */
.route-v8-page .route-comments-compact{height:auto;min-height:0;display:flex;flex-direction:column}
.route-v8-page .route-comments-scroll{max-height:none;min-height:0;overflow-y:auto}
.route-v8-page .route-comment-compose[open]{flex-basis:210px;max-height:210px}

/* Mapa protagonista. */
.route-v8-page .route-map-card{height:560px;display:flex;flex-direction:column;overflow:hidden}
.route-v8-page .route-map-toolbar{min-height:51px;padding:10px 14px;background:#fffaf1}
.route-v8-page .route-map-toolbar>strong{font-size:18px}
.route-v8-page .route-map-layers button{padding:6px 12px;background:#f3efe5}
.route-v8-page .route-map-wrap{flex:1 1 auto;min-height:0;height:auto}
.route-v8-page .route-map{height:100%;min-height:0}
.route-v8-page .route-track-unavailable{height:100%;min-height:0;flex:1}

/* Perfil: más limpio, sin títulos chocando con valores. */
.route-v8-page .route-profile-card{min-height:0;display:flex;flex-direction:column;padding:16px 16px 13px;background:linear-gradient(180deg,#fffdf8 0,#f7f3e9 100%)}
.route-v8-page .route-profile-title{align-items:flex-start}
.route-v8-page .route-profile-title>svg{margin-top:3px;flex:0 0 21px}
.route-v8-page .route-profile-title>div{min-width:0}
.route-v8-page .route-card-kicker{display:block;margin-bottom:2px;color:#8a8f84;font-size:8px;font-weight:800;letter-spacing:.13em;text-transform:uppercase}
.route-v8-page .route-profile-title h2{font-size:20px;white-space:normal}
.route-v8-page .elevation-profile-chart{flex:1 1 auto;min-height:175px;padding:6px 2px 0}
.route-v8-page .elevation-profile-chart svg{height:175px;overflow:hidden}
.route-v8-page .profile-area{fill:rgba(85,112,72,.22)}
.route-v8-page .profile-line{stroke:#405f36;stroke-width:3.4}
.route-v8-page .profile-axis{padding:2px 3px 0;font-size:8px;color:#7f857a}
.route-v8-page .track-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin-top:10px;border-top:1px solid var(--route-line);border-left:1px solid var(--route-line);border-radius:7px;overflow:hidden}
.route-v8-page .track-summary>div{padding:9px 8px;border:0;border-right:1px solid var(--route-line);border-bottom:1px solid var(--route-line);background:rgba(255,255,255,.45)}
.route-v8-page .track-summary>div:nth-child(2n){border-right:0}
.route-v8-page .track-summary>div:nth-last-child(-n+2){border-bottom:0}
.route-v8-page .track-summary span{font-size:8px;line-height:1.2;text-transform:uppercase;letter-spacing:.035em;white-space:normal}
.route-v8-page .track-summary strong{margin-top:3px;font-size:13px;line-height:1.2;white-space:nowrap}
.route-v8-page .route-gpx-card{padding:13px 15px}
.route-v8-page .route-gpx-card .route-v8-card-title{margin-bottom:9px;padding-bottom:8px}
.route-v8-page .route-gpx-card .route-v8-card-title h2{font-size:17px}
.route-v8-page .route-gpx-card small{font-size:9px;margin-top:6px}

/* Secundarios con más aire y aspecto editorial. */
.route-v8-page .route-information-grid{grid-template-columns:minmax(0,1.75fr) minmax(300px,.65fr);gap:12px;margin-top:12px}
.route-v8-page .route-description-card,.route-v8-page .route-technical-card{padding:18px}
.route-v8-page .route-description-card .rich-public-content{font-size:15px;line-height:1.72}
.route-v8-page .route-technical-card table{font-size:11px}
.route-v8-page .route-technical-card th,.route-v8-page .route-technical-card td{padding:6px 0}
.route-v8-page .route-weather-detail{margin-top:12px}
.route-v8-page .route-photos-v8,.route-v8-page .route-video-section,.route-v8-page .route-chronicle-v8{margin-top:12px}

@media(max-width:1180px){
  .route-v8-page .route-v8-shell{width:min(100% - 34px,1180px)}
  .route-v8-page .route-weather-band{grid-template-columns:180px minmax(0,1fr)}
  .route-v8-page .route-weather-band-link{grid-column:2;justify-self:end;margin-top:-4px}
  .route-v8-page .route-explorer-grid{grid-template-columns:255px minmax(0,1fr)}
  .route-v8-page .route-left-stack,.route-v8-page .route-map-card{height:540px}
  .route-v8-page .route-right-stack{grid-column:1/-1;height:auto;grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr);grid-template-rows:auto}
  .route-v8-page .route-profile-card{min-height:360px}
}
@media(max-width:900px){
  .route-v8-page .route-hero.public-panorama-hero{min-height:290px}
  .route-v8-page .route-hero.public-panorama-hero .route-hero-inner{width:calc(100% - 38px);padding:70px 0 28px}
  .route-v8-page .route-hero.public-panorama-hero .route-hero-title{font-size:clamp(34px,7.5vw,50px);max-width:78%}
  .route-v8-page .route-weather-band{grid-template-columns:1fr;gap:9px}
  .route-v8-page .route-weather-band-head{padding:0 0 9px;border-right:0;border-bottom:1px solid var(--route-line)}
  .route-v8-page .route-weather-band-link{grid-column:auto;justify-self:start;margin:0}
  .route-v8-page .route-weather-band .weather-compact-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin-left:0}
  .route-v8-page .route-explorer-grid{grid-template-columns:1fr}
  .route-v8-page .route-map-card{grid-row:1;height:520px}
  .route-v8-page .route-left-stack{grid-row:2;height:auto;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto}
  .route-v8-page .route-comments-compact{height:350px}
  .route-v8-page .route-right-stack{grid-column:1;grid-row:3;grid-template-columns:repeat(2,minmax(0,1fr));height:auto}
  .route-v8-page .route-profile-card{min-height:360px}
  .route-v8-page .route-information-grid{grid-template-columns:1fr}
}
@media(max-width:620px){
  .route-v8-page .route-v8-shell{width:calc(100% - 18px)}
  .route-v8-page .route-hero.public-panorama-hero{min-height:260px}
  .route-v8-page .route-hero.public-panorama-hero .route-hero-inner{width:calc(100% - 26px);padding:58px 0 24px}
  .route-v8-page .route-hero.public-panorama-hero .route-hero-title{font-size:clamp(30px,10vw,43px);max-width:90%;line-height:1}
  .route-v8-page .route-reference-kicker{font-size:8px}
  .route-v8-page .route-hero-lead{font-size:10px}
  .route-v8-page .route-statbar{grid-template-columns:repeat(2,minmax(0,1fr))}
  .route-v8-page .route-stat{min-height:64px;padding:9px 8px}
  .route-v8-page .route-weather-band{padding:12px}
  .route-v8-page .route-weather-band .weather-compact-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 8px}
  .route-v8-page .route-map-card{height:470px}
  .route-v8-page .route-left-stack,.route-v8-page .route-right-stack{grid-template-columns:1fr}
  .route-v8-page .route-comments-compact{height:390px}
  .route-v8-page .route-profile-card{min-height:355px}
  .route-v8-page .elevation-profile-chart svg{height:165px}
  .route-v8-page .route-information-grid{gap:10px}
}


/* =========================================================
   LA BOTA · ficha de ruta v10
   Título izquierda + dos meteorologías + perfil GPX legible.
   ========================================================= */
.route-v8-page .route-hero.public-panorama-hero .route-hero-overlay{
  background:linear-gradient(90deg,rgba(10,20,13,.82) 0%,rgba(10,20,13,.58) 34%,rgba(10,20,13,.22) 62%,rgba(10,20,13,.04) 88%),linear-gradient(180deg,rgba(8,15,10,.05),rgba(8,15,10,.08) 52%,rgba(8,15,10,.40));
}
.route-v8-page .route-hero.public-panorama-hero .route-hero-inner{align-items:flex-start;text-align:left;padding:76px 0 34px}
.route-v8-page .route-hero.public-panorama-hero .route-hero-title{max-width:690px;font-size:clamp(32px,3.35vw,49px);line-height:1.02;letter-spacing:.008em}
.route-v8-page .route-hero-lead{max-width:560px}

.route-v8-page .route-weather-duo{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 12px}
.route-v8-page .route-weather-card{min-width:0;min-height:248px;padding:17px 18px 15px;background:rgba(255,252,244,.98);border:1px solid var(--route-line);border-radius:14px;box-shadow:var(--route-shadow);overflow:hidden}
.route-v8-page .route-weather-route{border-top:4px solid #879469}
.route-v8-page .route-weather-current{border-top:4px solid #31452e}
.route-v8-page .route-weather-card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding-bottom:11px;margin-bottom:12px;border-bottom:1px solid var(--route-line)}
.route-v8-page .route-weather-card-header>div{min-width:0}
.route-v8-page .route-weather-eyebrow{display:block;margin-bottom:2px;color:#75806f;font-size:9px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.route-v8-page .route-weather-card-header h2{margin:0;color:#172016;font:700 21px/1.08 var(--font-display)}
.route-v8-page .route-weather-card-header p{margin:4px 0 0;color:#666f64;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.route-v8-page .route-weather-card-header a{flex:0 0 auto;color:#405f36;font-size:9px;font-weight:800;letter-spacing:.04em;text-decoration:none;text-transform:uppercase}
.route-v8-page .route-weather-card-header a:hover{text-decoration:underline}
.route-v8-page .route-weather-main,.route-v8-page .route-weather-current-main{display:flex;align-items:center;gap:14px;min-height:62px}
.route-v8-page .route-weather-big-icon{font-size:42px;line-height:1;flex:0 0 auto}
.route-v8-page .route-weather-main>div>strong,.route-v8-page .route-weather-current-condition{display:block;color:#172016;font:700 18px/1.05 var(--font-display)}
.route-v8-page .route-weather-main>div>span,.route-v8-page .route-weather-current-main small{display:block;margin-top:4px;color:#747b71;font-size:10px}
.route-v8-page .route-weather-current-temp{display:block;color:#172016;font:700 30px/1 var(--font-display)}
.route-v8-page .route-weather-current-condition{margin-top:3px;font-size:14px}
.route-v8-page .route-weather-card-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin-top:12px}
.route-v8-page .route-weather-card-stats>div{min-width:0;padding:8px 7px;background:#f4f0e6;border:1px solid rgba(23,32,22,.07);border-radius:7px}
.route-v8-page .route-weather-card-stats span{display:block;color:#7a8077;font-size:8px;line-height:1.2;text-transform:uppercase}
.route-v8-page .route-weather-card-stats strong{display:block;margin-top:5px;color:#172016;font-size:11px;line-height:1.18;white-space:nowrap}
.route-v8-page .route-weather-hours-mini{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;margin-top:10px}
.route-v8-page .route-weather-hour-mini{display:grid;grid-template-columns:1fr;place-items:center;min-width:0;padding:6px 3px 5px;border-top:1px solid rgba(23,32,22,.10)}
.route-v8-page .route-weather-hour-mini time{color:#697166;font-size:8px;font-weight:800}
.route-v8-page .route-weather-hour-mini span{font-size:17px;line-height:1.2}
.route-v8-page .route-weather-hour-mini strong{color:#172016;font-size:10px}
.route-v8-page .route-weather-loading,.route-v8-page .route-weather-card-empty{display:grid;align-content:center;min-height:138px;gap:5px;color:#60685e;font-size:11px;line-height:1.45}
.route-v8-page .route-weather-card-empty strong{color:#172016;font-size:13px}
.route-v8-page .route-weather-source{display:block;margin-top:10px;color:#8a8f85;font-size:8px;text-align:right}

.route-v8-page .route-profile-card{padding:17px 17px 15px}
.route-v8-page .elevation-profile-chart{min-height:160px;padding-top:10px}
.route-v8-page .elevation-profile-chart svg{height:160px}
.route-v8-page .track-summary{margin-top:14px;border-radius:10px}
.route-v8-page .track-summary>div{min-height:82px;padding:13px 14px 12px;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:9px}
.route-v8-page .track-summary span{display:block;min-height:22px;margin:0;color:#7c8279;font-size:9px;line-height:1.35;letter-spacing:.045em}
.route-v8-page .track-summary strong{display:block;margin:0;color:#172016;font-size:15px;line-height:1.15}

@media(max-width:1180px){
  .route-v8-page .route-weather-card-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
  .route-v8-page .route-weather-hours-mini{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:900px){
  .route-v8-page .route-hero.public-panorama-hero .route-hero-inner{align-items:flex-start;text-align:left;padding:58px 0 30px}
  .route-v8-page .route-hero.public-panorama-hero .route-hero-title{font-size:clamp(30px,6.4vw,44px);max-width:72%}
  .route-v8-page .route-weather-duo{grid-template-columns:1fr}
  .route-v8-page .route-weather-card{min-height:0}
}
@media(max-width:620px){
  .route-v8-page .route-hero.public-panorama-hero .route-hero-title{font-size:clamp(28px,9vw,40px);max-width:92%;line-height:1.02}
  .route-v8-page .route-weather-card{padding:14px}
  .route-v8-page .route-weather-card-header{gap:8px}
  .route-v8-page .route-weather-card-header h2{font-size:19px}
  .route-v8-page .route-weather-card-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .route-v8-page .route-weather-hours-mini{grid-template-columns:repeat(3,minmax(0,1fr))}
  .route-v8-page .track-summary>div{min-height:76px;padding:12px 11px 11px;gap:8px}
}

/* ===== v11 · refinado visual tipo explorador topográfico ===== */
.route-v8-page .route-v8-shell{position:relative;isolation:isolate}
.route-v8-page .route-v8-shell::before{
  content:"";
  position:absolute;
  inset:120px 0 40px;
  pointer-events:none;
  z-index:0;
  background:
    radial-gradient(circle at 18% 16%, rgba(185,199,142,.12), transparent 24%),
    radial-gradient(circle at 82% 12%, rgba(64,95,54,.08), transparent 26%),
    url('assets/topo-lines.svg') center/960px auto repeat-y;
  opacity:.72;
}
.route-v8-page .route-v8-shell > *{position:relative;z-index:1}

.route-v8-page .route-v8-card,
.route-v8-page .route-map-card,
.route-v8-page .route-statbar,
.route-v8-page .route-weather-card{
  position:relative;
  overflow:hidden;
  border-radius:16px;
  border:1px solid rgba(23,32,22,.10);
  box-shadow:0 18px 40px rgba(23,32,22,.08), 0 3px 8px rgba(23,32,22,.04);
}
.route-v8-page .route-v8-card::before,
.route-v8-page .route-map-card::before,
.route-v8-page .route-weather-card::before,
.route-v8-page .route-statbar::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(180deg, rgba(255,255,255,.24), transparent 20%),
    linear-gradient(120deg, rgba(185,199,142,.08), transparent 25%);
}
.route-v8-page .route-v8-card::after,
.route-v8-page .route-map-card::after,
.route-v8-page .route-weather-card::after{
  content:"";
  position:absolute;
  right:-32px;
  bottom:-24px;
  width:150px;
  height:150px;
  pointer-events:none;
  background:url('assets/topo-lines.svg') center/240px 240px no-repeat;
  opacity:.08;
}

.route-v8-page .route-statbar{
  background:linear-gradient(180deg, rgba(255,252,244,.98), rgba(249,245,236,.96));
}
.route-v8-page .route-stat{
  position:relative;
}
.route-v8-page .route-stat:not(:last-child)::after{
  content:"";
  position:absolute;
  right:0;
  top:10px;
  bottom:10px;
  width:1px;
  background:linear-gradient(180deg, transparent, rgba(23,32,22,.12), transparent);
}
.route-v8-page .route-stat-icon{
  width:34px;height:34px;flex-basis:34px;border-radius:10px;
  background:rgba(64,95,54,.08); color:#21301c;
}

.route-v8-page .route-weather-card{
  background:linear-gradient(180deg, rgba(255,252,244,.99), rgba(248,245,236,.97));
}
.route-v8-page .route-weather-card::after{opacity:.11;right:-18px;top:auto;bottom:-18px}
.route-v8-page .route-weather-route{border-top:4px solid #8b9a69}
.route-v8-page .route-weather-current{border-top:4px solid #2f4731}
.route-v8-page .route-weather-card-header h2{letter-spacing:.01em}
.route-v8-page .route-weather-card-stats>div{background:rgba(244,240,230,.92)}

.route-v8-page .route-map-card{
  background:linear-gradient(180deg, rgba(255,252,244,.99), rgba(248,244,235,.97));
}
.route-v8-page .route-map-card::after{
  width:156px;height:156px;top:16px;right:16px;bottom:auto;
  background:url('assets/compass-rose.svg') center/100% 100% no-repeat;
  opacity:.18;
}
.route-v8-page .route-map-toolbar{
  position:relative;
  padding:18px 18px 12px;
  border-bottom:1px solid rgba(23,32,22,.08);
  background:linear-gradient(180deg, rgba(255,255,255,.22), transparent);
}
.route-v8-page .route-map-toolbar strong{
  display:block;
  max-width:calc(100% - 170px);
  color:#172016;
  font:700 26px/1 var(--font-display);
  letter-spacing:.01em;
}
.route-v8-page .route-map-toolbar::before{
  content:"Explorador de la ruta";
  display:block;
  margin-bottom:5px;
  color:#7b8475;
  font-size:10px;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.route-v8-page .route-map-wrap{padding:14px 18px 18px}
.route-v8-page .route-map{
  min-height:460px;
  border-radius:14px;
  border:1px solid rgba(23,32,22,.08);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.35);
}
.route-v8-page .route-map-layers button{
  border-radius:999px;
  background:#f4efe4;
  border:1px solid rgba(23,32,22,.10);
}
.route-v8-page .route-map-layers button.is-active{background:#405f36;color:#fff}

.route-v8-page .route-v8-card-title{position:relative;padding-bottom:12px;margin-bottom:14px}
.route-v8-page .route-v8-card-title::after{
  content:"";
  position:absolute;
  left:0;bottom:0;
  width:72px;height:2px;
  background:linear-gradient(90deg, #7f8f63, rgba(127,143,99,0));
}
.route-v8-page .route-v8-card-title h2{font-size:24px}
.route-v8-page .route-v8-card-title>span:first-child,
.route-v8-page .route-card-kicker,
.route-v8-page .route-mini-badge,
.route-v8-page .route-weather-eyebrow,
.route-v8-page .section-kicker{
  letter-spacing:.13em;
}

.route-v8-page .route-when-card{
  background:linear-gradient(180deg, #233629, #18261c);
  color:#f7f4ea;
}
.route-v8-page .route-when-card::before{background:linear-gradient(180deg, rgba(255,255,255,.04), transparent 22%), linear-gradient(120deg, rgba(185,199,142,.07), transparent 28%)}
.route-v8-page .route-when-card::after{opacity:.12;filter:brightness(1.1)}
.route-v8-page .route-when-card .route-v8-card-title,
.route-v8-page .route-when-card .route-v8-card-title h2,
.route-v8-page .route-when-card .route-date-block strong,
.route-v8-page .route-when-card .route-date-block b,
.route-v8-page .route-when-card .route-meeting-block strong{color:#fffdf7}
.route-v8-page .route-when-card .route-v8-card-title::after{background:linear-gradient(90deg, #c8d4a0, rgba(200,212,160,0))}
.route-v8-page .route-when-card .route-v8-card-title svg,
.route-v8-page .route-when-card .route-meeting-block>svg{color:#d7e0b8}
.route-v8-page .route-when-card .route-date-block span,
.route-v8-page .route-when-card .route-meeting-block span{color:rgba(248,244,233,.70)}
.route-v8-page .route-when-card .route-v8-primary{background:#647e53}
.route-v8-page .route-when-card .route-v8-primary:hover{background:#708b5d}

.route-v8-page .route-profile-card .route-v8-card-title,
.route-v8-page .route-gpx-card .route-v8-card-title,
.route-v8-page .route-technical-card .route-v8-card-title,
.route-v8-page .route-description-card .route-v8-card-title,
.route-v8-page .route-comments-compact .route-v8-card-title,
.route-v8-page .route-photos-v8 .route-v8-card-title,
.route-v8-page .route-chronicle-v8 .route-v8-card-title{
  padding-right:54px;
}
.route-v8-page .route-profile-card::after,
.route-v8-page .route-gpx-card::after,
.route-v8-page .route-technical-card::after,
.route-v8-page .route-description-card::after,
.route-v8-page .route-comments-compact::after,
.route-v8-page .route-photos-v8::after,
.route-v8-page .route-chronicle-v8::after{
  opacity:.10;
}

.route-v8-page .track-summary>div{
  background:linear-gradient(180deg, rgba(255,255,255,.9), rgba(244,240,230,.96));
  border-radius:12px;
}
.route-v8-page .comment-card{border-radius:12px;background:rgba(247,244,234,.88)}
.route-v8-page .route-description-card,
.route-v8-page .route-technical-card,
.route-v8-page .route-photos-v8,
.route-v8-page .route-chronicle-v8{background:linear-gradient(180deg, rgba(255,252,244,.99), rgba(249,246,238,.98))}

@media (max-width: 1120px){
  .route-v8-page .route-map-toolbar strong{max-width:none;font-size:24px}
  .route-v8-page .route-map-card::after{width:132px;height:132px;opacity:.14}
}
@media (max-width: 900px){
  .route-v8-page .route-v8-shell::before{inset:96px 0 24px;background:radial-gradient(circle at 12% 12%, rgba(185,199,142,.10), transparent 22%), url('assets/topo-lines.svg') center/840px auto repeat-y;opacity:.56}
  .route-v8-page .route-v8-card::after,
  .route-v8-page .route-weather-card::after,
  .route-v8-page .route-map-card::after{opacity:.08}
}
@media (max-width: 640px){
  .route-v8-page .route-map-toolbar{padding:16px 14px 10px}
  .route-v8-page .route-map-toolbar strong{font-size:22px}
  .route-v8-page .route-map-wrap{padding:12px 14px 14px}
  .route-v8-page .route-v8-card,
  .route-v8-page .route-weather-card{border-radius:14px}
  .route-v8-page .route-v8-card-title h2{font-size:22px}
}

/* ===== v12 · ficha casi calcada al estilo de referencia, con identidad La Bota ===== */
.route-v8-page{
  --route-bg:#efe9dc;
  --route-paper:#fffdf7;
  --route-paper-soft:#f7f3e8;
  --route-ink:#172016;
  --route-muted:#6e756d;
  --route-olive:#405f36;
  --route-olive-soft:#7d8d62;
  --route-accent:#cfd8ae;
  --route-line:rgba(23,32,22,.11);
  --route-shadow:0 20px 46px rgba(23,32,22,.08),0 4px 12px rgba(23,32,22,.04);
}
.route-v8-page .route-detail{
  background:
    radial-gradient(circle at 15% 0%, rgba(180,195,140,.12), transparent 24%),
    radial-gradient(circle at 85% 10%, rgba(64,95,54,.08), transparent 20%),
    linear-gradient(180deg,#efe9dc 0,#f4f0e7 100%);
}
.route-v8-page .route-v8-shell{width:min(1480px,calc(100% - 46px));padding-top:18px}
.route-v8-page .route-v8-actions{margin-bottom:12px}

/* Cartas más cercanas a maqueta editorial */
.route-v8-page .route-v8-card,
.route-v8-page .route-map-card,
.route-v8-page .route-statbar,
.route-v8-page .route-weather-card{
  border-radius:18px;
  border:1px solid rgba(23,32,22,.08);
  background:linear-gradient(180deg, rgba(255,253,247,.99), rgba(248,244,235,.98));
  box-shadow:var(--route-shadow);
}
.route-v8-page .route-v8-card,
.route-v8-page .route-map-card,
.route-v8-page .route-weather-card{position:relative;overflow:hidden}
.route-v8-page .route-v8-card::before,
.route-v8-page .route-map-card::before,
.route-v8-page .route-weather-card::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(180deg, rgba(255,255,255,.28), transparent 24%),
    linear-gradient(120deg, rgba(207,216,174,.07), transparent 24%);
}
.route-v8-page .route-v8-card::after,
.route-v8-page .route-map-card::after,
.route-v8-page .route-weather-card::after{
  content:"";
  position:absolute;
  right:-36px;
  bottom:-36px;
  width:165px;
  height:165px;
  pointer-events:none;
  opacity:.08;
  background:url('assets/topo-lines.svg') center/100% 100% no-repeat;
}

/* Barra principal de datos más “premium” */
.route-v8-page .route-statbar{padding:8px 12px;margin-bottom:16px}
.route-v8-page .route-stat{min-height:86px;padding:15px 15px;gap:12px}
.route-v8-page .route-stat-icon{width:36px;height:36px;flex-basis:36px;border-radius:11px;background:rgba(64,95,54,.08)}
.route-v8-page .route-stat span:not(.route-stat-icon){font-size:9px;letter-spacing:.09em}
.route-v8-page .route-stat strong{font-size:18px}
.route-v8-page .route-stat.difficulty strong{color:#b35a35}
.route-v8-page .difficulty-dots i.on{background:#b35a35}

/* Duo de tiempo más sólido y simétrico */
.route-v8-page .route-weather-duo{gap:14px;margin:0 0 14px}
.route-v8-page .route-weather-card{min-height:262px;padding:18px 20px 16px}
.route-v8-page .route-weather-route{border-top:5px solid #8a9a67}
.route-v8-page .route-weather-current{border-top:5px solid #31452e}
.route-v8-page .route-weather-card-header{padding-bottom:12px;margin-bottom:14px}
.route-v8-page .route-weather-card-header h2{font-size:24px;line-height:1.02}
.route-v8-page .route-weather-card-header p{font-size:12px}
.route-v8-page .route-weather-card-stats{gap:8px}
.route-v8-page .route-weather-card-stats>div{border-radius:10px;padding:10px 9px;background:rgba(244,240,230,.96)}
.route-v8-page .route-weather-card-stats span{font-size:8px;letter-spacing:.08em}
.route-v8-page .route-weather-card-stats strong{font-size:12px}

/* Bloque central: izquierda comentarios/encuentro, centro mapa, derecha perfil/gpx */
.route-v8-page .route-explorer-grid{gap:16px;align-items:stretch}
.route-v8-page .route-left-stack,.route-v8-page .route-right-stack{gap:16px}
.route-v8-page .route-left-stack,.route-v8-page .route-right-stack,.route-v8-page .route-map-card{height:590px}
.route-v8-page .route-left-stack{grid-template-rows:auto minmax(0,1fr)}
.route-v8-page .route-right-stack{grid-template-rows:minmax(0,1fr) auto}

.route-v8-page .route-v8-card{padding:18px}
.route-v8-page .route-v8-card-title{gap:10px;padding-bottom:12px;margin-bottom:14px}
.route-v8-page .route-v8-card-title>span:first-child,
.route-v8-page .route-card-kicker{font-size:10px;font-weight:900;letter-spacing:.13em;text-transform:uppercase;color:#7d8578}
.route-v8-page .route-v8-card-title h2{font-size:24px;line-height:1.03}
.route-v8-page .route-v8-card-title::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:78px;
  height:2px;
  background:linear-gradient(90deg,#89966c,rgba(137,150,108,0));
}

.route-v8-page .route-when-card{background:linear-gradient(165deg,#1d2b1e 0,#162116 100%)}
.route-v8-page .route-when-card .route-v8-card-title h2{font-size:22px}
.route-v8-page .route-date-block strong{font-size:24px}
.route-v8-page .route-date-block b{font-size:15px}
.route-v8-page .route-meeting-block{padding:14px 0}
.route-v8-page .route-meeting-block strong{font-size:14px}

.route-v8-page .route-comments-compact{background:linear-gradient(180deg, rgba(255,252,244,.99), rgba(249,245,236,.98))}
.route-v8-page .route-comments-scroll{padding-right:8px}
.route-v8-page .route-comment-mini{padding:12px 0}
.route-v8-page .route-comment-mini p{font-size:13px;line-height:1.48}
.route-v8-page .route-comment-compose summary{border-radius:10px;background:#f6f1e6}

/* Mapa con más presencia */
.route-v8-page .route-map-card{height:590px}
.route-v8-page .route-map-card::after{
  width:160px;height:160px;top:18px;right:18px;bottom:auto;
  background:url('assets/compass-rose.svg') center/100% 100% no-repeat;
  opacity:.17;
}
.route-v8-page .route-map-toolbar{padding:18px 18px 12px;background:transparent;border-bottom:1px solid rgba(23,32,22,.08)}
.route-v8-page .route-map-toolbar>strong{font-size:27px;line-height:1.02;max-width:calc(100% - 170px)}
.route-v8-page .route-map-toolbar::before{
  content:"Explorador del recorrido";
  display:block;
  width:100%;
  margin-bottom:5px;
  color:#7f8778;
  font-size:10px;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.route-v8-page .route-map-wrap{padding:14px 18px 18px}
.route-v8-page .route-map{border-radius:14px;border:1px solid rgba(23,32,22,.08);min-height:480px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.4)}
.route-v8-page .route-map-layers button{padding:7px 13px;border-radius:999px;border:1px solid rgba(23,32,22,.10);background:#f4efe4}
.route-v8-page .route-map-layers button.is-active{background:#405f36;color:#fff}
.route-v8-page .map-fullscreen{border-radius:12px;backdrop-filter:blur(8px)}

/* Perfil y GPX más próximos a la referencia */
.route-v8-page .route-profile-card{padding:18px 18px 16px;background:linear-gradient(180deg,#fffdf8 0,#f7f3e9 100%)}
.route-v8-page .route-profile-title h2{font-size:24px}
.route-v8-page .route-card-kicker{margin-bottom:4px}
.route-v8-page .elevation-profile-chart{min-height:200px;padding:10px 2px 0}
.route-v8-page .elevation-profile-chart svg{height:190px}
.route-v8-page .profile-axis{padding-top:6px;font-size:9px}
.route-v8-page .track-summary{margin-top:14px;border-radius:14px}
.route-v8-page .track-summary>div{padding:12px 11px}
.route-v8-page .track-summary span{font-size:9px;letter-spacing:.07em;color:#7d8578}
.route-v8-page .track-summary strong{font-size:18px;color:#172016}
.route-v8-page .route-gpx-card{padding:16px 18px}
.route-v8-page .route-gpx-card .route-v8-card-title h2{font-size:20px}
.route-v8-page .route-gpx-download{min-height:48px;border-radius:12px}

/* Bloques inferiores más ordenados */
.route-v8-page .route-information-grid{grid-template-columns:minmax(0,1.75fr) minmax(320px,.7fr);gap:16px;margin-top:16px}
.route-v8-page .route-description-card,.route-v8-page .route-technical-card{padding:20px}
.route-v8-page .route-description-card .rich-public-content{font-size:16px;line-height:1.76}
.route-v8-page .route-technical-card table{font-size:12px}
.route-v8-page .route-technical-card th,.route-v8-page .route-technical-card td{padding:8px 0;border-bottom:1px solid rgba(23,32,22,.07)}
.route-v8-page .route-technical-card th{color:#6f766d}
.route-v8-page .route-weather-detail,
.route-v8-page .route-photos-v8,
.route-v8-page .route-video-section,
.route-v8-page .route-chronicle-v8{margin-top:16px}
.route-v8-page .route-photos-v8 .photo-strip img{border-radius:12px}
.route-v8-page .photo-strip{gap:10px}
.route-v8-page .route-chronicle-v8 .rich-public-content{font-size:16px;line-height:1.78}

/* Responsive */
@media (max-width: 1220px){
  .route-v8-page .route-left-stack,.route-v8-page .route-right-stack,.route-v8-page .route-map-card{height:560px}
  .route-v8-page .route-map-toolbar>strong{max-width:none;font-size:24px}
}
@media (max-width: 980px){
  .route-v8-page .route-v8-shell{width:min(100% - 28px,1480px)}
  .route-v8-page .route-weather-duo{grid-template-columns:1fr}
  .route-v8-page .route-left-stack,.route-v8-page .route-right-stack,.route-v8-page .route-map-card{height:auto}
  .route-v8-page .route-explorer-grid{grid-template-columns:1fr}
  .route-v8-page .route-map-card{order:1}
  .route-v8-page .route-left-stack{order:2;grid-template-columns:1fr 1fr}
  .route-v8-page .route-right-stack{order:3;grid-template-columns:1fr 1fr;grid-template-rows:auto}
  .route-v8-page .route-map{min-height:430px}
  .route-v8-page .route-information-grid{grid-template-columns:1fr}
}
@media (max-width: 680px){
  .route-v8-page .route-v8-shell{width:calc(100% - 18px)}
  .route-v8-page .route-statbar{grid-template-columns:repeat(2,minmax(0,1fr));padding:6px}
  .route-v8-page .route-stat{min-height:74px;padding:10px 8px}
  .route-v8-page .route-stat:nth-child(2n){border-right:0}
  .route-v8-page .route-weather-card{padding:14px 14px 13px;min-height:0}
  .route-v8-page .route-weather-card-header h2{font-size:21px}
  .route-v8-page .route-weather-card-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .route-v8-page .route-left-stack,.route-v8-page .route-right-stack{grid-template-columns:1fr}
  .route-v8-page .route-v8-card,.route-v8-page .route-gpx-card,.route-v8-page .route-description-card,.route-v8-page .route-technical-card{padding:16px}
  .route-v8-page .route-v8-card-title h2,.route-v8-page .route-profile-title h2,.route-v8-page .route-map-toolbar>strong{font-size:21px}
  .route-v8-page .route-map-toolbar{padding:15px 14px 10px}
  .route-v8-page .route-map-wrap{padding:12px 14px 14px}
  .route-v8-page .route-map{min-height:390px}
  .route-v8-page .track-summary strong{font-size:16px}
}
