:root {
  --bg: #0c121b;
  --panel: #121a26;
  --card: #162033;
  --line: #2a3b52;
  --text: #e7eef8;
  --muted: #93a4b8;
  --accent: #3b82f6;
  --accent-soft: #16345c;
  --danger: #f07178;
  --ok: #3dd68c;
  --warn: #f5a524;
  --orange: #f97316;
  --mono: "IBM Plex Mono", "Consolas", monospace;
  --sans: "IBM Plex Sans", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
}

body {
  display: block;
  height: 100%;
  overflow: hidden;
  background: #1b212b;
}
html, body, .shell { height: 100dvh; }
.shell {
  display: grid;
  grid-template-columns: 228px minmax(0, 1fr);
  min-height: 0;
  background: var(--bg);
}
.menu-btn {
  flex: 0 0 auto;
  min-height: 44px;
  min-width: 44px;
  padding: 0.35rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #1b2838;
  color: var(--text);
  font: inherit;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}
.burger {
  display: none;
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
}
.burger::before,
.burger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
}
.burger::before { top: -6px; }
.burger::after { top: 6px; }
.nav-backdrop { display: none; }
html.nav-hidden .shell { grid-template-columns: 0 minmax(0, 1fr); }
html.nav-hidden .side {
  overflow: hidden;
  padding: 0;
  border: 0;
  visibility: hidden;
}
.side {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.85rem 0.7rem;
  background: #101720;
  border-right: 1px solid var(--line);
  overflow: auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 750;
  letter-spacing: 0.01em;
  padding: 0.2rem 0.35rem 0.7rem;
}
.brand-mark {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #2563eb;
  color: #fff;
  font-size: 0.72rem;
}
.sidenav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.workspace {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.75rem 1rem 0.45rem;
  background: transparent;
  border: 0;
}
.topbar h1 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 720;
}
.pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.4rem;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--line);
  background: #182232;
  color: var(--text);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  font-size: 0.78rem;
}
.pill b { font-weight: 700; }
.overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 0.75rem;
  align-items: start;
}
.map-stage { min-width: 0; display: flex; flex-direction: column; gap: 0.65rem; }
.map-frame {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #0e141d;
  min-height: 420px;
  height: min(68vh, 720px);
}
.map-frame .nav-split,
.map-frame #mapWrap {
  height: 100%;
  min-height: 0;
}
.map-frame .nav-split {
  grid-template-columns: 1fr;
}
.map-legend {
  position: absolute;
  left: 12px;
  bottom: 12px;
  top: auto;
  z-index: 500;
  background: rgba(16, 23, 32, 0.88);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
  font-size: 0.75rem;
  color: var(--text);
  pointer-events: none;
}
.map-legend div { margin: 0.15rem 0; }
.dot {
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  margin-right: 0.35rem;
}
.dot.ok { background: var(--ok); }
.dot.now { background: #60a5fa; }
.dot.wait { background: #d7dee8; }
.tele {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: stretch;
}
.tele-item {
  background: #16345c;
  border-radius: 10px;
  padding: 0.45rem 0.75rem;
  min-width: 6.5rem;
}
.tele-item span {
  display: block;
  color: #b9cbe4;
  font-size: 0.72rem;
}
.tele-item strong { font-size: 0.95rem; }
button.intervene {
  margin-left: auto;
  background: var(--orange);
  color: #fff;
  border: 0;
  border-radius: 12px;
  font-weight: 750;
  min-height: 3.1rem;
  padding: 0 1.1rem;
}
.rail { display: flex; flex-direction: column; gap: 0.65rem; }
.health-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}
.health {
  text-align: left;
  background: #182232;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  padding: 0.65rem 0.7rem;
  min-height: 4.2rem;
}
.health small { display: block; color: var(--muted); font-size: 0.72rem; }
.health b { font-size: 0.92rem; }
.icon-btn {
  width: 100%;
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.05rem;
  min-height: 2.5rem;
  padding: 0.45rem 0.7rem;
  border-radius: 10px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 650;
  text-align: left;
}
.icon-btn.active {
  background: #2563eb;
  color: #fff;
}
.icon-live {
  font-size: 0.7rem;
  font-weight: 650;
  color: var(--muted);
  max-width: 9rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.icon-live.warn { color: #b86a00; }
.icon-live.bad { color: var(--danger); }
.icon-btn.active .icon-live,
.icon-btn.active .icon-live.warn,
.icon-btn.active .icon-live.bad { color: #e9fff4; }
.pill.fix { border-color: #1f6b45; }
.pill.warn { border-color: #8a5a12; }
.pill.nofix { border-color: #8a3038; }
#detailView { padding: 0 0.85rem 1rem; }
.health.icon-btn { width: auto; border: 1px solid var(--line); background: #182232; color: var(--text); }
.health.icon-btn.active { background: #16345c; color: var(--text); }
#navView.overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 0.75rem;
  align-items: start;
  padding: 0.2rem 0.85rem 1rem;
}
.nav-split {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(220px, 0.8fr);
  gap: 0.6rem;
  align-items: stretch;
  min-height: 0;
  overflow: visible;
}
.nav-split:not(:has(#mapWrap)) {
  grid-template-columns: 1fr;
}
#mapHome {
  height: 100%;
  width: 100%;
  min-height: 0;
}
#mapHome #mapWrap,
#mapHome #map,
#mapHome .leaflet-container,
.detail-pane[data-view="mission"] #map,
.detail-pane[data-view="mission"] .leaflet-container {
  width: 100%;
  height: 100%;
}
.detail-pane[data-view="mission"] #mapWrap {
  position: relative;
  height: 220px;
  min-height: 180px;
  margin-bottom: 0.6rem;
}
#navView .cam-wrap {
  max-height: 32vh;
  aspect-ratio: auto;
}
#navView .cam-wrap img {
  width: 100%;
  max-height: 32vh;
  height: auto;
  object-fit: contain;
}
#driveCard {
  position: relative;
  z-index: 2;
}
#detailView {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 0.6rem;
}
#navView[hidden],
#detailView[hidden],
.detail-pane[hidden] { display: none !important; }

.login-body {
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-card {
  width: min(360px, 92vw);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.login-card input {
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
}

.panel {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--panel);
  border-right: 1px solid var(--line);
  overflow: auto;
}

header h1 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

.sub {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.75rem;
  background: var(--card);
}

.card.collapsible {
  padding-top: 0.55rem;
}

.card-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  margin: 0;
  padding: 0.15rem 0 0.45rem;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  user-select: none;
}

.card-toggle:hover {
  color: var(--accent);
}

.card-toggle .card-chevron {
  flex: 0 0 auto;
  width: 1.1rem;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1;
  transition: transform 0.15s ease;
}

.card:not(.collapsed) .card-toggle .card-chevron {
  transform: rotate(90deg);
}

.card.collapsed {
  padding-bottom: 0.45rem;
}

.card.collapsed .card-body {
  display: none;
}

.card.collapsed .card-toggle {
  padding-bottom: 0;
  margin: 0;
}

.card h2 {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.card-body {
  display: block;
}

.hint, .meta {
  color: var(--muted);
  font-size: 0.8rem;
  margin: 0.35rem 0;
}

.mono {
  font-family: var(--mono);
  font-size: 0.85rem;
  word-break: break-all;
}

.status {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  font-size: 0.8rem;
  margin-bottom: 0.35rem;
}

.status.fix { background: var(--accent-soft); color: var(--accent); }
.status.nofix { background: #f5e1e1; color: var(--danger); }
.status.warn { background: #f5edd9; color: #b86a00; }

.bat-bar {
  margin: 0.4rem 0 0.2rem;
  height: 8px;
  background: #e6e9ee;
  border-radius: 4px;
  overflow: hidden;
}
.bat-fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  transition: width 0.4s ease;
}
.bat-fill[data-level="warn"] { background: #c9892b; }
.bat-fill[data-level="danger"] { background: var(--danger); }

.cam-wrap {
  background: #0e1218;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.cam-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0e1218;
}

.last-snap {
  margin-top: 0.65rem;
}
.last-snap-label {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.last-snap-frame {
  outline: 2px solid #3d8bfd;
  outline-offset: 1px;
}
.last-snap.flash .last-snap-frame {
  animation: snapFlash 1.2s ease;
}
@keyframes snapFlash {
  0% { outline-color: #f4d35e; }
  100% { outline-color: #3d8bfd; }
}

.plant-desc {
  margin: 0.55rem 0 0;
  padding: 0.55rem 0.65rem;
  background: #121820;
  border-left: 3px solid #3d8bfd;
  color: var(--text, #e8eef6);
  font-size: 0.92rem;
  line-height: 1.45;
  white-space: pre-wrap;
}

#lidarCanvas {
  display: block;
  width: min(100%, 320px);
  height: auto;
  aspect-ratio: 1;
  background: #0e1218;
  border-radius: 6px;
}

.lidar-sectors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem 0.75rem;
  margin-top: 0.5rem;
  font-size: 0.8rem;
}

.lidar-sectors .warn { color: #b86a00; }
.lidar-sectors .danger { color: var(--danger); font-weight: 600; }
.lidar-sectors .clear { color: var(--muted); }

.card h2 .status,
.card h3 .status {
  margin-left: 0.35rem;
  vertical-align: middle;
}

.bat-pack + .bat-pack {
  margin-top: 0.9rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.card h3 {
  margin: 0 0 0.25rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.pad {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  touch-action: none;
}

.pad-mid {
  display: flex;
  gap: 0.35rem;
}

.pad-btn {
  min-width: 3rem;
  min-height: 2.4rem;
  font-size: 1.1rem;
  touch-action: none;
}

.pad-btn.stop {
  background: #f5e1e1;
  border-color: #d2a0a0;
  color: var(--danger);
}

#btnTalk {
  flex: 1;
  min-height: 2.8rem;
  font-weight: 600;
}
#btnTalk.talking {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
#voiceText {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.45rem 0.6rem;
  font: inherit;
}
#voiceTranscript {
  margin: 0.45rem 0 0.15rem;
}

#wifiList {
  width: 100%;
  margin: 0.45rem 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  font-size: 0.82rem;
}
#wifiPass, #wifiSsid {
  width: 100%;
  margin: 0.25rem 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.45rem 0.6rem;
  font: inherit;
}
#micSelect, #spkSelect {
  display: block;
  width: 100%;
  margin-top: 0.25rem;
  font: inherit;
  font-size: 16px;
  padding: 0.4rem;
}

#btList {
  width: 100%;
  margin: 0.45rem 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  font-size: 0.82rem;
}
#btNow { margin: 0.35rem 0 0.5rem; }

.ts-box {
  margin: 0.4rem 0 0.55rem;
  padding: 0.45rem 0.55rem;
  background: var(--accent-soft);
  border-radius: 6px;
}
.ts-label {
  font-size: 0.78rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.15rem;
}
.ts-link {
  color: var(--accent);
  word-break: break-all;
  font-size: 0.82rem;
}

#wpList {
  margin: 0;
  padding-left: 1.2rem;
  max-height: 140px;
  overflow: auto;
  font-family: var(--mono);
  font-size: 0.78rem;
}

#wpList li { margin: 0.2rem 0; cursor: pointer; padding: 0.15rem 0.2rem; border-radius: 4px; }
#wpList li.selected { background: var(--accent-soft); color: var(--accent); font-weight: 600; }

textarea, input, select {
  width: 100%;
  background: #0e1622;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.5rem;
  font: inherit;
}
textarea {
  resize: vertical;
  font-family: var(--mono);
  font-size: 0.78rem;
}

.row {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

button, .filebtn {
  appearance: none;
  border: 1px solid var(--line);
  background: #1b2838;
  color: var(--text);
  border-radius: 6px;
  padding: 0.45rem 0.7rem;
  font: inherit;
  cursor: pointer;
}

button:hover, .filebtn:hover { border-color: #8aa0b0; }
button.primary {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
  font-weight: 650;
}
button.primary:hover { filter: brightness(1.05); }
button.ghost { background: transparent; }
button.danger { color: var(--danger); border-color: #d2a0a0; }

.filebtn {
  display: inline-flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.filebtn input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

#map { height: 100%; min-height: 0; }
#stage {
  flex: 1;
  min-height: 0;
  overflow: auto;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  position: relative;
}
#mapWrap {
  position: relative;
  height: 340px;
  min-height: 240px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #1a1f26;
}
.offline-banner {
  margin: 0.75rem 0.75rem 0;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  background: #f5e1e1;
  color: var(--danger);
  font-weight: 650;
}
.map-tools {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 500;
  display: flex;
  gap: 0.35rem;
}
.map-tools button {
  min-height: 2.2rem;
  background: rgba(255,255,255,0.92);
  color: #1c262e;
}
.workspace {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  height: 100%;
}
html.map-open #mapWrap,
html.map-open .map-frame #mapWrap {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0;
}
html.map-open .detail-pane[data-view="mission"] #mapWrap {
  position: relative;
  inset: auto;
  width: 100% !important;
  height: min(68vh, 720px) !important;
  min-height: 320px !important;
}
.wp-pin {
  background: #f97316;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  font-weight: 750;
  box-shadow: 0 1px 4px rgba(0,0,0,0.45);
}
.wp-pin span { line-height: 1; }

/* ---- servo calibration ---- */
#servoCard { margin-top: 0.25rem; }

.servo-row-item {
  margin-bottom: 0.55rem;
}

.servo-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  margin-bottom: 0.15rem;
  color: var(--text);
}

.servo-angle {
  font-family: var(--mono);
  color: var(--accent);
  font-weight: 600;
  min-width: 2.5rem;
  text-align: right;
}

.servo-row-item input[type=range] {
  width: 100%;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--line);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
}

.servo-row-item input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.servo-row-item input[type=range]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

@media (max-width: 1100px) {
  .shell { grid-template-columns: 1fr; height: 100dvh; }
  .menu-label { display: none; }
  .burger { display: block; }
  .menu-btn { width: 44px; padding: 0; }
  html.nav-hidden .shell { grid-template-columns: 1fr; }
  .side {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(280px, 86vw);
    z-index: 45;
    transform: none;
    visibility: visible;
    padding: 0.85rem 0.7rem;
    border-right: 1px solid var(--line);
    overflow: auto;
  }
  html.nav-hidden .side {
    transform: translateX(-110%);
    visibility: hidden;
  }
  html:not(.nav-hidden) .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 40;
    border: 0;
    background: rgba(0, 0, 0, 0.5);
  }
  #navView.overview { grid-template-columns: 1fr; }
  .map-frame, .map-frame #mapWrap { height: 48dvh; min-height: 220px; }
  button.intervene { margin-left: 0; width: 100%; }
}
@media (max-width: 700px) {
  .topbar { flex-wrap: wrap; align-items: center; padding: 0.45rem 0.55rem; }
  .topbar h1 { font-size: 1rem; flex: 1; min-width: 0; }
  .pills { width: 100%; justify-content: flex-start; }
  #navView.overview { padding: 0.35rem 0.45rem 1rem; }
  .map-frame, .map-frame #mapWrap { height: 50dvh; min-height: 180px; }
  .tele-item { flex: 1 1 calc(50% - 0.5rem); min-width: 0; }
  .map-legend { font-size: 0.7rem; }
  button, .filebtn, .menu-btn, .icon-btn { min-height: 44px; }
  input, select, textarea { font-size: 16px; }
}

