/* Shared panels, type, colours, selected index links and mobile layout come from hotel-plan.css. */
.ascent .room-index { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.map-surface { position: relative; isolation: isolate; container-type: inline-size; overflow: hidden; border-radius: .32rem; background: #f5e8d4; }
.map-surface .relief { display: block; width: 100%; height: auto; }
.route-line { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.route-line polyline { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.route-line .trail { stroke: #584938; stroke-width: 3.8; stroke-dasharray: 7 7; }
.route-line .approach { stroke: #584938; stroke-width: 4.5; }
.pin { position: absolute; transform: translate(-50%, -50%); width: 44px; height: 44px; display: grid; place-items: center; color: #31251e; text-decoration: none; }
.pin-number { display: grid; place-items: center; width: 1.78rem; height: 1.78rem; border-radius: 50%; background: #faf1e2; border: 2px solid #635443; font: 700 .8rem/1 system-ui,sans-serif; }
.pin-name { position: absolute; left: 88%; white-space: nowrap; padding: .15rem .38rem; background: #faf1e2f0; border-radius: .18rem; font: 650 clamp(.7rem,1.25vw,.86rem)/1.25 system-ui,sans-serif; }
.pin.planned .pin-number { border-style: dashed; }
.pin:hover :is(.pin-number,.pin-name) { background: var(--map-hover); }
.pin[aria-current="location"] :is(.pin-number,.pin-name) { background: var(--map-selected); }
.pin[aria-current="location"] .pin-number { border-color: var(--map-stroke); box-shadow: 0 0 0 3px #fffffff2; }
.pin:focus-visible { outline: 2px dashed var(--map-stroke); outline-offset: 1px; border-radius: 50%; }
.north { position: absolute; left: 4%; top: 6%; display: grid; justify-items: center; color: #44372d; font: bold .85rem Georgia,serif; transform: rotate(30deg); }
.north i { width: .7rem; height: 1.85rem; background: linear-gradient(90deg,#584938 50%,#faf1e2 50%); clip-path: polygon(50% 0,100% 100%,50% 80%,0 100%); }
.scale { position: absolute; left: 4%; bottom: 4%; width: 14%; color: #44372d; background: #faf1e2eb; text-align: center; font: 600 .68rem/1.4 system-ui,sans-serif; }
.scale i { display: block; height: 5px; border: 1px solid #584938; background: linear-gradient(90deg,#584938 50%,#faf1e2 50%); }
.map-key { display: flex; justify-content: space-between; gap: .6rem; margin-top: .45rem; color: var(--muted); font-size: .72rem; }
.map-key span:last-child { display: flex; align-items: center; gap: .33rem; }
.map-key i { width: .7rem; height: .7rem; border-radius: 50%; border: 1px solid var(--muted); }
.map-key i.planned { margin-left: .45rem; border-style: dashed; }
#stage-meta { margin: 0 0 .42rem; color: var(--muted); font-size: .8rem; font-weight: 650; }
.terrain-credit { margin-top: 1.2rem; max-width: 80ch; color: var(--muted); font-size: .78rem; }
.terrain-credit summary { cursor: pointer; }
.terrain-credit a { color: var(--cyan); }
@container (max-width: 33rem) { .pin-name { display: none; } }
@media (max-width: 36rem) { .ascent .room-index { grid-template-columns: repeat(2,minmax(0,1fr)); } }
