.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane > svg,
.leaflet-pane > canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
	position: absolute;
	left: 0;
	top: 0;
	}
.leaflet-container {
	overflow: hidden;
	}
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow {
	-webkit-user-select: none;
	   -moz-user-select: none;
	        user-select: none;
	  -webkit-user-drag: none;
	}

.leaflet-tile::selection {
	background: transparent;
}

.leaflet-safari .leaflet-tile {
	image-rendering: -webkit-optimize-contrast;
	}

.leaflet-safari .leaflet-tile-container {
	width: 1600px;
	height: 1600px;
	-webkit-transform-origin: 0 0;
	}
.leaflet-marker-icon,
.leaflet-marker-shadow {
	display: block;
	}


.leaflet-container .leaflet-overlay-pane svg {
	max-width: none !important;
	max-height: none !important;
	}
.leaflet-container .leaflet-marker-pane img,
.leaflet-container .leaflet-shadow-pane img,
.leaflet-container .leaflet-tile-pane img,
.leaflet-container img.leaflet-image-layer,
.leaflet-container .leaflet-tile {
	max-width: none !important;
	max-height: none !important;
	width: auto;
	padding: 0;
	}

.leaflet-container img.leaflet-tile {
	
	mix-blend-mode: plus-lighter;
}

.leaflet-container.leaflet-touch-zoom {
	-ms-touch-action: pan-x pan-y;
	touch-action: pan-x pan-y;
	}
.leaflet-container.leaflet-touch-drag {
	-ms-touch-action: pinch-zoom;
	
	touch-action: none;
	touch-action: pinch-zoom;
}
.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {
	-ms-touch-action: none;
	touch-action: none;
}
.leaflet-container {
	-webkit-tap-highlight-color: transparent;
}
.leaflet-container a {
	-webkit-tap-highlight-color: rgba(51, 181, 229, 0.4);
}
.leaflet-tile {
	filter: inherit;
	visibility: hidden;
	}
.leaflet-tile-loaded {
	visibility: inherit;
	}
.leaflet-zoom-box {
	width: 0;
	height: 0;
	-moz-box-sizing: border-box;
	     box-sizing: border-box;
	z-index: 800;
	}

.leaflet-overlay-pane svg {
	-moz-user-select: none;
	}

.leaflet-pane         { z-index: 400; }

.leaflet-tile-pane    { z-index: 200; }
.leaflet-overlay-pane { z-index: 400; }
.leaflet-shadow-pane  { z-index: 500; }
.leaflet-marker-pane  { z-index: 600; }
.leaflet-tooltip-pane   { z-index: 650; }
.leaflet-popup-pane   { z-index: 700; }

.leaflet-map-pane canvas { z-index: 100; }
.leaflet-map-pane svg    { z-index: 200; }

.leaflet-vml-shape {
	width: 1px;
	height: 1px;
	}
.lvml {
	behavior: url(#default#VML);
	display: inline-block;
	position: absolute;
	}




.leaflet-control {
	position: relative;
	z-index: 800;
	pointer-events: visiblePainted; 
	pointer-events: auto;
	}
.leaflet-top,
.leaflet-bottom {
	position: absolute;
	z-index: 1000;
	pointer-events: none;
	}
.leaflet-top {
	top: 0;
	}
.leaflet-right {
	right: 0;
	}
.leaflet-bottom {
	bottom: 0;
	}
.leaflet-left {
	left: 0;
	}
.leaflet-control {
	float: left;
	clear: both;
	}
.leaflet-right .leaflet-control {
	float: right;
	}
.leaflet-top .leaflet-control {
	margin-top: 10px;
	}
.leaflet-bottom .leaflet-control {
	margin-bottom: 10px;
	}
.leaflet-left .leaflet-control {
	margin-left: 10px;
	}
.leaflet-right .leaflet-control {
	margin-right: 10px;
	}




.leaflet-fade-anim .leaflet-popup {
	opacity: 0;
	-webkit-transition: opacity 0.2s linear;
	   -moz-transition: opacity 0.2s linear;
	        transition: opacity 0.2s linear;
	}
.leaflet-fade-anim .leaflet-map-pane .leaflet-popup {
	opacity: 1;
	}
.leaflet-zoom-animated {
	-webkit-transform-origin: 0 0;
	    -ms-transform-origin: 0 0;
	        transform-origin: 0 0;
	}
svg.leaflet-zoom-animated {
	will-change: transform;
}

.leaflet-zoom-anim .leaflet-zoom-animated {
	-webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1);
	   -moz-transition:    -moz-transform 0.25s cubic-bezier(0,0,0.25,1);
	        transition:         transform 0.25s cubic-bezier(0,0,0.25,1);
	}
.leaflet-zoom-anim .leaflet-tile,
.leaflet-pan-anim .leaflet-tile {
	-webkit-transition: none;
	   -moz-transition: none;
	        transition: none;
	}

.leaflet-zoom-anim .leaflet-zoom-hide {
	visibility: hidden;
	}




.leaflet-interactive {
	cursor: pointer;
	}
.leaflet-grab {
	cursor: -webkit-grab;
	cursor:    -moz-grab;
	cursor:         grab;
	}
.leaflet-crosshair,
.leaflet-crosshair .leaflet-interactive {
	cursor: crosshair;
	}
