/* Book of Mormon internal map */
.b-disclaimer{max-width:980px;margin:10px auto 12px;padding:10px 18px;border:1px solid var(--rule);border-left:5px solid var(--red);
  background:linear-gradient(#f9f0d9,#efdfb8);font-size:16px}
.b-disclaimer h2{font-family:var(--sc);font-weight:normal;font-size:19px;margin:0 0 4px;color:#3a1d0c}
.b-disclaimer p{margin:4px 0}
.b-disclaimer .q{font-style:italic;color:var(--ink2);font-size:15px}
.b-disclaimer .q a{font-style:normal;font-family:var(--sc)}
.b-wrap{max-width:1400px;margin:0 auto;padding:0 12px 10px;display:grid;grid-template-columns:270px minmax(0,1fr) 320px;gap:12px;align-items:start}
.b-controls,.b-panel{border:1px solid var(--rule);background:linear-gradient(#f7eed6,#ecdcb4);padding:8px 12px;font-size:15px;
  max-height:calc(100vh - 40px);overflow:auto;position:sticky;top:8px}
.b-controls summary{font-family:var(--sc);font-size:17px;cursor:pointer;margin:4px 0;color:#3a1d0c}
.b-checks label,.b-eras label{display:block;padding:2px 0;cursor:pointer}
.b-eras label{font-size:14px;line-height:1.3;padding:3px 0}
.b-journeys fieldset{border:0;border-top:1px dotted var(--rule);margin:4px 0 0;padding:4px 0 0}
.b-journeys legend{font-family:var(--sc);font-size:13px;letter-spacing:.05em;color:var(--ink2);padding:0 4px 0 0}
.b-journeys label{display:block;font-size:14px;line-height:1.3;padding:2px 0;cursor:pointer}
.b-journeys .y{color:var(--ink2);font-style:italic;font-size:12px;white-space:nowrap}
.b-jall{margin:2px 0 4px}.b-jall .g-btn{font-size:13px;padding:2px 10px}
i.sw{display:inline-block;width:14px;height:4px;border-radius:2px;vertical-align:middle;margin-right:5px}
.b-mapbox{position:relative;border:1px solid var(--rule);box-shadow:0 0 0 4px rgba(247,238,214,.8),0 0 0 5px var(--rule),0 6px 18px var(--shadow);margin:5px}
#bMap{display:block;width:100%;height:auto;max-height:calc(100vh - 30px);aspect-ratio:1000/1400;touch-action:none;cursor:grab;background:#cfd8c8;
  font-family:var(--serif);user-select:none;-webkit-user-select:none}
#bMap:active{cursor:grabbing}
.b-zoom{position:absolute;top:8px;right:8px;display:flex;flex-direction:column;gap:4px;z-index:2}
.b-zoom .g-btn{width:34px;height:34px;padding:0;font-size:20px;line-height:1}
.b-scale{position:absolute;left:8px;bottom:6px;font-size:12.5px;font-style:italic;color:var(--ink2);background:rgba(241,227,189,.85);padding:1px 6px;border:1px solid var(--rule)}
.b-sea{font-family:var(--sc);font-size:22px;letter-spacing:.3em;fill:#3c5a6a;text-anchor:middle;opacity:.8}
.b-lab{font-family:var(--sc);fill:#5a3d22;text-anchor:middle;letter-spacing:.12em;paint-order:stroke;stroke:#f1e3bd;stroke-width:3px;pointer-events:none}
.b-l-wild .b-lab{font-family:var(--serif);font-style:italic;letter-spacing:.04em;fill:#4b5a2c}
.b-l-jaredite .b-lab{fill:#6b5a8a;font-style:italic}
.b-strip{cursor:pointer}
.b-river{cursor:pointer}
.b-p{cursor:pointer;outline:none}
.b-p .b-mk{fill:#9b2d20;stroke:#2b1a0e;stroke-width:1.6}
.b-p.land .b-mk{fill:#f6ecd2;stroke:#9b2d20;stroke-width:2.2}
.b-p.hill .b-mk{fill:#8a6a3c}
.b-p.water .b-mk{fill:#3f6f8f}
.b-p.landing .b-mk{fill:none;stroke:#2b1a0e;stroke-width:2.2}
.b-p.feature .b-mk{fill:#a7802f;stroke:#3a1d0c}
.b-p .b-i{font:italic bold 13px Georgia,serif;fill:#fff8e1;text-anchor:middle;pointer-events:none}
.b-p.inferred .b-mk{stroke-dasharray:3 2}
.b-p.sequence .b-mk{fill:#f6ecd2;stroke:#9b2d20;stroke-dasharray:2 2}
.b-l-jaredite .b-p .b-mk{fill:#6b5a8a}
.b-pl{fill:#2b1a0e;paint-order:stroke;stroke:#f1e3bd;stroke-width:3.5px;stroke-linejoin:round;font-size:16px}
.b-pl.river{fill:#2d5872;font-style:italic}
.b-p:hover .b-pl,.b-p:focus .b-pl{fill:#9b2d20}
.b-p.sel .b-mk{stroke:#f2c94c;stroke-width:4;stroke-dasharray:none}
.b-p.sel .b-pl{fill:#9b2d20;font-weight:bold}
.b-jline{fill:none;stroke-width:3.2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:10 5;opacity:.9;pointer-events:none}
.b-jline.lam{stroke-dasharray:4 4}
.b-jline.jar{stroke-dasharray:2 5}
.b-jhit{fill:none;stroke:transparent;stroke-width:16;cursor:pointer}
.b-j:hover .b-jline,.b-j:focus .b-jline,.b-j.sel .b-jline{stroke-width:5.5;opacity:1}
.b-j{outline:none}
.b-area{opacity:.26}
.b-area.contested,.b-area.abandoned{opacity:.9}
.b-line{fill:none;stroke:#2b1a0e;stroke-width:3}
.b-line.strip{stroke-dasharray:2 6;stroke-width:4}
.b-line.fort{stroke:#3a1d0c;stroke-width:6;stroke-dasharray:14 4}
.b-line.treaty{stroke:#9b2d20;stroke-width:5;stroke-dasharray:8 4}
.b-line.neck{stroke-dasharray:6 6;opacity:.6}
.b-panel h2{font-family:var(--sc);font-weight:normal;font-size:21px;margin:2px 0 4px;color:#3a1d0c;line-height:1.15}
.b-panel h3{font-family:var(--sc);font-weight:normal;font-size:14px;letter-spacing:.06em;margin:10px 0 3px;border-bottom:1px solid var(--rule)}
.b-panel ul,.b-panel ol{margin:0;padding-left:18px}
.b-panel li{margin:3px 0}
.b-panel p{margin:4px 0}
.b-clues .r,.b-ev span{font-size:13px;font-style:italic;color:var(--ink2);white-space:nowrap}
.b-clues .r a{font-style:normal}
.b-hint{font-style:italic;color:var(--ink2)}
.b-basis{font-size:13.5px;font-style:italic;color:var(--ink2)}
.b-years{font-style:italic;color:var(--ink2)}
.b-jlinks{list-style:none;padding-left:0!important}
.b-jlinks i{display:inline-block;width:14px;height:4px;border-radius:2px;vertical-align:middle;margin-right:5px}
.b-key{list-style:none;padding-left:0!important}
.b-sw{display:inline-block;width:18px;height:12px;vertical-align:middle;margin-right:6px;border:1px solid var(--rule)}
.b-sw.nephite{background:rgba(47,90,122,.45)}.b-sw.lamanite{background:rgba(155,45,32,.45)}.b-sw.mulekite{background:rgba(79,122,58,.45)}
.b-sw.jaredite{background:rgba(107,90,138,.45)}
.b-sw.contested{background:repeating-linear-gradient(45deg,rgba(47,90,122,.6) 0 3px,rgba(155,45,32,.2) 3px 7px)}
.b-sw.abandoned{background:repeating-linear-gradient(-35deg,rgba(60,40,20,.4) 0 2px,transparent 2px 6px)}
.b-legend{display:flex;flex-wrap:wrap;gap:18px;justify-content:center;font-size:14px;font-style:italic;color:var(--ink2);margin:6px 12px}
i.lg{display:inline-block;width:12px;height:12px;border-radius:50%;vertical-align:middle;margin-right:6px;border:2px solid #2b1a0e;background:#9b2d20}
i.lg.inferred{border-style:dashed}
i.lg.sequence{background:#f6ecd2;border-color:#9b2d20;border-style:dotted}
@media (max-width:1100px){
  .b-wrap{grid-template-columns:240px minmax(0,1fr)}
  .b-panel{grid-column:1 / -1;position:static;max-height:none}
}
@media (max-width:760px){
  .b-wrap{grid-template-columns:1fr;padding:0 6px}
  .b-controls{position:static;max-height:none;order:2}
  .b-controls details:not([data-keep]){}
  .b-mapbox{order:1;margin:3px}
  #bMap{max-height:none}
  .b-panel{order:2}
  .b-controls{order:3}
}
