:root {
  --bg: #070b12;
  --panel: #0f1724;
  --panel-2: #151f30;
  --panel-3: #1c2a3d;
  --text: #eef4ff;
  --muted: #9fb0c8;
  --accent: #4c8dff;
  --accent-2: #35d0ba;
  --border: rgba(255,255,255,.1);
  --shadow: 0 1.5rem 4rem rgba(0,0,0,.45);
}

* { box-sizing: border-box; }

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body.app-body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.app-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr);
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.map-pane {
  position: relative;
  min-height: 100vh;
  background: #101826;
  overflow: hidden;
}

.map-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.leaflet-container {
  background: #111827;
}

.height-overlay {
  position: absolute;
  z-index: 500;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(720px, calc(100% - 2rem));
  padding: 1.2rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  background: rgba(9, 14, 24, .88);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  text-align: center;
}

.height-label {
  color: var(--muted);
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 800;
}

.height-value {
  margin-top: .15rem;
  color: #fff;
  font-size: clamp(2rem, 4vw, 4.5rem);
  font-weight: 900;
  line-height: 1;
}

.height-value:has(.height-spinner) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .85rem;
}

.height-spinner {
  width: .72em;
  height: .72em;
  border-width: .08em;
  color: var(--accent-2);
  flex: 0 0 auto;
}

.place-value,
.weather-value {
  color: var(--muted);
  font-size: .75rem;
}

.weather-value {
  margin-top: .35rem;
  color: #c9d8ef;
}

.overlay-status {
  margin: .7rem auto 0;
  max-width: 520px;
  opacity: 0;
  transition: opacity .22s ease;
}

.overlay-status.is-visible {
  opacity: 1;
}

.distance-summary {
  display: grid;
  gap: .65rem;
}

.distance-summary-main {
  color: #fff;
  font-size: clamp(1.75rem, 3.2vw, 3.4rem);
  font-weight: 900;
  line-height: 1;
}

.distance-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .5rem;
}

.distance-summary-cell {
  min-width: 0;
  padding: .55rem .65rem;
  border: 1px solid var(--border);
  border-radius: .75rem;
  background: rgba(8, 14, 24, .72);
}

.distance-summary-cell span,
.distance-summary-cell strong {
  display: block;
}

.distance-summary-cell span {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.distance-summary-cell strong {
  color: #fff;
  font-size: 1rem;
}

.extra-play-tools {
  display: grid;
  gap: .5rem;
}

.height-guess-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 126px;
}

.height-guess-control .btn,
.height-guess-control .form-select {
  min-height: 46px;
  width: 100%;
}

.height-guess-panel {
  display: grid;
  gap: .75rem;
  text-align: left;
}

.height-guess-head {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  color: #fff;
  font-weight: 900;
}

.height-guess-score {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}

.height-guess-score span {
  padding: .2rem .45rem;
  border: 1px solid var(--border);
  border-radius: .5rem;
  background: rgba(8, 14, 24, .72);
  color: #fff;
  font-size: .78rem;
}

.height-guess-inputs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .5rem;
}

.height-guess-inputs label {
  display: grid;
  gap: .2rem;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
}

.height-guess-inputs input {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--border);
  border-radius: .55rem;
  background: rgba(8, 14, 24, .85);
  color: #fff;
  padding: .45rem .55rem;
}

.height-guess-result {
  color: var(--muted);
  line-height: 1.5;
}

.height-guess-result strong {
  color: #fff;
}

