:root {
  --text: #6b6375;
  --text-h: #08060d;
  --bg: #fff;
  --border: #e5e4e7;
  --code-bg: #f4f3ec;
  --accent: #aa3bff;
  --accent-bg: rgba(170, 59, 255, 0.1);
  --accent-border: rgba(170, 59, 255, 0.5);
  --social-bg: rgba(244, 243, 236, 0.5);
  --shadow:
    rgba(0, 0, 0, 0.1) 0 10px 15px -3px, rgba(0, 0, 0, 0.05) 0 4px 6px -2px;

  --sans: system-ui, 'Segoe UI', Roboto, sans-serif;
  --heading: system-ui, 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, Consolas, monospace;

  font: 18px/145% var(--sans);
  letter-spacing: 0.18px;
  color-scheme: light dark;
  color: var(--text);
  background: var(--bg);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  @media (max-width: 1024px) {
    font-size: 16px;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #9ca3af;
    --text-h: #f3f4f6;
    --bg: #16171d;
    --border: #2e303a;
    --code-bg: #1f2028;
    --accent: #c084fc;
    --accent-bg: rgba(192, 132, 252, 0.15);
    --accent-border: rgba(192, 132, 252, 0.5);
    --social-bg: rgba(47, 48, 58, 0.5);
    --shadow:
      rgba(0, 0, 0, 0.4) 0 10px 15px -3px, rgba(0, 0, 0, 0.25) 0 4px 6px -2px;
  }

  #social .button-icon {
    filter: invert(1) brightness(2);
  }
}

body {
  margin: 0;
}

h1,
h2 {
  font-family: var(--heading);
  font-weight: 500;
  color: var(--text-h);
}

h1 {
  font-size: 56px;
  letter-spacing: -1.68px;
  margin: 32px 0;
  @media (max-width: 1024px) {
    font-size: 36px;
    margin: 20px 0;
  }
}
h2 {
  font-size: 24px;
  line-height: 118%;
  letter-spacing: -0.24px;
  margin: 0 0 8px;
  @media (max-width: 1024px) {
    font-size: 20px;
  }
}
p {
  margin: 0;
}

code,
.counter {
  font-family: var(--mono);
  display: inline-flex;
  border-radius: 4px;
  color: var(--text-h);
}

code {
  font-size: 15px;
  line-height: 135%;
  padding: 4px 8px;
  background: var(--code-bg);
}

.counter {
  font-size: 16px;
  padding: 5px 10px;
  border-radius: 5px;
  color: var(--accent);
  background: var(--accent-bg);
  border: 2px solid transparent;
  transition: border-color 0.3s;
  margin-bottom: 24px;

  &:hover {
    border-color: var(--accent-border);
  }
  &:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
  }
}

.hero {
  position: relative;

  .base,
  .framework,
  .vite {
    inset-inline: 0;
    margin: 0 auto;
  }

  .base {
    width: 170px;
    position: relative;
    z-index: 0;
  }

  .framework,
  .vite {
    position: absolute;
  }

  .framework {
    z-index: 1;
    top: 34px;
    height: 28px;
    transform: perspective(2000px) rotateZ(300deg) rotateX(44deg) rotateY(39deg)
      scale(1.4);
  }

  .vite {
    z-index: 0;
    top: 107px;
    height: 26px;
    width: auto;
    transform: perspective(2000px) rotateZ(300deg) rotateX(40deg) rotateY(39deg)
      scale(0.8);
  }
}

#app {
  width: 1126px;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
  border-inline: 1px solid var(--border);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

#center {
  display: flex;
  flex-direction: column;
  gap: 25px;
  place-content: center;
  place-items: center;
  flex-grow: 1;

  @media (max-width: 1024px) {
    padding: 32px 20px 24px;
    gap: 18px;
  }
}

#next-steps {
  display: flex;
  border-top: 1px solid var(--border);
  text-align: left;

  & > div {
    flex: 1 1 0;
    padding: 32px;
    @media (max-width: 1024px) {
      padding: 24px 20px;
    }
  }

  .icon {
    margin-bottom: 16px;
    width: 22px;
    height: 22px;
  }

  @media (max-width: 1024px) {
    flex-direction: column;
    text-align: center;
  }
}

