/* Raised relief map (/gifts/relief-map/): on top of the shared maker look (/gifts/globes/maker.css). */

.rm [hidden] { display: none !important; }
.rm .wm-seg button { padding: 6px 8px; white-space: normal; line-height: 1.25; }
.rm-chips { margin-top: 10px; }
.rm-chips .wm-chip { font-size: 0.76rem; padding: 5px 10px; }
.rm-chips .wm-chip[aria-pressed="true"], .rm-pals .wm-chip[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px var(--accent); }
.rm .rm-mapwrap { max-width: none; margin-top: 10px; }
.rm .rm-map { aspect-ratio: 4 / 3; }
.rm-here { margin: 8px 0 0; font-size: 0.82rem; color: var(--ink); }
.rm-here:empty { display: none; }
.rm-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.rm-row .wm-btn { flex: 1 1 auto; justify-content: center; }
.rm-row .wm-btn[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px var(--accent); }
.rm-row .wm-btn .bx { vertical-align: -2px; margin-right: 3px; }
.rm-row2 { margin-top: 12px; }
.rm-label { margin: 14px 0 6px; font-size: 0.8rem; color: var(--muted); }
.rm .wm-check-inline { display: flex; gap: 8px; align-items: center; margin-top: 2px; font-size: 0.86rem; cursor: pointer; }
.rm .wm-check-inline input { accent-color: var(--gold); }

/* the palettes: a strip of their colours */
.rm-pals { margin-bottom: 4px; }
.rm-pals .wm-chip { font-size: 0.78rem; padding: 6px 11px 6px 8px; }
.rm-ramp { display: inline-block; width: 34px; height: 12px; border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); }

/* the bands: colour, what it covers, where it starts */
.rm-bands { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.rm-band { display: flex; align-items: center; gap: 9px; font-size: 0.82rem; }
.rm-band .wm-color input { width: 26px; height: 26px; }
.rm-band-name { flex: 1; min-width: 0; color: var(--ink); }
.rm-from { color: var(--muted); font-size: 0.78rem; white-space: nowrap; }
.rm-br { width: 74px; background: var(--field); color: var(--ink); border: 1px solid transparent; border-radius: 7px; padding: 4px 6px; font: inherit; font-size: 0.82rem; }
.rm-br:focus { outline: none; border-color: var(--accent); }

/* the download: the filaments, the changes */
.rm-list { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 5px; font-size: 0.8rem; line-height: 1.38; color: var(--muted); }
.rm-list li { display: flex; gap: 8px; align-items: flex-start; }
.rm-list strong { color: var(--ink); font-weight: 600; }
.rm-sw { width: 13px; height: 13px; border-radius: 3px; flex: none; margin-top: 2px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); }
.rm-lh { margin: 4px 0 8px; max-width: 200px; }
.rm-warn { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.rm-warn:empty { display: none; }
.rm-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; }

/* the preview: how it prints */
.rm-look { margin-left: 4px; }
.rm-look button { font-size: 0.8rem; padding: 5px 10px; }
.rm-looknote { position: absolute; left: 12px; bottom: 10px; margin: 0; max-width: 70%; font-size: 0.74rem; color: rgba(236, 238, 233, 0.6); pointer-events: none; z-index: 1; }

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