:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  --ink: #101722;
  --muted: #667384;
  --blue: #1267e8;
  --blue-deep: #0954c5;
  --green: #28ad68;
  --amber: #e7a028;
  --red: #df4f55;
  --glass: rgb(255 255 255 / 91%);
  --glass-border: rgb(255 255 255 / 90%);
  --shadow: 0 14px 44px rgb(28 42 61 / 17%), 0 2px 8px rgb(28 42 61 / 8%);
}

* {
  box-sizing: border-box;
}

html,
body,
.map-shell,
#map {
  width: 100%;
  height: 100%;
  margin: 0;
}

html,
body {
  min-width: 320px;
  min-height: 480px;
  overflow: hidden;
  background: #e7ecf2;
  overscroll-behavior: none;
}

button {
  font: inherit;
}

button,
[role="button"] {
  -webkit-tap-highlight-color: transparent;
}

.map-shell {
  position: relative;
  height: 100svh;
  isolation: isolate;
  color: var(--ink);
}

#map {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #e7ecf2;
}

.glass-panel {
  border: 1px solid var(--glass-border);
  background: var(--glass);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(20px) saturate(1.22);
  backdrop-filter: blur(20px) saturate(1.22);
}

.topbar {
  position: absolute;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: max(16px, env(safe-area-inset-top)) 18px 16px;
  pointer-events: none;
}

.brand,
.status {
  pointer-events: auto;
}

.brand {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 12px;
  padding: 8px 18px 8px 9px;
  border-radius: 19px;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 13px;
  background: var(--blue);
  box-shadow: 0 8px 20px rgb(18 103 232 / 31%);
}

.brand-mark svg {
  width: 22px;
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.brand-copy {
  display: grid;
  gap: 1px;
  line-height: 1;
}

.brand-copy .eyebrow {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.brand-copy strong {
  font-size: 1.08rem;
  font-weight: 760;
  letter-spacing: -0.025em;
}

.status {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  padding: 0 15px;
  border-radius: 999px;
  color: #263241;
  font-size: 0.875rem;
  font-weight: 680;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgb(40 173 104 / 14%);
}

.status-dot.is-loading {
  background: var(--amber);
  box-shadow: 0 0 0 4px rgb(231 160 40 / 16%);
  animation: status-pulse 1.3s ease-in-out infinite;
}

.status-dot.is-error {
  background: var(--red);
  box-shadow: 0 0 0 4px rgb(223 79 85 / 14%);
}

.status-dot.is-stale {
  background: var(--amber);
  box-shadow: 0 0 0 4px rgb(231 160 40 / 16%);
}

.route-picker {
  position: absolute;
  z-index: 21;
  top: max(88px, calc(env(safe-area-inset-top) + 72px));
  left: 18px;
}

.route-button {
  display: grid;
  min-width: 176px;
  min-height: 58px;
  grid-template-columns: 38px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 10px;
  padding: 7px 11px 7px 8px;
  border: 0;
  border-radius: 19px;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.route-button:hover,
.route-button[aria-expanded="true"] {
  background: #fff;
}

.route-button-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 13px;
  background: #e9f1ff;
  color: var(--blue);
}

.route-button-icon svg,
.route-chevron,
.route-option > svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.route-button-copy {
  display: grid;
  gap: 2px;
}

.route-button-copy small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 680;
}

.route-button-copy strong {
  font-size: 0.88rem;
  font-weight: 760;
}

.route-chevron {
  width: 18px;
  color: #7d8896;
  transition: transform 160ms ease;
}

.route-button[aria-expanded="true"] .route-chevron {
  transform: rotate(180deg);
}

.route-menu {
  position: absolute;
  top: 66px;
  left: 0;
  width: 292px;
  overflow: hidden;
  padding: 7px;
  border-radius: 22px;
  transform-origin: left top;
  animation: route-open 170ms ease-out;
}

.route-menu[hidden] {
  display: none;
}

.route-menu-heading {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  padding: 2px 10px 5px;
  color: #415064;
  font-size: 0.75rem;
  font-weight: 760;
}

.route-menu-heading small {
  color: #159152;
  font-size: 0.68rem;
}

.route-option {
  display: grid;
  width: 100%;
  min-height: 58px;
  grid-template-columns: 46px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 11px;
  padding: 6px 10px 6px 7px;
  border: 0;
  border-radius: 15px;
  background: transparent;
  color: #354254;
  text-align: left;
  cursor: pointer;
}

.route-option:hover {
  background: rgb(44 61 82 / 6%);
}

.route-option.is-active {
  background: #fff;
  color: var(--blue-deep);
  box-shadow: 0 5px 18px rgb(37 54 76 / 10%);
}

.route-option > span:nth-child(2) {
  display: grid;
  gap: 2px;
}

.route-option strong {
  font-size: 0.84rem;
  font-weight: 760;
}

.route-option small {
  color: #758091;
  font-size: 0.69rem;
  font-weight: 570;
}

.route-option > svg {
  visibility: hidden;
  width: 18px;
  color: var(--blue);
  stroke-width: 2.2;
}

.route-option.is-active > svg {
  visibility: visible;
}

.route-number,
.vehicle-route {
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--blue);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 820;
  letter-spacing: -0.02em;
}

