.map-app{--map-bg:#102832;--map-panel:#173640;--map-gold:#e6c59a;--map-cream:#faf5e9;--map-muted:#bfd0cf;--map-line:#507078;height:100dvh;color:var(--map-cream);font-family:var(--font-body,"Source Sans 3", sans-serif);line-height:1.55;position:relative}.map-app a{color:inherit}.map-app button,.map-app select{font:inherit}.map-app button{cursor:pointer}.map-app a:focus-visible,.map-app button:focus-visible,.map-app select:focus-visible,.map-app summary:focus-visible{outline:3px solid var(--map-gold);outline-offset:3px}.map-app .brand,.map-app h2,.map-app h3{font-family:var(--font-display,"Cormorant Garamond", Georgia, serif);font-weight:500}.map-app .brand{font-size:1.25rem}.map-app .home{color:var(--map-muted);font-size:.875rem}.map-app .kicker{color:var(--map-gold);letter-spacing:.11em;text-transform:uppercase;font-size:.78rem;font-weight:700}.map-app label{margin-bottom:5px;font-size:.85rem;display:block}.map-app select,.map-app .step{border:1px solid var(--map-line);min-height:44px;color:var(--map-cream);background:#213f49;border-radius:9px}.map-app select{width:100%;min-width:0;padding:8px}.map-app .step{min-width:44px;font-size:1.2rem}.map-app .step:disabled{opacity:.45;cursor:default}.map-stage,#map{position:absolute;inset:0}.day-overlay{z-index:950;border:1px solid var(--map-line);backdrop-filter:blur(6px);background:#173640e6;border-radius:12px;max-width:min(100% - 24px,340px);padding:10px 12px;position:absolute;top:58px;left:12px}.day-row{align-items:center;gap:8px;display:flex}.day-overlay select{flex:1;min-width:0}.map{color:#102832;background:#cfded9;place-items:center;display:grid}.map.leaflet-container,.map-stage .map{height:auto;min-height:0;display:block}.map-app .leaflet-top{top:58px}.map-app .leaflet-container{touch-action:pan-x pan-y;-webkit-tap-highlight-color:transparent}.leaflet-control-zoom{overflow:hidden;box-shadow:0 2px 10px #0005;border:1px solid var(--map-line)!important;border-radius:12px!important}.leaflet-control-zoom a{width:44px!important;height:44px!important;color:var(--map-cream)!important;border-bottom-color:var(--map-line)!important;background:#173640f2!important;font-size:1.25rem!important;line-height:44px!important}.leaflet-control-zoom a:hover,.leaflet-control-zoom a:focus{color:var(--map-gold)!important;background:#213f49!important}.leaflet-control-zoom a.leaflet-disabled{opacity:.4;color:var(--map-muted)!important}.leaflet-container a:focus-visible,.leaflet-marker-icon:focus-visible{outline-offset:2px;outline:3px solid #102832}.tour-marker{background:0 0;border:0}.pin{color:#fff;background:#153641;border:2px solid #fff;border-radius:50%;place-items:center;width:36px;height:36px;font-weight:700;display:grid;box-shadow:0 2px 8px #0006}.pin.active{color:#102832;background:#e6c59a}.pin.road{color:#102832;background:#efd0a2;border-radius:4px;width:22px;height:22px;font-size:.85rem}.pin.road.active{background:#fff}.place-sheet[hidden]{display:none}.place-sheet{z-index:800;background:var(--map-panel);color:var(--map-cream);transition:height .28s,max-height .28s,width .28s,top .28s,border-radius .28s,box-shadow .28s;overflow-y:auto;box-shadow:0 -4px 24px #0005}.sheet-handle{width:100%;min-height:44px;color:inherit;cursor:grab;touch-action:none;background:0 0;border:0;justify-content:center;align-items:center;margin:0;padding:12px 16px 4px;display:flex}.sheet-handle:active{cursor:grabbing}.sheet-handle-bar{background:var(--map-line);border-radius:2px;width:40px;height:4px;display:block}.sheet-actions{flex-wrap:wrap;gap:8px;margin-bottom:8px;display:flex}.sheet-header{border-bottom:1px solid var(--map-line);padding:8px 16px 14px}.sheet-header h2{margin:6px 0 8px;font-size:clamp(1.35rem,3vw,1.75rem);line-height:1.15}.sheet-header #sheet-note{color:var(--map-muted);margin:0;font-size:.9rem}#sheet-close,#sheet-toggle,#sheet-share{border:1px solid var(--map-line);min-height:44px;color:var(--map-cream);background:#213f49;border-radius:9px;padding:6px 12px}#sheet-toggle,#sheet-share{color:var(--map-gold);border-color:var(--map-gold);background:0 0}.sheet-share-status{min-height:1.2em;color:var(--map-gold);margin:8px 0 0;font-size:.82rem}.sheet-media{padding:16px}.map-hint{z-index:960;border:1px solid var(--map-line);max-width:420px;color:var(--map-cream);backdrop-filter:blur(6px);background:#173640f2;border-radius:12px;margin-inline:auto;padding:12px 14px;position:absolute;top:126px;left:12px;right:12px;box-shadow:0 8px 24px #0005}.map-hint[hidden]{display:none}.map-hint p{margin:0 0 10px;font-size:.9rem;line-height:1.4}.map-hint button{border:1px solid var(--map-gold);min-height:40px;color:var(--map-gold);background:0 0;border-radius:9px;padding:6px 12px}.file-filters{grid-template-columns:1fr 1fr;gap:10px;display:grid}.media-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.sheet-media-tools{justify-content:flex-end;margin-bottom:8px;display:flex}.sheet-select-photos{border:1px solid var(--map-line);min-height:36px;color:var(--map-cream);background:0 0;border-radius:999px;padding:6px 12px;font-size:.84rem;font-weight:600}.photo-select-bar{z-index:2;border:1px solid var(--map-line);backdrop-filter:blur(8px);background:#102832f2;border-radius:12px;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;margin-bottom:10px;padding:8px 10px;display:grid;position:sticky;top:0}.photo-select-bar button{color:#7eb7ff;background:0 0;border:0;border-radius:999px;min-height:36px;padding:6px 12px;font-size:.9rem;font-weight:600}.photo-select-bar .photo-select-download{color:#7eb7ff}.photo-select-bar .photo-select-download:disabled{color:#7eb7ff66}.photo-select-count{text-align:center;color:var(--map-cream);margin:0;font-size:.95rem;font-weight:700}.media-tile{isolation:isolate;text-align:left;border:1px solid var(--map-line);min-height:124px;color:var(--map-cream);cursor:pointer;border-radius:10px;flex-direction:column;justify-content:flex-end;align-items:stretch;width:100%;padding:10px;display:flex;position:relative;overflow:hidden}.media-tile .tile-check{opacity:0;pointer-events:none;background:#0004;border:2px solid #fff;border-radius:50%;width:24px;height:24px;transition:opacity .15s,background .15s,border-color .15s;position:absolute;top:8px;left:8px;box-shadow:0 1px 4px #0005}.media-tile.select-mode.kind-photo .tile-check{opacity:1}.media-tile.select-mode.kind-photo.selected .tile-check{background:#0a84ff;border-color:#0a84ff}.media-tile.select-mode.kind-photo.selected .tile-check:after{content:"";border:2px solid #fff;border-width:0 2px 2px 0;width:6px;height:11px;position:absolute;top:3px;left:7px;transform:rotate(45deg)}.media-tile.select-mode.select-disabled{opacity:.35;pointer-events:none}.photo-select-grid .media-tile.kind-photo{min-height:140px}.media-tile .tile-visual{z-index:-1;pointer-events:none;position:absolute;inset:0}.media-tile .tile-sample{letter-spacing:.08em;text-transform:uppercase;color:#fff;background:#0006;border-radius:999px;padding:2px 6px;font-size:.62rem;font-weight:700;position:absolute;top:8px;right:8px}.media-tile .tile-title{text-shadow:0 1px 8px #0008;margin:0;font-size:.875rem;font-weight:600;line-height:1.25}.media-tile .tile-badge{letter-spacing:.06em;text-transform:uppercase;background:#0005;border-radius:4px;align-self:flex-start;margin-top:6px;padding:2px 6px;font-size:.68rem;font-weight:700}.media-tile.kind-photo{background:linear-gradient(#0000 35%,#102832ee 100%),radial-gradient(circle at 70% 28%,#efd0a288,#0000 28%),linear-gradient(160deg,#6eaea6 0%,#1d4a52 48%,#3d6a60 100%)}.media-tile.kind-photo .tile-visual:before{content:"";background:linear-gradient(#d8ebe4aa,#2f6a6288);border-radius:40% 40% 8% 8%;height:42%;position:absolute;inset:18% 12% auto;box-shadow:0 10px 18px #0003}.media-tile.kind-video{background:linear-gradient(#0000 40%,#0d2228f0 100%),linear-gradient(135deg,#245864,#153641 60%,#0f2a32)}.media-tile.kind-video .tile-play{background:#fffd;border-radius:50%;width:34px;height:34px;margin:auto;position:absolute;inset:0;box-shadow:0 2px 10px #0005}.media-tile.kind-video .tile-play:after{content:"";border:7px solid #0000;border-left:11px solid #153641;border-right-width:0;position:absolute;top:10px;left:13px}.media-tile.kind-audio{color:#172f37;background:linear-gradient(#0000 45%,#efe4d2f0 100%),linear-gradient(#d8cbb8,#b8a88e)}.media-tile.kind-audio .tile-sample{color:#3d2810;background:#71502433}.media-tile.kind-audio .tile-badge{color:#3d2810;background:#71502422}.media-tile.kind-audio .tile-title{text-shadow:none}.media-tile.kind-audio .tile-visual{justify-content:center;align-items:end;gap:3px;padding:18px 16px 48px;display:flex}.media-tile.kind-audio .tile-visual i{background:#715024aa;border-radius:2px;width:4px;display:block}.media-tile.kind-story{color:#172f37;background:linear-gradient(#fffaf0 0%,#f3efe6 100%);border-color:#a9b9b4}.media-tile.kind-story .tile-sample,.media-tile.kind-story .tile-badge{color:#3d2810;background:#71502418}.media-tile.kind-story .tile-title{text-shadow:none}.media-tile.kind-story .tile-visual:before{content:"“";font-family:var(--font-display,Georgia, serif);color:#71502455;font-size:2.4rem;line-height:1;position:absolute;top:8px;left:12px}.sheet-filters{border:1px solid var(--map-line);border-radius:10px;margin-bottom:12px;padding:10px 12px}.sheet-filters summary{cursor:pointer;color:var(--map-muted);align-items:center;min-height:44px;font-size:.85rem;display:flex}.sheet-filters .file-filters{margin-top:10px}.sheet-filters label{color:var(--map-cream)}.sheet-show-more{border:1px dashed var(--map-line);width:100%;min-height:44px;color:var(--map-gold);background:#213f49;border-radius:9px;margin-top:10px;padding:8px 12px;display:block}.sheet-empty{color:var(--map-muted);margin:0;font-size:.9rem}.map-app.place-sheet-open .map-stage{transition:right .2s}dialog.memory{color:#172f37;background:#f3efe6;border:0;border-radius:16px;width:min(560px,100% - 32px);margin:auto;padding:0}dialog.memory::backdrop{background:#102832cc}.memory-bar,.memory-body{padding:12px 16px}.memory-bar{justify-content:space-between;align-items:center;gap:12px;padding-bottom:0;display:flex}.memory-close,.memory-nav button,.memory-actions button{color:#172f37;background:#fff;border:1px solid #a9b9b4;border-radius:9px;min-height:44px;padding:8px 12px}.memory-actions{margin-top:10px}.memory-actions button{width:100%;font-weight:600}.frame{text-align:center;border-radius:12px;place-items:center;min-height:240px;margin-top:8px;padding:20px;display:grid;position:relative;overflow:hidden}.frame.frame-embed{background:#000;min-height:0;padding:0}.frame .frame-photo{z-index:1;object-fit:cover;border-radius:8px;width:100%;height:auto;max-height:360px;position:relative}.youtube-embed{aspect-ratio:16/9;background:#000;width:100%;position:relative}.youtube-embed iframe{border:0;width:100%;height:100%;position:absolute;inset:0}.frame.photo{color:#fff;background:radial-gradient(circle at 72% 26%,#efd0a2aa,#0000 26%),linear-gradient(160deg,#8fb8b2,#1d4a52 58%,#e6c59a)}.frame.photo:before{content:"";background:linear-gradient(#e7f4efcc,#2f6a6299);border-radius:42% 42% 10% 10%;height:46%;position:absolute;inset:16% 10% auto;box-shadow:0 12px 24px #0004}.frame.video{color:#fff;background:linear-gradient(160deg,#1f4d58,#153641 55%,#0f2a32)}.frame.video .frame-play{background:#fffd;border-radius:50%;place-items:center;width:56px;height:56px;display:grid;box-shadow:0 4px 16px #0005}.frame.video .frame-play:after{content:"";border:10px solid #0000;border-left:16px solid #153641;border-right-width:0;margin-left:4px}.frame.audio{color:#172f37;background:linear-gradient(#f6ecdc,#efe4d2)}.frame.story{color:#172f37;text-align:left;background:#fffaf2;border:1px solid #d7cbb8;align-items:start;min-height:180px}.frame .frame-kicker{letter-spacing:.08em;text-transform:uppercase;color:#fff;background:#0005;border-radius:999px;padding:3px 8px;font-size:.68rem;font-weight:700;position:absolute;top:12px;left:12px}.frame.audio .frame-kicker,.frame.story .frame-kicker{color:#3d2810;background:#71502422}.frame strong{z-index:1;font-size:1.35rem;position:relative}.frame p{z-index:1;position:relative}.wave{align-items:end;gap:4px;height:48px;display:flex}.wave i{background:#715024;border-radius:3px;width:5px;display:block}.memory-nav{gap:8px;margin-top:12px;display:flex}.memory-copy{margin:8px 0 0}.file-meta,.file-note{color:#3d5c58;margin:0;font-size:.84rem}@media (width<=740px){.file-filters{grid-template-columns:1fr}.day-overlay{width:min(100% - 24px,340px);max-width:none;left:50%;right:auto;transform:translate(-50%)}.map-app .leaflet-bottom.leaflet-right{bottom:12px;right:12px}.map-app.place-sheet-open:not(.place-sheet-expanded) .leaflet-bottom.leaflet-right{bottom:calc(40vh + 12px)}.map-app.place-sheet-expanded .leaflet-bottom.leaflet-right{display:none}.map-app .leaflet-control-attribution{max-width:min(52vw,220px);margin:0 8px 8px 0;font-size:.65rem;line-height:1.2}.place-sheet{inset-inline:0;border-bottom:0;border-radius:16px 16px 0 0;height:40vh;max-height:40vh;position:fixed;bottom:0}.place-sheet.place-sheet-expanded{z-index:1200;height:100dvh;max-height:100dvh;box-shadow:none;border-radius:0;top:0}.sheet-handle{display:flex}}@media (width>=741px){.place-sheet{border-left:1px solid var(--map-line);width:360px;position:fixed;top:0;bottom:0;right:0;box-shadow:-4px 0 24px #0004}.place-sheet.place-sheet-expanded{z-index:1200;width:100%;box-shadow:none;border-left:0;inset:0}.sheet-handle{display:flex}.map-app.place-sheet-open:not(.place-sheet-expanded) .map-stage{right:360px}.map-app.place-sheet-expanded .map-stage{right:0}}html:has(body.map-first),body.map-first{height:100%}body.map-first{background:#102832;min-height:100dvh;margin:0;position:relative;overflow:hidden}