.leaflet-popup-pane,
.leaflet-control {
	cursor: auto;
	}
.leaflet-dragging .leaflet-grab,
.leaflet-dragging .leaflet-grab .leaflet-interactive,
.leaflet-dragging .leaflet-marker-draggable {
	cursor: move;
	cursor: -webkit-grabbing;
	cursor:    -moz-grabbing;
	cursor:         grabbing;
	}


.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-image-layer,
.leaflet-pane > svg path,
.leaflet-tile-container {
	pointer-events: none;
	}

.leaflet-marker-icon.leaflet-interactive,
.leaflet-image-layer.leaflet-interactive,
.leaflet-pane > svg path.leaflet-interactive,
svg.leaflet-image-layer.leaflet-interactive path {
	pointer-events: visiblePainted; 
	pointer-events: auto;
	}



.leaflet-container {
	background: #ddd;
	outline-offset: 1px;
	}
.leaflet-container a {
	color: #0078A8;
	}
.leaflet-zoom-box {
	border: 2px dotted #38f;
	background: rgba(255,255,255,0.5);
	}



.leaflet-container {
	font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1.5;
	}




.leaflet-bar {
	box-shadow: 0 1px 5px rgba(0,0,0,0.65);
	border-radius: 4px;
	}
.leaflet-bar a {
	background-color: #fff;
	border-bottom: 1px solid #ccc;
	width: 26px;
	height: 26px;
	line-height: 26px;
	display: block;
	text-align: center;
	text-decoration: none;
	color: black;
	}
.leaflet-bar a,
.leaflet-control-layers-toggle {
	background-position: 50% 50%;
	background-repeat: no-repeat;
	display: block;
	}
.leaflet-bar a:hover,
.leaflet-bar a:focus {
	background-color: #f4f4f4;
	}
.leaflet-bar a:first-child {
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	}
.leaflet-bar a:last-child {
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
	border-bottom: none;
	}
.leaflet-bar a.leaflet-disabled {
	cursor: default;
	background-color: #f4f4f4;
	color: #bbb;
	}

.leaflet-touch .leaflet-bar a {
	width: 30px;
	height: 30px;
	line-height: 30px;
	}
.leaflet-touch .leaflet-bar a:first-child {
	border-top-left-radius: 2px;
	border-top-right-radius: 2px;
	}
.leaflet-touch .leaflet-bar a:last-child {
	border-bottom-left-radius: 2px;
	border-bottom-right-radius: 2px;
	}



.leaflet-control-zoom-in,
.leaflet-control-zoom-out {
	font: bold 18px 'Lucida Console', Monaco, monospace;
	text-indent: 1px;
	}

.leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out  {
	font-size: 22px;
	}




.leaflet-control-layers {
	box-shadow: 0 1px 5px rgba(0,0,0,0.4);
	background: #fff;
	border-radius: 5px;
	}
.leaflet-touch .leaflet-control-layers-toggle {
	width: 44px;
	height: 44px;
	}
.leaflet-control-layers .leaflet-control-layers-list,
.leaflet-control-layers-expanded .leaflet-control-layers-toggle {
	display: none;
	}
.leaflet-control-layers-expanded .leaflet-control-layers-list {
	display: block;
	position: relative;
	}
.leaflet-control-layers-expanded {
	padding: 6px 10px 6px 6px;
	color: #333;
	background: #fff;
	}
.leaflet-control-layers-scrollbar {
	overflow-y: scroll;
	overflow-x: hidden;
	padding-right: 5px;
	}
.leaflet-control-layers-selector {
	margin-top: 2px;
	position: relative;
	top: 1px;
	}
.leaflet-control-layers label {
	display: block;
	font-size: 13px;
	font-size: 1.08333em;
	}
.leaflet-control-layers-separator {
	height: 0;
	border-top: 1px solid #ddd;
	margin: 5px -10px 5px -6px;
	}




.leaflet-container .leaflet-control-attribution {
	background: #fff;
	background: rgba(255, 255, 255, 0.8);
	margin: 0;
	}
.leaflet-control-attribution,
.leaflet-control-scale-line {
	padding: 0 5px;
	color: #333;
	line-height: 1.4;
	}
.leaflet-control-attribution a {
	text-decoration: none;
	}
.leaflet-control-attribution a:hover,
.leaflet-control-attribution a:focus {
	text-decoration: underline;
	}
.leaflet-attribution-flag {
	display: inline !important;
	vertical-align: baseline !important;
	width: 1em;
	height: 0.6669em;
	}
.leaflet-left .leaflet-control-scale {
	margin-left: 5px;
	}
.leaflet-bottom .leaflet-control-scale {
	margin-bottom: 5px;
	}
.leaflet-control-scale-line {
	border: 2px solid #777;
	border-top: none;
	line-height: 1.1;
	padding: 2px 5px 1px;
	white-space: nowrap;
	-moz-box-sizing: border-box;
	     box-sizing: border-box;
	background: rgba(255, 255, 255, 0.8);
	text-shadow: 1px 1px #fff;
	}
.leaflet-control-scale-line:not(:first-child) {
	border-top: 2px solid #777;
	border-bottom: none;
	margin-top: -2px;
	}
.leaflet-control-scale-line:not(:first-child):not(:last-child) {
	border-bottom: 2px solid #777;
	}