.googlePref-fab-img{
  width: 175px;
}
.googlePref-fab {
  position: absolute;
  z-index: 500;
  right: 1.25rem;
  bottom: 1.25rem;
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.location-fab {
  position: absolute;
  z-index: 500;
  left: 1.25rem;
  bottom: 1.25rem;
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.feature-fab {
  position: absolute;
  z-index: 500;
  right: 1.25rem;
  bottom: 1.25rem;
  max-width: min(420px, calc(100% - 2.5rem));
  border-radius: 999px;
  box-shadow: var(--shadow);
  white-space: normal;
}

.feature-banner {
  display: none;
  position: absolute;
  z-index: 520;
  left: 1rem;
  right: 1rem;
  bottom: 0;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: .7rem 1rem;
  border: 1px solid var(--border);
  border-bottom: 0;
  border-radius: 1rem 1rem 0 0;
  background: rgba(13, 20, 33, .96);
  color: #fff;
  font-weight: 900;
  box-shadow: var(--shadow);
}

.feature-modal-content .modal-header p {
  color: var(--muted);
}

.feature-list {
  display: grid;
  gap: .65rem;
  margin: 1rem 0;
  overflow-y: auto;
  padding-right: .15rem;
}

.feature-link {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: .75rem;
  padding: .8rem;
  border: 1px solid var(--border);
  border-radius: .85rem;
  background: rgba(8, 14, 24, .72);
  color: #fff;
  text-decoration: none;
}

.feature-link:hover {
  background: rgba(76,141,255,.22);
  color: #fff;
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: .75rem;
  background: var(--accent-2);
  color: #071017;
  font-size: 1.1rem;
}

.feature-link strong,
.feature-link small,
.feature-link em {
  display: block;
}

.feature-link small {
  color: var(--accent-2);
  font-weight: 800;
}

.feature-link em {
  margin-top: .2rem;
  color: var(--muted);
  font-style: normal;
  line-height: 1.35;
}


.side-pane {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100vh;
  min-width: 0;
  border-left: 1px solid var(--border);
  background: linear-gradient(180deg, #0d1421 0%, #090d15 100%);
}

.side-header {
  flex: 0 0 auto;
  height: 75px;
  display: flex;
  align-items: center;
  padding: 0 1.25rem;
  border-bottom: 1px solid var(--border);
  background: rgba(13, 20, 33, .96);
}

.logo-size{
  height: 40px;
}

.logo-text {
  color: #fff;
  text-decoration: none;
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: -.04em;
}

.logo-text:hover { color: var(--accent-2); }

.side-scroll {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 1.25rem 1.25rem 6rem;
  scrollbar-color: var(--panel-3) transparent;
}

.side-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 1.25rem;
  border-top: 1px solid var(--border);
  background: rgba(9, 13, 21, .96);
  color: var(--muted);
  font-size: .9rem;
}

.footer-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: #d8e6ff;
  text-decoration: underline;
}

.footer-link:hover {
  color: var(--accent-2);
}

.content-card,
.ad-slot {
  margin-bottom: 1rem;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  background: rgba(21, 31, 48, .86);
  box-shadow: 0 1rem 2rem rgba(0,0,0,.18);
}

.content-card {
  padding: 1.1rem;
}

.content-card h1,
.content-card h2 {
  margin-bottom: .65rem;
  font-weight: 900;
  letter-spacing: -.03em;
}

.content-card h1 { font-size: 1.75rem; }
.content-card h2 { font-size: 1.2rem; }
.content-card p { color: var(--muted); }

.search-card .form-control {
  border-color: rgba(255,255,255,.12);
  background: #09101b;
  color: #fff;
}

.search-card .form-control::placeholder { color: #697891; }
.search-card .form-label { color: #c9d8ef; font-weight: 700; }

.distance-tool {
  display: grid;
  gap: .55rem;
}

.distance-tool .btn {
  display: block;
  padding: .7rem .85rem;
  font-weight: 800;
}

#distanceMeasureToggle.btn-outline-light:focus,
#distanceMeasureToggle.btn-outline-light:active {
  background: transparent;
  color: #f8f9fa;
  box-shadow: none;
}

.distance-button-layout {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 32px;
  align-items: center;
  gap: .7rem;
  width: 100%;
}

.distance-button-marker {
  color: var(--accent-2);
  font-size: 1.45rem;
}

.distance-button-copy {
  display: grid;
  grid-template-rows: auto 1px auto;
  align-items: center;
  min-width: 0;
  text-align: center;
}

.distance-button-title,
.distance-button-subtitle {
  display: block;
  overflow-wrap: anywhere;
  line-height: 1.65;
}

.distance-button-title {
  color: #fff;
  font-size: .9rem;
  font-weight: 900;
}

.distance-button-subtitle {
  color: #fff;
  font-size: .82rem;
  font-weight: 800;
}

.distance-button-line {
  display: block;
  width: 100%;
  height: 3px;
  margin: .34rem 0 .28rem;
  /*background: rgba(255,255,255,.9);*/
  border: 2px solid #FFF;
}

.distance-tool-hint {
  padding: .7rem .85rem;
  border: 1px solid var(--border);
  border-radius: .75rem;
  background: rgba(8, 14, 24, .72);
  color: var(--muted);
  text-align: center;
}

.tracker-card > p {
  color: var(--muted);
}

.tracker-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .65rem;
  margin: 1rem 0;
}

.tracker-stat {
  min-width: 0;
  padding: .75rem;
  border: 1px solid var(--border);
  border-radius: .75rem;
  background: rgba(8, 14, 24, .72);
}

.tracker-stat span,
.tracker-stat strong {
  display: block;
}

.tracker-stat span {
  color: var(--muted);
  font-size: .76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.tracker-stat strong {
  margin-top: .15rem;
  color: #fff;
  font-size: 1rem;
}

.tracker-actions {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: .6rem;
  margin-bottom: 1rem;
}

.tracker-table-wrap {
  margin-top: 1rem;
  border: 1px solid var(--border);
  border-radius: .9rem;
  overflow: hidden;
}

.tracker-table-wrap td,
.tracker-table-wrap th {
  white-space: nowrap;
}

.my-height-card > p {
  color: var(--muted);
  font-size: 1.05rem;
}

.my-height-state {
  margin: 1rem 0;
  padding: .9rem 1rem;
  border-radius: .85rem;
  background: rgba(8, 14, 24, .72);
  color: #eaf1ff;
}

.my-height-figure {
  margin: 1rem 0;
}

.my-height-figure a {
  display: block;
}

.my-height-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: .9rem;
  background: #09101b;
}

.my-height-figure figcaption {
  margin-top: .45rem;
  color: var(--muted);
  font-size: .86rem;
  text-align: center;
}

.my-height-share-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .55rem;
  margin: .85rem 0 1rem;
}

