.auth-btn {
  position: fixed;
  top: calc(1rem + var(--safe-top, 0px));
  left: 1rem;
  z-index: 100;
  background: linear-gradient(180deg, #f5a623 0%, #d4860a 100%);
  border: none;
  border-bottom: 3px solid #9c6005;
  border-radius: 8px;
  color: #1a0d00;
  cursor: pointer;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 4px 12px rgba(213, 134, 10, 0.5);
  white-space: nowrap;
  transition: filter var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}
.auth-btn:hover {
  filter: brightness(1.08);
  box-shadow: 0 6px 16px rgba(213, 134, 10, 0.65);
}
.auth-btn:active {
  transform: translateY(2px);
  border-bottom-width: 1px;
  box-shadow: 0 2px 6px rgba(213, 134, 10, 0.4);
}

.auth-btn__avatar {
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.auth-btn__initials {
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.7rem;
  flex-shrink: 0;
  color: #1a0d00;
}

.auth-btn__name {
  overflow: hidden;
  text-overflow: ellipsis;
}

.logout-panel {
  position: fixed;
  top: calc(3.5rem + var(--safe-top, 0px));
  left: 1rem;
  z-index: 200;
  background: rgba(18, 18, 18, 0.96);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-width: 10rem;
}

.logout-panel__name {
  color: #aaa;
  font-size: 0.8rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.logout-panel__btn {
  background: #c0392b;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  padding: 0.45rem 0.75rem;
  font-size: 0.8rem;
  font-family: inherit;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 6px rgba(192, 57, 43, 0.4);
  transition: background var(--t-fast);
}
.logout-panel__btn:hover { background: #e74c3c; }
