/* Earthquakes beneath you (/gifts/earthquakes/): on top of the shared maker look (/gifts/globes/maker.css). */

.eq [hidden] { display: none !important; }
.eq .wm-seg button { padding: 6px 8px; white-space: normal; line-height: 1.25; }
.eq .wm-seg + .wm-seg, .eq .wm-range + .wm-seg { margin-top: 8px; }
.eq .eq-mags button { padding: 6px 2px; font-size: 0.8rem; }
.eq-label { margin: 12px 0 6px; font-size: 0.8rem; color: var(--muted); }
.eq-chips { margin-bottom: 10px; }
.eq-chips .wm-chip { font-size: 0.76rem; padding: 5px 10px; }
.eq .eq-mapwrap { max-width: none; position: relative; margin-top: 10px; }
.eq .eq-map { aspect-ratio: 1; }
.eq .wm-checks { margin-top: 10px; }

/* the facts about the earthquakes found */
.eq-facts { margin-top: 12px; font-size: 0.82rem; line-height: 1.45; border-radius: 10px; background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); padding: 10px 12px; }
.eq-facts:empty { display: none; }
.eq-facts p { margin: 0 0 6px; }
.eq-facts p:last-child { margin-bottom: 0; }
.eq-facts .eq-src { color: var(--muted); font-size: 0.74rem; }

/* the colour key over the preview */
.eq-key { position: absolute; left: 12px; bottom: 12px; list-style: none; margin: 0; padding: 8px 10px; display: flex; flex-direction: column; gap: 4px; font-size: 0.74rem; color: var(--muted); background: rgba(16, 20, 19, 0.62); border-radius: 8px; pointer-events: none; }
.eq-key:empty { display: none; }
.eq-key li, .eq-swatches li { display: flex; align-items: center; gap: 6px; }
.eq-key i, .eq-swatches i { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); flex: none; }
.eq-swatches { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 0.78rem; color: var(--muted); }
.eq-swatches i { border-radius: 4px; }

.eq-warn { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.eq-warn:empty { display: none; }
.eq-warn li { font-size: 0.78rem; line-height: 1.4; color: #f3d38a; background: rgba(217, 177, 74, 0.1); border-radius: 8px; padding: 7px 9px; }
.eq .wm-stagebar .wm-btn[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px var(--accent); }

@media (max-width: 560px) {
    .eq .wm-stagebar .wm-btn span { display: none; }
}