.height-check-card > p {
  color: var(--muted);
}

.height-check-search .form-control {
  border-color: rgba(255,255,255,.12);
  background: #09101b;
  color: #fff;
}

.height-check-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  margin: 1rem 0;
}

.height-check-summary > div,
.height-check-tile {
  min-width: 0;
  padding: .85rem;
  border: 1px solid var(--border);
  border-radius: .75rem;
  background: rgba(8, 14, 24, .72);
}

.height-check-summary span,
.height-check-tile span {
  display: block;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.height-check-summary strong,
.height-check-tile strong {
  display: block;
  margin-top: .15rem;
  color: #fff;
  font-size: 1rem;
}

.height-check-main strong {
  font-size: 1.7rem;
}

.height-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
  margin-bottom: 1rem;
}

.height-check-tile i {
  float: right;
  color: var(--accent-2);
  font-size: 1.2rem;
}

.height-check-poi-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem;
}

.height-check-poi-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: .65rem;
  width: 100%;
  padding: .75rem;
  border: 1px solid var(--border);
  border-radius: .75rem;
  background: rgba(8, 14, 24, .72);
  color: #fff;
  text-align: left;
}

.height-check-poi-item i,
.height-check-poi-icon {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--accent-2);
  color: #071017;
}

.height-check-poi-item small {
  display: block;
  color: var(--muted);
}

.height-check-poi-icon {
  border: 2px solid #fff;
  box-shadow: 0 .45rem 1rem rgba(0,0,0,.35);
}

.search-results {
  margin-top: .75rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  background: #09101b;
}

.search-result-item {
  display: block;
  width: 100%;
  padding: .85rem 1rem;
  border: 0;
  border-bottom: 1px solid var(--border);
  background: transparent;
  color: #eaf1ff;
  text-align: left;
}

.search-result-item:last-child { border-bottom: 0; }
.search-result-item:hover { background: rgba(76,141,255,.18); }

.searchInfo-text{
  font-size: .75rem;
}

.status-message {
  margin-top: .85rem;
  padding: .85rem 1rem;
  border-radius: .9rem;
  background: rgba(255,255,255,.08);
  color: #eaf1ff;
}

