body.ui-redesign {
  --ui-bg: #050d17;
  --ui-panel: rgba(7, 16, 28, 0.9);
  --ui-panel-strong: rgba(9, 20, 34, 0.95);
  --ui-border: rgba(118, 171, 222, 0.28);
  --ui-border-strong: rgba(126, 196, 255, 0.58);
  --ui-text: #ebf5ff;
  --ui-muted: rgba(210, 228, 248, 0.72);
  --ui-accent: #4cb2ff;
  --ui-accent-2: #78d941;
  --ui-shadow: 0 18px 34px rgba(2, 9, 18, 0.62);
  --ui-glow: 0 0 28px rgba(76, 178, 255, 0.35);
  --hud-radius: 16px;
  --hud-gap: 10px;
  --hud-blur: 14px;
  --dock-mobile-height: min(56vh, 520px);
  background:
    radial-gradient(circle at 14% 8%, rgba(76, 178, 255, 0.2), transparent 34%),
    radial-gradient(circle at 88% 6%, rgba(120, 217, 65, 0.14), transparent 40%),
    radial-gradient(circle at 50% 100%, rgba(38, 108, 201, 0.2), transparent 46%),
    var(--ui-bg);
}

body.ui-redesign::before {
  background-image:
    linear-gradient(rgba(76, 178, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(76, 178, 255, 0.09) 1px, transparent 1px);
  background-size: 110px 110px;
  opacity: 0.34;
}

body.ui-redesign::after {
  background: radial-gradient(circle at center, transparent 36%, rgba(3, 10, 18, 0.9) 100%);
}

body.ui-redesign .floating-layout {
  padding: var(--ui-edge);
}

body.ui-redesign .floating-layout::before {
  opacity: 0.22;
  mix-blend-mode: screen;
}

body.ui-redesign .topback {
  top: max(var(--ui-edge), calc(env(safe-area-inset-top, 0px) + 8px));
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: min(940px, calc(100vw - (var(--ui-edge) * 2)));
  max-width: calc(100vw - (var(--ui-edge) * 2));
  min-height: 82px;
  height: auto;
  padding: 12px 72px 12px 16px;
  border-radius: 18px;
  border: 1px solid rgba(126, 196, 255, 0.44);
  background: linear-gradient(130deg, rgba(7, 19, 30, 0.95), rgba(11, 24, 40, 0.92));
  box-shadow: var(--ui-shadow), var(--ui-glow);
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: center;
  gap: 14px;
  pointer-events: none;
  animation: none;
  backdrop-filter: blur(var(--hud-blur));
  -webkit-backdrop-filter: blur(var(--hud-blur));
}

body.ui-redesign .topback::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 12px;
  border: 1px solid rgba(126, 196, 255, 0.14);
  pointer-events: none;
}

body.ui-redesign .top-title-wrap {
  display: grid;
  gap: 6px;
  min-width: 0;
  width: 100%;
  justify-items: center;
  text-align: center;
}

body.ui-redesign .top-kicker {
  margin: 0;
  color: rgba(198, 228, 255, 0.72);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
}

body.ui-redesign .top-title {
  width: 100%;
  margin: 0;
  padding: 0;
  font-size: clamp(17px, 1.9vw, 26px);
  line-height: 1.15;
  letter-spacing: 0.2em;
  text-align: center;
  text-shadow: 0 0 22px rgba(76, 178, 255, 0.38);
}

body.ui-redesign .top-badge-list {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

body.ui-redesign .top-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(126, 196, 255, 0.36);
  background: rgba(8, 16, 26, 0.72);
  color: rgba(216, 235, 255, 0.82);
  font-size: 10px;
  letter-spacing: 0.18em;
  font-weight: 600;
}

body.ui-redesign .top-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--ui-accent-2);
  box-shadow: 0 0 10px rgba(120, 217, 65, 0.75);
}

body.ui-redesign .corner-right {
  top: auto;
  bottom: calc(var(--ui-edge) + env(safe-area-inset-bottom, 0px));
  right: var(--ui-edge);
  width: auto;
  gap: 10px;
  align-items: flex-end;
  z-index: 1120;
  pointer-events: none;
}

