/* Libenest Explore (/explore/): soft, game-like map page. Scoped to .explore-page. */
.explore-page {
  --explore-paper: #fbf7ef;
  --explore-card: #fffdf8;
  --explore-ink: #3d3326;
  --explore-muted: #7a6d5c;
  --explore-line: #e7dccb;
  --explore-shadow: 0 10px 30px rgb(77 58 33 / 14%), 0 2px 6px rgb(77 58 33 / 10%);
  --explore-all: #7b8a6e;
  --explore-food: #d9825b;
  --explore-cafe: #a07a5c;
  --explore-shopping: #5f9d7f;
  --explore-convenience: #4f9fb2;
  --explore-transit: #5d7bb4;
  --explore-sight: #cf7593;
  --explore-featured: #d9a636;
  --explore-stories: #8d78b6;
  --explore-videos: #c8655b;
  --explore-guides: #3f8f8a;
  --explore-stay: #c9654e;
  background: var(--explore-paper);
  color: var(--explore-ink);
}
.explore-page main { padding-bottom: clamp(32px, 6vw, 72px); }
.explore-page [data-explore-filters][hidden], .explore-page [data-explore-stage][hidden], .explore-page [data-explore-panel][hidden], .explore-page [data-explore-fallback][hidden], .explore-page [data-explore-list-empty][hidden] { display: none; }

