/* journey.css: the Toddler pass journey rail (2026-09-30, Steve: "people do not read ... gamified as if the whole thing
   was for toddlers"). Five steps from the Stranger Check to live: Check, Score, Plate, Pack, Live. Stolan chrome only;
   the visitor's own colors stay on their pieces. Rendered from static markup: the step lives in data-step, so the rail
   draws with no script at all, and /card/ moves it by setting that one attribute (journey.mjs).
   Acid green means done, the striped segment means here, orange stays the stamp star. Loaded after card.css. */
.jr{max-width:1180px;margin:0 auto 18px;padding:0 var(--pad)}
.jr-h{display:flex;justify-content:space-between;align-items:baseline;gap:12px;color:var(--stone);margin:0 0 7px}
.jr-h b{color:var(--cream);font-weight:600}
.jr-h i{color:var(--orange);font-style:normal}
.jr-s{display:grid;grid-template-columns:repeat(5,1fr);gap:4px}
.jr-s s{display:block;height:7px;border-radius:4px;background:var(--hair);text-decoration:none;transition:background .5s var(--ease)}
.jr-l{display:grid;grid-template-columns:repeat(5,1fr);gap:4px;margin-top:6px;color:var(--stone);font-size:9px;letter-spacing:.12em}
/* done segments and labels: everything before the current step */
.jr[data-step="2"] .jr-s s:nth-child(-n+1),.jr[data-step="3"] .jr-s s:nth-child(-n+2),
.jr[data-step="4"] .jr-s s:nth-child(-n+3),.jr[data-step="5"] .jr-s s:nth-child(-n+4){background:var(--acid)}
.jr[data-step="1"] .jr-s s:nth-child(1),.jr[data-step="2"] .jr-s s:nth-child(2),.jr[data-step="3"] .jr-s s:nth-child(3),
.jr[data-step="4"] .jr-s s:nth-child(4),.jr[data-step="5"] .jr-s s:nth-child(5){background:repeating-linear-gradient(-45deg,var(--acid) 0 5px,rgba(129,255,40,.35) 5px 10px)}
.jr[data-step="1"] .jr-l span:nth-child(-n+1),.jr[data-step="2"] .jr-l span:nth-child(-n+2),.jr[data-step="3"] .jr-l span:nth-child(-n+3),
.jr[data-step="4"] .jr-l span:nth-child(-n+4),.jr[data-step="5"] .jr-l span{color:var(--acid)}
/* on a cream section the rail inks itself */
.jr.on-cream .jr-h,.jr.on-cream .jr-l{color:#5d574f}
.jr.on-cream .jr-h b{color:#141215}
.jr.on-cream .jr-s s{background:rgba(20,18,21,.14)}

/* the reward stamp: shown when something unlocks (the score, the free fix, the Plate, the pack) */
.stamp{display:inline-flex;align-items:center;gap:7px;border:2px solid var(--orange);color:var(--orange);border-radius:5px;
  padding:6px 10px 5px;transform:rotate(-3deg);font:600 11.5px/1 var(--mono);letter-spacing:.16em;text-transform:uppercase;
  box-shadow:0 0 0 3px rgba(255,106,0,.08)}
.stamp.acid{border-color:var(--acid);color:var(--acid);box-shadow:0 0 0 3px rgba(129,255,40,.08)}
@media (prefers-reduced-motion:no-preference){
  .stamp.pop{animation:stamp-pop .55s var(--ease) both}
  @keyframes stamp-pop{from{opacity:0;transform:rotate(-3deg) scale(1.6)}to{opacity:1;transform:rotate(-3deg) scale(1)}}
}

/* checkmark bullets: every selling point and every hit is one short line with a green check; a miss is a dashed orange ring */
.checks{list-style:none;display:grid;gap:9px;margin:4px 0 16px;padding:0}
.checks li{display:flex;gap:11px;align-items:flex-start;font:600 17px/1.3 var(--body)}
.checks li::before{content:"";flex:0 0 22px;height:22px;border-radius:50%;margin-top:-1px;
  background:var(--acid) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6 11.5l3.2 3.2L16 7.8' fill='none' stroke='%23060507' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat}
.checks li.x{color:var(--stone)}
.checks li.x::before{background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Ccircle cx='11' cy='11' r='10' fill='none' stroke='%23ff6a00' stroke-width='2' stroke-dasharray='3 2.4'/%3E%3C/svg%3E") center/100% no-repeat}
.checks li small{display:block;font:500 14px/1.35 var(--body);color:var(--stone)}

/* chips: short facts in a row (price, time, renewals) */
.chips{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 14px;padding:0;list-style:none}
.chip{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--hair2);border-radius:999px;padding:8px 12px 7px;
  font:600 10.5px/1 var(--mono);letter-spacing:.14em;text-transform:uppercase}
.chip b{color:var(--acid);font-size:13px;line-height:0}
.chip.fill{background:var(--acid);color:var(--ink);border-color:var(--acid)}
.chip.ghost{border-style:dashed;border-color:var(--orange);color:var(--orange)}

/* the tap: a long paragraph folded behind one line, word for word inside */
details.tap{border-top:1px solid var(--hair);border-bottom:1px solid var(--hair);margin:10px 0 12px}
details.tap>summary{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:48px;padding:12px 2px;cursor:pointer;
  list-style:none;color:var(--stone);font:600 11px/1.35 var(--mono);letter-spacing:.16em;text-transform:uppercase}
details.tap>summary::-webkit-details-marker{display:none}
details.tap>summary::after{content:"+";font:600 18px/1 var(--mono);color:var(--cream);transition:transform .3s var(--ease)}
details.tap[open]>summary::after{transform:rotate(45deg)}
details.tap>.tap-body{padding:2px 2px 14px}

/* dots: the 7 things a stranger looks for, found (green) or missing (dashed orange) */
.dots{display:flex;gap:7px;align-items:center;flex-wrap:wrap}
.dots i{width:20px;height:20px;border-radius:50%;border:2px solid var(--hair2)}
.dots i.on{background:var(--acid);border-color:var(--acid)}
.dots i.miss{border:2px dashed var(--orange)}

/* boxes: the five pastes on /pack/ */
.boxes{display:grid;grid-template-columns:repeat(5,1fr);gap:6px}
.boxes>*{height:44px;border-radius:9px;border:1.5px solid var(--hair2);display:flex;align-items:center;justify-content:center;
  font:900 20px/1 var(--disp);font-style:normal;color:var(--stone);background:none}
.boxes .on{background:var(--acid);border-color:var(--acid);color:var(--ink)}
.boxes .now{border:2px solid var(--acid);color:var(--acid)}

/* meter: a bar that fills */
.meter{height:10px;border-radius:6px;background:var(--hair);overflow:hidden}
.meter>i{display:block;height:100%;width:0;background:var(--acid);border-radius:6px;transition:width .5s var(--ease)}

/* picture tiles: one thing each, a picture of THEIR piece, two words, tap for more */
.tiles{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:6px 0 14px}
.tile{position:relative;background:#141215;border:1px solid var(--hair);border-radius:16px;overflow:hidden;min-height:172px;display:flex;flex-direction:column;color:inherit;text-decoration:none}
.tile .pic{flex:1;display:flex;align-items:center;justify-content:center;padding:10px;min-height:112px}
.tile .pic img,.tile .pic canvas{max-width:100%;max-height:112px;border-radius:8px;display:block}
.tile .lab{padding:9px 11px 10px;border-top:1px solid var(--hair)}
.tile .lab b{display:block;font:900 19px/.95 var(--disp);text-transform:uppercase;letter-spacing:-.01em}
.tile .lab span{color:var(--stone);font:600 9.5px/1.3 var(--mono);letter-spacing:.14em;text-transform:uppercase}
@media (prefers-reduced-motion:reduce){.jr-s s,.meter>i,details.tap>summary::after{transition:none}}