body.ui-redesign .button-dock {
  width: auto;
  pointer-events: auto;
  order: 1;
}

body.ui-redesign .button-group {
  width: auto;
  grid-template-columns: repeat(3, 44px);
  grid-auto-rows: 44px;
  padding: 12px;
  gap: 8px;
  border-radius: 16px;
  border: 1px solid rgba(126, 196, 255, 0.38);
  background: linear-gradient(145deg, rgba(8, 18, 30, 0.92), rgba(10, 24, 38, 0.86));
  box-shadow: var(--ui-shadow);
}

body.ui-redesign .button-group::before {
  display: none;
}

body.ui-redesign .button-group::after {
  content: "SHORTCUTS";
  position: absolute;
  top: -10px;
  left: 12px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(8, 16, 26, 0.96);
  border: 1px solid rgba(126, 196, 255, 0.26);
  color: rgba(205, 229, 251, 0.72);
  font-size: 9px;
  letter-spacing: 0.22em;
}

body.ui-redesign .another-function {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(126, 196, 255, 0.34);
  background: linear-gradient(160deg, rgba(6, 14, 24, 0.96), rgba(7, 22, 34, 0.9));
  box-shadow: inset 0 0 0 1px rgba(126, 196, 255, 0.09);
}

body.ui-redesign .another-function .iconfont {
  font-size: 19px;
}

body.ui-redesign .another-function:hover {
  box-shadow:
    inset 0 0 0 1px rgba(126, 196, 255, 0.2),
    0 0 16px rgba(76, 178, 255, 0.35);
}

body.ui-redesign .another-function::after {
  content: attr(data-tip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translate(-50%, 6px);
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  padding: 4px 8px;
  border-radius: 8px;
  border: 1px solid rgba(126, 196, 255, 0.25);
  background: rgba(6, 12, 21, 0.95);
  color: rgba(226, 239, 255, 0.86);
  font-size: 10px;
  letter-spacing: 0.12em;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

body.ui-redesign .another-function:hover::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

body.ui-redesign .bottom-meta {
  display: grid;
  gap: 8px;
  order: 2;
}

body.ui-redesign #jwd,
body.ui-redesign #time {
  min-width: 168px;
  width: auto;
  text-align: right;
  background: linear-gradient(145deg, rgba(6, 12, 21, 0.94), rgba(9, 20, 32, 0.88));
  border: 1px solid rgba(126, 196, 255, 0.33);
  box-shadow: inset 0 0 0 1px rgba(126, 196, 255, 0.08);
}

body.ui-redesign .route-dock {
  top: auto;
  left: var(--ui-edge);
  right: auto;
  bottom: calc(var(--ui-edge) + env(safe-area-inset-bottom, 0px));
  width: min(760px, calc(100vw - 250px));
  max-width: calc(100vw - (var(--ui-edge) * 2));
  height: auto;
  z-index: 1110;
  pointer-events: auto;
}

body.ui-redesign .dock-shell {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 10px;
  padding: 12px;
  height: auto;
  max-height: calc(100vh - 110px);
  border-radius: calc(var(--hud-radius) + 2px);
  border: 1px solid rgba(126, 196, 255, 0.3);
  background: linear-gradient(155deg, rgba(6, 15, 25, 0.95), rgba(9, 20, 34, 0.92));
  box-shadow: 0 26px 46px rgba(2, 9, 18, 0.64), 0 0 0 1px rgba(126, 196, 255, 0.08);
  backdrop-filter: blur(var(--hud-blur));
  -webkit-backdrop-filter: blur(var(--hud-blur));
  position: relative;
}

body.ui-redesign .dock-shell::before {
  content: none;
}

body.ui-redesign .dock-shell::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(126, 196, 255, 0), rgba(126, 196, 255, 0.52), rgba(126, 196, 255, 0));
  opacity: 0.8;
  pointer-events: none;
}

