.journey-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.journey-dossier .dossier-art-title .eyebrow,
.journey-dungeon-card .status-content > .eyebrow,
.journey-atlas-timer,
.journey-origin {
  display: flex;
  align-items: center;
  gap: .4rem;
}

.journey-origin {
  margin: .05rem 0 .2rem;
  color: #cadbd2;
  font-size: .93rem;
}

.journey-origin .icon, .journey-origin strong { color: #f1d5a8; }
.journey-dispatch { display: grid; gap: .53rem; }
.journey-route-line { display: grid; gap: .4rem; }
.journey-route-level {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .2rem .37rem;
  padding: .3rem .45rem;
  border: 1px solid #75968a82;
  border-inline-start: 2px solid #98c0a6;
  border-radius: .13rem .45rem;
  color: #d2edda;
  background: linear-gradient(105deg, #243a35, #122631 75%);
  font-size: .875rem;
}
.journey-route-level.is-above {
  border-color: #a88a6a;
  border-inline-start-color: #e6ad72;
  color: #f8dfbb;
  background: linear-gradient(105deg, #483328, #1a2a32 72%);
}
.journey-route-level > small {
  margin-inline-start: auto;
  color: #c2d3cc;
  font-size: .875rem;
}
.journey-route-level strong { color: #fff6e1; font-variant-numeric: tabular-nums; }

.journey-costs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .36rem;
  padding: .45rem .1rem;
  border-block: 1px solid #ac8d684d;
  background: #0d192385;
}

.journey-costs > div {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: .46rem;
  padding: .24rem .42rem;
}

.journey-costs > div + div { border-left: 1px solid #657a725e; }
.journey-costs .icon { color: #f0c98d; }
.journey-costs strong, .journey-costs small { display: block; line-height: 1.19; }
.journey-costs small { margin-bottom: .21rem; color: #becfc7; font-size: .875rem; }
.journey-costs strong { color: #fff1d8; font-size: .94rem; font-variant-numeric: tabular-nums; }

.journey-route-note {
  display: flex;
  align-items: flex-start;
  gap: .56rem;
  padding: .59rem .63rem;
  border: 1px solid #706149;
  border-left: 2px solid #d59863;
  border-radius: .08rem .4rem;
  color: #e9d8c7;
  background: linear-gradient(115deg, #442d2390, #131f27);
  font-size: .91rem;
  line-height: 1.37;
}

.journey-route-note .icon { margin-top: .08rem; color: #e6b780; }
.journey-route-note strong { display: block; color: #ffdfb1; }
.journey-conditions { color: #ccdbd2; font-size: .875rem; }
.journey-conditions summary { min-height: 2.75rem; padding: .72rem .42rem; color: #f5d5ad; cursor: pointer; }
.journey-conditions ul { display: grid; gap: .15rem; padding-inline-start: 1.33rem; margin-bottom: .28rem; }
.journey-conditions li::marker { color: #c7966b; }
.journey-dispatch .btn { min-height: 2.85rem; }

.journey-catalogue {
  display: grid;
  gap: .74rem;
  padding-top: .7rem;
  border-top: 1px solid #59786c59;
  margin-top: .82rem;
}

.journey-catalogue h3 {
  margin: 0 0 .4rem;
  color: #dce8df;
  font: 700 1.15rem/1.05 var(--display);
}

.journey-catalogue .route-buttons { gap: .34rem; margin: 0; }
.journey-route-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  justify-content: stretch;
  gap: .43rem;
  min-height: 3.38rem;
  padding: .37rem;
  text-align: left;
}

.journey-route-glyph,
.journey-room-emblem,
.journey-log-glyph {
  display: grid;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #8489698a;
  border-radius: .09rem .45rem .09rem .33rem;
  background: radial-gradient(ellipse at 35% 17%, #72533d80, #142b30 74%);
  color: #f1ce9d;
  isolation: isolate;
}

.journey-route-option.is-gated .journey-route-glyph { border-color: #526967; background: #182a2f; }
.journey-route-option :is(strong,small) { display: block; line-height: 1.19; }
.journey-route-option strong { color: #f4e7d1; font-size: .875rem; }
.journey-route-option small { margin-top: .17rem; color: #a9d5c5; font-weight: 550; }
.journey-route-option.is-gated small { color: #c9b9a5; }
.journey-route-option .journey-route-copy small { display: flex; flex-wrap: wrap; align-items: center; gap: .16rem .3rem; font-size: .875rem; }
.journey-level-tag {
  display: inline-flex;
  align-items: center;
  gap: .16rem;
  padding-inline: .18rem;
  border-radius: .1rem;
  color: #c5e9d2;
  background: #203a35;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.journey-level-tag.is-above { color: #f9dfb9; background: #49362c; }
.journey-level-tag .icon { width: .82em; height: .82em; }
.journey-uncharted {
  display: flex;
  gap: .36rem;
  align-items: center;
  margin: 0;
  padding: .46rem .54rem;
  border: 1px dashed #6c7769;
  border-radius: .13rem .35rem;
  color: #c6cec0;
  font-size: .875rem;
}
.journey-route-option > .icon { width: .95rem; height: .95rem; color: #b0c8bb; }
.journey-route-option[aria-pressed="true"] > .icon { color: #ffc282; }

.journey-atlas-timer { margin: 0 0 .53rem; color: #fae0ae; font-weight: 700; font-variant-numeric: tabular-nums; }
.journey-entrance .chapter-scene { min-height: clamp(15rem, 32vw, 29.5rem); }

.journey-stages {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .28rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.journey-stages li {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: .27rem;
  padding: .44rem .08rem;
  min-width: 0;
  min-height: 3.22rem;
  border: 1px solid #49615e;
  border-top: 2px solid #61746e;
  border-radius: 0 .4rem 0 .25rem;
  color: #bbc8c4;
  background: #132128;
  font-size: .875rem;
  font-weight: 650;
  line-height: 1.1;
  text-align: center;
}

.journey-stages li.is-done { border-top-color: #87bfa9; color: #bde6d3; background: #1b3333; }
.journey-stages li.is-current {
  border-color: #97714c;
  border-top-color: #e3a667;
  color: #ffe5af;
  background: linear-gradient(145deg, #533525, #28332d);
}

.journey-dungeon-card .journey-stages { margin-bottom: .68rem; }
.journey-run-status { display: grid; gap: .58rem; min-width: 0; }
.journey-objective {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: .65rem;
  padding: .63rem .72rem;
  border: 1px solid #8b7351;
  border-left: 2px solid #d0aa74;
  border-radius: .09rem .63rem .09rem .38rem;
  background: linear-gradient(112deg, #4b392bd9, #1a2c2d);
}

.journey-objective strong { color: #ffe7b9; font-size: 1rem; }
.journey-objective p { margin-top: .14rem; font-size: .875rem; line-height: 1.37; }
.journey-objective.is-done { border-color: #5a8b79; border-left-color: #a2d1ad; background: linear-gradient(112deg, #2c483c, #192a2d); }
.journey-objective.is-done strong { color: #d6efd0; }

.journey-room-actions .chapter-panel-head { margin-bottom: .62rem; }
.journey-local-actions + .journey-move-actions { margin-top: .68rem; }
.journey-move {
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: .46rem;
  min-height: 3.8rem;
}

.journey-move:not(.is-return) { border-left-color: #c1ba83; }
.journey-move:is(.is-boss, .is-exit):not(.is-return) {
  border-color: #b18662;
  border-left-color: #efb87b;
  background: linear-gradient(125deg, #4c3527, #1d2d31);
}

.journey-move .journey-route-glyph { width: 2.16rem; height: 2.16rem; }
.journey-move.is-branch .journey-route-glyph { border-color: #798fb8; background: radial-gradient(at 40% 15%, #465481, #23313d 80%); }
.journey-move.is-return { border-left-color: #648b80; background: linear-gradient(125deg, #1a3132, #14232b); }
.journey-move-verb {
  display: flex;
  align-items: center;
  gap: .27rem;
  color: #feddab;
  font-size: .875rem;
  font-weight: 700;
}

.journey-move.is-return .journey-move-verb { color: #b2d0c8; }
.journey-move:is(.is-return) .journey-move-verb .icon { transform: scaleX(-1); }
.journey-retreat { margin-top: .54rem; }
.journey-retreat .chapter-action { border-color: #665852; background: #242329; }
.journey-retreat .chapter-action strong { color: #ebcab8; }
.journey-room-actions.is-hold { background: linear-gradient(120deg, #272b30, #14232a 78%); }
.journey-room-actions.is-hold .chapter-panel-head h2 { font-size: 1.4rem; }

.journey-map-meter { height: .3rem; margin-bottom: .68rem; }
.journey-room-list {
  display: grid;
  position: relative;
  gap: .32rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.journey-room-list::before {
  position: absolute;
  z-index: 0;
  inset: .65rem auto .68rem 1.41rem;
  width: 1px;
  background: #86a08d75;
  content: "";
}

.journey-room-marker {
  display: grid;
  position: relative;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 42%);
  min-height: 3.43rem;
  gap: .44rem;
  align-items: center;
  padding: .33rem .46rem .33rem .39rem;
  border: 1px solid #48655f78;
  border-radius: .08rem .48rem .08rem .3rem;
  background: #132329a4;
}

.journey-room-marker.is-branch { margin-left: 1.07rem; }
.journey-room-marker.is-branch::before {
  position: absolute;
  inset: 50% 100% auto auto;
  width: 1.1rem;
  height: 1px;
  background: #698b8275;
  content: "";
}

.journey-room-emblem { width: 2rem; height: 2rem; }
.journey-room-marker strong, .journey-room-trait { display: block; line-height: 1.15; }
.journey-room-marker strong { color: #f2e6d2; font-size: .94rem; }
.journey-room-trait { margin-top: .21rem; color: #adccc2; font-size: .875rem; }
.journey-room-status {
  display: flex;
  align-items: flex-start;
  gap: .26rem;
  justify-self: start;
  color: #bacbc5;
  font-size: .875rem;
  line-height: 1.16;
}

.journey-room-status .icon { width: .93rem; height: .93rem; }
.journey-room-marker.is-here { border-color: #cb9e6b; background: linear-gradient(110deg, #4a3528, #223632); }
.journey-room-marker.is-here .journey-room-status { color: #ffe8b8; font-weight: 650; }
.journey-room-marker.is-open .journey-room-status, .journey-room-marker.is-seen .journey-room-status { color: #b5e2ce; }
.journey-room-marker.is-blocked .journey-room-status { color: #ffd0aa; }

.journey-spoils > p { margin-block: -.29rem .7rem; font-size: .91rem; }
.journey-log .chapter-log { max-height: 15rem; padding: 0; list-style: none; }
.journey-log .chapter-log li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: .52rem;
  padding: .48rem .31rem;
}

.journey-log .chapter-log p { margin: .16rem 0 0; font-size: .875rem; line-height: 1.36; }
.journey-log-glyph { width: 1.78rem; height: 1.78rem; }
.journey-log-glyph .icon { width: .95rem; height: .95rem; }
.journey-loot-art { display: grid; width: 3.3rem; height: 3.3rem; flex: 0 0 auto; place-items: center; object-fit: contain; }
.report-summary .eyebrow { display: inline-flex; align-items: center; gap: .34rem; }

@media (max-width: 800px) {
  .command-panel > .is-village { display: flex; }
}

@media (max-width: 780px) {
  .chapter-dungeon .journey-run-status { order: 1; }
  .chapter-dungeon .chapter-panel { order: 4; }
  .chapter-dungeon .chapter-battle-orders, .chapter-dungeon .journey-room-actions:not(.is-hold) { order: 2; }
  .chapter-dungeon .journey-map { order: 3; }
  .chapter-dungeon .journey-room-actions.is-hold { order: 5; }
  .chapter-dungeon > .chapter-column > .btn { order: 1; }
  .journey-entrance > .chapter-column { display: contents; }
  .journey-entrance .chapter-scene { order: 0; }
  .journey-entrance .journey-entrance-panel { order: 1; }
  .journey-entrance .chapter-panel:not(.journey-entrance-panel) { order: 2; }
}

@media (max-width: 410px) {
  .journey-route-option { grid-template-columns: auto minmax(0, 1fr); gap: .36rem; }
  .journey-route-option > .icon { display: none; }
  .journey-costs > div { gap: .34rem; padding: .23rem .33rem; }
  .journey-room-marker { grid-template-columns: auto minmax(0, 1fr); }
  .journey-room-status { grid-column: 2; }
  .journey-move-verb { flex-direction: column; }
}
