/*!b:sfdaab0e4*/

.jp { max-width: 860px; }

main.wrap > .ad-banner { margin-left: -24px; margin-right: -24px; }
@media (max-width: 760px) { main.wrap > .ad-banner { margin-left: 0; margin-right: 0; } }

.jp-crumbs { font-size: 13px; color: var(--faint); margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.jp-crumbs a { color: var(--muted); text-decoration: none; }
.jp-crumbs a:hover { color: var(--accent-text); text-decoration: underline; }

.doc .jp-cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 8px; }
.doc a.jp-cta {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  border-radius: var(--radius-sm); background: var(--accent-deep); color: var(--on-accent);
  font-size: 16px; font-weight: 700; text-decoration: none;
}
.doc a.jp-cta:hover { filter: brightness(1.08); }
.doc a.jp-cta--ghost { background: transparent; color: var(--accent-text); border: 1px solid var(--accent-line); }
.doc a.jp-cta--ghost:hover { background: var(--accent-soft); filter: none; }

.doc .jp-legend { font-size: 14px; color: var(--muted); margin: 20px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }

.jp-path { margin-top: 8px; }
.doc .jp-tier h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 28px 0 8px; color: var(--accent-text); }
.jp-tier__count { font-size: 13px; font-weight: 600; color: var(--faint); }

.doc ol.jp-st-steps {
  list-style: none; margin: 0; padding: 10px 12px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 5px;
  background: var(--panel-soft); border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.doc ol.jp-st-steps.has-marks { padding-top: 36px; row-gap: 34px; }
.doc li.jp-st-step { display: flex; align-items: center; gap: 5px; margin: 0; padding: 0; line-height: 1; }
.jp-st-step + .jp-st-step::before { content: "\2192"; color: var(--faint); font-size: 13px; line-height: 1; }
.jp-st-step.has-mark { position: relative; }
.jp-st-mark {
  position: absolute; left: -2px; bottom: calc(100% + 3px);
  display: flex; flex-direction: column; align-items: flex-start; gap: 1px;
  color: var(--accent-text); pointer-events: none;
}
.jp-st-mark-txt { font: 700 10px/1.25 var(--font-ui); color: var(--accent-text); white-space: nowrap; }
.jp-st-mark-ck { display: block; margin-left: 1px; }
.jp-st-ic { position: relative; display: block; width: 36px; height: 36px; border-radius: 3px; }
.jp-st-ic img, .jp-st-noicon {
  width: 36px; height: 36px; display: block; image-rendering: pixelated;
  background: var(--neutral-soft); border: 1px solid var(--line); border-radius: 3px;
}
.jp-st-noicon { display: grid; place-items: center; font: 700 13px/1 var(--font-display); color: var(--muted); }
.jp-st-lv {
  position: absolute; right: -4px; bottom: -5px;
  min-width: 15px; padding: 0 3px; border-radius: 8px;
  background: var(--accent-deep); color: var(--on-accent); border: 1px solid var(--panel);
  font: 700 10px/14px var(--font-ui); text-align: center; font-variant-numeric: tabular-nums;
}
.jp-st-word {
  padding: 2px 7px; border-radius: 999px;
  background: var(--accent-soft); border: 1px solid var(--accent-line);
  font: 12px/1.4 var(--font-ui); color: var(--accent-text); white-space: nowrap;
}
.doc .jp-st-steps.jp-st-note {
  display: block; min-height: 50px; line-height: 30px; padding: 10px 12px;
  background: var(--panel-soft); border: 1px solid var(--line); border-radius: var(--radius-sm);
  font: 700 14px/30px var(--font-ui); color: var(--accent-text);
}
.doc p.jp-st-summary { margin: 6px 2px 0; font-size: 12.5px; line-height: 1.6; color: var(--faint); word-break: keep-all; overflow-wrap: anywhere; }
.doc p.jp-st-tier-note { margin: 6px 2px 0; font-size: 13.5px; line-height: 1.6; color: var(--muted); word-break: keep-all; }

@media (max-width: 560px) {
  .doc ol.jp-st-steps { padding: 8px 9px; gap: 9px 3px; }
  .doc ol.jp-st-steps.has-marks { padding-top: 32px; row-gap: 30px; }
  .jp-st-ic, .jp-st-ic img, .jp-st-noicon { width: 30px; height: 30px; }
  .jp-st-step + .jp-st-step::before { font-size: 11px; }
  .jp-st-mark-txt { font-size: 9px; }
  .jp-st-mark-ck { width: 13px; height: 13px; }
}

.jp-branch h2 { margin-top: 36px; }
.doc ul.jp-cards {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px;
}
.doc ul.jp-cards li { margin: 0; }
.doc a.jp-card {
  display: flex; align-items: center; gap: 12px; height: 100%;
  padding: 14px 16px; border-radius: var(--radius); text-decoration: none;
  background: var(--panel); border: 1px solid var(--line);
}
.doc a.jp-card:hover { border-color: var(--accent-line); background: var(--accent-soft); }
.jp-card__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.jp-card__name { font-size: 17px; font-weight: 700; color: var(--text); }
.jp-card__chain { font-size: 13px; color: var(--muted); word-break: keep-all; }
.jp-card__tag {
  flex: none; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-text);
}
.jp-card--soon .jp-card__tag { background: var(--neutral-soft); color: var(--muted); }
.jp-card--soon .jp-card__name { color: var(--muted); }