body.ui-redesign .dock-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  align-content: start;
  padding: 4px;
  border-radius: 12px;
  border: 1px solid rgba(126, 196, 255, 0.18);
  background: rgba(5, 12, 20, 0.72);
  position: static;
  z-index: 1;
}

body.ui-redesign .dock-tabs::before {
  content: none;
}

body.ui-redesign .route-toggle {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(126, 196, 255, 0.2);
  background: transparent;
  color: rgba(208, 228, 248, 0.82);
  box-shadow: none;
  font-size: 12px;
  letter-spacing: 0.1em;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease, background-color 0.16s ease;
}

body.ui-redesign .route-toggle:hover {
  border-color: rgba(126, 196, 255, 0.5);
  background: rgba(17, 35, 56, 0.44);
}

body.ui-redesign .route-toggle:active {
  transform: scale(0.98);
}

body.ui-redesign .route-toggle::after {
  content: none;
}

body.ui-redesign .route-toggle.is-active,
body.ui-redesign #gis-toggle[aria-selected="true"],
body.ui-redesign #route-toggle[aria-selected="true"] {
  border-color: rgba(114, 194, 255, 0.64);
  background: linear-gradient(145deg, rgba(35, 99, 158, 0.7), rgba(24, 74, 124, 0.8));
  box-shadow: 0 8px 18px rgba(20, 68, 116, 0.45), inset 0 0 0 1px rgba(164, 219, 255, 0.2);
  color: #f2f8ff;
}

body.ui-redesign .route-toggle.is-active::after,
body.ui-redesign #gis-toggle[aria-selected="true"]::after,
body.ui-redesign #route-toggle[aria-selected="true"]::after {
  content: none;
}

body.ui-redesign .dock-content {
  min-height: 220px;
  height: min(56vh, 560px);
  max-height: calc(100vh - 210px);
  overflow: hidden;
}

body.ui-redesign .gis-card,
body.ui-redesign .route-card {
  display: none;
  width: 100%;
  height: 100%;
  max-height: none;
  overflow: auto;
  border-radius: var(--hud-radius);
  border: 1px solid rgba(126, 196, 255, 0.24);
  background: linear-gradient(160deg, rgba(5, 12, 20, 0.95), rgba(8, 18, 30, 0.94));
  box-shadow: inset 0 0 0 1px rgba(126, 196, 255, 0.06);
  backdrop-filter: blur(var(--hud-blur));
  -webkit-backdrop-filter: blur(var(--hud-blur));
  scrollbar-width: thin;
  scrollbar-color: rgba(126, 196, 255, 0.55) rgba(4, 10, 17, 0.35);
}

body.ui-redesign .gis-jumpbar {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(126, 196, 255, 0.24);
  background: linear-gradient(180deg, rgba(7, 15, 25, 0.97), rgba(7, 15, 25, 0.9));
  overflow-x: auto;
  scrollbar-width: none;
}

body.ui-redesign .gis-jumpbar::-webkit-scrollbar {
  display: none;
}

body.ui-redesign .gis-jump {
  flex: 0 0 auto;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(126, 196, 255, 0.26);
  background: rgba(6, 13, 23, 0.88);
  color: rgba(214, 234, 255, 0.8);
  font-size: 11px;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

body.ui-redesign .gis-jump.is-active {
  border-color: var(--ui-accent);
  background: linear-gradient(135deg, rgba(41, 120, 191, 0.46), rgba(17, 68, 122, 0.5));
  box-shadow: 0 0 0 1px rgba(77, 163, 255, 0.24);
  color: #eef6ff;
}

body.ui-redesign .gis-jump:hover {
  border-color: rgba(126, 196, 255, 0.56);
}

body.ui-redesign .gis-card::-webkit-scrollbar,
body.ui-redesign .route-card::-webkit-scrollbar {
  width: 8px;
}

body.ui-redesign .gis-card::-webkit-scrollbar-track,
body.ui-redesign .route-card::-webkit-scrollbar-track {
  background: rgba(4, 10, 17, 0.4);
  border-radius: 999px;
}

body.ui-redesign .gis-card::-webkit-scrollbar-thumb,
body.ui-redesign .route-card::-webkit-scrollbar-thumb {
  background: rgba(126, 196, 255, 0.55);
  border-radius: 999px;
}

body.ui-redesign .gis-card.is-active,
body.ui-redesign .route-card.is-active,
body.ui-redesign.gis-open .gis-card,
body.ui-redesign.route-open .route-card {
  display: block;
}

body.ui-redesign .gis-panel {
  gap: 10px;
  padding: 10px;
}

body.ui-redesign .gis-section {
  position: relative;
  overflow: hidden;
  scroll-margin-top: 54px;
  border-radius: 12px;
  border: 1px solid rgba(126, 196, 255, 0.2);
  background: rgba(6, 13, 22, 0.9);
  padding: 0;
}

body.ui-redesign .gis-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(126, 196, 255, 0.5), transparent);
  opacity: 0.72;
}

