.top-panel {
  height: 40px;
  position: fixed;
  z-index: 70;
  top: 0;
  left: 0;
  right: 0;
  border-bottom: 1px solid rgba(40, 215, 243, .16);
  background: #04101f;
  color: #b8cde0;
}

.top-panel-inner {
  width: min(var(--max), calc(100% - 56px));
  height: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.announcement {
  height: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .01em;
}

.announcement-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(40, 215, 243, .8);
}

.announcement-window {
  height: 20px;
  overflow: hidden;
}

.announcement-track {
  height: 120px;
  display: grid;
  grid-template-rows: repeat(6, 20px);
  will-change: transform;
}

.announcement-track > span {
  height: 20px;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.top-contact {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 0 0 auto;
}

.top-contact a {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #91abc2;
  font-size: 11px;
  transition: color .2s;
}

.top-contact a:hover { color: var(--cyan); }
.top-contact a span { color: var(--cyan); font-size: 12px; }
.top-contact a b { font-weight: 600; }
.site-header { top: 40px; }
.hero { padding-top: 190px; }
html { scroll-padding-top: 130px; }

@media (max-width: 900px) {
  .top-panel-inner { width: calc(100% - 36px); gap: 18px; }
  .top-contact { gap: 12px; }
  .top-contact a b { display: none; }
  .site-header.open nav { top: 78px; }
  .hero { padding-top: 165px; }
}

@media (max-width: 600px) {
  .top-panel { height: 38px; }
  .top-panel-inner { width: calc(100% - 28px); gap: 10px; }
  .announcement { font-size: 10.5px; gap: 7px; flex: 1; }
  .announcement-window { width: 100%; height: 18px; }
  .announcement-track { height: 108px; grid-template-rows: repeat(6, 18px); }
  .announcement-track > span { height: 18px; overflow: hidden; text-overflow: ellipsis; }
  .top-contact { gap: 9px; }
  .top-contact a {
    width: 25px;
    height: 25px;
    justify-content: center;
    border: 1px solid rgba(40, 215, 243, .18);
    border-radius: 50%;
  }
  .top-contact a span { font-size: 11px; }
  .site-header { top: 38px; }
  .hero { padding-top: 148px; }
  html { scroll-padding-top: 116px; }
}

@media (prefers-reduced-motion: reduce) {
  .announcement-track { transition: none !important; }
}
