/* Recorridos y pasaporte. Los colores proceden del sistema CREATICS compartido. */
.journey{margin:24px 0 30px;border:2px solid var(--ink);border-radius:23px;background:var(--paper);box-shadow:5px 5px 0 var(--ink);overflow:hidden;isolation:isolate}
.journey-heading{display:flex;align-items:center;gap:13px;flex-wrap:wrap;padding:12px 18px;background:var(--yellow-100);border-bottom:2px solid var(--ink)}
.journey-heading>span:first-child{display:flex;align-items:center;gap:8px;font-size:14px}.journey-heading>.journey-caption{margin-left:auto;font-size:12px;color:var(--blue);line-height:1.35;max-width:330px}
.journey-compass{width:26px;height:26px;border:1.5px solid var(--ink);border-radius:50%;display:flex;align-items:center;justify-content:center;position:relative;font-size:8px;font-weight:800;color:var(--blue);flex:none;transform:rotate(-15deg);margin-left:auto;background:var(--paper)}
.journey-compass i{width:7px;height:14px;background:linear-gradient(to bottom,var(--pink) 50%,var(--blue) 50%);clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%);margin-top:3px}.journey-compass:has(+.journey-caption){margin-left:0}
.journey-landscape{position:relative;padding:20px 15px 17px;background:var(--blue-50);overflow:hidden}
.journey-hill{position:absolute;width:450px;height:170px;border-radius:50%;border:2px solid var(--ink);opacity:.13;background:var(--mint);z-index:0;pointer-events:none}.journey-hill--one{bottom:-92px;left:-80px;transform:rotate(12deg)}.journey-hill--two{top:-123px;right:-70px;transform:rotate(-14deg);background:var(--yellow)}
.journey-path-line{position:absolute;left:7%;top:29px;width:86%;height:112px;overflow:visible;pointer-events:none;z-index:1}
.journey-path-line path{fill:none;stroke-linecap:round;vector-effect:non-scaling-stroke}.journey-path-shadow{stroke:var(--ink);stroke-width:22px}.journey-path-track{stroke:var(--mint);stroke-width:18px}.journey-path-dashes{stroke:var(--paper);stroke-width:3px;stroke-dasharray:3 10}
.journey-stations{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(var(--journey-station-count),minmax(0,1fr));gap:12px;position:relative;z-index:2;min-height:170px}
.journey-station{min-width:0;text-align:center;position:relative;padding-top:0}.journey-station:nth-child(even){padding-top:22px}
.journey-station-button{border:0;background:none;padding:0 2px;color:var(--ink);width:100%;display:flex;flex-direction:column;align-items:center;gap:11px;text-align:center;border-radius:12px;font:inherit;min-width:0}.journey-station-button:focus-visible{outline-offset:6px}.journey-station button:hover .journey-pin{transform:translateY(-4px) rotate(-3deg);box-shadow:4px 6px 0 var(--ink)}
.journey-pin{display:grid;place-items:center;position:relative;width:88px;height:74px;border:2px solid var(--ink);border-radius:30px 30px 14px 14px;background:var(--paper);box-shadow:3px 4px 0 var(--ink);flex:none;transition:transform .16s,box-shadow .16s}
.journey-pin-number{position:absolute;left:-10px;top:-8px;width:26px;height:26px;border:2px solid var(--ink);background:var(--yellow);border-radius:50%;font-size:12px;font-weight:800;display:grid;place-items:center;z-index:2}.journey-pin-number .ui-icon{width:15px;height:15px}
.journey-pin-art{width:76px;display:block;padding-top:6px}.journey-pin-status{position:absolute;right:-7px;bottom:-7px;width:24px;height:24px;display:grid;place-items:center;border:2px solid var(--ink);background:var(--mint);border-radius:50%;color:var(--ink)}.journey-pin-status .ui-icon{width:15px;height:15px}
.journey-station-label{max-width:168px;display:block;overflow-wrap:anywhere}.journey-station-label b{font-size:13px;line-height:1.25;display:block}.journey-station-label small{font-size:10px;line-height:1.3;display:block;margin-top:5px;color:var(--blue)}
.journey-station--origin .journey-pin{background:var(--yellow-100)}.journey-station--complete .journey-pin{background:var(--turquoise-100)}.journey-station--partial .journey-pin{background:var(--yellow-100)}.journey-station--partial .journey-pin-status{background:var(--yellow)}.journey-station--attempted .journey-pin{border-style:dashed;background:var(--pink-50)}.journey-station--attempted .journey-pin-status{background:var(--pink-50);color:var(--pink)}
.journey-station--choice .journey-pin{background:var(--pink-50);border-radius:50%;height:78px;width:78px}.journey-station--choice .journey-pin-art{width:66px}.journey-station--choice .journey-pin-number{background:var(--pink);color:white}.journey-station--finish .journey-pin{background:var(--yellow-100)}.journey-station.is-current .journey-station-label small{display:inline-block;background:var(--ink);color:white;padding:3px 6px;border-radius:5px;font-weight:650}
.journey-exits{position:absolute;bottom:-10px;left:-18px;right:-18px;height:20px;display:flex;justify-content:space-between;align-items:flex-end}.journey-exits i{width:12px;height:12px;border:2px solid var(--ink);border-radius:50%;background:var(--pink);position:relative}.journey-exits i:nth-child(2){margin-bottom:-3px;background:var(--yellow)}.journey-exits i:nth-child(3){background:var(--blue)}.journey-exits i::before{content:'';position:absolute;height:17px;top:-19px;left:4px;border-left:2px solid var(--ink);transform:rotate(20deg)}.journey-exits i:nth-child(2)::before{transform:none;height:11px;top:-13px}.journey-exits i:nth-child(3)::before{transform:rotate(-20deg)}
.journey-landmark{position:absolute;pointer-events:none;z-index:0}.journey-landmark--spark{font-size:26px;color:var(--pink);top:16px;left:37%;transform:rotate(15deg)}.journey-landmark--plant{bottom:10px;right:24%;height:20px;border-left:3px solid var(--ink);transform:rotate(-10deg)}.journey-landmark--plant::before,.journey-landmark--plant::after{content:'';position:absolute;top:0;width:10px;height:14px;background:var(--mint);border:1.5px solid var(--ink);border-radius:80% 0 80% 0;left:-12px;transform:rotate(-55deg)}.journey-landmark--plant::after{left:1px;top:4px;transform:rotate(25deg)}.journey-landmark--flag{width:12px;height:18px;bottom:12px;left:28%;border-left:2px solid var(--ink)}.journey-landmark--flag::before{content:'';position:absolute;top:0;left:0;width:13px;height:9px;background:var(--pink);clip-path:polygon(0 0,100% 50%,0 100%)}
.journey-passport{display:flex;gap:15px;align-items:center;padding:10px 17px;background:var(--paper);border-top:2px dashed var(--blue-200)}.journey-passport-label{display:flex;gap:6px;align-items:center;color:var(--blue);font-size:11px;font-weight:800;flex:none}.journey-passport-label .ui-icon{width:16px;height:16px}.journey-stamps{padding:0;margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;list-style:none;flex:1}.journey-stamp{display:flex;gap:8px;align-items:center;min-width:0}.journey-stamp-picture{position:relative;width:43px;height:43px;flex:none;transform:rotate(-7deg)}.journey-stamp:nth-child(2) .journey-stamp-picture{transform:rotate(6deg)}.journey-stamp-art{height:100%;width:100%}.journey-stamp-check{position:absolute;right:-3px;bottom:0;background:var(--mint);border:1.5px solid var(--ink);border-radius:50%;display:grid;place-items:center;width:17px;height:17px}.journey-stamp-check .ui-icon{width:10px;height:10px}.journey-stamp-copy{min-width:0}.journey-stamp b{font-size:11px;line-height:1.25;display:block}.journey-stamp small{font-size:10px;line-height:1.3;display:block;color:var(--neutral-600);margin-top:3px}.journey-stamp.is-pending .journey-stamp-art{opacity:.45;filter:grayscale(1)}.journey-stamp.is-earned small{color:var(--turquoise-700);font-weight:700}
.journey--task{margin:0 0 27px}.journey--task .journey-landscape{padding-top:17px;padding-bottom:10px}.journey--task .journey-stations{min-height:148px}.journey--task .journey-heading{padding:9px 16px}
.journey-fallback-art{font-size:32px;color:var(--pink)}
/* El archivo de recorrido es un mapa de ideas abiertas, con senderos que crecen. */
.journey-archipelago{margin:26px 0}.journey-journal-intro{display:flex;gap:20px;flex-wrap:wrap;align-items:center;margin-bottom:23px}.journey-map-sign{display:inline-flex;align-items:center;gap:8px;background:var(--yellow);border:2px solid var(--ink);box-shadow:3px 3px 0 var(--ink);padding:8px 13px;border-radius:6px;transform:rotate(-1deg);font-size:13px;font-weight:800}.journey-journal-intro p{color:var(--blue);font-size:13px;max-width:480px}.journey-islands{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:25px;align-items:start}.journey-island{border:2px solid var(--ink);box-shadow:5px 5px 0 var(--ink);border-radius:24px;background:var(--paper);overflow:hidden;min-width:0}.journey-island-header{display:flex;gap:15px;align-items:center;min-height:124px;padding:16px;background:var(--turquoise-100);border-bottom:2px dashed var(--ink)}.journey-island--2 .journey-island-header{background:var(--yellow-100)}.journey-island--3 .journey-island-header{background:var(--pink-50)}.journey-island--4 .journey-island-header{background:var(--blue-50)}.journey-island-art{width:100px;flex:none;transform:rotate(-5deg)}.journey-island-name{text-transform:uppercase;letter-spacing:.08em;font-size:10px;font-weight:850;color:var(--blue)}.journey-island-header h2{font-size:22px;margin:5px 0 7px;overflow-wrap:anywhere}.journey-island-header p{font-size:11px;color:var(--blue)}.journey-tree{list-style:none;padding:18px;margin:0}.journey-tree-node{position:relative;min-width:0}.journey-tree-branches{list-style:none;margin:10px 0 3px 11px;padding:0 0 0 16px;border-left:2px dashed var(--blue-200);display:grid;gap:9px}.journey-tree-branches>.journey-tree-node::before{content:'';position:absolute;left:-16px;top:25px;width:16px;border-top:2px dashed var(--blue-200)}.journey-tree-door{padding:8px 10px;min-height:53px;width:100%;display:flex;align-items:center;gap:9px;background:var(--paper);border:1.5px solid var(--blue-200);border-radius:11px;text-align:left;font:inherit;color:var(--ink)}.journey-tree-door:hover{background:var(--yellow-100);border-color:var(--ink)}.journey-tree-door>span:nth-child(2){flex:1;min-width:0}.journey-tree-door b{font-size:13px;line-height:1.3;display:block;overflow-wrap:anywhere}.journey-tree-door small{font-size:12px;line-height:1.3;display:block;color:var(--neutral-600);margin-top:3px}.journey-tree-door>.ui-icon:last-child{width:14px;height:14px;color:var(--blue);flex:none}.journey-tree-marker{display:grid;place-items:center;width:27px;height:27px;border:1.5px solid var(--ink);border-radius:50%;background:var(--blue-50);flex:none;box-shadow:1px 2px 0 var(--ink)}.journey-tree-marker .ui-icon{width:15px;height:15px}.journey-tree-node--complete>.journey-tree-door{border-color:var(--turquoise-700)}.journey-tree-node--complete>.journey-tree-door .journey-tree-marker{background:var(--mint)}.journey-tree-node--partial>.journey-tree-door{border-color:var(--yellow-500)}.journey-tree-node--partial>.journey-tree-door .journey-tree-marker{background:var(--yellow)}.journey-tree-node--attempted>.journey-tree-door{border-color:var(--pink);border-style:dashed}.journey-tree-node--attempted>.journey-tree-door .journey-tree-marker{background:var(--pink-50);color:var(--pink)}.journey-archipelago>.journey-passport{border:2px solid var(--ink);box-shadow:3px 3px 0 var(--ink);border-radius:16px;margin-top:26px}
/* Aviso breve de éxito, sin bloquear la siguiente elección. */
.journey-celebration{position:fixed;z-index:50;bottom:22px;right:24px;width:min(410px,calc(100vw - 32px));display:flex;gap:15px;align-items:center;background:var(--yellow-100);padding:20px;border:2.5px solid var(--ink);box-shadow:6px 6px 0 var(--ink);border-radius:20px;pointer-events:none;animation:journey-pop .4s cubic-bezier(.2,1.5,.5,1);isolation:isolate}.journey-celebration-art{width:73px;flex:none;transform:rotate(-8deg)}.journey-celebration strong{font-size:18px;line-height:1.2;display:block}.journey-celebration p{font-size:13px;line-height:1.3;font-weight:750;margin:8px 0}.journey-celebration span{font-size:11px;line-height:1.4;display:block;color:var(--blue)}.journey-celebration-spark{position:absolute;top:-26px;left:26px;color:var(--pink);font-size:39px;text-shadow:2px 2px var(--ink);transform:rotate(-15deg)}.journey-confetti{position:absolute;width:9px;height:15px;border:1.5px solid var(--ink);background:var(--pink);top:-18px;animation:journey-confetti .8s ease-out both}.journey-confetti--one{right:38px;transform:rotate(20deg)}.journey-confetti--two{right:68px;top:-40px;background:var(--mint);transform:rotate(-24deg);animation-delay:.06s}.journey-confetti--three{right:6px;top:-33px;background:var(--yellow);transform:rotate(45deg);animation-delay:.1s}
@keyframes journey-pop{from{opacity:0;transform:translateY(24px) scale(.94)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes journey-confetti{from{opacity:0;translate:0 30px}to{opacity:1;translate:0 0}}
@media(max-width:900px){.journey-passport{gap:10px}.journey-passport-label{flex-direction:column;text-align:center;max-width:60px;font-size:10px}.journey-stamps{gap:8px}.journey-pin{width:74px;height:65px}.journey-pin-art{width:65px}.journey-station--choice .journey-pin{width:65px;height:65px}.journey-station--choice .journey-pin-art{width:57px}.journey-stations{gap:9px}.journey-station-label b{font-size:12px}.journey-stations{min-height:157px}.journey-island-art{width:80px}.journey-island-header h2{font-size:20px}}
@media(max-width:640px){.journey{border-radius:18px;box-shadow:3px 4px 0 var(--ink);margin-top:22px;margin-bottom:25px}.journey-heading{padding:10px 13px;gap:8px}.journey-heading>span:first-child{font-size:12px}.journey-heading>.journey-caption{display:none}.journey-heading .journey-compass{margin-left:auto!important}.journey-landscape{padding:19px 15px 15px;min-height:0}.journey-path-line{display:none}.journey-stations{display:flex;flex-direction:column;gap:20px;min-height:0;padding:0 0 0 16px}.journey-stations::before{content:'';position:absolute;top:26px;bottom:37px;left:45px;width:14px;border:2px solid var(--ink);border-radius:20px;background:var(--mint);z-index:-1}.journey-stations::after{content:'';position:absolute;top:30px;bottom:42px;left:51px;border-left:3px dotted var(--paper);z-index:-1}.journey-station,.journey-station:nth-child(even){padding-top:0}.journey-station-button{flex-direction:row;text-align:left;gap:20px;min-height:63px;padding:0}.journey-pin{width:68px;height:57px;border-radius:22px 22px 11px 11px;box-shadow:2px 3px 0 var(--ink)}.journey-pin-art{width:56px}.journey-pin-number{width:23px;height:23px;left:-7px;top:-4px;font-size:10px}.journey-station--choice .journey-pin{width:61px;height:61px;margin-left:3px}.journey-station--choice .journey-pin-art{width:50px}.journey-station-label{max-width:none;flex:1;text-align:left}.journey-station-label b{font-size:14px}.journey-station-label small{font-size:11px}.journey-landmark--spark{top:10px;left:auto;right:25px;font-size:20px}.journey-landmark--plant{bottom:15px;right:14px}.journey-landmark--flag{left:auto;right:35px;bottom:95px}.journey-hill--one{bottom:-60px;left:-130px;width:300px;height:150px}.journey-hill--two{top:-99px;right:-140px;width:340px;height:220px}.journey-passport{display:block;padding:11px 12px}.journey-passport-label{display:flex;flex-direction:row;max-width:none;margin-bottom:7px;font-size:11px}.journey-stamps{gap:9px}.journey-stamp{flex-direction:column;align-items:flex-start;gap:4px}.journey-stamp-picture{width:38px;height:38px;align-self:center}.journey-stamp-copy{width:100%;text-align:center}.journey-stamp-copy b{font-size:12px}.journey-stamp-copy small{font-size:11px;line-height:1.35}.journey--task .journey-stations{gap:13px;min-height:0}.journey--task .journey-station-button{min-height:48px;gap:17px}.journey--task .journey-pin{width:51px;height:45px;border-radius:15px 15px 9px 9px}.journey--task .journey-pin-art{width:43px;padding-top:3px}.journey--task .journey-pin-status{width:20px;height:20px;right:-5px;bottom:-4px}.journey--task .journey-pin-status .ui-icon{width:12px;height:12px}.journey--task .journey-stations::before{left:36px;bottom:27px;width:11px;top:20px}.journey--task .journey-stations::after{left:40px;bottom:31px;top:23px}.journey--task .journey-station-label b{font-size:12px}.journey--task .journey-station-label small{font-size:11px}.journey--task .journey-landscape{padding-top:13px;padding-bottom:13px}.journey-islands{grid-template-columns:1fr;gap:22px}.journey-island-header{min-height:104px}.journey-island-art{width:87px}.journey-tree{padding:13px}.journey-island-header h2{font-size:21px}.journey-tree-branches{margin-left:9px;padding-left:12px}.journey-tree-branches>.journey-tree-node::before{width:12px;left:-12px}.journey-journal-intro p{font-size:12px}.journey-celebration{bottom:17px;right:17px;padding:16px;gap:11px;box-shadow:4px 4px 0 var(--ink)}.journey-celebration-art{width:56px}.journey-celebration strong{font-size:16px}}
@media(max-width:360px){.journey-station-button{gap:14px}.journey-stations{padding-left:9px}.journey-stations::before{left:38px}.journey-stations::after{left:44px}.journey--task .journey-stations::before{left:29px}.journey--task .journey-stations::after{left:33px}.journey-tree-door{padding:8px 7px;gap:7px}.journey-tree-marker{width:23px;height:23px}.journey-tree-door b{font-size:13px}.journey-tree-door>.ui-icon:last-child{display:none}.journey-island-header{padding:13px;gap:10px}.journey-island-art{width:66px}.journey-island-header h2{font-size:20px}.journey-stamp-copy small{font-size:11px}}
@media(prefers-reduced-motion:reduce){.journey *, .journey-celebration, .journey-celebration *{animation:none!important;transition:none!important}.journey-station button:hover .journey-pin{transform:none}}
