/* share module styles (v4.2). */
.share-btn { color: #0f3833; display: grid; place-items: center; }
.share-btn { position: relative; }
.share-btn.is-copied::after { content: 'Copied'; position: absolute; right: 38px; top: 50%; transform: translateY(-50%); padding: 3px 8px; border-radius: 6px; background: #0f3833; color: #fff; font: 500 12px Inter, Geist, sans-serif; white-space: nowrap; }
.dcm-share-btn.is-copied { background: #e9f4f2; border-color: #0d9999; }

/* ?view=embed */
.dcm-embed .dcm-attr { order: 9; }
.dcm-embed .story-pill { display: none; }
.dcm-attr { display: flex; align-items: center; justify-content: flex-end; height: 28px; padding: 0 10px; background: #fff; border-top: 1px solid var(--line); font-size: 12px; }
.dcm-attr a { color: #0a6f6f; font-weight: 500; text-decoration: none; }
.dcm-attr a:hover, .dcm-attr a:focus-visible { text-decoration: underline; }
.dcm-embed #app { grid-template-rows: 1fr auto; }
.dcm-embed .panel, .dcm-embed .time, .dcm-embed .top { display: none; }
.dcm-legend { display: none; }
.dcm-embed .dcm-legend { position: absolute; z-index: 2; left: 12px; bottom: 40px; display: flex; flex-wrap: wrap; gap: 4px 12px; padding: 6px 10px; background: rgb(255 255 255 / .96); border: 1px solid var(--line); border-radius: 8px; font-size: 12px; color: var(--body); box-shadow: var(--shadow); }
.dcm-legend span { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 720px) {
  html.dcm-embed, .dcm-embed body { height: 100%; overflow: hidden; }
  .dcm-embed #app { display: grid; height: 100%; }
  .dcm-embed #map { height: auto; min-height: 0; margin: 0; }
  .dcm-embed .search, .dcm-embed .summary { display: none; }
  .dcm-embed .dcm-legend { top: 10px; bottom: auto; left: 10px; flex-direction: column; gap: 4px; }
  .dcm-attr { justify-content: center; }
}
/* Third-party embeds: no tour, and the summary chips only where there's room. */
.dcm-embed .story-pill, .dcm-embed .story-card, .dcm-embed [class^="story"] { display: none !important; }
@media (max-width: 960px) { .dcm-embed #summary, .dcm-embed .summary { display: none !important; } }
