.hdr {
  background: var(--paper);
}

.hdr-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px 8px;
  background: var(--paper);
}

.hdr-logo {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -.045em;
  line-height: 1;
  display: inline-flex;
  align-items: flex-end;
}

.hdr-dot {
  width: 6px;
  height: 6px;
  margin: 0 0 3px 1px;
  border-radius: 50%;
  background: #f07a3a;
  display: block;
  flex-shrink: 0;
}

.hdr-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hdr-icon {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
  border-radius: 50%;
  color: var(--ink);
  position: relative;
}

.hdr-pulse {
  position: absolute;
  top: 4px;
  right: 3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #de6a24;
  z-index: 2;
}

.hdr-pulse::before,
.hdr-pulse::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  border: 2px solid rgba(222, 106, 36, .5);
  animation: hdr-ring 1.6s ease-out infinite;
}

.hdr-pulse::after { animation-delay: .55s; }

.hdr-pulse[hidden] { display: none !important; }

@keyframes hdr-ring {
  0% { transform: scale(1); opacity: .7; }
  100% { transform: scale(2.8); opacity: 0; }
}

.hdr-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #f3f3f3;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #666;
  text-decoration: none;
}

.hdr-sub {
  position: sticky;
  top: 0;
  z-index: 45;
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  align-items: center;
  padding: 8px 10px;
  background: var(--paper);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
  overflow: visible;
}

.hdr-user {
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}

.hdr-more {
  position: relative;
  display: grid;
  place-items: center;
}

.hdr-menu {
  position: fixed;
  top: 52px;
  right: 10px;
  width: 228px;
  padding: 8px 0;
  background: #f4f0e8;
  border-radius: 24px;
  z-index: 80;
  filter: drop-shadow(0 10px 24px rgba(40, 30, 20, .18));
}

.hdr-menu::after {
  content: "";
  position: absolute;
  top: -5px;
  right: 16px;
  width: 12px;
  height: 12px;
  background: #f4f0e8;
  transform: rotate(45deg);
  border-radius: 2px;
}

.hdr-menu-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  border: 0;
  background: transparent;
  text-align: left;
  font-size: 15px;
  font-weight: 400;
  color: #1a1a1a;
  cursor: pointer;
}

.hdr-menu-item svg {
  flex-shrink: 0;
  color: #1a1a1a;
}