.leaflet-touch .leaflet-control-attribution,
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	box-shadow: none;
	}
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	border: 2px solid rgba(0,0,0,0.2);
	background-clip: padding-box;
	}




.leaflet-popup {
	position: absolute;
	text-align: center;
	margin-bottom: 20px;
	}
.leaflet-popup-content-wrapper {
	padding: 1px;
	text-align: left;
	border-radius: 12px;
	}
.leaflet-popup-content {
	margin: 13px 24px 13px 20px;
	line-height: 1.3;
	font-size: 13px;
	font-size: 1.08333em;
	min-height: 1px;
	}
.leaflet-popup-content p {
	margin: 17px 0;
	margin: 1.3em 0;
	}
.leaflet-popup-tip-container {
	width: 40px;
	height: 20px;
	position: absolute;
	left: 50%;
	margin-top: -1px;
	margin-left: -20px;
	overflow: hidden;
	pointer-events: none;
	}
.leaflet-popup-tip {
	width: 17px;
	height: 17px;
	padding: 1px;

	margin: -10px auto 0;
	pointer-events: auto;

	-webkit-transform: rotate(45deg);
	   -moz-transform: rotate(45deg);
	    -ms-transform: rotate(45deg);
	        transform: rotate(45deg);
	}
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
	background: white;
	color: #333;
	box-shadow: 0 3px 14px rgba(0,0,0,0.4);
	}
.leaflet-container a.leaflet-popup-close-button {
	position: absolute;
	top: 0;
	right: 0;
	border: none;
	text-align: center;
	width: 24px;
	height: 24px;
	font: 16px/24px Tahoma, Verdana, sans-serif;
	color: #757575;
	text-decoration: none;
	background: transparent;
	}
.leaflet-container a.leaflet-popup-close-button:hover,
.leaflet-container a.leaflet-popup-close-button:focus {
	color: #585858;
	}
.leaflet-popup-scrolled {
	overflow: auto;
	}

.leaflet-oldie .leaflet-popup-content-wrapper {
	-ms-zoom: 1;
	}
.leaflet-oldie .leaflet-popup-tip {
	width: 24px;
	margin: 0 auto;

	-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";
	filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);
	}

.leaflet-oldie .leaflet-control-zoom,
.leaflet-oldie .leaflet-control-layers,
.leaflet-oldie .leaflet-popup-content-wrapper,
.leaflet-oldie .leaflet-popup-tip {
	border: 1px solid #999;
	}




.leaflet-div-icon {
	background: #fff;
	border: 1px solid #666;
	}




.leaflet-tooltip {
	position: absolute;
	padding: 6px;
	background-color: #fff;
	border: 1px solid #fff;
	border-radius: 3px;
	color: #222;
	white-space: nowrap;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	pointer-events: none;
	box-shadow: 0 1px 3px rgba(0,0,0,0.4);
	}
.leaflet-tooltip.leaflet-interactive {
	cursor: pointer;
	pointer-events: auto;
	}
.leaflet-tooltip-top:before,
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	position: absolute;
	pointer-events: none;
	border: 6px solid transparent;
	background: transparent;
	content: "";
	}



.leaflet-tooltip-bottom {
	margin-top: 6px;
}
.leaflet-tooltip-top {
	margin-top: -6px;
}
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-top:before {
	left: 50%;
	margin-left: -6px;
	}
.leaflet-tooltip-top:before {
	bottom: 0;
	margin-bottom: -12px;
	border-top-color: #fff;
	}
.leaflet-tooltip-bottom:before {
	top: 0;
	margin-top: -12px;
	margin-left: -6px;
	border-bottom-color: #fff;
	}
.leaflet-tooltip-left {
	margin-left: -6px;
}
.leaflet-tooltip-right {
	margin-left: 6px;
}
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	top: 50%;
	margin-top: -6px;
	}
.leaflet-tooltip-left:before {
	right: 0;
	margin-right: -12px;
	border-left-color: #fff;
	}
.leaflet-tooltip-right:before {
	left: 0;
	margin-left: -12px;
	border-right-color: #fff;
	}



@media print {
	
	.leaflet-control {
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
		}
	}
