/* Dumpl place cards: a photographic edge, quiet facts, soft controls. */
.map-is-active .map-sheet.is-place { width: 390px; }
.map-is-active .map-sheet.is-place .map-inspector { padding: 0; scrollbar-gutter: auto; }
.map-is-active .map-sheet.is-place .map-sheet-heading { display: none; }
.place-detail { background: var(--paper); }
.place-hero { position: relative; height: 228px; background: #dddcd0; }
.place-hero-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.place-hero::after { content: ''; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, #16171175); pointer-events: none; }
.place-save .icon { width: 20px; height: 20px; }
.place-save.is-saved { color: var(--red-dark); background: var(--blush); }
.place-body { padding: 23px 23px 20px; }
.place-category { margin-top: 7px; color: var(--muted); font-size: 12px; }
.map-inspector .place-body h2 { font-size: 32px; line-height: 1.16; letter-spacing: .15px; outline: none; }
.place-rating { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 12px; font-size: 12px; color: var(--muted); }
.place-rating > strong { color: var(--ink); font-size: 15px; }
.place-rating-dots { display: inline-flex; align-items: center; gap: 3px; flex: none; }
.place-rating-dots i { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid #a1a391; }
.place-rating-dots i.filled { background: #52684b; border-color: #52684b; }
.place-actions { margin-top: 20px; display: grid; grid-template-columns: minmax(0, 1fr) 48px 48px; gap: 9px; }
.place-actions > * { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 48px; padding: 0 9px; border-radius: 15px; text-decoration: none; font-size: 15px; font-weight: 750; }
.place-actions .secondary { background: #eeeee6; box-shadow: none; border: 0; }
.place-actions .icon { width: 18px; height: 18px; }
.place-detail [hidden] { display: none !important; }
.place-description { font-size: 14px; line-height: 1.7; margin-bottom: 21px; color: #5f6155; }
.place-address, .place-missing-hours { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 1.6; margin-bottom: 17px; }
.place-address .icon, .place-missing-hours .icon { width: 18px; height: 18px; flex: none; color: #73756a; margin-top: 2px; }
.place-missing-hours { color: var(--muted); }
.place-detail .osm-place-details { margin: 0 0 25px; }
.place-detail .venue-fact { grid-template-columns: 102px minmax(0,1fr); gap: 10px; font-size: 12px; padding: 12px 0; }
.place-detail .venue-contact { gap: 12px; margin-top: 12px; }
.place-detail .venue-contact a { background: #eeeee6; padding: 10px 14px; min-height: 40px; border-radius: 12px; text-decoration: none; font-size: 12px; }
.place-detail .venue-source { font-size: 10px; }
.place-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.place-section-heading h3 { font-size: 17px; letter-spacing: -.35px; }
.place-section-heading > span { color: var(--muted); font-size: 11px; }
.place-section-heading > button { min-height: 35px; background: none; font-size: 12px; font-weight: 600; color: var(--red-dark); padding: 0; }
.place-photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.place-photo-grid > button { position: relative; padding: 0; height: 155px; border-radius: 16px; overflow: hidden; background: #dddcd0; }
.place-photo-grid img { width: 100%; height: 100%; display: block; object-fit: cover; }
.place-photo-grid button::after { content: ''; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, #1119); }
.place-photo-grid button > span { position: absolute; bottom: 12px; left: 12px; right: 8px; z-index: 1; color: white; text-align: left; font-size: 13px; font-weight: 650; }
.place-plans { padding: 12px 0 10px; background: var(--drawer-material, #f9f8f4); }
.place-plans-toolbar { display: flex; align-items: center; gap: 8px; padding: 0 15px 5px; }
.place-plans-controls { display: flex; align-items: center; gap: 6px; }
.place-plans-controls > span { font-size: 11px; color: var(--muted); margin-right: 5px; white-space: nowrap; }
.place-plan-track { --plan-gutter: 41px; display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: calc(var(--plan-gutter) * 2); padding: 5px var(--plan-gutter) 8px; scroll-padding-inline: var(--plan-gutter); overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.place-plan-track::-webkit-scrollbar { display: none; }
.place-plan-slide { min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.place-plan-slide > .plan-card { height: 100%; margin: 0; }
.place-review-list > .place-rating { margin: 0 0 7px; }
.place-review { padding: 18px 0; border-bottom: 1px solid var(--line); }
.place-review > div { display: flex; gap: 9px; align-items: center; }
.place-review-avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #e8ebdf; color: #52684b; font-size: 12px; font-weight: 700; }
.place-review > div > strong { flex: 1; }
.place-review strong, .place-review small { display: block; font-size: 11px; }
.place-review small { font-size: 10px; color: var(--muted); margin-top: 3px; }
.place-review h4 { font-size: 14px; margin: 15px 0 7px; letter-spacing: -.2px; }
.place-review p { color: #64665b; line-height: 1.65; font-size: 12px; }
.place-review .place-rating-dots { gap: 2px; }
.place-review .place-rating-dots i { width: 7px; height: 7px; }

/* Direct map layers and a venue browser, with no duplicate city heading. */
.map-layer-dock { position: absolute; z-index: 600; bottom: 27px; left: calc(50% + 120px); transform: translateX(-50%); display: flex; gap: 3px; padding: 5px; border: 1px solid #fff9; border-radius: 21px; background: #fffefaf2; box-shadow: 0 3px 16px #2528211f; backdrop-filter: blur(20px); }
.map-layer-dock > button { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 13px; border-radius: 16px; background: none; font-size: 12px; font-weight: 650; white-space: nowrap; }
.map-layer-dock > button[aria-pressed=true] { background: var(--ink); color: var(--paper); }
.map-layer-dock .icon { width: 17px; height: 17px; }
.map-dialog-open .map-layer-dock { visibility: hidden; }
.place-category-filter { display: flex; gap: 5px; overflow-x: auto; padding: 2px 0 13px; margin-bottom: 2px; scrollbar-width: none; }
.place-category-filter > button { flex: none; min-height: 36px; padding: 0 12px; border-radius: 13px; background: #eaeae1; font-size: 12px; }
.place-category-filter > button[aria-pressed=true] { color: white; background: var(--ink); }
.place-browse-grid { display: grid; gap: 15px; }
.place-browse-card { overflow: hidden; border-radius: 18px; background: var(--paper); box-shadow: 0 0 0 1px #24231f09; }
.place-card-photo { display: block; position: relative; width: 100%; height: 174px; padding: 0; background: #dddcd0; }
.place-card-photo img { display: block; object-fit: cover; width: 100%; height: 100%; }
.place-card-body { padding: 15px 15px 10px; }
.place-card-heading { display: flex; gap: 8px; justify-content: space-between; align-items: flex-start; }
.place-card-heading > button:first-child { background: none; padding: 0; text-align: left; min-height: 26px; }
.place-card-heading h3 { font-size: 19px; line-height: 1.25; letter-spacing: -.5px; }
.place-card-heading .place-save { flex: none; width: 34px; height: 34px; min-height: 34px; margin: -5px -5px 0 0; }
.place-card-heading .place-save .icon { width: 17px; height: 17px; }
.place-card-body > p { font-size: 12px; color: var(--muted); margin-top: 3px; }
.place-card-body .place-rating { margin-top: 10px; gap: 5px; }
.place-card-more { width: 100%; display: flex; align-items: center; justify-content: space-between; background: none; padding: 0; min-height: 43px; margin-top: 9px; border-top: 1px solid var(--line); font-size: 12px; font-weight: 600; }
.place-card-more .icon { width: 16px; height: 16px; }
.plan-place-peek { display: flex; gap: 10px; width: 100%; align-items: center; text-align: left; background: none; padding: 12px 0 3px; margin-top: 10px; border-top: 1px solid var(--line); }
.plan-place-peek > img { width: 45px; height: 45px; object-fit: cover; border-radius: 12px; }
.plan-place-peek > span { display: grid; gap: 4px; font-size: 12px; font-weight: 600; flex: 1; }
.plan-place-peek small { font-size: 10px; color: var(--muted); font-weight: 400; }
.plan-place-peek > .icon { width: 16px; height: 16px; }

/* Real photo viewing interaction, ready for more provider images. */
#place-gallery-dialog { padding: 0; width: min(1000px, calc(100% - 40px)); max-width: none; max-height: 94dvh; border: 0; border-radius: 24px; overflow: auto; background: var(--paper); }
#place-gallery-dialog::backdrop { background: #171912c9; backdrop-filter: blur(8px); }
.place-gallery-heading { display: flex; justify-content: space-between; align-items: center; padding: 19px 22px; gap: 15px; }
.place-gallery-heading h2 { font-size: 21px; line-height: 1.3; letter-spacing: -.5px; }
.place-gallery-heading p { color: var(--muted); font-size: 11px; margin-top: 5px; }
.place-gallery-heading .icon-button { background: #eeeee6; flex: none; }
.place-gallery-stage { position: relative; background: #1d2019; display: flex; justify-content: center; align-items: center; min-height: 180px; }
#place-gallery-image { display: block; width: 100%; max-height: 62dvh; height: auto; object-fit: contain; }
.place-gallery-stage > button { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; min-height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fffefaf0; }
.place-gallery-stage > button:first-of-type { left: 15px; }
.place-gallery-stage > button:last-of-type { right: 15px; }
.place-gallery-stage > button:disabled { opacity: .3; }
.place-gallery-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 13px 22px; }
#place-gallery-thumbs { display: flex; gap: 8px; overflow-x: auto; }
#place-gallery-thumbs > button { flex: none; padding: 3px; width: 72px; height: 54px; min-height: 54px; border-radius: 11px; background: none; border: 2px solid transparent; }
#place-gallery-thumbs > button[aria-pressed=true] { border-color: var(--red); }
#place-gallery-thumbs img { object-fit: cover; width: 100%; height: 100%; border-radius: 6px; }
#place-gallery-count { font-size: 12px; color: var(--muted); flex: none; }
@media (max-width: 1100px) and (min-width: 801px) { .map-layer-dock { left: calc(50% + 140px); } .map-is-active .map-sheet.is-place { width: 370px; } }
@media (max-width: 800px) {
  .map-layer-dock { bottom: calc(23px + env(safe-area-inset-bottom)); left: 16px; right: 86px; transform: none; justify-content: space-between; padding: 4px; border-radius: 19px; }
  .map-layer-dock > button { padding: 0 9px; gap: 4px; min-height: 44px; font-size: 11px; border-radius: 14px; }
  .map-layer-dock .icon { width: 15px; height: 15px; }
  .map-layer-dock > button:first-child .icon { display: none; }
  .map-is-active .map-sheet.is-place { width: min(390px, calc(100% - 56px)); }
  .map-is-active .map-sheet.is-place.sheet-open { height: 58dvh; max-height: calc(100dvh - 260px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); }
  .place-hero { height: 190px; }
  .place-body { padding: 21px 19px 20px; }
  .map-inspector .place-body h2 { font-size: 30px; }
  .place-photo-grid > button { height: 140px; }
  .place-actions > * { font-size: 14px; font-weight: 750; gap: 5px; }
  .place-actions .icon { width: 16px; height: 16px; }
  #place-gallery-dialog { width: calc(100% - 20px); border-radius: 19px; max-height: 94dvh; }
  .place-gallery-heading { padding: 15px; }
  .place-gallery-heading h2 { font-size: 18px; }
  .place-gallery-heading p { max-width: 27ch; line-height: 1.4; }
  .place-gallery-footer { padding: 12px 15px; }
}
@media (max-width: 370px) { .map-layer-dock > button { padding: 0 7px; } .map-layer-dock .icon { display: none; } .place-rating > small { flex-basis: 100%; } }
@media (max-width: 800px) and (orientation: landscape) {
  .map-is-active .map-sheet.is-place { width: min(370px, 52vw); }
  .map-is-active .map-sheet.is-place.sheet-open { height: calc(100dvh - 114px); max-height: calc(100dvh - 114px); }
  .map-layer-dock { left: auto; right: 86px; width: auto; bottom: 20px; }
}
@media (prefers-reduced-transparency: reduce) { .map-layer-dock { background: var(--paper); backdrop-filter: none; } #place-gallery-dialog::backdrop { background: #171912ed; backdrop-filter: none; } }

/* Continuous place details: photos, summary, plans, then location information. */
.place-summary { padding-bottom: 16px; }
.place-location-body { padding-top: 25px; }
.place-location-info { margin-bottom: 24px; }
.place-photos { margin-bottom: 28px; }
.place-plans-toolbar > h3 { flex: 1; min-width: 0; font-size: 17px; letter-spacing: -.35px; font-weight: 650; }
.place-carousel-arrow { display: grid; place-items: center; flex: none; width: 44px; height: 44px; min-height: 44px;
  padding: 0; border-radius: 50%; background: #fffefaf2; color: var(--ink); box-shadow: 0 2px 8px #0002;
}
.place-carousel-arrow .icon { width: 20px; height: 20px; }
.place-carousel-arrow:hover:not(:disabled) { background: #fffefa; }
.place-carousel-arrow:disabled { opacity: .25; box-shadow: none; cursor: default; }
.place-photo-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 1; }
.place-photo-previous { left: 12px; }
.place-photo-next { right: 12px; }
.place-photo-position { position: absolute; bottom: 21px; left: 20px; z-index: 1;
  color: white; background: #20231c99; padding: 4px 8px; border-radius: 8px;
  font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums;
}
.place-hero:focus-visible { outline: 3px solid var(--drawer-accent, #52684b); outline-offset: -3px; }

.place-hero-image { display: block; width: 100%; height: 100%; padding: 0; background: none; border-radius: 0; }
.place-actions > .place-save { width: 48px; height: 48px; min-height: 48px; padding: 0; border-radius: 15px; background: #eeeee6; box-shadow: none; }
.place-actions > .place-save.is-saved { background: var(--blush); color: var(--red-dark); }
.map-layer-dock[hidden] { display: none; }

.place-plan-stage { display: grid; grid-template-columns: 28px minmax(0, 1fr) 28px; align-items: center; column-gap: 4px; }
.place-plan-stage > .place-plan-track { grid-column: 1 / -1; grid-row: 1; min-width: 0; container: place-plans / inline-size; }
.place-plan-stage > .place-carousel-arrow { grid-row: 1; align-self: center; }
.place-plan-stage > [data-place-plan-step="-1"] { grid-column: 1; }
.place-plan-stage > [data-place-plan-step="1"] { grid-column: 3; }
@container place-plans (max-width: 300px) {
  .map-context-sheet .place-plan-stage .place-plan-card { padding: 14px 10px 10px; }
  .map-context-sheet .place-plan-stage .place-plan-card .meetup-content { grid-template-columns: 82px minmax(0, 1fr); gap: 8px; }
  .map-context-sheet .place-plan-stage .place-plan-card .plan-title { font-size: 18px; }
  .map-context-sheet .place-plan-stage .place-plan-card .meetup-fact { overflow-wrap: anywhere; }
}
@container place-plans (max-width: 240px) {
  .map-context-sheet .place-plan-stage .place-plan-card .meetup-content { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .map-context-sheet .place-plan-stage .place-plan-card .profile-deck { width: 100%; max-width: 150px; justify-self: center; }
}


/* Clear action labels, compact site access, and quiet information rows. */
.place-actions:has(.place-website) { grid-template-columns: minmax(0, 1fr) 44px 48px 48px; gap: 7px; }
.place-actions > .place-website { width: 44px; height: 48px; padding: 0; }
.place-actions > .place-website .icon { width: 20px; height: 20px; }
.place-actions > .place-save .icon { width: 22px; height: 22px; }
.place-plan-stage > .place-carousel-arrow { width: 28px; border-radius: 0; background: transparent; box-shadow: none; }
.place-plan-stage > .place-carousel-arrow:hover:not(:disabled) { background: transparent; color: var(--drawer-accent); }
.place-plan-stage > .place-carousel-arrow .icon { width: 22px; height: 22px; }
.place-location-info .place-section-heading { margin-bottom: 16px; }
.place-location-info .place-section-heading h3 { font-size: 18px; font-weight: 700; }
.place-location-info .place-address { gap: 10px; font-size: 14px; font-weight: 600; line-height: 1.5; margin-bottom: 4px; }
.place-location-info .place-address .icon { width: 18px; height: 18px; margin-top: 2px; }
.place-location-info .osm-place-details { margin-bottom: 0; }
.place-location-info .venue-fact { display: grid; grid-template-columns: minmax(0, 1fr); gap: 5px; padding: 14px 0; border-top: 0; border-bottom: 1px solid var(--line); }
.place-location-info .venue-fact dt { font-size: 12px; font-weight: 600; line-height: 1.4; color: var(--muted); }
.place-location-info .venue-fact dd { margin: 0; font-size: 14px; font-weight: 500; line-height: 1.5; color: var(--ink); }
.place-location-info .venue-source { display: inline-flex; align-items: center; gap: 5px; margin-top: 14px; font-size: 11px; font-weight: 500; color: var(--muted); text-decoration: none; }
.place-location-info .venue-source .icon { width: 12px; height: 12px; }

.place-actions > [data-invite-at] { font-size: 22px; line-height: 1; font-weight: 800; letter-spacing: .6px; gap: 8px; }
.place-actions > [data-invite-at] .icon { width: 22px; height: 22px; }
.place-actions > .place-directions { width: 48px; height: 48px; padding: 0; }
.place-actions > .place-directions .icon { width: 26px; height: 26px; }
@media (max-width: 800px) {
  .place-actions > [data-invite-at] { padding-inline: 4px; font-size: 20px; gap: 6px; }
  .place-actions > [data-invite-at] .icon { width: 20px; height: 20px; }
}

.map-context-sheet .place-plan-stage .place-plan-card .plan-title { letter-spacing: .15px; }

.place-price-info { margin: 0; }
