.step-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--app-spacing-sm);
  padding: var(--app-spacing-sm) var(--app-spacing-md);
  padding-top: calc(var(--app-spacing-sm) + env(safe-area-inset-top, 0));
  z-index: var(--app-z-sticky);
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 100%);
  color: var(--app-color-text-inverse);
}

.step-header__progress {
  font-size: var(--app-font-size-sm);
  font-weight: 700;
  letter-spacing: 0.5px;
  background: rgba(0,0,0,0.5);
  padding: var(--app-spacing-xs) var(--app-spacing-md);
  border-radius: var(--app-radius-full);
  backdrop-filter: blur(4px);
}

.step-header__actions {
  display: flex;
  gap: var(--app-spacing-sm);
}

.step-header__btn {
  position: relative;
  width: var(--app-touch-target);
  height: var(--app-touch-target);
  border-radius: var(--app-radius-full);
  background: rgba(0,0,0,0.55);
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.step-header__btn:active {
  background: rgba(255,255,255,0.18);
}

.step-header__btn svg {
  width: 22px;
  height: 22px;
}

.step-header__hint-count {
  position: absolute;
  bottom: -4px;
  right: -4px;
  font-size: 10px;
  font-weight: 700;
  background: var(--app-color-warning);
  color: #000;
  padding: 2px 5px;
  border-radius: var(--app-radius-full);
  min-width: 16px;
  text-align: center;
  line-height: 1;
}

.step-header__hint-count:empty { display: none; }