[hidden] { display: none !important; }
/* Layout: one-screen tool. Left column = filters + list (or detail), right = map. Phone: tab switch Liste/Karte. */
:root {
  --paper: #f3f5f2;      /* map-sheet ground, cool */
  --surface: #ffffff;
  --ink: #1d2623;
  --muted: #5d6a66;
  --line: #d5dbd7;
  --relief: #8a5a2b;     /* contour brown of topographic sheets */
  --glacier: #1b6388;    /* glacier/water blue */
  --accent: #b3261e;     /* trail-marker red */
  --accent-ink: #ffffff;
  --hover: #e9eeea;
  --map-land: #e7ebe4;
  --map-alps: #f6f3ea;
  --map-water: #b9d6e6;
  --map-border: #7d6f8c;
  --map-group: #b08a5e;
  --map-label: #6d5334;
  --h0: #5f8f4e; --h1: #a6a042; --h2: #c98a3a; --h3: #a0522d; --h4: #6f6f78; --h5: #2f7fa8;
  --park: #1e3a8a; --stop: #065f46;
  --hut: #5b2a86;
  --tw: #c2410c; --ta: #1d4ed8; --tk: #7e22ce; --tt: #6b7280; --ski: #0f766e;   /* trail kinds: Wandern, Hochalpin, Klettersteig, Fahrweg; Skitour */
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --paper: #151a19; --surface: #1d2423; --ink: #e6ebe8; --muted: #9aa7a2; --line: #333d3a;
  --relief: #d2a070; --glacier: #6fb7dc; --accent: #ef6a5f; --accent-ink: #1a0f0e; --hover: #262f2d;
  --map-land: #1b2120; --map-alps: #262b27; --map-water: #1f3b4a; --map-border: #a99bbb; --map-group: #7d6547; --map-label: #c9ab84;
  --h0: #7fb56b; --h1: #c7c05a; --h2: #e3a455; --h3: #d07a4f; --h4: #b3b3bd; --h5: #7cc4ea;
  --park: #93c5fd; --stop: #6ee7b7; --hut: #d8b4fe; --tw: #fb923c; --ta: #7aa5ff; --tk: #c084fc; --tt: #9ca3af; --ski: #5eead4;
  color-scheme: dark } }
:root[data-theme="dark"] {
  --paper: #151a19; --surface: #1d2423; --ink: #e6ebe8; --muted: #9aa7a2; --line: #333d3a;
  --relief: #d2a070; --glacier: #6fb7dc; --accent: #ef6a5f; --accent-ink: #1a0f0e; --hover: #262f2d;
  --map-land: #1b2120; --map-alps: #262b27; --map-water: #1f3b4a; --map-border: #a99bbb; --map-group: #7d6547; --map-label: #c9ab84;
  --h0: #7fb56b; --h1: #c7c05a; --h2: #e3a455; --h3: #d07a4f; --h4: #b3b3bd; --h5: #7cc4ea;
  --park: #93c5fd; --stop: #6ee7b7; --hut: #d8b4fe; --tw: #fb923c; --ta: #7aa5ff; --tk: #c084fc; --tt: #9ca3af; --ski: #5eead4;
  color-scheme: dark }

html, body { height: 100%; }
body { background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 15px; line-height: 1.4; }
* { box-sizing: border-box; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--glacier); outline-offset: 1px; }

.app { height: 100%; display: grid; grid-template-columns: minmax(320px, 420px) 1fr; grid-template-rows: auto 1fr; }
.top { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  padding-block: 10px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));
  border-bottom: 1px solid var(--line); background: var(--surface); }