.route-number {
  width: 46px;
  height: 42px;
}

.route-548 {
  background: #d94b76 !important;
}

.route-654 {
  background: #1267e8 !important;
}

.route-swatch {
  position: relative;
  width: 46px;
  height: 42px;
  border-radius: 13px;
  background: #edf1f6;
}

.route-swatch i {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 26px;
  height: 9px;
  border-radius: 9px;
  background: #1267e8;
  transform: rotate(-12deg);
}

.route-swatch i + i {
  top: 23px;
  background: #d94b76;
  transform: rotate(10deg);
}

.map-controls {
  position: absolute;
  z-index: 20;
  right: 18px;
  bottom: max(24px, env(safe-area-inset-bottom));
  display: grid;
  gap: 10px;
}

.layer-picker {
  position: relative;
}

.layer-picker > .control-button[aria-expanded="true"] {
  background: #fff;
  color: var(--blue-deep);
}

.layer-menu {
  position: absolute;
  right: 62px;
  bottom: 0;
  width: 268px;
  overflow: hidden;
  border-radius: 22px;
  transform-origin: right bottom;
  animation: layer-open 170ms ease-out;
}

.layer-menu[hidden] {
  display: none;
}

.layer-menu-title {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  padding: 7px 8px 5px 17px;
  color: #344153;
  font-size: 0.8rem;
  font-weight: 760;
  letter-spacing: 0.01em;
}

.layer-menu-title button {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: #667384;
  cursor: pointer;
}

.layer-menu-title button:hover {
  background: rgb(44 61 82 / 7%);
  color: var(--ink);
}