html.drive-open .topbar,
html.drive-open #stage {
  display: none;
}
#driveScreen {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 40;
  background: #0e1218;
  color: #fff;
}
#driveScreen.open {
  display: block;
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  z-index: 1000;
}
#driveCam {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #0e1218;
}
.drive-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: calc(0.6rem + env(safe-area-inset-top)) 0.7rem 0.6rem;
}
.drive-top button {
  min-height: 2.8rem;
  min-width: 5.5rem;
  border-radius: 8px;
  border: 0;
  font: inherit;
  font-weight: 650;
}
#driveBack { background: rgba(255,255,255,0.9); color: #1c262e; }
#driveStop { background: #9b3b3b; color: #fff; }
.drive-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0.6rem 0.8rem calc(0.8rem + env(safe-area-inset-bottom));
  gap: 1rem;
}
.stick, .throttle {
  position: relative;
  width: 42vw;
  max-width: 180px;
  height: 42vw;
  max-height: 180px;
  border-radius: 50%;
  background: rgba(20, 28, 36, 0.55);
  border: 2px solid rgba(255,255,255,0.7);
  touch-action: none;
}
.throttle {
  border-radius: 999px;
  width: 28vw;
  max-width: 110px;
  height: 52vw;
  max-height: 240px;
}
.stick-knob, .throttle-knob {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 42%;
  height: 42%;
  margin: -21% 0 0 -21%;
  border-radius: 50%;
  background: #1f6f4a;
  box-shadow: 0 2px 8px rgba(0,0,0,0.35);
}
.throttle-knob { width: 70%; height: 22%; margin: -11% 0 0 -35%; }
.stick span, .throttle span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1.3rem;
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}