body.ui-redesign .gis-drawer-head {
  width: 100%;
  border: 0;
  margin: 0;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: linear-gradient(145deg, rgba(8, 17, 28, 0.94), rgba(9, 20, 33, 0.9));
  border-bottom: 1px solid rgba(126, 196, 255, 0.14);
  color: inherit;
  cursor: pointer;
}

body.ui-redesign .gis-drawer-head:hover {
  background: linear-gradient(145deg, rgba(11, 24, 38, 0.94), rgba(9, 20, 33, 0.92));
}

body.ui-redesign .gis-drawer-icon {
  font-size: 12px;
  color: rgba(186, 216, 246, 0.74);
  transition: transform 0.16s ease;
}

body.ui-redesign .gis-drawer-body {
  display: grid;
  gap: 8px;
  padding: 10px 12px 12px;
}

body.ui-redesign .gis-section.is-collapsed .gis-drawer-body {
  display: none;
}

body.ui-redesign .gis-section.is-collapsed .gis-drawer-icon {
  transform: rotate(-90deg);
}

body.ui-redesign .gis-section-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(192, 225, 255, 0.72);
  letter-spacing: 0.16em;
  font-weight: 600;
}

body.ui-redesign .gis-section-title::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(120, 217, 65, 0.92);
  box-shadow: 0 0 10px rgba(120, 217, 65, 0.62);
}

body.ui-redesign .gis-input,
body.ui-redesign .gis-select,
body.ui-redesign .gis-textarea,
body.ui-redesign .poi-search-input,
body.ui-redesign .coord-row input,
body.ui-redesign .route-panel input {
  border-color: rgba(126, 196, 255, 0.26);
  background: rgba(4, 10, 17, 0.9);
}

