/* Photo walk (composite street view). Owned by the Photo walk lane; see docs/PLAN-v0.6.md.
   Loaded after app.css, so these rules win over app.css at equal specificity. */
.lookaround { position: fixed; inset: 0; z-index: 8; background: #111; color: #fff; overflow: hidden; }
.la-stage { position: absolute; inset: 0; overflow: hidden; touch-action: pan-y; }
.la-shot { position: absolute; inset: 0; opacity: 1; transition: opacity 0.55s ease, transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1); }
.la-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.la-blur { position: absolute; inset: -40px; background-size: cover; background-position: center; filter: blur(28px) brightness(0.5); }
.la-shot.in { opacity: 1; transform: none; }
.la-shot.enter-fade, .la-shot.leave-fade { opacity: 0; }
.la-shot.enter-fwd { opacity: 0; transform: scale(0.93); }
.la-shot.leave-fwd { opacity: 0; transform: scale(1.28); }
.la-shot.enter-back { opacity: 0; transform: scale(1.14); }
.la-shot.leave-back { opacity: 0; transform: scale(0.86); }
.la-shot.enter-left { opacity: 0; transform: translateX(-14%); }
.la-shot.leave-left { opacity: 0; transform: translateX(14%); }
.la-shot.enter-right { opacity: 0; transform: translateX(14%); }
.la-shot.leave-right { opacity: 0; transform: translateX(-14%); }
.la-pano { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: none; }
.la-msg { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 24px; text-align: center; color: #e8eaed; font-size: 14px; }
.la-msg b { font-size: 18px; font-weight: 500; }
.la-msg .la-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 6px; }
.la-msg .btn { background: #fff; color: var(--ink); }
.la-msg .fine, .la-msg .fine a { color: #e8eaed; }
.la-skeleton {
  width: min(92vw, 420px);
  height: 120px;
  border-radius: 10px;
  background: linear-gradient(110deg, #2a2b2e 8%, #3d4045 18%, #2a2b2e 33%);
  background-size: 200% 100%;
  animation: la-shimmer 1.4s ease-in-out infinite;
}
@keyframes la-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
.la-top { position: absolute; left: 0; right: 0; top: 0; display: flex; align-items: center; gap: 10px; padding: 12px 16px 28px; background: linear-gradient(rgba(0, 0, 0, 0.65), transparent); pointer-events: none; }
.la-top > * { pointer-events: auto; }
.la-close { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(32, 33, 36, 0.85); color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; }
.la-close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.la-close svg { width: 22px; height: 22px; }
.la-title { display: grid; line-height: 1.3; min-width: 0; }
.la-title b { font-size: 17px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.la-title .la-subline { font-size: 12.5px; color: #dadce0; display: flex; flex-wrap: wrap; align-items: baseline; min-width: 0; }
.la-subtok { white-space: nowrap; }
.la-subsep { white-space: pre; }
.la-ground { position: absolute; left: 50%; bottom: 150px; width: 260px; height: 260px; margin-left: -130px; transform: perspective(520px) rotateX(58deg); transform-origin: 50% 70%; pointer-events: none; }
.la-arrow { position: absolute; left: 50%; top: 50%; width: 66px; height: 66px; margin: -33px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.86); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45); transform: rotate(var(--rel)) translateY(-96px); pointer-events: auto; cursor: pointer; display: grid; place-items: center; transition: background 0.15s ease; }
.la-arrow svg { width: 44px; height: 44px; fill: #3c4043; stroke: none; }
.la-arrow:hover, .la-arrow:focus-visible { background: #fff; }
.la-arrow:hover svg { fill: var(--blue); }
.la-turns { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); display: grid; gap: 10px; }
.la-turns button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(32, 33, 36, 0.8); color: #fff; display: grid; place-items: center; cursor: pointer; }
.la-turns svg { width: 22px; height: 22px; }
.la-flash { position: absolute; left: 50%; top: 84px; transform: translateX(-50%); margin: 0; padding: 6px 14px; border-radius: 16px; background: rgba(32, 33, 36, 0.9); font-size: 13px; }
.la-strip { position: absolute; left: 320px; right: 16px; bottom: 30px; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.la-strip button { flex: none; width: 92px; height: 62px; padding: 0; border: 2px solid rgba(255, 255, 255, 0.85); border-radius: 6px; overflow: hidden; background: #333; cursor: pointer; }
.la-strip button:hover { border-color: var(--pink); }
.la-strip img { width: 100%; height: 100%; object-fit: cover; display: block; }
.la-cap { position: absolute; left: 320px; right: 16px; bottom: 6px; margin: 0; font-size: 11.5px; color: #dadce0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.la-cap a { color: #aecbfa; }
.la-cone { width: 80px; height: 80px; pointer-events: none; }
.la-cone svg { width: 100%; height: 100%; }
.la-cone path { fill: rgba(255, 107, 157, 0.42); stroke: #ff6b9d; stroke-width: 2; }
.la-cone circle { fill: #ff6b9d; stroke: #fff; stroke-width: 3; }
body.la-open #map { inset: auto auto 16px 16px; width: 288px; height: 200px; z-index: 9; border-radius: 12px; overflow: hidden; border: 2px solid #fff; box-shadow: 0 2px 12px rgba(0, 0, 0, 0.55); }
body.la-open .topbar, body.la-open .panel, body.la-open .ctrls, body.la-open .layers, body.la-open .brandpill, body.la-open .streetview, body.la-open .walkpad, body.la-open .callout, body.la-open .maplibregl-ctrl-group, body.la-open .maplibregl-ctrl-scale { display: none !important; }
@media (max-width: 760px) {
  body.la-open #map { inset: 64px 8px auto auto; width: 40vw; height: 30vw; }
  .la-top { padding: 10px 8px 24px; padding-right: calc(40vw + 16px); }
  .la-ground { bottom: 108px; width: 220px; height: 220px; margin-left: -110px; }
  .la-arrow { width: 58px; height: 58px; margin: -29px; transform: rotate(var(--rel)) translateY(-80px); }
  .la-turns { right: 8px; top: auto; bottom: 120px; transform: none; }
  .la-strip {
    left: 8px;
    right: 8px;
    bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    height: 50px;
  }
  .la-strip button { width: 72px; height: 50px; }
  .la-cap {
    left: 8px;
    right: 8px;
    bottom: calc(8px + env(safe-area-inset-bottom, 0px) + 50px + 4px);
    font-size: 10.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
  }
}

/* Phone refinements (moved from the v0.5 block of app.css). */
@media (pointer: coarse) {
  .la-turns button { min-width: 44px; min-height: 44px; }
}
@media (max-width: 760px) {
  .la-shot img { object-fit: cover; }
}