.explore-intro { width: min(100% - 2 * var(--gutter), var(--max)); margin: 0 auto; padding: clamp(20px, 4vw, 40px) 0 clamp(14px, 2vw, 22px); }
.explore-intro .eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; color: var(--explore-muted); font-size: 14px; }
.explore-intro .eyebrow a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.explore-intro h1 { margin: 0; font-size: clamp(30px, 5vw, 46px); line-height: 1.15; letter-spacing: .02em; text-wrap: balance; }
.explore-lead { max-width: 60ch; margin: 10px 0 0; color: var(--explore-muted); line-height: 1.75; }
.explore-stays { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.explore-stays a { padding: 7px 14px; border: 1px solid var(--explore-line); border-radius: 999px; background: var(--explore-card); color: inherit; text-decoration: none; font-size: 14px; }
.explore-stays a[aria-current="page"] { border-color: var(--explore-stay); color: var(--explore-stay); font-weight: 700; }

.explore { position: relative; width: min(100% - 2 * var(--gutter), var(--max)); margin: 0 auto; }

/* Category chips: a row above the list, floating over the map when it runs. */
.explore-filters { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; scrollbar-width: none; scroll-snap-type: x proximity; scroll-padding-inline: 12px; }
.explore-filters::-webkit-scrollbar { display: none; }
.explore.is-map .explore-filters { position: absolute; z-index: 3; top: 12px; left: 12px; right: 12px; padding: 2px; }
.explore-filter {
  display: inline-flex; flex: none; align-items: center; gap: 6px; min-height: 40px; padding: 4px 14px 4px 5px;
  border: 1.5px solid color-mix(in srgb, var(--chip) 35%, white); border-radius: 999px; background: rgb(255 253 248 / 92%);
  color: var(--explore-ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; scroll-snap-align: start;
  box-shadow: 0 3px 10px rgb(77 58 33 / 10%); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: transform .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
}
.explore-filter:hover { transform: translateY(-1px); }
.explore-filter[aria-pressed="true"] { border-color: var(--chip); background: var(--chip); color: #fffdf8; }
.explore-filter[aria-pressed="true"] .explore-badge circle { fill: #fffdf8; }
.explore-filter[aria-pressed="true"] .explore-badge g { color: var(--chip); }
.explore-filter:focus-visible, .explore-controls button:focus-visible, .explore-item-open:focus-visible, .explore-action:focus-visible { outline: 3px solid var(--explore-featured); outline-offset: 2px; }

/* Map stage */
.explore-stage { position: relative; height: clamp(520px, calc(100svh - 150px), 820px); overflow: hidden; border: 1px solid var(--explore-line); border-radius: 28px; background: #f5efe3; box-shadow: var(--explore-shadow); }
.explore-map { position: absolute; inset: 0; }
.explore-map:focus-visible { outline: 3px solid var(--explore-featured); outline-offset: -3px; }
.explore-map .maplibregl-ctrl-attrib { background: rgb(255 250 242 / 85%); font-size: 11px; }
.explore-map .maplibregl-ctrl-bottom-right { margin-bottom: 4px; }

.explore-controls { position: absolute; z-index: 3; right: 14px; top: 74px; display: grid; gap: 8px; }
.explore-controls button {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--explore-line); border-radius: 14px;
  background: var(--explore-card); color: var(--explore-ink); cursor: pointer; box-shadow: 0 4px 12px rgb(77 58 33 / 14%);
}
.explore-controls svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.explore-controls .explore-badge { width: 28px; height: 28px; }
.explore-controls button.is-locating, .explore-controls button.is-located { color: #075bff; }
.explore-controls button.is-locating svg { animation: explore-locating 1.1s ease-in-out infinite; }
@keyframes explore-locating { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .explore-controls button.is-locating svg { animation: none; } }
.explore-me { width: 18px; height: 18px; border: 3px solid #fff; border-radius: 50%; background: #075bff; box-shadow: 0 0 0 7px #075bff2e, 0 1px 5px #0004; pointer-events: none; }

.explore-status { position: absolute; z-index: 3; left: 50%; bottom: 22px; display: flex; align-items: center; gap: 10px; margin: 0; padding: 9px 16px; transform: translateX(-50%); border-radius: 999px; background: rgb(61 51 38 / 86%); color: #fffaf2; font-size: 14px; white-space: nowrap; }
.explore-status[hidden] { display: none; }
.explore-status button { padding: 4px 12px; border: 0; border-radius: 999px; background: #fffaf2; color: var(--explore-ink); font: inherit; font-weight: 700; cursor: pointer; }

/* The stay: a little house that floats. */
.explore-house { display: grid; justify-items: center; gap: 4px; padding: 0; border: 0; background: none; cursor: pointer; }
.explore-house-pin { position: relative; display: grid; place-items: center; width: 50px; height: 50px; border: 3px solid #fffaf1; border-radius: 16px; background: var(--explore-stay); box-shadow: 0 8px 18px rgb(150 70 40 / 35%); animation: explore-float 2.8s ease-in-out infinite; }
.explore-house-pin svg { width: 30px; height: 30px; }
.explore-house-pin svg g { stroke-width: 2.2; }
.explore-house-pin::after { content: ""; position: absolute; left: 50%; bottom: -9px; width: 12px; height: 12px; border-right: 3px solid #fffaf1; border-bottom: 3px solid #fffaf1; border-bottom-right-radius: 3px; background: var(--explore-stay); transform: translateX(-50%) rotate(45deg); }
.explore-house-label { max-width: 160px; overflow: hidden; padding: 3px 10px; border-radius: 999px; background: var(--explore-card); color: var(--explore-ink); font-size: 12px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; box-shadow: 0 3px 8px rgb(77 58 33 / 16%); }
.explore-house:focus-visible .explore-house-pin { outline: 3px solid var(--explore-featured); outline-offset: 3px; }
@keyframes explore-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }

/* Places: a round photo with a small category badge; overlapping places stack their photos. */
/* Stays absolute like every map marker: in the page flow each photo would be pushed down by the ones before it. */
.explore-photo-pin { position: absolute; top: 0; left: 0; display: flex; align-items: flex-end; padding: 0 0 6px; border: 0; background: none; cursor: pointer; }
.explore-photo-pin::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 10px; height: 10px; background: #fff; transform: translateX(-50%) rotate(45deg); box-shadow: 2px 2px 4px rgb(0 0 0 / 12%); }
.explore-photo-frame { position: relative; z-index: 1; display: block; width: 46px; height: 46px; border: 3px solid #fff; border-radius: 50%; background: var(--pin-color); box-shadow: 0 4px 12px rgb(0 0 0 / 22%); transition: width .18s ease, height .18s ease; }
.explore-photo-frame img, .explore-photo-glyph { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.explore-photo-glyph { display: grid; place-items: center; color: #fff; }
.explore-photo-glyph svg { width: 60%; height: 60%; }
.explore-photo-badge { position: absolute; right: -6px; bottom: -4px; display: grid; place-items: center; width: 22px; height: 22px; border: 2px solid #fff; border-radius: 50%; background: var(--pin-color); color: #fff; }
.explore-photo-badge svg { width: 14px; height: 14px; }
.explore-photo-pin.is-featured .explore-photo-frame { border-color: var(--explore-featured); }
.explore-photo-pin.is-creator .explore-photo-frame { border-color: var(--explore-stories); }
.explore-photo-pin:hover .explore-photo-frame { width: 52px; height: 52px; }
.explore-photo-pin:focus-visible { outline: none; }
.explore-photo-pin:focus-visible .explore-photo-frame { outline: 3px solid var(--explore-ink); outline-offset: 2px; }

/* The opened place: larger, with a dark ring, its name and the walk below. */
.explore-photo-pin.is-selected { z-index: 2; cursor: default; }
.explore-photo-pin.is-selected .explore-photo-frame { width: 64px; height: 64px; border: 4px solid var(--explore-ink); }
.explore-photo-pin.is-selected::after { background: var(--explore-ink); }
.explore-photo-label { position: absolute; top: calc(100% + 6px); left: 50%; display: grid; justify-items: center; max-width: 220px; padding: 6px 12px; transform: translateX(-50%); border-radius: .85rem; background: var(--explore-card); color: var(--explore-ink); box-shadow: 0 4px 12px rgb(0 0 0 / 16%); text-align: center; white-space: nowrap; }
.explore-photo-label strong { max-width: 196px; overflow: hidden; font-size: 13px; text-overflow: ellipsis; }
.explore-photo-label small { color: var(--explore-muted); font-size: 12px; }
/* Pointing at a place: a small card beside the photo with its name, walk and a line of its description. */
.explore-photo-tip { position: absolute; z-index: 3; top: 0; left: calc(100% + 8px); display: none; gap: 2px; width: max-content; max-width: 240px; padding: 8px 12px; border-radius: .75rem; background: var(--explore-card); color: var(--explore-ink); box-shadow: 0 6px 18px rgb(0 0 0 / 18%); font-size: 12px; line-height: 1.45; text-align: left; pointer-events: none; }
.explore-photo-tip strong { font-size: 13px; }
.explore-photo-tip small { color: var(--explore-muted); font-size: 12px; }
.explore-photo-pin.tip-left .explore-photo-tip { right: calc(100% + 8px); left: auto; }
.explore-photo-pin:hover, .explore-photo-pin:focus-visible { z-index: 4; }
@media (hover: hover) { .explore-photo-pin:hover .explore-photo-tip, .explore-photo-pin:focus-visible .explore-photo-tip { display: grid; } }

.explore-photo-stack .explore-photo-frame + .explore-photo-frame { margin-left: -22px; }
.explore-photo-stack .explore-photo-frame:first-child .explore-photo-badge { display: none; }
.explore-photo-more { position: absolute; z-index: 2; top: -6px; right: -8px; min-width: 24px; padding: 2px 6px; border: 2px solid #fff; border-radius: 999px; background: var(--explore-ink); color: #fff; font-size: 12px; font-weight: 700; line-height: 1.3; text-align: center; }

@media (prefers-reduced-motion: reduce) { .explore-photo-frame { transition: none; } }

/* Place panel: right side on wide screens. */
.explore-panel {
  position: absolute; z-index: 4; top: 12px; right: 12px; bottom: 12px; width: min(390px, calc(100% - 24px));
  display: flex; flex-direction: column; border: 1px solid var(--explore-line); border-radius: 24px; background: var(--explore-card); box-shadow: var(--explore-shadow);
  opacity: 0; transform: translateX(16px); transition: opacity .22s ease, transform .22s ease;
}
.explore-panel.is-open { opacity: 1; transform: none; }
.explore-panel-handle { display: none; }
.explore-panel-close { position: absolute; z-index: 1; top: 10px; right: 10px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: rgb(255 253 248 / 92%); color: var(--explore-ink); cursor: pointer; box-shadow: 0 2px 8px rgb(77 58 33 / 16%); }
.explore-panel-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.explore-panel-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 22px 20px 24px; outline: none; }
.explore-panel-loading { margin: 24px 0; color: var(--explore-muted); }

.explore-detail-head { padding-right: 40px; }
.explore-detail-kicker, .explore-item-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 6px; color: var(--explore-muted); font-size: 13px; }
.explore-detail-head h2 { margin: 0; font-size: 24px; line-height: 1.3; text-wrap: balance; }
.explore-detail-facts, .explore-item-facts { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
.explore-detail-facts span, .explore-item-facts span { padding: 3px 10px; border-radius: 999px; background: #f3ecdf; color: var(--explore-ink); font-size: 13px; }
.explore-chip-tag { padding: 2px 8px; border-radius: 999px; background: color-mix(in srgb, var(--explore-featured) 20%, white); color: #7a5a12; font-size: 12px; font-weight: 700; }

.explore-gallery { position: relative; margin: 16px -20px 0; }
.explore-gallery-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.explore-gallery-track::-webkit-scrollbar { display: none; }
.explore-gallery figure { flex: 0 0 100%; margin: 0; scroll-snap-align: center; }
.explore-gallery img { display: block; width: 100%; max-width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #efe7d8; }
.explore-gallery figcaption { padding: 6px 20px 0; color: var(--explore-muted); font-size: 13px; }
.explore-gallery figcaption small { display: block; font-size: 11px; }
.explore-gallery-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 8px; color: var(--explore-muted); font-size: 13px; }
.explore-gallery-nav button { width: 34px; height: 34px; border: 1px solid var(--explore-line); border-radius: 50%; background: var(--explore-card); color: var(--explore-ink); font-size: 18px; line-height: 1; cursor: pointer; }

.explore-host-note { margin: 16px 0 0; padding: 12px 14px; border-left: 4px solid var(--explore-featured); border-radius: 4px 14px 14px 4px; background: color-mix(in srgb, var(--explore-featured) 10%, white); }
.explore-host-note strong { display: block; margin-bottom: 4px; color: #7a5a12; font-size: 13px; }
.explore-host-note p { margin: 0; line-height: 1.7; white-space: pre-line; }
.explore-detail-text { margin: 14px 0 0; line-height: 1.8; white-space: pre-line; }
.explore-detail-address { margin: 14px 0 0; color: var(--explore-muted); font-size: 13px; }
.explore-detail-section { margin-top: 20px; }
.explore-detail-section h3 { margin: 0 0 10px; font-size: 16px; }
.explore-video { margin-bottom: 12px; }
.explore-video-play { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 76px; padding: 12px; border: 1px solid var(--explore-line); border-radius: 16px; background: #f6efe4; color: var(--explore-ink); font: inherit; font-weight: 700; text-align: left; cursor: pointer; }
.explore-video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 16px; background: #000; }
.explore-video-note { margin: 6px 0 0; color: var(--explore-muted); font-size: 12px; }
.explore-video-note a { color: inherit; }
.explore-entrances ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.explore-entrances li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid var(--explore-line); border-radius: 14px; background: #f6f8fc; }
.explore-entrances li div { display: grid; gap: 2px; min-width: 0; }
.explore-entrances li span { color: var(--explore-muted); font-size: 13px; }
.explore-entrances li p { margin: 2px 0 0; font-size: 13px; line-height: 1.6; }
.explore-entrances .explore-action { flex: none; min-height: 38px; padding: 0 14px; font-size: 13px; }
.explore-item-entrances { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 6px 0 0; font-size: 13px; }
.explore-item-entrances a { color: #0066cc; font-weight: 600; text-underline-offset: 3px; }
.explore-works-note { margin: -4px 0 10px; color: var(--explore-muted); font-size: 12px; }
.explore-work { display: grid; gap: 10px; margin-bottom: 12px; padding: 12px; border: 1px solid var(--explore-line); border-radius: 16px; background: #fbf7ef; }
.explore-work img { width: 100%; max-width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; object-fit: cover; }
.explore-work h4 { margin: 2px 0 4px; font-size: 15px; line-height: 1.4; }
.explore-work p { margin: 0 0 6px; font-size: 13px; line-height: 1.65; }
.explore-work-kicker { color: var(--explore-muted); font-size: 12px !important; }
.explore-work-disclosure { padding: 6px 8px; border-radius: 8px; background: #f3ecdf; font-size: 12px !important; }
.explore-work-link { color: var(--explore-ink); font-size: 13px; font-weight: 700; text-underline-offset: 3px; }
.explore-post { margin: 0 0 10px; padding: 12px 14px; border-radius: 14px; background: #f6f1f9; }
.explore-post p { margin: 4px 0 0; line-height: 1.7; white-space: pre-line; }
.explore-post footer { margin-top: 6px; color: var(--explore-muted); font-size: 12px; }

.explore-detail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.explore-action { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border: 1.5px solid var(--explore-ink); border-radius: 999px; color: var(--explore-ink); font-weight: 700; text-decoration: none; }
.explore-action-primary { border-color: var(--explore-stay); background: var(--explore-stay); color: #fffdf8; }

/* Place list (also the fallback when the map cannot run). */
.explore-list-section { margin-top: clamp(24px, 4vw, 40px); }
.explore-list-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; }
.explore-list-head h2 { margin: 0; font-size: clamp(22px, 3vw, 28px); }
.explore-count { margin: 0; color: var(--explore-muted); font-size: 14px; }
.explore-fallback { margin: 12px 0 0; padding: 12px 16px; border-radius: 14px; background: #f3ecdf; color: var(--explore-ink); }
.explore-empty { margin: 16px 0 0; color: var(--explore-muted); }
.explore-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 14px; margin: 16px 0 0; padding: 0; list-style: none; }
.explore-item[hidden] { display: none; }
.explore-item article { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; height: 100%; padding: 14px; border: 1px solid var(--explore-line); border-radius: 20px; background: var(--explore-card); }
.explore-item-photo { width: 96px; height: 96px; max-width: 100%; border-radius: 14px; object-fit: cover; background: #efe7d8; }
.explore-item-photo-empty { display: grid; place-items: center; }
.explore-item-copy { min-width: 0; }
.explore-item h3 { margin: 0; font-size: 17px; line-height: 1.35; }
.explore-item-note { margin: 8px 0 0; font-size: 14px; line-height: 1.6; }
.explore-item-note strong { margin-right: 6px; color: #7a5a12; }
.explore-item-text { display: -webkit-box; margin: 8px 0 0; overflow: hidden; color: var(--explore-muted); font-size: 14px; line-height: 1.65; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.explore-item-text.is-expanded { display: block; overflow: visible; -webkit-line-clamp: unset; }
.explore-item-more { display: block; margin: 2px 0 0; padding: 2px 0; border: 0; background: none; color: #0066cc; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.explore-item-address { margin: 6px 0 0; color: var(--explore-muted); font-size: 12px; }
.explore-item-link { display: inline-block; margin: 8px 12px 0 0; color: var(--explore-ink); font-size: 14px; font-weight: 700; text-underline-offset: 3px; }
.explore-item-open { margin-top: 8px; padding: 6px 12px; border: 1.5px solid var(--explore-stay); border-radius: 999px; background: none; color: var(--explore-stay); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.explore-badge { flex: none; }

/* Wide screens: chips and map buttons move aside while the panel is open. */
@media (min-width: 768px) {
  .explore.is-map.has-panel .explore-filters { right: min(416px, calc(100% - 24px)); }
  .explore.has-panel .explore-controls { right: min(416px, calc(100% - 70px)); }
}

/* Phones: the panel becomes a bottom sheet over the map. */
@media (max-width: 767px) {
  .explore { width: 100%; }
  .explore-filters { padding-inline: 16px; }
  .explore.is-map .explore-filters { left: 0; right: 0; top: 10px; padding: 2px 12px; }
  .explore-stage { height: min(72svh, 640px); border-width: 1px 0; border-radius: 0; box-shadow: none; }
  .explore-controls { top: 68px; right: 10px; }
  .explore-status { top: 66px; bottom: auto; }
  .explore-controls button { width: 42px; height: 42px; }
  .explore-panel {
    top: auto; left: 0; right: 0; bottom: 0; width: 100%; height: 88%; border-radius: 24px 24px 0 0; border-width: 1px 0 0;
    transform: translateY(calc(100% + var(--sheet-drag, 0px))); transition: transform .26s ease, opacity .2s ease;
  }
  .explore-panel.is-open[data-sheet="peek"] { transform: translateY(calc(48% + var(--sheet-drag, 0px))); }
  .explore-panel.is-open[data-sheet="full"] { transform: translateY(var(--sheet-drag, 0px)); }
  .explore-panel-handle { display: grid; place-items: center; flex: none; width: 100%; height: 30px; padding: 0; border: 0; background: none; cursor: grab; touch-action: none; }
  .explore-panel-handle span { width: 44px; height: 5px; border-radius: 999px; background: #d8ccb8; }
  .explore-panel-body { padding-top: 4px; }
  .explore-panel-close { top: 26px; }
  .explore-gallery { margin-inline: -20px; }
  .explore-list-section { padding-inline: 16px; }
  .explore-item article { grid-template-columns: 76px minmax(0, 1fr); }
  .explore-item-photo { width: 76px; height: 76px; }
}

@media (prefers-reduced-motion: reduce) {
  .explore-house-pin { animation: none; }
  .explore-panel, .explore-filter { transition: none; }
}

/* Card popup: the old 周邊指南 card, opened from the list. */
.explore-item.is-openable article { cursor: pointer; transition: border-color .18s ease, box-shadow .18s ease; }
.explore-item.is-openable article:hover { border-color: color-mix(in srgb, var(--explore-stay) 40%, var(--explore-line)); box-shadow: 0 6px 18px rgb(77 58 33 / 10%); }
.explore-item-title { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.explore-item-title:focus-visible { outline: 3px solid var(--explore-featured); outline-offset: 2px; border-radius: 4px; }
.explore-item-subtitle { margin: 4px 0 0; color: var(--explore-ink); font-size: 14px; font-weight: 600; line-height: 1.6; }
.explore-lead p { margin: 10px 0 0; color: var(--explore-muted); line-height: 1.8; max-width: 60ch; }
.explore-lead-note { margin: 10px 0 0; color: var(--explore-muted); font-size: 13px; }
.explore-card-dialog { width: min(640px, calc(100% - 32px)); max-height: min(88vh, 900px); padding: 0; border: 0; border-radius: 24px; background: var(--explore-card); color: var(--explore-ink); box-shadow: var(--explore-shadow); }
.explore-card-dialog::backdrop { background: rgb(40 32 22 / 45%); }
.explore-card-dialog .explore-panel-close { position: sticky; top: 10px; float: right; margin: 10px 10px 0 0; }
.explore-card-dialog-body { padding: 22px 22px 26px; }
.explore-card-dialog-body .explore-gallery { margin-inline: -22px; }
.explore-card-body p { margin: 0 0 12px; }
@media (max-width: 767px) {
  .explore-card-dialog { width: 100%; max-width: 100%; max-height: 92svh; margin: auto 0 0; border-radius: 22px 22px 0 0; }
}