#docs {
  border-right: 1px solid var(--border);

  @media (max-width: 1024px) {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
}

#next-steps ul {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 8px;
  margin: 32px 0 0;

  .logo {
    height: 18px;
  }

  a {
    color: var(--text-h);
    font-size: 16px;
    border-radius: 6px;
    background: var(--social-bg);
    display: flex;
    padding: 6px 12px;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: box-shadow 0.3s;

    &:hover {
      box-shadow: var(--shadow);
    }
    .button-icon {
      height: 18px;
      width: 18px;
    }
  }

  @media (max-width: 1024px) {
    margin-top: 20px;
    flex-wrap: wrap;
    justify-content: center;

    li {
      flex: 1 1 calc(50% - 8px);
    }

    a {
      width: 100%;
      justify-content: center;
      box-sizing: border-box;
    }
  }
}

#spacer {
  height: 88px;
  border-top: 1px solid var(--border);
  @media (max-width: 1024px) {
    height: 48px;
  }
}

.ticks {
  position: relative;
  width: 100%;

  &::before,
  &::after {
    content: '';
    position: absolute;
    top: -4.5px;
    border: 5px solid transparent;
  }

  &::before {
    left: 0;
    border-left-color: var(--border);
  }
  &::after {
    right: 0;
    border-right-color: var(--border);
  }
}
/* required styles */

.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;
	}
/* Prevents IE11 from highlighting tiles in blue */
.leaflet-tile::selection {
	background: transparent;
}
/* Safari renders non-retina tile on retina better with this, but Chrome is worse */
.leaflet-safari .leaflet-tile {
	image-rendering: -webkit-optimize-contrast;
	}
/* hack that prevents hw layers "stretching" when loading new tiles */
.leaflet-safari .leaflet-tile-container {
	width: 1600px;
	height: 1600px;
	-webkit-transform-origin: 0 0;
	}
.leaflet-marker-icon,
.leaflet-marker-shadow {
	display: block;
	}
/* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */
/* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */
.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 {
	/* See: https://bugs.chromium.org/p/chromium/issues/detail?id=600120 */
	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;
	/* Fallback for FF which doesn't support 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;
	}
/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */
.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;
	}


/* control positioning */

.leaflet-control {
	position: relative;
	z-index: 800;
	pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
	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;
	}


/* zoom and fade animations */

.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;
	}


/* cursors */

.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;
	}

/* marker & overlays interactivity */
.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; /* IE 9-10 doesn't have auto */
	pointer-events: auto;
	}

/* visual tweaks */

.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);
	}


/* general typography */
.leaflet-container {
	font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1.5;
	}


/* general toolbar styles */

.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;
	}

/* zoom control */

.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;
	}


/* layers control */

.leaflet-control-layers {
	box-shadow: 0 1px 5px rgba(0,0,0,0.4);
	background: #fff;
	border-radius: 5px;
	}
.leaflet-control-layers-toggle {
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC);
	width: 36px;
	height: 36px;
	}
.leaflet-retina .leaflet-control-layers-toggle {
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7EDqkmK6RrCEzqDjhNDWNE+XSMvkJRDWlZTmCW0l0PHQGRZY5t1L83kT0Y3l2SItk5JAWHl2dCOBm+fPu3fo5/3v61RMCO9Jx2EEYYhb0rmNQMX/vm7gqOEJLcXTGw3CAuRNeyaPWwjR8PRqKQ1PDA/dpv+on9Shox52WFnx0KY8onHayrJzm87i5h9xGw/tfkev0jGsQizqezUKjk12hBMKJ4kbCqGPVNXudyyrShovGw5CgxsRICxF6aRmSjlBnHRzg7Gx8fKqEubI2rahQYdR1YgDIRQO7JvQyD52hoIQx0mxa0ODtW2Iozn1le2iIRdzwWewedyZzewidueOGqlsn1MvcnQpuVwLGG3/IR1hIKxCjelIDZ8ldqWz25jWAsnldEnK0Zxro19TGVb2ffIZEsIO89EIEDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=);
	background-size: 26px 26px;
	}
