/* Touch escape route belongs to the page, not the map's gesture surface. */
.map-touch-frame{min-width:0;position:relative}
.page-scroll-rail{display:none}
.view-switch{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;max-width:620px;width:100%;min-width:0;padding:5px;border-radius:10px;overflow:hidden;box-sizing:border-box}
.view-switch button{white-space:normal;min-width:0;width:100%;box-sizing:border-box;min-height:64px;padding:9px 12px;text-align:left;border-radius:4px}
.view-switch button span{display:block;font:16px/1.25 Georgia,serif}
.view-switch button small{display:block;font:12px/1.35 Arial,sans-serif;color:#abc3c4;margin-top:5px}
.view-switch button[aria-pressed=true]{background:#264447;color:#f0deb4;box-shadow:inset 0 -2px #cfb67b}
.view-note{margin:12px 0 5px;color:#b6cccc;font:14px/1.6 Georgia,serif;max-width:680px}
.map-legend{display:none}
.quiet-depth .view-note{visibility:hidden}
body.quiet-depth{touch-action:pan-y}
@media(any-pointer:coarse),(max-width:900px){
 .map-touch-frame{display:grid;grid-template-columns:minmax(0,1fr) 22px;gap:4px;margin-right:-6px}
 .map-touch-frame .map-stage{margin:0;min-width:0}
 .page-scroll-rail{display:flex;align-items:center;justify-content:center;touch-action:pan-y;user-select:none;cursor:ns-resize;border-left:1px solid #8eb6b135;border-right:1px solid #8eb6b11a;background:linear-gradient(180deg,#11272b55,#25404377,#11272b55);border-radius:16px}
 .page-scroll-rail span{writing-mode:horizontal-tb;white-space:pre-line;text-align:center;letter-spacing:0;font:19px/1.35 Arial,sans-serif;color:#aac8c8;position:sticky;top:40svh;align-self:flex-start;margin-top:40px;margin-bottom:40px}
 .view-switch{max-width:none}
 .view-switch button{padding:9px 7px}
 .view-switch button small{font-size:12px}
}
:root .map-stage:not(.atlas-expanded) .node.overview-node:is([data-id=author],[data-id=switches]) .node-label{width:max-content;max-width:124px;min-width:0;padding:3px 4px}
.atlas-pages.vertical{left:auto;right:7px;bottom:12px;transform:none;flex-direction:column;gap:3px;width:66px;padding:5px;border-radius:16px;box-sizing:border-box}
.atlas-pages.vertical #atlas-next{order:0}
.atlas-pages.vertical #atlas-range{order:1;min-width:0;white-space:pre-line;letter-spacing:0}
.atlas-pages.vertical #atlas-prev{order:2}
