:root {
  --staysafe-topbar-height: 34px;
}

.staysafe-topbar {
  box-sizing: border-box;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100001;
  background: rgba(11, 17, 30, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(216, 112, 39, 0.55);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

body.admin-bar .staysafe-topbar {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .staysafe-topbar {
    top: 46px;
  }
}

.staysafe-topbar-spacer {
  height: var(--staysafe-topbar-height);
  flex-shrink: 0;
}

.staysafe-topbar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5px 16px;
}

.staysafe-topbar__row {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0;
  min-height: 24px;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #e2e8f0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.staysafe-topbar__row::-webkit-scrollbar {
  display: none;
}

.staysafe-topbar__chunk {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  color: #e8eef5;
  text-decoration: none;
  outline-offset: 2px;
  border-radius: 4px;
  white-space: nowrap;
}

.staysafe-topbar__chunk:hover,
.staysafe-topbar__chunk:focus {
  color: #ffffff;
}

.staysafe-topbar__chunk:hover .staysafe-topbar__icon,
.staysafe-topbar__chunk:focus .staysafe-topbar__icon {
  opacity: 1;
}

.staysafe-topbar__text {
  color: inherit;
  font-weight: 500;
}

.staysafe-topbar__sep {
  flex-shrink: 0;
  padding: 0 10px;
  color: rgba(255, 255, 255, 0.28);
  font-weight: 300;
  user-select: none;
}

.staysafe-topbar__icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.92;
  background: center / contain no-repeat;
}

.staysafe-topbar__icon--location {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23e8eef5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M17.657 16.657L13.414 20.9a1.998 1.998 0 01-2.827 0l-4.244-4.243a8 8 0 1111.314 0z'/%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M15 11a3 3 0 11-6 0 3 3 0 016 0z'/%3E%3C/svg%3E");
}

.staysafe-topbar__icon--phone {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23e8eef5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M12 18h.01M8 21h8a2 2 0 002-2V5a2 2 0 00-2-2H8a2 2 0 00-2 2v14a2 2 0 002 2z'/%3E%3C/svg%3E");
}

.staysafe-topbar__icon--mail {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23e8eef5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z'/%3E%3C/svg%3E");
}

@media (prefers-reduced-transparency: reduce) {
  .staysafe-topbar {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: #0f172a;
  }
}

@media (max-width: 480px) {
  :root {
    --staysafe-topbar-height: 32px;
  }

  .staysafe-topbar__inner {
    padding: 4px 12px;
  }

  .staysafe-topbar__row {
    font-size: 11px;
  }

  .staysafe-topbar__sep {
    padding: 0 8px;
  }
}