.ad-slot,
.inline-ad {
  display: grid;
  place-items: center;
  min-height: 92px;
  color: #8293ad;
  background: repeating-linear-gradient(-45deg, rgba(255,255,255,.045), rgba(255,255,255,.045) 10px, rgba(255,255,255,.025) 10px, rgba(255,255,255,.025) 20px);
}

.inline-ad {
  margin: 1rem 0;
  border: 1px dashed rgba(255,255,255,.18);
  border-radius: 1rem;
}

.share-grid,
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}

.share-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
}

.share-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .75rem;
}

.share-card-header h2 {
  margin-bottom: 0;
}

.share-card-header .btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

.share-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .42rem;
  min-height: 38px;
  padding: .45rem .55rem;
  border: 1px solid var(--border);
  border-radius: .6rem;
  background: rgba(8, 14, 24, .72);
  color: #fff;
  font-size: .88rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

button.share-chip {
  font: inherit;
  cursor: pointer;
}

.share-chip i {
  width: 1em;
  text-align: center;
  color: var(--accent-2);
}

.share-chip:hover {
  background: rgba(76,141,255,.22);
  color: #fff;
}

.tools-card {
  display: grid;
  gap: .75rem;
}

.tools-card .share-card-header {
  margin-bottom: 0;
}

.my-height-main-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 48px;
  font-weight: 900;
}

.tools-row {
  margin-top: .15rem;
}

.tool-chip {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: .65rem;
  min-height: 74px;
  padding: .65rem;
  border: 1px solid var(--border);
  border-radius: .75rem;
  background: rgba(8, 14, 24, .72);
  color: #fff;
  text-decoration: none;
}

.tool-chip:hover {
  background: rgba(76,141,255,.22);
  color: #fff;
}

.tool-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: .65rem;
  background: var(--accent-2);
  color: #071017;
  font-size: 1.05rem;
}

.tool-chip strong,
.tool-chip small {
  display: block;
}

.tool-chip strong {
  font-size: .95rem;
  line-height: 1.1;
}

.tool-chip small {
  margin-top: .18rem;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.2;
}

.tools-subtitle {
  margin: .35rem 0 -.15rem;
  color: #fff;
  font-size: .95rem;
  font-weight: 900;
}

.local-tool-card {
  display: grid;
  gap: 1rem;
}

.local-tool-header {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: .85rem;
  align-items: start;
}

.local-tool-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: .85rem;
  background: var(--accent-2);
  color: #071017;
  font-size: 1.35rem;
}

.local-tool-header h1 {
  margin: 0;
  color: #fff;
  font-size: 1.35rem;
  line-height: 1.15;
}

.local-tool-header p {
  margin: .35rem 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.local-tool-status {
  display: grid;
  gap: .2rem;
  padding: .85rem;
  border: 1px solid var(--border);
  border-radius: .75rem;
  background: rgba(8, 14, 24, .72);
}

.local-tool-status strong {
  color: #fff;
}

.local-tool-status span {
  color: var(--muted);
}

.local-tool-form {
  display: grid;
  gap: .75rem;
  padding: .85rem;
  border: 1px solid var(--border);
  border-radius: .75rem;
  background: rgba(8, 14, 24, .72);
}

.local-tool-form h2 {
  margin-bottom: 0;
}

.local-tool-form label {
  display: grid;
  gap: .35rem;
  color: var(--muted);
  font-weight: 800;
}

.local-tool-form input,
.local-tool-form select,
.local-tool-form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: .6rem;
  background: #09101b;
  color: #fff;
  padding: .65rem .75rem;
}

.local-tool-form textarea {
  resize: vertical;
}

.share-tile,
.stat-tile {
  min-height: 82px;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: rgba(8, 14, 24, .72);
  color: #fff;
  text-decoration: none;
}

.share-tile {
  display: grid;
  place-items: center;
  padding: .75rem;
  font-weight: 800;
}

