/* The mastery map (M5-J2, desk-map.js): the desk's "Your map" sheet and the Book's section. A lit row is its place in
   the world's colours with its line; an outline is the same picture in ink only on paper. Nothing is red, dimmed,
   counted or timed. */
.map-open { margin: 10px 0 0; }
.mastery-map .map-band { margin: 18px 0 0; }
.mastery-map .map-band h3 { margin: 0 0 8px; font: 600 15px / 1.3 var(--sans, inherit); color: var(--ink); }
.mastery-map .map-rows { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.mastery-map .map-row { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 12px; padding: 8px 10px; border: 2px solid color-mix(in srgb, var(--ink) 18%, transparent); border-radius: 18px 16px 20px 16px / 16px 20px 16px 18px; background: var(--paper); }
.mastery-map .map-row[data-state="lit"] { border-color: var(--leaf); background: color-mix(in srgb, var(--leaf) 10%, var(--paper)); }
.mastery-map .map-place { display: block; width: 64px; height: 64px; }
.mastery-map .map-place img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.mastery-map .map-row[data-state="outline"] .map-place img { filter: grayscale(1) contrast(1.6) brightness(1.15) sepia(0.15); opacity: 0.85; }
.mastery-map .map-words { display: grid; gap: 4px; }
.mastery-map .map-label { font: 600 16px / 1.3 var(--sans, inherit); color: var(--ink); }
.mastery-map .map-line { font: 400 15px / 1.4 var(--sans, inherit); color: var(--ink); }
.mastery-map .map-heading { justify-self: start; padding: 2px 10px; border: 2px dashed var(--ink); border-radius: 999px; font: 600 13px / 1.4 var(--sans, inherit); color: var(--ink); }
.mastery-map .map-whole { margin: 16px 0 0; }
.book-map { margin: 22px 0 0; }
@media (max-width: 480px) {
  .mastery-map .map-row { grid-template-columns: 52px 1fr; gap: 10px; }
  .mastery-map .map-place { width: 52px; height: 52px; }
}
