.ctart-path-page { overflow-x: hidden; background: #07130d; }
.ctart-path-page .app-footer { display: none; }
.path-stage { position: relative; width: 100%; height: calc(100dvh - 4.5rem); min-height: 36rem; overflow: hidden; color: #fff; background: #07130d; }
.path-art, .path-art img { position: absolute; inset: 0; width: 100%; height: 100%; }
.path-art img { object-fit: cover; object-position: center; }
.path-scrim { position: absolute; z-index: 1; pointer-events: none; }
.path-scrim-top { inset: 0 0 auto; width: 100%; height: 64%; background: radial-gradient(ellipse 82% 88% at 0 0,rgba(2,12,18,.78) 0,rgba(3,15,18,.56) 34%,rgba(3,14,17,.2) 57%,transparent 78%); }
.path-scrim-bottom { display: none; }
.path-heading { position: absolute; z-index: 4; top: clamp(1rem,4vh,2.7rem); left: clamp(1rem,4vw,4rem); max-width: min(43vw,34rem); text-shadow: 0 2px 14px rgba(0,0,0,.9); }
.path-ctart-home { display: inline-flex; min-height: 2.5rem; align-items: center; margin-bottom: .55rem; padding: 0 .8rem; border: 1px solid rgba(242,193,78,.45); border-radius: 999px; color: #ffe08a; background: rgba(5,20,17,.68); font-size: .77rem; font-weight: 900; text-decoration: none; }
.path-heading h1 { margin: 0; font-size: clamp(2.1rem,4.4vw,3.9rem); line-height: .98; }
.path-heading p { margin: .48rem 0 0; font-weight: 780; }
.path-heading p strong { color: #ffd35c; }
.path-chooser-open { min-height: 2.75rem; margin-top: .85rem; padding: .62rem 1rem; border: 1px solid rgba(255,255,255,.24); border-radius: .75rem; color: #fff; background: rgba(5,19,14,.82); box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.35); font: inherit; font-weight: 850; cursor: pointer; }

.path-pin { position: absolute; z-index: 5; width: 0; height: 0; }
.path-camp-hotspot { position: absolute; z-index: 2; top: 0; left: 0; width: clamp(4rem,6vw,6.2rem); height: clamp(2.8rem,4.4vw,4.4rem); transform: translate(-50%,-50%); border: 0; border-radius: .65rem; color: transparent; background: transparent; cursor: pointer; }
.path-camp-hotspot:focus-visible { outline: .2rem solid #b6ffbf; outline-offset: .15rem; background: rgba(58,180,86,.2); }
.path-progress-badge { position: absolute; z-index: 1; top: 50%; right: clamp(2.4rem,3.35vw,3.45rem); display: grid; min-width: 3.65rem; transform: translateY(-50%); place-items: center; padding: .25rem .42rem; border: 1px solid rgba(255,218,104,.72); border-radius: .48rem; color: #ffe28a; background: rgba(4,20,15,.82); box-shadow: 0 .25rem .8rem rgba(0,0,0,.55); text-shadow: 0 1px 4px #000; white-space: nowrap; pointer-events: none; }
.path-core-stars { font-size: clamp(.56rem,.8vw,.72rem); letter-spacing: .04em; }
.path-core-count { color: #e4eee7; font-size: clamp(.48rem,.62vw,.6rem); font-weight: 850; line-height: 1.1; }
.path-mega-star { position: absolute; top: -.62rem; right: -.55rem; font-size: .9rem; filter: drop-shadow(0 1px 4px #000); }
.path-current-label { position: absolute; z-index: 3; bottom: clamp(1.65rem,2.4vw,2.6rem); left: 0; transform: translateX(-50%); padding: .2rem .5rem; border-radius: .45rem; color: #052d17; background: #6ee58b; box-shadow: 0 .25rem .8rem rgba(0,0,0,.55); font-size: clamp(.56rem,.75vw,.68rem); font-weight: 950; text-transform: uppercase; white-space: nowrap; }
.path-pin.is-current .path-progress-badge { border-color: #8affaa; background: rgba(16,79,37,.9); box-shadow: 0 0 0 .12rem rgba(119,242,147,.22),0 0 1.2rem rgba(58,211,92,.5); }

.path-motto { position: absolute; z-index: 4; bottom: 6rem; left: clamp(1rem,4vw,4rem); max-width: min(30vw,25rem); margin: 0; padding: .55rem .72rem; border-left: .18rem solid #f2c14e; color: #f3f5f3; background: linear-gradient(90deg,rgba(4,17,13,.72),rgba(4,17,13,.18)); font-size: clamp(.72rem,1.08vw,.9rem); font-weight: 750; line-height: 1.45; text-shadow: 0 2px 8px #000; }
.path-motto span { display: block; }
.path-status { position: absolute; z-index: 8; inset: 50% auto auto 50%; transform: translate(-50%,-50%); padding: .75rem 1rem; border-radius: .7rem; background: rgba(8,18,12,.92); font-weight: 800; }
.path-stage:not([aria-busy="true"]) .path-status { display: none; }

.path-chooser, .path-step2-dialog { width: min(92vw,36rem); max-height: 86dvh; padding: 1rem; overflow: auto; border: 1px solid rgba(242,193,78,.42); border-radius: 1rem; color: #fff; background: linear-gradient(#172b20,#0b1810); box-shadow: 0 2rem 5rem rgba(0,0,0,.7); }
.path-chooser::backdrop, .path-step2-dialog::backdrop { background: rgba(0,0,0,.68); backdrop-filter: blur(4px); }
.path-dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.path-dialog-heading h2 { margin: 0; }
.path-dialog-heading button { width: 2.75rem; height: 2.75rem; border: 0; color: #fff; background: transparent; font-size: 1.6rem; cursor: pointer; }
.path-chooser-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .55rem; margin-top: .9rem; }
.path-chooser-item { display: flex; min-height: 3.8rem; align-items: center; justify-content: space-between; gap: .6rem; padding: .65rem .75rem; border: 1px solid rgba(255,255,255,.14); border-radius: .7rem; color: #fff; background: rgba(255,255,255,.045); text-align: left; cursor: pointer; }
.path-chooser-item.is-current { border-color: #8de6a2; background: rgba(63,143,82,.3); }
.path-chooser-item strong, .path-chooser-item small { display: block; }
.path-chooser-item small { margin-top: .15rem; color: #c4cdc6; }
.path-chooser-progress { color: #f2c14e; font-size: .72rem; font-weight: 850; white-space: nowrap; }
.path-step2-dialog p { color: #d5ddd7; line-height: 1.55; }

@media (orientation: portrait) {
  .path-art img { object-position: center 25%; }
  .path-scrim-top { width: 100%; height: 38%; background: linear-gradient(180deg,rgba(2,12,18,.82),rgba(3,15,18,.55) 60%,transparent); }
  .path-heading { top: .75rem; left: 1rem; max-width: min(58vw,26rem); }
  .path-heading h1 { font-size: clamp(1.75rem,7vw,3.1rem); }
  .path-heading p { font-size: clamp(.7rem,2.2vw,.92rem); }
  .path-motto { top: clamp(12.5rem,24vh,16.5rem); bottom: auto; left: 1rem; max-width: min(50vw,21rem); font-size: clamp(.62rem,1.75vw,.82rem); }
  .path-progress-badge { right: clamp(2.15rem,4vw,3rem); }
  .path-camp-hotspot { width: clamp(3.9rem,11vw,5.4rem); height: clamp(2.6rem,7vw,3.8rem); }
  .path-current-label { bottom: clamp(1.55rem,4vw,2.2rem); }
}
@media (max-width: 600px) {
  .path-stage { height: calc(100dvh - 3.6rem); min-height: 35rem; }
  .path-heading { max-width: 62vw; }
  .path-heading h1 { font-size: clamp(1.72rem,8.2vw,2.35rem); }
  .path-heading p { font-size: .7rem; line-height: 1.2; }
  .path-ctart-home { min-height: 2.15rem; margin-bottom: .35rem; padding: 0 .62rem; font-size: .66rem; }
  .path-chooser-open { min-height: 2.35rem; margin-top: .55rem; padding: .45rem .7rem; font-size: .72rem; }
  .path-motto { top: 10.8rem; max-width: 54vw; padding: .4rem .52rem; font-size: .59rem; line-height: 1.35; }
  .path-progress-badge { right: 2.15rem; min-width: 2.9rem; padding: .16rem .26rem; }
  .path-core-stars { font-size: .5rem; }
  .path-core-count { font-size: .44rem; }
  .path-mega-star { font-size: .72rem; }
  .path-current-label { bottom: 1.55rem; font-size: .49rem; }
  .path-chooser-grid { grid-template-columns: 1fr; }
}
@media (max-width: 390px) {
  .path-motto { top: 12.7rem; max-width: 54vw; font-size: .54rem; }
}