body.ui-redesign .gis-btn,
body.ui-redesign .result-btn,
body.ui-redesign .bookmark-btn,
body.ui-redesign .route-panel .route-pick,
body.ui-redesign .coord-float__copy {
  border-color: rgba(126, 196, 255, 0.33);
  background: rgba(6, 13, 23, 0.9);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

body.ui-redesign .gis-btn:hover,
body.ui-redesign .result-btn:hover,
body.ui-redesign .bookmark-btn:hover,
body.ui-redesign .route-panel .route-pick:hover,
body.ui-redesign .coord-float__copy:hover {
  box-shadow: 0 0 0 1px rgba(126, 196, 255, 0.28), 0 0 14px rgba(76, 178, 255, 0.24);
}

body.ui-redesign .layer-item,
body.ui-redesign .result-item,
body.ui-redesign .bookmark-item {
  border-color: rgba(126, 196, 255, 0.22);
  background: rgba(5, 11, 19, 0.88);
}

body.ui-redesign .layer-handle {
  background-color: rgba(126, 196, 255, 0.44);
  box-shadow: inset 0 0 0 1px rgba(126, 196, 255, 0.44);
}

body.ui-redesign .layer-tag {
  border-color: rgba(126, 196, 255, 0.3);
  background: rgba(8, 16, 27, 0.84);
}

body.ui-redesign .route-panel {
  padding: 14px;
  gap: 12px;
}

body.ui-redesign .route-head {
  display: grid;
  gap: 4px;
  padding: 2px 2px 4px;
}

body.ui-redesign .route-eyebrow {
  margin: 0;
  color: rgba(170, 208, 242, 0.62);
  font-size: 10px;
  letter-spacing: 0.24em;
}

body.ui-redesign .route-title {
  margin: 0;
  font-size: 16px;
  color: #ebf5ff;
  letter-spacing: 0.08em;
  font-weight: 700;
}

body.ui-redesign .route-subtitle {
  margin: 0;
  color: rgba(190, 219, 247, 0.72);
  font-size: 11px;
  line-height: 1.45;
}

body.ui-redesign .route-block {
  display: grid;
  gap: 6px;
}

body.ui-redesign .route-label {
  color: rgba(186, 216, 246, 0.72);
  font-size: 11px;
  letter-spacing: 0.14em;
}

body.ui-redesign .route-actions {
  display: grid;
  gap: 8px;
  margin-top: 2px;
}

body.ui-redesign .route-field {
  gap: 8px;
}

body.ui-redesign .route-panel .route-action {
  letter-spacing: 0.08em;
  font-weight: 600;
  background: linear-gradient(135deg, #339bff, #2591f8);
}

body.ui-redesign #clear-route-btn.route-action {
  background: linear-gradient(135deg, #db5a5a, #c94444);
}

body.ui-redesign .coord-float {
  top: calc(var(--ui-edge) + 96px);
  right: var(--ui-edge);
  width: 280px;
  border-radius: 14px;
  border: 1px solid rgba(126, 196, 255, 0.32);
  background: linear-gradient(145deg, rgba(6, 12, 20, 0.95), rgba(8, 16, 27, 0.9));
  box-shadow: var(--ui-shadow);
}

body.ui-redesign .coord-float__header {
  border-bottom-color: rgba(126, 196, 255, 0.24);
  background: linear-gradient(150deg, rgba(6, 13, 22, 0.95), rgba(8, 18, 30, 0.85));
}

body.ui-redesign .coord-float__row strong {
  letter-spacing: 0.05em;
}

body.ui-redesign button:focus-visible,
body.ui-redesign input:focus-visible,
body.ui-redesign select:focus-visible,
body.ui-redesign textarea:focus-visible {
  outline: 2px solid rgba(126, 196, 255, 0.62);
  outline-offset: 2px;
}

@media (min-width: 1220px) {
  body.ui-redesign .gis-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "layer search"
      "measure draw"
      "coord bookmark"
      "export result";
  }

  body.ui-redesign .gis-section.layer-section { grid-area: layer; }
  body.ui-redesign .gis-section.poi-section { grid-area: search; }
  body.ui-redesign .gis-section.measure-section { grid-area: measure; }
  body.ui-redesign .gis-section.draw-section { grid-area: draw; }
  body.ui-redesign .gis-section.coord-section { grid-area: coord; }
  body.ui-redesign .gis-section.bookmark-section { grid-area: bookmark; }
  body.ui-redesign .gis-section.export-section { grid-area: export; }
  body.ui-redesign .gis-section.result-section:last-child { grid-area: result; }
}

@media (max-width: 1240px) {
  body.ui-redesign .topback {
    width: calc(100vw - (var(--ui-edge) * 2));
  }

  body.ui-redesign .route-dock {
    width: min(680px, calc(100vw - 240px));
  }
}

@media (max-width: 1024px) {
  body.ui-redesign .floating-layout {
    padding: 12px;
  }

  body.ui-redesign .topback {
    width: calc(100vw - (var(--ui-edge) * 2));
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px 12px;
  }

  body.ui-redesign .top-title {
    letter-spacing: 0.14em;
  }

  body.ui-redesign .top-badge-list {
    position: static;
    transform: none;
    justify-content: flex-start;
  }

  body.ui-redesign .route-dock {
    top: auto;
    width: min(620px, calc(100vw - (var(--ui-edge) * 2) - 170px));
    height: auto;
  }

  body.ui-redesign .dock-shell {
    max-height: calc(100vh - 98px);
  }

  body.ui-redesign .dock-content {
    height: min(52vh, 500px);
  }

  body.ui-redesign #jwd,
  body.ui-redesign #time {
    min-width: 142px;
    font-size: 11px;
  }

  body.ui-redesign .button-group {
    grid-template-columns: repeat(3, 40px);
    grid-auto-rows: 40px;
    padding: 10px;
  }

  body.ui-redesign .another-function {
    width: 40px;
    height: 40px;
  }

  body.ui-redesign .coord-float {
    top: calc(var(--ui-edge) + 84px);
    width: min(260px, 86vw);
  }
}

