/* TripToClip guided trip builder: "Upload your photos — we'll do the rest" (guide/photoTrip.js). */

.pt-zone { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 20px 18px; border-radius: 20px; cursor: pointer;
  background: linear-gradient(var(--glass), var(--glass)) padding-box, var(--brand) border-box; border: 2px solid transparent; isolation: isolate;
  box-shadow: 0 10px 34px rgba(255, 79, 123, .18), 0 0 0 1px rgba(255, 255, 255, .04) inset; transition: transform .15s, box-shadow .2s; }
.pt-zone::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; background: radial-gradient(120% 140% at 0% 0%, rgba(47, 107, 255, .22), transparent 55%), radial-gradient(120% 140% at 100% 100%, rgba(255, 79, 123, .2), transparent 55%); }
.pt-zone:hover, .pt-zone.over { transform: translateY(-1px); box-shadow: 0 14px 40px rgba(255, 79, 123, .28), 0 0 0 1px rgba(255, 255, 255, .08) inset; }
.pt-zone:focus-within { outline: 2px solid #fff; outline-offset: 3px; }
.pt-file { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.pt-zone-art { position: relative; width: 64px; height: 58px; flex: none; }
.pt-zone-art i { position: absolute; width: 40px; height: 34px; border-radius: 6px; border: 3px solid #fff; background: linear-gradient(160deg, #3c7bff, #00c2e0 55%, #ffd21a); box-shadow: 0 4px 12px rgba(0, 0, 0, .35); }
.pt-zone-art i:nth-child(1) { left: 2px; top: 14px; transform: rotate(-12deg); background: linear-gradient(160deg, #0aa6c9, #5fd39a); }
.pt-zone-art i:nth-child(2) { left: 13px; top: 8px; transform: rotate(4deg); background: linear-gradient(160deg, #ff8a3d, #ffd21a); }
.pt-zone-art i:nth-child(3) { left: 22px; top: 16px; transform: rotate(14deg); background: linear-gradient(160deg, #ff4f7b, #ff8a3d); }
.pt-pin { position: absolute; right: 0; top: -2px; width: 20px; height: 20px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #e0218a; border: 2px solid #fff; box-shadow: 0 2px 8px rgba(224, 33, 138, .6); animation: pt-bob 2.4s ease-in-out infinite; }
.pt-pin::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: #fff; }
@keyframes pt-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -4px; } }
.pt-zone-t { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.pt-zone-t b { font: 700 1.2rem/1.2 var(--display); color: var(--ink); }
.pt-zone-t small { color: var(--ink-2); font-size: .9rem; line-height: 1.4; }
.pt-zone-go { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--go); color: #fff; font-size: 1.25rem; box-shadow: 0 6px 18px rgba(255, 79, 123, .4); transition: transform .15s; }
.pt-zone:hover .pt-zone-go { transform: translateX(3px); }
.pt-or { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: .85rem; }
.pt-or::before, .pt-or::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.pt-to-photos { align-self: center; margin-top: 2px; }
.pt-example { align-self: center; min-height: 44px; }
.pt-fell p { margin: 0; }

.pt-reading { display: flex; align-items: center; gap: 12px; color: var(--ink-2); }
.pt-stats { margin: 0; color: var(--ink-2); font-weight: 600; }
.pt-days { gap: 6px; }
.pt-days b { color: var(--ink); font-weight: 650; }
.pt-walk { display: block; color: var(--ok); font-size: .92rem; }
.pt-walk::before { content: "🚶 "; }
.pt-place { display: flex; flex-direction: column; gap: 8px; }
.pt-ask { padding: 12px; border-radius: 16px; background: var(--glass-2); border: 1px solid var(--line-2); }
.pt-ask .g-ask-q { margin: 0; font-weight: 650; }
.pt-ask .g-link { align-self: flex-start; min-height: 44px; }
.pt-noloc { margin: 0; }

@media (max-width: 760px) {
  .pt-zone { grid-template-columns: auto 1fr; padding: 18px 16px; gap: 14px; min-height: 120px; }
  .pt-zone-go { display: none; }
  .pt-zone-t b { font-size: 1.12rem; }
  /* The trip worked out: a strip of map above the card shows the route as it's drawn. */
  .g-photomap[data-step="welcome"] .g-map { height: 30vh; height: 30svh; visibility: visible; transition: height .32s ease; }
  .g-photomap[data-step="welcome"] .g-stage { top: calc(58px + 30vh - 18px); top: calc(58px + 30svh - 18px); }
}
@media (prefers-reduced-motion: reduce) { .pt-pin { animation: none; } .pt-zone, .pt-zone-go { transition: none; } }

/* The photos say nowhere (most often Android's gallery picker taking the locations out): choose again through Files. */
.pt-again { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; width: 100%; box-sizing: border-box; margin-top: 4px; cursor: pointer; }
.pt-noplace-more { display: flex; flex-wrap: wrap; gap: 4px 18px; justify-content: center; margin-top: 10px; }
.pt-noplace-more .g-link { min-height: 44px; }