button.share-tile { width: 100%; }
.share-tile:hover { background: rgba(76,141,255,.22); color: #fff; }

.stat-tile {
  padding: .9rem;
}

.stat-tile span {
  display: block;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.1;
}

.stat-tile small {
  color: var(--muted);
}

.recent-table-wrap {
  border-radius: 1rem;
  overflow: hidden;
}

.recent-row { cursor: pointer; }
.recent-row:hover td { color: #fff; }

.recent-place-link {
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}

.recent-place-link:hover,
.recent-place-link:focus {
  color: #fff;
  text-decoration: underline;
}

.info-text p {
  line-height: 1.7;
}

#accordion_faq .accordion-item,
#accordion_faq .accordion-button,
#accordion_faq .accordion-body {
  background-color: #212529;
  color: var(--text);
}

#accordion_faq {
  --bs-accordion-btn-icon-width: 1.35rem;
  --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3.25'%3e%3cpath d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  --bs-accordion-btn-active-icon: var(--bs-accordion-btn-icon);
}

#accordion_faq .accordion-button:not(.collapsed) {
  box-shadow: none;
}

.city-seo-text p {
  color: var(--muted);
  line-height: 1.65;
}

.city-elevation-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .5rem;
  margin-top: 1rem;
}

.city-elevation-cell {
  min-width: 0;
  padding: .65rem .5rem;
  border: 1px solid var(--border);
  border-radius: .75rem;
  background: rgba(8, 14, 24, .72);
  text-align: center;
}

.city-elevation-cell span,
.city-elevation-cell strong {
  display: block;
}

.city-elevation-cell span {
  color: var(--muted);
  font-size: .78rem;
}

.city-elevation-cell strong {
  margin-top: .1rem;
  color: #fff;
  font-size: .98rem;
}

.legal-modal {
  border: 1px solid var(--border);
  background: #0e1624;
  color: #eef4ff;
}

.legal-modal p { color: #bfd0e8; }

.legal-page-body .legal-page {
  height: 100vh;
  overflow-y: auto;
  background: radial-gradient(circle at 50% -20%, rgba(76, 141, 255, .22), transparent 34%), var(--bg);
}

.legal-page-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--border);
  background: rgba(9, 13, 21, .94);
  backdrop-filter: blur(14px);
}

.legal-brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  padding: 1rem clamp(1rem, 4vw, 2rem);
  color: #fff;
  text-decoration: none;
}

.legal-page-content {
  width: min(920px, calc(100% - 2rem));
  margin: 2rem auto;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: 1rem;
}

.legal-page-content h1 {
  margin: 0 0 1.25rem;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
}

.legal-copy h2 {
  margin: 0 0 1rem;
  color: #fff;
  font-weight: 900;
}

.legal-copy p {
  line-height: 1.65;
}

@media (max-width: 992px) {
  html,
  body { overflow: auto; }

  .app-shell {
    display: block;
    height: auto;
    overflow: visible;
  }

  .map-pane {
    min-height: 72vh;
  }

  .height-guess-active .map-pane {
    height: 100svh;
    min-height: 100svh;
  }

  .side-pane {
    height: auto;
    min-height: 100vh;
    border-left: 0;
    border-top: 1px solid var(--border);
  }

  .side-scroll {
    overflow: visible;
  }

  .feature-fab {
    display: none;
  }

  .feature-banner {
    display: none;
  }

  .location-fab {
    bottom: 0.5rem;
  }
}

@media (max-width: 560px) {
  .map-pane {
    min-height: 55vh;
  }

  .page-tool-my-height .map-pane {
    display: none;
  }
/*
  .share-row {
    grid-template-columns: 1fr;
  }

  .my-height-share-actions {
    grid-template-columns: 1fr;
  }

  .distance-summary-grid {
    grid-template-columns: 1fr;
  }

  .share-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }*/

  .city-elevation-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .city-elevation-cell {
    padding: .55rem .25rem;
  }

  .city-elevation-cell span {
    font-size: .68rem;
    line-height: 1.15;
  }

  .city-elevation-cell strong {
    font-size: .86rem;
  }

  /*
  .tracker-stats-grid,
  .tracker-actions,
  .height-check-summary,
  .height-check-grid {
    grid-template-columns: 1fr;
  }
    */

  .height-overlay {
    top: .75rem;
    padding: 1rem;
  }

  .location-fab {
    left: .75rem;
    right: .75rem;
    width: calc(100% - 1.5rem);
  }
}