@media (max-width: 860px) {
  body.ui-redesign .route-dock {
    top: auto;
    left: var(--ui-edge);
    right: var(--ui-edge);
    width: auto;
    max-width: none;
    height: auto;
    bottom: calc(var(--ui-edge) + env(safe-area-inset-bottom, 0px));
  }

  body.ui-redesign .dock-shell {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    gap: 8px;
    padding: 8px;
  }

  body.ui-redesign .dock-shell::after {
    display: none;
  }

  body.ui-redesign .dock-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    position: static;
  }

  body.ui-redesign .dock-content {
    min-height: 260px;
    height: auto;
    max-height: var(--dock-mobile-height);
  }

  body.ui-redesign .gis-jumpbar {
    padding: 8px;
  }

  body.ui-redesign .gis-drawer-head {
    padding: 9px 10px;
  }

  body.ui-redesign .gis-drawer-body {
    padding: 9px 10px 10px;
  }

  body.ui-redesign .corner-right {
    bottom: calc(var(--dock-mobile-height) + var(--ui-edge) + 10px);
    gap: 8px;
  }

  body.ui-redesign #jwd {
    display: none;
  }

  body.ui-redesign #time {
    min-width: 124px;
  }

  body.ui-redesign .coord-float {
    width: min(240px, 82vw);
  }
}

@media (max-width: 640px) {
  body.ui-redesign {
    --dock-mobile-height: min(58vh, 460px);
  }

  body.ui-redesign .top-kicker {
    font-size: 10px;
    letter-spacing: 0.14em;
  }

  body.ui-redesign .top-title {
    font-size: clamp(14px, 4.6vw, 18px);
    letter-spacing: 0.08em;
  }

  body.ui-redesign .top-badge-list {
    display: none;
  }

  body.ui-redesign .dock-tabs::before {
    display: none;
  }

  body.ui-redesign .corner-right {
    right: var(--ui-edge);
    bottom: calc(var(--dock-mobile-height) + var(--ui-edge) + 6px);
  }

  body.ui-redesign .button-group {
    grid-template-columns: repeat(3, 36px);
    grid-auto-rows: 36px;
    gap: 6px;
    padding: 9px;
  }

  body.ui-redesign .another-function {
    width: 36px;
    height: 36px;
  }

  body.ui-redesign .route-toggle {
    min-height: 40px;
    font-size: 12px;
  }

  body.ui-redesign .route-title {
    font-size: 15px;
  }

  body.ui-redesign .route-subtitle {
    font-size: 10px;
  }

  body.ui-redesign .route-panel .route-pick,
  body.ui-redesign .route-panel .route-action,
  body.ui-redesign .gis-btn {
    min-height: 36px;
  }

  body.ui-redesign .gis-section {
    padding: 10px;
  }

  body.ui-redesign .coord-float {
    top: calc(var(--ui-edge) + 70px);
    width: min(224px, 82vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.ui-redesign .topback,
  body.ui-redesign .corner-right,
  body.ui-redesign .route-dock,
  body.ui-redesign .another-function,
  body.ui-redesign .route-toggle,
  body.ui-redesign .gis-btn,
  body.ui-redesign .coord-float {
    transition: none !important;
    animation: none !important;
  }

  body.ui-redesign .another-function::after {
    transition: none !important;
  }
}