.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;
	}

/* Default icon URLs */
.leaflet-default-icon-path { /* used only in path-guessing heuristic, see L.Icon.Default */
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=);
	}


/* attribution and scale controls */

.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;
	}


/* popup */

.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;
	}


/* div icon */

.leaflet-div-icon {
	background: #fff;
	border: 1px solid #666;
	}


/* Tooltip */
/* Base styles for the element that has a tooltip */
.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: "";
	}

/* Directions */

.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;
	}

/* Printing */

@media print {
	/* Prevent printers from removing background-images of controls. */
	.leaflet-control {
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
		}
	}

.qgc-root{position:fixed;inset:0;background:#0d0d0d;color:#e0e0e0;font-family:'Segoe UI',Arial,sans-serif;font-size:13px;overflow:hidden;display:flex;flex-direction:column}
.qgc-alert{position:fixed;top:0;left:0;right:0;z-index:9999;display:flex;justify-content:space-between;align-items:center;padding:8px 20px;font-weight:bold;font-size:14px;color:#fff}
.qgc-alert.warn{background:#e67e22}.qgc-alert.danger{background:#c0392b}.qgc-alert.info{background:#2980b9}
.qgc-alert button{background:none;border:none;color:#fff;font-size:18px;cursor:pointer}
.slide-down-enter-active,.slide-down-leave-active{transition:all .3s}
.slide-down-enter-from,.slide-down-leave-to{transform:translateY(-100%)}
.qgc-toolbar{height:40px;min-height:40px;background:linear-gradient(180deg,#2a2a2a,#1e1e1e);border-bottom:1px solid rgba(0,180,255,.4);display:flex;align-items:center;padding:0 16px;gap:12px;flex-shrink:0;box-shadow:0 0 10px rgba(0,150,255,.15),0 2px 8px rgba(0,0,0,.8);z-index:100}
.toolbar-left{display:flex;align-items:center;flex:1}.toolbar-title-left{font-size:16px;font-weight:bold;color:#00b4ff;font-family:monospace;letter-spacing:2px}.menu-btn{padding:4px 12px;background:transparent;border:none;color:#b0b0b0;cursor:pointer;border-radius:3px;font-size:13px}
.menu-btn:hover,.menu-btn.active{background:#0078d7;color:#fff}
.toolbar-title{color:#00b4ff;font-size:14px;font-weight:600}.toolbar-center{flex:1;text-align:center;background:rgba(20,20,20,.5);padding:0 8px;border-radius:4px;height:28px;display:flex;align-items:center;justify-content:center;gap:0}
.toolbar-right{display:flex;align-items:center;gap:10px}
.status-pill{padding:3px 10px;border-radius:10px;font-size:12px;background:#444;color:#ff4444}
.status-pill.connected{background:#1a4a1a;color:#00ff00}
.connect-btn{padding:4px 16px;background:#0078d7;border:none;border-radius:3px;color:#fff;cursor:pointer;font-size:12px}
.connect-btn.connected{background:#c0392b}
.connecting-overlay{position:fixed;inset:0;z-index:10000;background:rgba(0,0,0,.7);display:flex;flex-direction:column;align-items:center;justify-content:center;color:#00b4ff}
.connecting-spinner{width:50px;height:50px;border:4px solid #333;border-top-color:#00b4ff;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:16px}
@keyframes spin{to{transform:rotate(360deg)}}
.fade-enter-active,.fade-leave-active{transition:opacity .3s}.fade-enter-from,.fade-leave-to{opacity:0}
.qgc-body{flex:1;display:flex;overflow:hidden;min-height:0}
.qgc-left{width:240px;min-width:240px;background:rgba(18,18,18,.98);border-right:1px solid rgba(0,180,255,.3);overflow-y:auto;display:flex;flex-direction:column;gap:4px;padding:6px;box-shadow:0 0 10px rgba(0,150,255,.1) inset}
.qgc-right{width:280px;min-width:280px;background:rgba(18,18,18,.98);border-left:1px solid rgba(0,180,255,.3);overflow-y:auto;display:flex;flex-direction:column;gap:4px;padding:6px;box-shadow:0 0 10px rgba(0,150,255,.1) inset}
.qgc-center{flex:1;min-width:0;position:relative;overflow:hidden;display:flex;flex-direction:column;background:#0a0f14}
#leaflet-map{width:100%;flex:0 0 70%;min-height:0;background:#0a0f14;position:relative;z-index:1}
.video-panel{flex:0 0 30%;min-height:0}
#leaflet-map{width:100%;flex:1;min-height:0;background:#0a0f14;position:relative;z-index:1}
#leaflet-map::before{content:'';position:absolute;inset:0;z-index:400;pointer-events:none;background-image:linear-gradient(rgba(0,180,255,.12) 1px,transparent 1px),linear-gradient(90deg,rgba(0,180,255,.12) 1px,transparent 1px);background-size:50px 50px}
.panel{background:rgba(40,40,40,.9);border:1px solid rgba(0,180,255,.35);border-radius:4px;overflow:hidden;box-shadow:0 0 10px rgba(0,153,255,.35),0 0 20px rgba(0,100,200,.12) inset}
.panel-header{display:flex;justify-content:space-between;align-items:center;padding:6px 10px;background:rgba(60,60,60,.8);cursor:pointer;font-size:12px;font-weight:600;color:#00b4ff;border-bottom:1px solid #333}
.panel-header:hover{background:rgba(80,80,80,.8)}
.panel-body{padding:8px}.panel.collapsed .panel-body{display:none}
.alert-count{background:#c0392b;color:#fff;border-radius:8px;padding:1px 6px;font-size:10px}
.attitude-canvas{display:block;margin:0 auto;border-radius:50%}
.attitude-text{display:flex;justify-content:space-around;font-size:11px;color:#aaa;margin-top:4px}
.attitude-text b{color:#00b4ff}
.gauges{display:flex;flex-direction:column;gap:8px}
.gauge-item{display:flex;flex-direction:column;gap:3px}
.gauge-label{font-size:11px;color:#888}
.gauge-value{font-size:16px;font-weight:bold;color:#00ffff;font-family:monospace}
.gauge-value small{font-size:10px;color:#888;font-family:monospace}
.gauge-bar{height:4px;background:#333;border-radius:2px;overflow:hidden}
.gauge-fill{height:100%;background:#00b4ff;border-radius:2px;transition:width .3s}
.gauge-fill.alt{background:#00ff00}
.battery-visual{display:flex;align-items:center;gap:8px;margin-bottom:6px}
.battery-outline{flex:1;height:14px;background:#333;border:1px solid #555;border-radius:3px;padding:2px}
.battery-fill{height:100%;background:#00ff00;border-radius:2px;transition:width .5s,background .5s}
.battery-fill.low{background:#e67e22}
.battery-fill.critical{background:#c0392b;animation:blink .5s infinite}
@keyframes blink{50%{opacity:.3}}
.battery-text{font-size:16px;font-weight:bold;color:#00ffff;font-family:monospace;min-width:45px;text-align:right}
.battery-detail{display:flex;justify-content:space-between;font-size:11px;color:#888}
.sat-count{display:flex;align-items:center;gap:6px;margin-bottom:6px}
.sat-num{font-size:22px;font-weight:bold;color:#00ffff;font-family:monospace}.sat-label{font-size:11px;color:#888}
.gps-coord{font-size:11px;color:#aaa;margin-bottom:6px}.gps-coord b{color:#00b4ff}
.job-data{margin:6px 0;font-size:11px;color:#888}
.job-data b{color:#00ffff;font-family:monospace}
.signal-bar{display:flex;gap:3px;align-items:flex-end;height:14px}
.signal-pip{width:6px;background:#333;border-radius:1px}
.signal-pip:nth-child(1){height:3px}.signal-pip:nth-child(2){height:6px}.signal-pip:nth-child(3){height:9px}.signal-pip:nth-child(4){height:12px}.signal-pip:nth-child(5){height:14px}
.signal-pip.active{background:#00ff00}
.flight-mode-selector{position:absolute;bottom:16px;right:16px;display:flex;gap:4px;z-index:1000;background:rgba(0,0,0,.75);padding:6px 10px;border-radius:6px;border:1px solid rgba(0,180,255,.3);box-shadow:0 0 8px rgba(0,150,255,.2)}
.mode-btn{padding:4px 12px;background:#333;border:1px solid #444;border-radius:3px;color:#aaa;font-size:12px;cursor:pointer}
.mode-btn.active{background:#0078d7;border-color:#0078d7;color:#fff}.mode-btn:hover{background:#444}
.mission-actions{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin-bottom:8px}
.action-btn{padding:5px 4px;background:#3a3a3a;border:1px solid #444;border-radius:3px;color:#ddd;font-size:11px;cursor:pointer;text-align:center}
.action-btn:hover{background:#4a4a4a}.action-btn.primary{background:#0078d7;border-color:#0078d7;color:#fff}
.action-btn.start{background:#27ae60;border-color:#27ae60;color:#fff}
.action-btn.active{background:#e67e22;border-color:#e67e22;color:#fff}
.action-btn:disabled{opacity:.4;cursor:not-allowed}
.waypoint-list{max-height:150px;overflow-y:auto}
.waypoint-item{display:flex;align-items:center;gap:6px;padding:5px 6px;background:#2a2a2a;border-radius:3px;margin-bottom:3px;font-size:11px;cursor:pointer}
.waypoint-item:hover{background:#333}
.wp-num{background:#0078d7;color:#fff;border-radius:3px;padding:1px 5px;font-size:10px;font-weight:bold;min-width:18px;text-align:center}
.wp-coord{color:#aaa;flex:1}.wp-alt{color:#888;font-size:10px}
.wp-del{background:none;border:none;color:#888;cursor:pointer;font-size:14px;padding:0 2px}.wp-del:hover{color:#c0392b}
.empty-wp{color:#555;font-size:11px;text-align:center;padding:10px}
.param-item{display:flex;align-items:center;gap:6px;margin-bottom:8px;font-size:11px;color:#aaa}
.param-item input[type=range]{flex:1;accent-color:#0078d7}
.param-item b{min-width:50px;text-align:right;color:#00b4ff}
.alert-item{display:flex;align-items:center;gap:6px;padding:5px;border-radius:3px;margin-bottom:4px;font-size:11px;background:#2a2a2a}
.alert-item.warn{border-left:3px solid #e67e22}.alert-item.danger{border-left:3px solid #c0392b}.alert-item.info{border-left:3px solid #2980b9}
.alert-item button{background:none;border:none;color:#888;cursor:pointer;margin-left:auto}
.no-alerts{color:#27ae60;text-align:center;padding:10px;font-size:12px}
.telemetry-strip{display:flex;align-items:center;height:100%;padding:0 12px;flex-wrap:wrap;gap:4px}
.telem-item{display:flex;align-items:center;gap:4px;padding:0 10px}
.telem-label{font-size:10px;color:#888}.telem-val{font-size:12px;font-weight:bold;color:#e0e0e0}
.telem-val.mode{color:#00b4ff}.telem-val.low{color:#c0392b;animation:blink .5s infinite}
.telem-val.poor{color:#c0392b}.telem-val.fair{color:#e67e22}.telem-val.good{color:#00ff00}
.tsep{width:1px;height:16px;background:#333}
:deep(.di){background:transparent!important;border:none!important}

/* Industrial glow borders */
.panel{border:1px solid rgba(0,180,255,.25);box-shadow:0 0 6px rgba(0,180,255,.1) inset,0 0 3px rgba(0,180,255,.12)}
.panel-header{border-bottom:1px solid rgba(0,180,255,.2)}

/* Top bar items */
.top-bar-item{display:flex;flex-direction:column;align-items:center;gap:1px;padding:0 8px}
.tblabel{font-size:9px;color:#888;line-height:1;font-family:monospace}
.tbval{font-size:12px;font-weight:bold;color:#00b4ff;font-family:monospace}
.tbval.ok{color:#00ff00}.tbval.status-item.on{color:#ffcc00}
.top-sep{color:#333;font-size:14px;margin:0 4px}

/* Attitude 2D strip */
.attitude-canvas-2d{display:block;width:100%;height:40px;background:rgba(20,30,40,.8);border-radius:0 0 4px 4px}

/* Telemetry refinements */
.telem-label{font-size:9px;font-family:monospace;color:#666;letter-spacing:.5px}
.telem-val{font-family:monospace;font-size:11px}
.telem-val.mode{color:#00b4ff;font-size:10px}

/* ===========================
   移动端响应式适配
   =========================== */

/* 汉堡菜单按钮 */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-right: 10px;
  flex-shrink: 0;
}
.hamburger-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: #b0b0b0;
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px);
}
.hamburger-btn.active span:nth-child(2) { opacity: 0;
}
.hamburger-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px);
}

/* 移动端遮罩层 */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0,0,0,0);
  transition: background 0.3s;
  pointer-events: none;
}
.mobile-nav-overlay.open {
  background: rgba(0,0,0,0.6);
  pointer-events: all;
}

/* 移动端侧边栏面板 */
.mobile-nav-panel {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 280px;
  max-width: 85vw;
  background: rgba(18,18,18,0.98);
  border: 1px solid rgba(0,180,255,0.3);
  z-index: 1000;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mobile-nav-left { left: 0; box-shadow: 4px 0 20px rgba(0,0,0,0.8);
}
.mobile-nav-right { right: 0; transform: translateX(100%); box-shadow: -4px 0 20px rgba(0,0,0,0.8);
}
.mobile-nav-panel.open { transform: translateX(0);
}
.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: rgba(30,40,50,0.9);
  border-bottom: 1px solid rgba(0,180,255,0.3);
  font-size: 13px;
  font-weight: 600;
  color: #00b4ff;
  position: sticky;
  top: 0;
  z-index: 1;
}
.mobile-nav-close {
  background: none;
  border: none;
  color: #888;
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
}
.mobile-nav-content { padding: 8px;
}

/* 移动端底部快捷操作栏 */
.mobile-quick-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: rgba(20,20,20,0.97);
  border-top: 1px solid rgba(0,180,255,0.3);
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  padding: 6px 8px 10px;
  gap: 4px;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.5);
}
.quick-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: rgba(40,40,40,0.8);
  border: 1px solid rgba(0,180,255,0.2);
  border-radius: 8px;
  color: #888;
  cursor: pointer;
  padding: 6px 4px;
  font-size: 10px;
  transition: all 0.2s;
  min-height: 52px;
}
.quick-btn:active { background: rgba(0,80,120,0.4);
}
.quick-btn.active { background: rgba(0,100,160,0.4); border-color: #00b4ff; color: #00b4ff;
}
.quick-icon { font-size: 11px; font-weight: bold; font-family: monospace;
}

/* 移动端视图切换器 */
.mobile-view-switcher {
  display: none;
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 200;
  background: rgba(0,0,0,0.7);
  border-radius: 8px;
  border: 1px solid rgba(0,180,255,0.3);
  padding: 3px;
}
.view-switch-inner {
  display: flex;
  gap: 2px;
}
.view-tab {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  background: transparent;
  border: none;
  border-radius: 5px;
  color: #888;
  font-size: 11px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}
.view-tab.active { background: rgba(0,120,200,0.5); color: #00b4ff;
}

/* ===========================
   平板断点 (≤768px)
   =========================== */
@media (max-width: 768px) {
  /* 显示汉堡按钮 */
.hamburger-btn { display: flex;
}
.toolbar-title-left { font-size: 13px;
}
.toolbar-center { display: none;
}
.top-bar-item { display: none;
}
.top-sep { display: none;
}
.status-pill { font-size: 10px; padding: 2px 6px;
}
.connect-btn { padding: 6px 14px; font-size: 12px; min-height: 36px;
}

  /* 桌面侧边栏隐藏（移动端用滑出面板代替） */
.qgc-left, .qgc-right { display: none;
}
.qgc-body { display: flex; flex-direction: column;
}

  /* 顶部栏高度 */
.qgc-toolbar { height: 48px; padding: 0 12px;
}

  /* 中心区域自适应 */
.qgc-center {
    flex: 1;
    min-height: 0;
    padding-bottom: 64px; /* 底部快捷栏空间 */
}

  /* 地图区域 */
#leaflet-map {
    width: 100%;
    flex: 1;
    min-height: 0;
}

  /* 视频面板 */
.video-panel {
    flex: 0 0 45%;
    min-height: 0;
}

  /* 显示快捷栏和视图切换器 */
.mobile-quick-bar { display: flex;
}
.mobile-view-switcher { display: block;
}

  /* 移动端导航遮罩 */
.mobile-nav-overlay { display: block;
}

  /* 移动端时遥测栏字体缩小 */
.telem-inline { gap: 6px; font-size: 10px;
}
.video-header { padding: 3px 8px;
}
.video-title { font-size: 11px;
}

  /* 地图/视频 切换视图 */
.qgc-body.mobile-mode .video-panel {
    display: flex;
    flex: 1;
    transition: flex 0.3s;
}
.qgc-body.mobile-map-view #leaflet-map { flex: 1;
}
.qgc-body.mobile-map-view .video-panel { flex: 0 0 0; min-height: 0; overflow: hidden;
}
}

/* ===========================
   手机断点 (≤480px)
   =========================== */
@media (max-width: 480px) {
  /* 标题文字 */
.toolbar-title-left { font-size: 12px; letter-spacing: 1px;
}

  /* 连接按钮放大（易触摸） */
.connect-btn {
    padding: 8px 16px;
    font-size: 13px;
    min-height: 40px;
    min-width: 90px;
    border-radius: 6px;
}

  /* 视频/地图比例调整 */
.video-panel { flex: 0 0 40%;
}

  /* 视频控制按钮放大 */
.video-controls button,
  .flight-mode-selector .mode-btn {
    min-height: 36px;
    min-width: 44px;
    padding: 6px 12px;
    font-size: 12px;
}

  /* 飞行模式选择器 */
.flight-mode-selector { bottom: 70px;
}

  /* 快捷栏图标放大 */
.quick-btn { min-height: 56px;
}
.quick-icon { font-size: 12px;
}

  /* 移动端面板宽度 */
.mobile-nav-panel { width: 300px;
}

  /* 遥测内联数据精简 */
.telem-inline span:nth-child(n+4) { display: none;
}
.telem-inline { gap: 8px;
}

  /* 移动端顶部信息精简 */
.video-title { font-size: 10px;
}
.telem-inline { font-size: 9px;
}

  /* 连接状态显示 */
.status-pill { font-size: 9px; padding: 2px 5px;
}

  /* 航点列表在手机上可滚动 */
.waypoint-list { max-height: 100px;
}
}

/* ===========================
   横屏手机 (orientation: landscape, height < 500px)
   =========================== */
@media (max-height: 500px) and (orientation: landscape) {
.qgc-toolbar { height: 40px;
}
.video-panel { flex: 0 0 35%;
}
.mobile-quick-bar { padding: 4px 8px 6px;
}
.quick-btn { min-height: 44px;
}
.flight-mode-selector { bottom: 60px;
}
.connect-btn { min-height: 34px; padding: 4px 12px;
}
}

/* ===========================
   超大屏幕 (≥1400px) — 保持不变
   =========================== */
@media (min-width: 1400px) {
.qgc-left { width: 260px; min-width: 260px;
}
.qgc-right { width: 300px; min-width: 300px;
}
}

/* ===========================
   平板横屏 (768px–1024px)
   =========================== */
@media (min-width: 769px) and (max-width: 1024px) {
.qgc-left { width: 220px; min-width: 220px;
}
.qgc-right { width: 250px; min-width: 250px;
}
}

/* ===========================
   触摸友好的hover效果
   =========================== */
@media (hover: none) and (pointer: coarse) {
.panel-header:hover { background: rgba(80,80,80,0.8);
}
.connect-btn:active { transform: scale(0.96);
}
.quick-btn:active { transform: scale(0.95);
}
.action-btn:active { transform: scale(0.96);
}
.mode-btn:active { transform: scale(0.96);
}
}


/* Video panel */
.video-panel{width:100%;flex:1;background:rgba(18,18,18,.98);border-top:1px solid rgba(0,180,255,.3);flex-shrink:0;display:flex;flex-direction:column;transition:opacity .2s;overflow:hidden}
.video-header{display:flex;justify-content:space-between;align-items:center;padding:3px 12px;background:rgba(25,30,40,.9);border-bottom:1px solid rgba(0,180,255,.25);flex-shrink:0;flex-wrap:wrap;gap:4px;min-height:26px}
.video-title{font-size:12px;font-weight:600;color:#00b4ff;white-space:nowrap}
.telem-inline{display:flex;flex-wrap:wrap;gap:10px;align-items:center;font-size:11px;color:#888;font-family:monospace}
.telem-inline span{white-space:nowrap}
.telem-inline b{color:#00ffff;font-weight:bold}
.telem-inline .mval{color:#00b4ff}
.video-controls{display:flex;align-items:center;gap:8px}
.video-status{font-size:11px;font-weight:bold;padding:2px 8px;border-radius:10px;background:#444;color:#888}
.video-status.live{background:#1a3a1a;color:#00ff00}
.video-body{position:relative;flex:1;display:flex;overflow:hidden;min-height:0}
.stream-main{position:relative;flex:1;min-width:0;overflow:hidden;transition:all .2s;min-height:0}
.stream-wrap{position:absolute;inset:0;transition:opacity .2s}
.stream-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;z-index:1}
.video-wrap{display:block}.video-wrap video{width:100%;height:100%;object-fit:cover}
.video-wrap img,.stream-el{width:100%;height:100%;object-fit:cover;display:block}
.pointcloud-wrap canvas,.thermal-wrap canvas{width:100%;height:100%;display:block}
.stream-label{position:absolute;top:6px;left:8px;background:rgba(0,0,0,.6);color:#00b4ff;font-size:10px;padding:2px 6px;border-radius:3px;z-index:2}
.demo-tag{position:absolute;top:8px;left:8px;background:rgba(0,0,0,.8);color:#ffcc00;font-size:11px;padding:4px 8px;border-radius:3px;z-index:10;font-family:monospace;font-weight:bold;pointer-events:none}
.stream-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.75);z-index:3}
.stream-loading{color:#888;font-size:13px}
.stream-thumbs{width:220px;min-width:220px;display:flex;flex-direction:column;gap:6px;padding:8px;background:rgba(15,15,20,.95);border-left:1px solid rgba(0,180,255,.25);flex-shrink:0;z-index:999;justify-content:center;align-items:center}
.thumb{position:relative;width:200px;min-width:200px;height:120px;flex:0 0 auto;border:3px solid #0099ff;border-radius:4px;overflow:hidden;cursor:pointer;transition:all .2s;box-shadow:0 0 8px rgba(0,150,255,.4);z-index:999}
.thumb:hover{border-color:#00ccff;box-shadow:0 0 12px rgba(0,180,255,.6)}
.thumb.active{border-color:#00ff00;box-shadow:0 0 15px rgba(0,255,0,.4)}
.thumb.mini{flex:0 0 auto}
.thumb .stream-el,.thumb video,.thumb .stream-img,.thumb .thumb-img{width:100%;height:100%;object-fit:cover;display:block}
.thumb canvas{width:100%;height:100%;display:block}
.thumb-img{display:block;width:100%;height:100%;object-fit:cover}
.thumb-video{display:block;width:100%;height:100%;object-fit:cover}
.thumb-label{position:absolute;top:4px;left:4px;background:rgba(0,0,0,.75);color:#fff;font-size:11px;font-weight:bold;padding:3px 6px;border-radius:3px;z-index:2;white-space:nowrap;font-family:monospace}
.	humb-label{position:absolute;top:4px;left:4px;background:rgba(0,0,0,.75);color:#fff;font-size:11px;font-weight:bold;padding:3px 6px;border-radius:3px;z-index:2;white-space:nowrap;font-family:monospace}