.layer-menu-title svg,
.layer-check {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.layer-options {
  display: grid;
  gap: 2px;
  padding: 0 7px 7px;
}

.layer-option {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 22px;
  min-height: 56px;
  align-items: center;
  gap: 11px;
  padding: 6px 10px 6px 7px;
  border: 0;
  border-radius: 15px;
  background: transparent;
  color: #354254;
  text-align: left;
  cursor: pointer;
}

.layer-option:hover {
  background: rgb(44 61 82 / 6%);
}

.layer-option.is-active {
  background: #fff;
  color: var(--blue-deep);
  box-shadow: 0 5px 18px rgb(37 54 76 / 10%);
}

.layer-option:disabled {
  opacity: 0.43;
  cursor: not-allowed;
}

.layer-option > span:nth-child(2) {
  display: grid;
  gap: 2px;
}

.layer-option strong {
  font-size: 0.84rem;
  font-weight: 760;
}

.layer-option small {
  overflow: hidden;
  color: #758091;
  font-size: 0.69rem;
  font-weight: 570;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.layer-preview {
  width: 44px;
  height: 44px;
  border: 1px solid rgb(23 37 54 / 8%);
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 28%);
}

.layer-preview.is-roadmap {
  background: linear-gradient(128deg, #d8eac7 0 31%, #fff 31% 42%, #cad9ea 42% 49%, #f2e4c4 49% 100%);
}

.layer-preview.is-satellite {
  background: linear-gradient(142deg, #132a24 0 26%, #486b35 26% 52%, #253d31 52% 70%, #6f7b3d 70% 100%);
}

.layer-preview.is-hybrid {
  background: linear-gradient(35deg, #16312a 0 34%, #d7e5ee 34% 41%, #4f7138 41% 68%, #efdc86 68% 73%, #263f33 73% 100%);
}

.layer-preview.is-terrain {
  background: linear-gradient(145deg, #d8e8c2 0 24%, #95ba78 24% 38%, #edf0d2 38% 58%, #a7c887 58% 72%, #e4e2bd 72% 100%);
}

.layer-check {
  visibility: hidden;
  color: var(--blue);
}

.layer-option.is-active .layer-check {
  visibility: visible;
}

.zoom-control {
  display: grid;
  overflow: hidden;
  border-radius: 17px;
}

.zoom-control > span {
  height: 1px;
  margin: 0 10px;
  background: rgb(46 60 78 / 11%);
}

.zoom-control button,
.control-button {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 0;
  color: #243142;
  cursor: pointer;
}

.zoom-control button {
  background: transparent;
}

.control-button {
  border-radius: 17px;
}

.zoom-control button:hover,
.control-button:hover {
  background: #fff;
  color: var(--blue-deep);
}

.zoom-control svg,
.control-button svg {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.control-button.is-locating svg {
  color: var(--blue);
  animation: locate-spin 1.2s linear infinite;
}

.ready-card,
.fleet-card {
  position: absolute;
  z-index: 20;
  bottom: max(24px, env(safe-area-inset-bottom));
  left: 18px;
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 11px;
  padding: 9px 18px 9px 10px;
  border-radius: 19px;
}

.ready-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 13px;
  background: #e7f7ee;
  color: #159152;
}

.ready-icon svg {
  width: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.35;
}

.ready-card > span:last-child {
  display: grid;
  gap: 2px;
}

.ready-card strong {
  font-size: 0.89rem;
  letter-spacing: -0.01em;
}

.ready-card small {
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 590;
}

.fleet-card {
  min-width: 264px;
  padding: 11px 17px 11px 12px;
}

.fleet-pulse {
  position: relative;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 13px;
  background: #e8f7ef;
}

.fleet-pulse::before,
.fleet-pulse i {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}

.fleet-pulse::before {
  position: absolute;
  animation: fleet-pulse 1.8s ease-out infinite;
}

.fleet-card.is-stale .fleet-pulse {
  background: #fff3dd;
}

.fleet-card.is-stale .fleet-pulse::before,
.fleet-card.is-stale .fleet-pulse i {
  background: var(--amber);
}

.fleet-copy {
  display: grid;
  gap: 2px;
}

.fleet-copy strong {
  font-size: 0.86rem;
  letter-spacing: -0.01em;
}

.fleet-copy small {
  color: var(--muted);
  font-size: 0.71rem;
  font-weight: 590;
}

.vehicle-sheet {
  position: absolute;
  z-index: 23;
  bottom: max(94px, calc(env(safe-area-inset-bottom) + 94px));
  left: 18px;
  width: min(390px, calc(100vw - 110px));
  padding: 15px;
  border-radius: 23px;
  animation: sheet-open 210ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.vehicle-sheet[hidden] {
  display: none;
}

.sheet-handle {
  display: none;
}

.vehicle-sheet-head {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 12px;
}

.vehicle-route {
  width: 50px;
  height: 46px;
  font-size: 0.86rem;
}

.vehicle-heading {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.vehicle-heading small,
.vehicle-stops small,
.vehicle-metrics small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 650;
}

.vehicle-heading strong {
  overflow: hidden;
  font-size: 0.93rem;
  font-weight: 790;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vehicle-sheet-head button {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 0;
  border-radius: 12px;
  background: #eef2f6;
  color: #687585;
  cursor: pointer;
}

.vehicle-sheet-head button:hover {
  background: #e4e9ef;
  color: var(--ink);
}

.vehicle-sheet-head button svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

.vehicle-progress {
  height: 3px;
  margin: 14px 2px 13px;
  overflow: hidden;
  border-radius: 4px;
  background: #e7ecf2;
}

.vehicle-progress span {
  display: block;
  width: 44%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), #4fa2ff);
  animation: live-progress 2.8s ease-in-out infinite alternate;
}

.vehicle-stops {
  display: grid;
  gap: 9px;
}

.vehicle-stops > span {
  position: relative;
  display: grid;
  grid-template-columns: 13px minmax(0, 1fr);
  column-gap: 8px;
}

.vehicle-stops i {
  width: 9px;
  height: 9px;
  margin-top: 4px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 2px rgb(18 103 232 / 18%);
}

.vehicle-stops span + span i {
  background: #fff;
  box-shadow: inset 0 0 0 2px var(--blue), 0 0 0 2px rgb(18 103 232 / 14%);
}

.vehicle-stops small,
.vehicle-stops strong {
  grid-column: 2;
}

.vehicle-stops strong {
  overflow: hidden;
  color: #293749;
  font-size: 0.77rem;
  font-weight: 720;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vehicle-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 13px;
}

.vehicle-metrics > span {
  display: grid;
  gap: 2px;
  padding: 9px 11px;
  border-radius: 13px;
  background: #f3f6f9;
}

.vehicle-metrics strong {
  color: #2c3949;
  font-size: 0.76rem;
  font-weight: 760;
}

.bus-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 56px;
  height: 62px;
  will-change: transform;
}

.leaflet-bus-host {
  border: 0 !important;
  background: transparent !important;
}

.bus-pin {
  position: relative;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 4px solid #fff;
  border-radius: 18px;
  background: linear-gradient(145deg, #2680fa, #0759d2);
  color: #fff;
  box-shadow: 0 10px 24px rgb(20 50 88 / 30%), 0 2px 6px rgb(20 50 88 / 18%);
  cursor: pointer;
  transform: translate(3px, -5px);
  transition: filter 140ms ease, scale 140ms ease;
}

.bus-pin.route-548 {
  background: linear-gradient(145deg, #eb648d, #bf315e) !important;
}

.bus-pin:hover,
.bus-pin:focus-visible {
  filter: brightness(1.05);
  scale: 1.08;
  outline: none;
}

.bus-pin strong {
  font-size: 0.83rem;
  font-weight: 850;
  letter-spacing: -0.03em;
}

.bus-pin > i {
  position: absolute;
  right: 9px;
  bottom: -9px;
  width: 14px;
  height: 14px;
  border-right: 4px solid #fff;
  border-bottom: 4px solid #fff;
  border-radius: 0 0 5px 0;
  background: #0759d2;
  transform: rotate(45deg);
}

.bus-pin.route-548 > i {
  background: #bf315e;
}

.bus-bearing {
  --bearing: 0deg;
  position: absolute;
  top: -13px;
  left: 15px;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #1c2a3a;
  box-shadow: 0 4px 8px rgb(16 31 49 / 24%);
}

.bus-bearing svg {
  width: 12px;
  fill: #fff;
  transform: rotate(var(--bearing));
  transition: transform 280ms ease;
}

.loading-layer {
  position: absolute;
  z-index: 30;
  inset: 0;
  display: grid;
  place-items: center;
  background: #edf1f5;
  transition: opacity 420ms ease, visibility 420ms ease;
}

.loading-layer.is-hidden {
  visibility: hidden;
  opacity: 0;
}

.loader-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px 14px 14px;
  border-radius: 22px;
}

.loader-card > span:last-child {
  display: grid;
  gap: 3px;
}

.loader-card strong {
  font-size: 0.95rem;
}

.loader-card small {
  color: var(--muted);
  font-size: 0.78rem;
}

.loader-orbit {
  position: relative;
  width: 42px;
  height: 42px;
  border: 2px solid rgb(18 103 232 / 18%);
  border-radius: 50%;
  animation: locate-spin 1.15s linear infinite;
}

.loader-orbit i {
  position: absolute;
  top: -3px;
  left: 15px;
  width: 9px;
  height: 9px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 3px 10px rgb(18 103 232 / 36%);
}

.notice {
  position: absolute;
  z-index: 40;
  right: 84px;
  bottom: max(25px, env(safe-area-inset-bottom));
  max-width: min(390px, calc(100vw - 112px));
  padding: 12px 16px;
  border-radius: 15px;
  color: #394659;
  font-size: 0.82rem;
  font-weight: 640;
  line-height: 1.35;
}

.notice[hidden] {
  display: none;
}

button:focus-visible {
  outline: 3px solid rgb(18 103 232 / 32%);
  outline-offset: 2px;
}

.leaflet-container {
  background: #e7ecf2;
  font-family: inherit;
}

.leaflet-tile-pane {
  filter: saturate(0.94) contrast(1.025) brightness(1.025);
}

.leaflet-control-attribution {
  border-radius: 8px 0 0 0;
  background: rgb(255 255 255 / 84%) !important;
  color: #6d7682;
  font-size: 10px;
}

.leaflet-control-attribution a {
  color: #3f6499;
}

@keyframes status-pulse {
  50% { opacity: 0.48; }
}

@keyframes locate-spin {
  to { transform: rotate(360deg); }
}

@keyframes layer-open {
  from { opacity: 0; transform: translateY(6px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes route-open {
  from { opacity: 0; transform: translateY(-5px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes sheet-open {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes fleet-pulse {
  from { opacity: 0.45; transform: scale(1); }
  to { opacity: 0; transform: scale(2.5); }
}

@keyframes live-progress {
  from { transform: translateX(-8%); }
  to { transform: translateX(132%); }
}

@media (max-width: 860px) {
  .topbar {
    padding: max(12px, env(safe-area-inset-top)) 12px 12px;
  }

  .brand {
    min-height: 52px;
    padding: 7px 14px 7px 7px;
    border-radius: 17px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .status {
    min-height: 42px;
    padding: 0 13px;
  }

  .map-controls {
    right: 12px;
    bottom: max(18px, env(safe-area-inset-bottom));
  }

  .zoom-control button,
  .control-button {
    width: 48px;
    height: 48px;
  }

  .ready-card {
    display: none;
  }

  .route-picker {
    top: max(76px, calc(env(safe-area-inset-top) + 64px));
    left: 12px;
  }

  .fleet-card {
    bottom: max(18px, env(safe-area-inset-bottom));
    left: 12px;
  }

  .vehicle-sheet {
    bottom: max(88px, calc(env(safe-area-inset-bottom) + 88px));
    left: 12px;
    width: min(380px, calc(100vw - 84px));
  }

  .notice {
    right: 72px;
    bottom: max(19px, env(safe-area-inset-bottom));
  }
}

@media (max-width: 440px) {
  .brand-copy .eyebrow {
    font-size: 0.65rem;
  }

  .brand-copy strong {
    font-size: 1rem;
  }

  .status {
    font-size: 0.78rem;
  }

  .notice {
    right: 72px;
    left: 12px;
    max-width: none;
  }

  .layer-menu {
    width: min(268px, calc(100vw - 88px));
  }

  .route-button {
    min-width: 166px;
    min-height: 54px;
  }

  .route-menu {
    top: 62px;
    width: min(292px, calc(100vw - 24px));
  }

  .fleet-card {
    display: none;
  }

  .vehicle-sheet {
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    left: 10px;
    width: auto;
    padding: 12px 14px 14px;
    border-radius: 23px;
  }

  .sheet-handle {
    display: block;
    width: 34px;
    height: 4px;
    margin: -3px auto 9px;
    border-radius: 4px;
    background: #cbd2da;
  }

  body:has(.vehicle-sheet:not([hidden])) .map-controls {
    bottom: max(224px, calc(env(safe-area-inset-bottom) + 224px));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