.top h1 { font-family: var(--font-display); font-weight: 600; font-size: 26px; letter-spacing: .01em; margin: 0; line-height: 1; }
.top .sub { color: var(--muted); font-size: 13px; }
.tabs { display: none; gap: 0; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.tabs button { border: 0; background: transparent; padding: 6px 14px; cursor: pointer; }
.tabs button[aria-pressed="true"] { background: var(--ink); color: var(--surface); }

.side { min-width: 0; min-height: 0; display: flex; flex-direction: column; border-right: 1px solid var(--line); background: var(--surface); position: relative; }
.filters { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 10px; padding-block: 12px;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: 16px; border-bottom: 1px solid var(--line); }
.f { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.f.wide { grid-column: 1 / -1; }
.f label, .f .lab { font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 600; }
.f input, .f select { width: 100%; min-width: 0; padding: 7px 8px; border: 1px solid var(--line); border-radius: 5px; background: var(--paper); }
.hrow { display: flex; align-items: center; gap: 6px; }
.hrow span { color: var(--muted); }
.bands { display: flex; gap: 4px; flex-wrap: wrap; }
.bands button { border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 2px 9px; font-size: 12.5px; cursor: pointer; font-variant-numeric: tabular-nums; }
.bands button:hover { background: var(--hover); }
.bands button[aria-pressed="true"] { background: var(--ink); color: var(--surface); border-color: var(--ink); }

.status { display: flex; align-items: center; gap: 8px; padding-block: 7px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: 16px;
  border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.status strong { color: var(--ink); font-variant-numeric: tabular-nums; }
.status select { margin-left: auto; border: 1px solid var(--line); border-radius: 5px; background: var(--paper); padding: 3px 6px; font-size: 13px; }
.status .reset { border: 0; background: none; color: var(--accent); cursor: pointer; padding: 0; text-decoration: underline; font-size: 13px; }

.list { flex: 1; min-height: 0; overflow-y: auto; position: relative; }
.list .spacer { position: relative; }
.row { position: absolute; left: 0; right: 0; height: 52px; display: grid; grid-template-columns: 10px 1fr auto; gap: 10px; align-items: center;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: 16px; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; cursor: pointer; width: 100%; }
.row:hover, .row.sel { background: var(--hover); }
.row .dot { width: 10px; height: 10px; border-radius: 50%; }
.row .nm { min-width: 0; }
.row .nm b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .nm small { display: block; color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .el { font-family: var(--font-display); font-size: 20px; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.row .el i { font-style: normal; font-size: 13px; color: var(--muted); margin-left: 2px; }
.empty { padding: 28px 16px; color: var(--muted); text-align: center; }

.detail { position: absolute; inset: 0; background: var(--surface); overflow-y: auto; z-index: 5;
  padding-block: 14px 24px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: 16px; display: flex; flex-direction: column; gap: 14px; }
.detail .back { align-self: flex-start; border: 1px solid var(--line); background: transparent; border-radius: 5px; padding: 5px 10px; cursor: pointer; }
.detail .back:hover { background: var(--hover); }
.detail h2 { font-family: var(--font-display); font-weight: 600; font-size: 34px; line-height: 1.05; margin: 0; text-wrap: balance; overflow-wrap: anywhere; }
.detail .alt { color: var(--muted); margin-top: 2px; }
.summit { display: flex; align-items: baseline; gap: 8px; border-top: 2px solid var(--relief); border-bottom: 1px solid var(--line); padding-block: 8px; }
.summit .big { font-family: var(--font-display); font-size: 46px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.summit .unit { color: var(--muted); }
.summit .rank { margin-left: auto; color: var(--muted); font-size: 13px; text-align: right; }
dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; margin: 0; }
dl.facts dt { font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 600; padding-top: 3px; }
dl.facts dd { margin: 0; min-width: 0; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
dl.facts dd small { color: var(--muted); display: block; }
.links { display: flex; flex-wrap: wrap; gap: 8px; }
.links a, .links button { border: 1px solid var(--line); border-radius: 5px; padding: 6px 10px; color: var(--ink); text-decoration: none; background: transparent; cursor: pointer; }
.links a:hover, .links button:hover { background: var(--hover); }
.rts { margin: 6px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 3px; }
.rts a { color: var(--glacier); }
.rts small { display: block; color: var(--muted); font-size: 12.5px; }
.ways { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--line); padding-top: 12px; }
.kind { display: flex; flex-direction: column; gap: 2px; }
.kh { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.kh small { color: var(--muted); font-size: 12.5px; }
.kb { font-size: 12px; font-weight: 600; border-radius: 999px; padding: 1px 9px; border: 1px solid currentColor; white-space: nowrap; }
.kb.k0 { color: var(--tw); } .kb.k1 { color: var(--ta); } .kb.k2 { color: var(--tk); } .kb.k3 { color: var(--ski); } .kb.kn { color: var(--muted); }
.onmap { margin-left: 8px; border: 1px solid var(--line); border-radius: 5px; background: transparent; padding: 0 7px; font-size: 12.5px; cursor: pointer; }
.onmap:hover { background: var(--hover); }
a.onmap { color: var(--ink); text-decoration: none; display: inline-block; }
.kb.kp { color: var(--park); } .kb.kh2 { color: var(--stop); }
.wx { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line); padding-top: 12px; }
.wx h3, .h3 { margin: 0; font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 600; }
.wx a { color: var(--glacier); }
.wxd { border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.wxd summary { display: grid; grid-template-columns: 5.2em 1fr auto; gap: 8px; padding-block: 7px; cursor: pointer; list-style: none; }
.wxd summary::-webkit-details-marker { display: none; }
.wxd summary:hover { background: var(--hover); }
.wxd .day { font-weight: 600; white-space: nowrap; }
.wxd .temp { text-align: right; white-space: nowrap; }
.wxd small { display: block; color: var(--muted); font-size: 12.5px; }
.wxd .warn { font-style: normal; font-size: 11.5px; font-weight: 600; color: var(--accent); border: 1px solid var(--accent); border-radius: 999px; padding: 0 6px; margin-left: 6px; white-space: nowrap; }
.wxf { margin: 0 0 8px; color: var(--muted); font-size: 13px; }
.wxscroll { overflow-x: auto; margin-bottom: 10px; }
.wxh { border-collapse: collapse; width: 100%; font-size: 13px; }
.wxh th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; padding: 3px 10px 3px 0; white-space: nowrap; }
.wxh td { padding: 4px 10px 4px 0; border-top: 1px solid var(--line); vertical-align: top; white-space: nowrap; }
.wxh small { font-size: 11.5px; }
.bookrow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.bookrow button, .bookbtn, .nearbtn { border: 1px solid var(--line); border-radius: 5px; padding: 6px 10px; background: transparent; cursor: pointer; }
.bookrow button:hover, .bookbtn:hover, .nearbtn:hover { background: var(--hover); }
.bookrow button[aria-pressed="true"] { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.bdate input { border: 1px solid var(--line); border-radius: 5px; background: var(--paper); padding: 5px 6px; }
.brand { border: 0; background: none; padding: 0; font: inherit; color: inherit; cursor: pointer; letter-spacing: inherit; }
.nav { margin-left: auto; align-self: center; display: flex; gap: 4px; }
.nav button { border: 1px solid transparent; border-radius: 5px; padding: 6px 10px; background: transparent; cursor: pointer; }
.nav button:hover { background: var(--hover); }
.nav button[aria-current="true"] { border-color: var(--line); background: var(--paper); font-weight: 600; }
.app[data-page="home"] .tabs, .app[data-page="profile"] .tabs { display: none; }
.page { grid-column: 1 / -1; grid-row: 2; z-index: 1300; overflow-y: auto; background: var(--paper); min-height: 0; }
.side, .mapwrap { grid-row: 2; }
.side { grid-column: 1; } .mapwrap { grid-column: 2; }
.home { max-width: 1020px; margin: 0 auto; display: flex; flex-direction: column; gap: 30px; padding-block: 28px 36px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.home section { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.eyebrow { margin: 0; font-size: 12.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.hero h2, .phead h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(32px, 6vw, 52px); line-height: 1.04; margin: 0; text-wrap: balance; max-width: 18em; }
.hsearch { position: relative; max-width: 560px; margin-top: 8px; }
.hsearch input { width: 100%; padding: 13px 14px; font-size: 17px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); }
.hres { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 5; background: var(--surface); border: 1px solid var(--line); border-radius: 7px; overflow: hidden; }
.hres button { display: grid; grid-template-columns: 1fr auto; gap: 0 12px; width: 100%; text-align: left; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 8px 12px; cursor: pointer; }
.hres button:hover, .hres button:focus-visible { background: var(--hover); }
.hres small { grid-column: 1; color: var(--muted); font-size: 12.5px; }
.hres span { grid-column: 2; grid-row: 1 / 3; align-self: center; font-family: var(--font-display); font-size: 19px; font-variant-numeric: tabular-nums; }
.hres .note { padding: 10px 12px; }
.hact { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.hact button, .home .links button { border: 1px solid var(--line); border-radius: 6px; padding: 9px 14px; background: var(--surface); cursor: pointer; }
.hact button:hover, .home .links button:hover { background: var(--hover); }
.hact .primary { background: var(--ink); color: var(--surface); border-color: var(--ink); font-weight: 600; }
.hact .primary:hover { background: var(--ink); opacity: .9; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.tile { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; text-align: left; border: 1px solid var(--line); border-left: 4px solid var(--c); border-radius: 6px; background: var(--surface); padding: 12px 14px; cursor: pointer; }
.tile:hover { background: var(--hover); }
.tile b { font-size: 16px; }
.tile .tn { font-family: var(--font-display); font-size: 22px; font-variant-numeric: tabular-nums; grid-row: 1 / 3; grid-column: 2; align-self: center; }
.tile small { color: var(--muted); font-size: 12.5px; }
.lands { display: flex; flex-wrap: wrap; gap: 6px; }
.lands button { border: 1px solid var(--line); border-radius: 999px; background: var(--surface); padding: 5px 12px; cursor: pointer; }
.lands button:hover { background: var(--hover); }
.lands span { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 12.5px; }
.two { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px !important; }
.two > div { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.toplist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.toplist button { display: flex; justify-content: space-between; gap: 12px; width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 9px 2px; cursor: pointer; text-align: left; }
.toplist button:hover { background: var(--hover); }
.toplist span { font-family: var(--font-display); font-size: 19px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hcard { border: 1px solid var(--line); border-radius: 8px; background: var(--surface); padding: 16px; }
.hbig { margin: 0; font-family: var(--font-display); font-size: 44px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.hbig span { font-family: var(--font-body); font-size: 15px; font-weight: 400; color: var(--muted); }
.hfoot { display: flex; flex-wrap: wrap; gap: 6px 16px; border-top: 1px solid var(--line); padding-top: 12px; font-size: 12.5px; color: var(--muted); }
.hfoot a { color: var(--muted); } .hfoot a.support { color: var(--accent); font-weight: 600; }
.profile { max-width: 760px; }
.phead { display: flex; align-items: center; gap: 16px; border-top: 3px solid var(--relief); padding-top: 18px; }
.phead h2 { font-size: clamp(28px, 5vw, 40px); overflow-wrap: anywhere; }
.phead .note { margin: 2px 0 0; overflow-wrap: anywhere; }
.avatar { flex: none; width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: var(--surface); display: grid; place-items: center; font-family: var(--font-display); font-size: 32px; font-weight: 600; }
.pstats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.pstats div { background: var(--surface); padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.pstats .lab { font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 600; }
.pstats b { font-family: var(--font-display); font-size: 24px; font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; line-height: 1.1; }
.pstats small { display: block; font-family: var(--font-body); font-size: 12.5px; font-weight: 400; color: var(--muted); }
.pacct .acct { border: 1px solid var(--line); border-radius: 8px; background: var(--surface); padding: 16px; max-width: 460px; }
.pacct .acct .links button, .pacct .acct button[type="submit"] { border: 1px solid var(--line); border-radius: 6px; padding: 8px 12px; background: var(--paper); cursor: pointer; }
.nearbtn { white-space: nowrap; padding: 7px 8px; background: var(--paper); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.hrow select { flex: 1; }
.mk { color: var(--muted); margin-right: 5px; font-weight: 600; }
.mk.done { color: var(--glacier); }
.acct { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line); padding-top: 12px; margin: 0; }
.acct p { margin: 0; }
.acct input { flex: 2; min-width: 0; padding: 7px 8px; border: 1px solid var(--line); border-radius: 5px; background: var(--paper); }
.prog { display: flex; flex-direction: column; gap: 7px; font-variant-numeric: tabular-nums; font-size: 13px; }
.prog > div { display: grid; grid-template-columns: 6.5em 1fr auto; gap: 8px; align-items: center; }
.prog .bar { height: 8px; border-radius: 4px; background: var(--hover); overflow: hidden; }
.prog .bar i { display: block; height: 100%; }
.static { max-width: 640px; padding-block: 24px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.static h1 { font-family: var(--font-display); font-size: 34px; line-height: 1.05; margin: 0 0 12px; }
.static a { color: var(--glacier); }
.legal { max-width: 720px; margin: 0 auto; line-height: 1.55; }
.legal h2 { font-family: var(--font-display); font-size: 22px; margin: 26px 0 6px; }
.legal h3 { font-size: 15px; margin: 16px 0 4px; }
.legal p, .legal ul { margin: 0 0 10px; }
.legal ul { padding-left: 20px; }
.foot { display: flex; gap: 16px; padding-block: 6px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: 16px; border-top: 1px solid var(--line); font-size: 12.5px; }
.foot { flex-wrap: wrap; row-gap: 2px; color: var(--muted); }
.foot a { color: var(--muted); }
.foot a.support { color: var(--accent); font-weight: 600; }
.acct a { color: var(--glacier); }
.acct label { display: flex; flex-direction: column; gap: 3px; font-size: 12.5px; color: var(--muted); }
.acct label input { flex: none; font-size: 15px; color: var(--ink); }
.danger { color: var(--accent) !important; border-color: var(--accent) !important; }
#dtitle:focus { outline: none; }
.linkbtn { border: 0; background: none; padding: 0; color: var(--glacier); text-decoration: underline; cursor: pointer; font-size: inherit; }
.note { color: var(--muted); font-size: 12.5px; margin: 0; }

.mapwrap { min-width: 0; min-height: 0; position: relative; }
#map { position: absolute; inset: 0; background: var(--map-land); font-family: var(--font-body); }
.legend { position: absolute; left: 10px; bottom: 22px; z-index: 500; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 6px 9px; font-size: 12px; display: flex; gap: 9px; flex-wrap: wrap; max-width: calc(100% - 20px); }
.legend { flex-direction: column; flex-wrap: nowrap; gap: 4px; }
.lrow { display: flex; gap: 9px; flex-wrap: wrap; }
.hutrow { align-items: center; gap: 6px; cursor: pointer; }
.hutrow input { margin: 0; }
.legend i.sq { width: 9px; height: 9px; border-radius: 0; background: var(--hut); }
.legend i.ln { width: 16px; height: 3px; border-radius: 0; }
.legend span { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.legend i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.leaflet-container { background: var(--map-land); }
.leaflet-control-attribution { background: var(--surface) !important; color: var(--muted) !important; font-size: 10.5px; }
.leaflet-control-attribution a { color: var(--muted) !important; }
.leaflet-bar a { background: var(--surface) !important; color: var(--ink) !important; border-color: var(--line) !important; }
.tip { position: absolute; z-index: 600; pointer-events: none; background: var(--ink); color: var(--surface); padding: 3px 8px; border-radius: 4px; font-size: 12.5px; white-space: nowrap; transform: translate(-50%, -140%); }
.view3d { position: absolute; inset: 0; z-index: 1200; background: var(--map-land); }
#v3map { position: absolute; inset: 0; }
.view3d .back { position: absolute; top: 10px; left: 10px; z-index: 2; background: var(--surface); border: 1px solid var(--line); border-radius: 5px; padding: 6px 10px; cursor: pointer; }
.v3hint { position: absolute; left: 10px; bottom: 26px; z-index: 2; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 4px 8px; font-size: 12px; color: var(--muted); max-width: calc(100% - 20px); }
.v3msg { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; text-align: center; padding: 24px; background: var(--map-land); color: var(--muted); }
.v3pin { background: #b3261e; color: #ffffff; font: 600 13px var(--font-body); padding: 3px 8px; border-radius: 4px; white-space: nowrap; box-shadow: 0 1px 4px rgba(0, 0, 0, .4); }
.v3pin::after { content: ""; position: absolute; left: 50%; bottom: -6px; margin-left: -6px; border: 6px solid transparent; border-bottom: 0; border-top-color: #b3261e; }
.loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); background: var(--surface); z-index: 20; text-align: center; padding: 16px; }

/* navigation, filters, legend */
.nav svg { display: none; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.grab { display: none; }
.qrow { display: flex; gap: 6px; }
.qrow input { flex: 1; }
.ftoggle { display: none; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 5px; background: var(--paper); padding: 0 12px; cursor: pointer; white-space: nowrap; }
.ftoggle b { background: var(--accent); color: var(--accent-ink); border-radius: 999px; font-size: 11px; min-width: 18px; height: 18px; display: grid; place-items: center; padding: 0 5px; }
.legend { bottom: calc(22px + var(--cover, 0px)); transition: bottom .28s ease; }
.leaflet-bottom { bottom: var(--cover, 0px); transition: bottom .28s ease; }
.legtoggle { border: 0; background: none; padding: 0; font: 600 11px var(--font-body); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); cursor: pointer; display: flex; align-items: center; gap: 7px; align-self: flex-start; }
.legtoggle::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin-top: -3px; }
.legend[data-open="false"] .legtoggle::after { transform: rotate(-135deg); margin-top: 3px; }
.legend[data-open="false"] .legbody { display: none; }
.legbody { display: flex; flex-direction: column; gap: 4px; }
/* home hero: every summit as a dot */
.hero { position: relative; display: flex; align-items: center; min-height: 400px; padding: 32px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.herobg { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; }
.herobg canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.herobg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--surface) 0, var(--surface) 30%, transparent 52%); }
.home .hero { flex-direction: row; justify-content: flex-start; }
.herotxt { position: relative; z-index: 1; max-width: 500px; display: flex; flex-direction: column; gap: 12px; }
.hero h2 { font-size: clamp(32px, 5vw, 50px); }
.hempty { margin: 0; font-family: var(--font-display); font-size: 24px; font-weight: 600; }
/* summit detail: today's weather and tabs */
.wxnow { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; text-align: left; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); padding: 8px 12px; cursor: pointer; font-variant-numeric: tabular-nums; }
.wxnow:hover { background: var(--hover); }
.wxnow .lab { font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 600; width: 100%; }
.wxnow .more { margin-left: auto; color: var(--glacier); font-size: 13px; padding-left: 8px; }
.wxnow .warn { font-style: normal; font-size: 11.5px; font-weight: 600; color: var(--accent); border: 1px solid var(--accent); border-radius: 999px; padding: 0 6px; margin-left: 6px; }
.dtabs { flex: none; position: sticky; top: -14px; z-index: 3; display: flex; gap: 2px; margin: 0 -16px; padding: 0 16px; background: var(--surface); border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.dtabs button { flex: none; border: 0; border-bottom: 2px solid transparent; background: none; padding: 10px 10px 8px; cursor: pointer; color: var(--muted); font-weight: 600; white-space: nowrap; }
.dtabs button:hover { color: var(--ink); }
.dtabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--relief); }
.dtabs button span { margin-left: 5px; font-size: 11.5px; font-weight: 600; background: var(--hover); color: var(--muted); border-radius: 999px; padding: 0 6px; font-variant-numeric: tabular-nums; }
.dpanel { display: flex; flex-direction: column; gap: 14px; }
.dpanel > .ways, .dpanel > .wx { border-top: 0; padding-top: 0; }
/* empty states and colour scheme */
.emptybox { border: 1px dashed var(--line); border-radius: 8px; padding: 16px; display: flex; flex-direction: column; gap: 8px; background: var(--paper); }
.emptybox h3 { margin: 0; font-family: var(--font-display); font-size: 22px; font-weight: 600; }
.emptybox p { margin: 0; color: var(--muted); max-width: 60ch; }
.seg3 { display: inline-flex; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; align-self: flex-start; }
.seg3 button { border: 0; background: var(--surface); padding: 8px 14px; cursor: pointer; }
.seg3 button + button { border-left: 1px solid var(--line); }
.seg3 button[aria-checked="true"] { background: var(--ink); color: var(--surface); font-weight: 600; }

@media (max-width: 760px) {
  .app { --navh: 58px; position: relative; padding-bottom: calc(var(--navh) + env(safe-area-inset-bottom, 0px)); }
  .tabs { display: none !important; }
  .top { padding-block: 9px; }
  .nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 2000; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--surface); border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom, 0px); padding-left: env(safe-area-inset-left, 0px); padding-right: env(safe-area-inset-right, 0px); }
  .nav button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: var(--navh); padding: 0; border: 0; border-radius: 0; font-size: 11.5px; color: var(--muted); }
  .nav button[aria-current="true"] { background: transparent; border: 0; color: var(--ink); }
  .nav svg { display: block; box-sizing: content-box; padding: 3px 14px; border-radius: 999px; }
  .nav button[aria-current="true"] svg { background: var(--hover); stroke-width: 2.1; }
  .mapwrap { grid-row: 2; grid-column: 1; }
  .app .side { position: absolute; grid-row: 2 / 3; grid-column: 1 / 2; left: 0; right: 0; bottom: 0; height: 52%; z-index: 1100; border-right: 0; border-top: 1px solid var(--line);
    border-radius: 16px 16px 0 0; box-shadow: 0 -6px 24px rgba(0, 0, 0, .18); transition: height .28s ease; overflow: hidden; }
  .app[data-sheet="peek"] .side { height: 132px; }
  .app[data-sheet="full"] .side { height: 100%; border-radius: 0; box-shadow: none; }
  .app .side.dragging { transition: none; }
  .grab { display: flex; align-items: center; justify-content: center; flex: none; height: 24px; cursor: grab; touch-action: none; }
  .grab span { width: 42px; height: 5px; border-radius: 3px; background: var(--line); }
  .filters { padding-top: 2px; }
  .filters:not(.open) .f:not(.fq):not(#nearmsg) { display: none; }
  .f.fq > label { display: none; }
  .qrow input { padding: 9px 10px; }
  .ftoggle { display: inline-flex; }
  .side > .detail, .side > .loading { top: 24px; }
  .legend { right: auto; }
  .app[data-sheet="full"] .legend, .app[data-sheet="full"] .leaflet-bottom { visibility: hidden; }
  .home .hero { min-height: 0; flex-direction: column; align-items: stretch; padding: 56vw 16px 18px; }
  .herobg::after { background: linear-gradient(0deg, var(--surface) 0, var(--surface) 38%, transparent 66%); }


  .app { grid-template-columns: 1fr; }
  .top { align-items: center; }
  .side { border-right: 0; }
  .filters { padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .top .sub { display: none; }
  .top { gap: 6px 8px; }
  .nav button { padding: 6px 7px; }
  .side, .mapwrap { grid-column: 1; }
  .pstats { grid-template-columns: repeat(2, 1fr); }
}
