.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 14px 20px;
  z-index: 900;
  will-change: padding, background-color, backdrop-filter;
  transition: padding 0.3s ease, backdrop-filter 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  background: var(--header-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  padding: 8px 16px;
  border-bottom-color: var(--border);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

body.no-blur .header {
  background: var(--header-bg-solid);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.image-title {
  height: 32px;
  width: auto;
  display: block;
  cursor: pointer;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.12));
}

.text-title {
  font-size: 1.2rem;
  margin: 0;
  cursor: pointer;
  color: var(--text);
}

.header-icons {
  display: flex;
  align-items: center;
  gap: 4px;
}

.icon-btn {
  background: none;
  border: none;
  color: var(--icon-color);
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.15s ease, color 0.2s ease;
}

.icon-btn:hover {
  background: var(--button-secondary-bg);
  transform: scale(1.05);
}

.icon-btn:active {
  transform: scale(0.95);
}

.icon-btn svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
}