.zmsp2 {
  position: relative;
  width: 100%;
  z-index: 1;
}

.zmsp2__sentinel,
.zmsp2__placeholder {
  display: block;
  width: 100%;
  height: 0;
}

.zmsp2__bar {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  background: rgba(76, 42, 23, 0.96);
  border-top: 1px solid rgba(197, 151, 91, 0.55);
  border-bottom: 1px solid rgba(197, 151, 91, 0.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.zmsp2__bar.is-sticky {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 40;
}

.zmsp2__track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  padding: 6px 10px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.zmsp2__track::-webkit-scrollbar {
  display: none;
}

.zmsp2__link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 4px 12px;
  border: 1px solid rgba(197, 151, 91, 0.58);
  border-radius: 999px;
  color: #d7b07a;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 10px;
  line-height: 1;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, opacity .2s ease;
  opacity: .9;
  box-sizing: border-box;
}

.zmsp2__link:hover,
.zmsp2__link:focus {
  color: #f3e4cf;
  border-color: rgba(233, 197, 143, 0.92);
  outline: none;
  opacity: 1;
}

.zmsp2__link.is-active {
  color: #fff3e2;
  border-color: rgba(245, 219, 181, 0.9);
  background: rgba(255, 255, 255, 0.05);
  opacity: 1;
}

.zmsp2__fade {
  height: 14px;
  background: linear-gradient(to bottom, rgba(76, 42, 23, 0.36), rgba(232, 218, 200, 0));
  pointer-events: none;
}

body.admin-bar .zmsp2__bar.is-sticky {
  top: 32px;
}

@media (max-width: 1024px) {
  .zmsp2__track {
    justify-content: flex-start;
    gap: 7px;
    padding: 6px 8px;
  }

  .zmsp2__link {
    min-height: 26px;
    padding: 4px 11px;
    font-size: 9px;
    letter-spacing: 0.1em;
  }

  .zmsp2__bar.is-sticky {
    z-index: 25;
  }
}