.centerShareButton{
  width: 150px;
  height: 150px;
}

.blog-body {
  min-height: 100vh;
  overflow: hidden;
}

.blog-app-shell {
  display: grid;
  grid-template-columns: minmax(340px, 34vw) minmax(0, 1fr);
  min-height: 100vh;
  background: var(--bg);
}

.blog-nav-pane,
.blog-content-pane {
  min-width: 0;
  height: 100vh;
  overflow: auto;
}

.blog-nav-pane {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border);
  background: linear-gradient(180deg, #0d1421 0%, #090d15 100%);
}

.blog-brand {
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.blog-brand-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  color: #fff;
  text-decoration: none;
}

.blog-nav-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .5rem;
  padding: 1rem 1.25rem 0;
}

.blog-list-panel {
  padding: 1.15rem 1.25rem 1.5rem;
}

.blog-panel-title {
  margin: 0;
  color: #fff;
  font-weight: 900;
  font-size: 2rem;
  line-height: 1.2;
}

.blog-list-panel p,
.blog-list-empty p,
.blog-list-item small,
.blog-list-item time,
.blog-article-header p,
.blog-article-header time {
  color: var(--muted);
}

.blog-list {
  display: grid;
  gap: .75rem;
  margin-top: 1rem;
}

.blog-list-item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: .75rem;
  min-height: 92px;
  padding: .65rem;
  border: 1px solid var(--border);
  border-radius: .85rem;
  background: rgba(8, 14, 24, .72);
  color: #fff;
  text-decoration: none;
}

.blog-list-item:hover,
.blog-list-item.is-active {
  background: rgba(76,141,255,.22);
  color: #fff;
}

.blog-list-item img,
.blog-list-placeholder {
  width: 92px;
  height: 76px;
  border-radius: .65rem;
  border: 1px solid var(--border);
  object-fit: cover;
}

.blog-list-placeholder {
  display: inline-grid;
  place-items: center;
  background: #09101b;
  color: var(--accent-2);
}

.blog-list-item strong,
.blog-list-item small,
.blog-list-item time {
  display: block;
}

.blog-list-item strong {
  margin: .1rem 0 .15rem;
  line-height: 1.15;
}

.blog-list-item small {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 1.25;
}

.blog-content-pane {
  padding: clamp(1.25rem, 3vw, 3rem);
}

.blog-article-header {
  margin-bottom: 1.2rem;
}

.blog-article-header h1 {
  max-width: 980px;
  margin: .35rem 0 .45rem;
  color: #fff;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 900;
  line-height: 1.02;
}

.blog-article-header p {
  max-width: 860px;
  font-size: 1.08rem;
}

.blog-share-actions {
  display: grid;
  grid-template-columns: repeat(4, max-content);
  gap: .55rem;
  margin-top: 1rem;
}

.blog-hero-image {
  display: block;
  width: min(100%, 980px);
  height: auto;
  border: 1px solid var(--border);
  border-radius: .85rem;
  background: #09101b;
}

.blog-content {
  max-width: 900px;
  margin-top: 1.5rem;
  color: #eaf1ff;
  font-size: 1.04rem;
  line-height: 1.7;
}

.blog-ranking {
  display: grid;
  gap: .55rem;
  padding-left: 0;
  list-style: none;
}

.blog-ranking li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: .75rem;
  align-items: center;
  padding: .75rem;
  border: 1px solid var(--border);
  border-radius: .75rem;
  background: rgba(8, 14, 24, .72);
}

.blog-ranking a {
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.blog-ranking span {
  color: var(--accent-2);
  font-weight: 900;
}

.blog-ranking small {
  color: var(--muted);
}

@media (max-width: 700px) {
  .blog-app-shell {
    grid-template-columns: 1fr;
  }

  .blog-body {
    overflow: auto;
  }

  .blog-nav-pane,
  .blog-content-pane {
    height: auto;
    overflow: visible;
  }

  .blog-nav-pane {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .blog-share-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-ranking li {
    grid-template-columns: 1fr;
  }
}
